How Can We Determine the Max Min of Trig Functions in the Range (0, pi)?

Somefantastik
Messages
226
Reaction score
0
x in (0,pi];

f(x) = sin(x)-x2;

f'(x) = cos(x) - 2x;

f'(x) = 0 ==> cos(x) - 2x = 0;

since |cos(x)| ≤ 1,

cos(x) - 2x ≤ 1 - 2x;

Now 1-2x = 0 <==> x = 1/2;

f'(1/4) = cos(1/4) - 2*(1/4) > 0 and f'(3/4) = cos(3/4) - 2*(3/4) < 0;

==> x = 1/2 is maximum and f'(x) ≤ 1/2;

Is my logic correct?
 
Mathematics news on Phys.org
Somefantastik said:
x in (0,pi];

f(x) = sin(x)-x2;

f'(x) = cos(x) - 2x;

f'(x) = 0 ==> cos(x) - 2x = 0;

since |cos(x)| ≤ 1,

cos(x) - 2x ≤ 1 - 2x;

Now 1-2x = 0 <==> x = 1/2;
The fact that 1- 2x= 0 does NOT mean cos(x)- 2x= 0 since cos(x)- 2x< 1- 2x, if 1- 2x= 0 then cos(x)- 2x< 0. In fact, with x= 1/2, cos(1/2)- 2(1/2)= -1.22. cos(x)- 2x= 0 when cos(x)= 2x which happens when x is approximately .45.

f'(1/4) = cos(1/4) - 2*(1/4) > 0 and f'(3/4) = cos(3/4) - 2*(3/4) < 0;

==> x = 1/2 is maximum and f'(x) ≤ 1/2;

Is my logic correct?
No, it is not. saying that cos(x)- 2x< 1- 2x= 0 does not mean cos(x)- 2x= 0.
 
I'm trying to find the max and min of this function. Can someone give me some advice?
 
You'll have to do this by numerical approximation, since the equation is not solvable by analytic means.

cos (x) - 2x = 0 <==> x = .5 cos(x)

Start with an initial x value of your choice.
Evaluate .5*cos(x) at that value to get your next x value.
Repeat step 2.
When the input value and output value are "close enough" that's your approximate solution.
 
How about just getting a bound on this function ( f'(x) ) on (0,pi]; can I do that without finding the max and min?

f'(0) = 1 and f'(pi) = -1 - 2*pi

is my guess, but I am unsure of any bigger fluctuations on that interval.
 
Last edited:
How about just getting a bound on this function ( f'(x) ) on (0,pi]; can I do that without finding the max and min?

Well let's look at the function shall we?

sinx is always less than 1.
the max slope of sinx occurs at zero and equals 1; thereafter it is always below the line y=x.
at small values

\sin x\quad \simeq x

since x \le {(x)^2}

and - {(x)^2} decreases monotonically from 0 to - {(\pi )^2} \simeq 10

The function is negative once x \le {(x)^2} is greaer than 1.

Can you sketch it?
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top