cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Minimum value of the function.

lvl107
20-Turquoise

Minimum value of the function.

Hello, Everyone.

Minimum value of f(x).PNG

Thanks in advance for your hint and help.

Best Regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Raiko
16-Pearl
(To:lvl107)

Hello Loi Le,

try this sheet which uses the Minimize function

Raiko

View solution in original post

4 REPLIES 4
Raiko
16-Pearl
(To:lvl107)

Hello Loi Le,

try this sheet which uses the Minimize function

Raiko

lvl107
20-Turquoise
(To:Raiko)

Many thanks for your response, Raiko Milanovic.

Capture1.PNG

Best Regards,

Loi.

Werner_E
24-Ruby V
(To:lvl107)

Its NOT a minimum - see my other post.

Its an "artificial" step at 0.5 because of Mathcads try making a function unique which is not unique.

Werner_E
24-Ruby V
(To:lvl107)

Complex numbers and logarithms - a never ending story 😉

The graph you provided is only one of an infinite number of representations of your function f.

The reason is the second term which is the natural logarithm of a complex number with length 1. That logarithm of that kind of number is a complex number whose real part is zero (what is "rein imaginär" in English?).

But - the logarithm function is not unique over the complex numbers. The log of a complex number has infinite values, all of which have the same real part and the imaginary part differs by multiples of 2*pi. This, in your f(x), is then multiplied by sqrt(-3), making it a real number.

So in your function you can chose at any point x to add a multiple of 2*pi*sqrt(3) (the second log) and go on from there jumping from one leaf of the 4-dim log plane to another. Mathcad does this at x=1/2 because the arg function defaults to values from -pi to +pi. At x=1/2 the argument of the complex number in the second log would go beyond pi and so mathcad subtracts 2*pi - creating artificially the step you see in the graph. You may notice that the difference between the two "cusps" is exactly 2*pi*sqrt(3).

So if you forbid those kind of "jumps" and demand continous graphs, the answer to your question (minimum) is: its at x=0 and is pi/sqrt(3) plus any multiple of 2*pi*sqrt(3).

See below three (out of an infinite number of) continuous representations of your function:

minval1.png

Top Tags