Find the Local Maxima and Minima f(x)=cos(pix)
Problem
Solution
Find the first derivative of the function with respect to
x using the chain rule.
Identify critical points by setting the first derivative equal to zero and solving for
x
where
Find the second derivative to apply the second derivative test for local extrema.
Evaluate the second derivative at the critical points
x=n
Determine the nature of extrema based on the sign of the second derivative.
Ifn is even (n=2*k , thenƒ″*(2*k)=−π2*(1)=−π2<0 indicating a local maximum.
Ifn is odd (n=2*k+1 , thenƒ″*(2*k+1)=−π2*(−1)=π2>0 indicating a local minimum.Calculate the function values at these points.
For evenn ƒ(n)=cos(2*k*π)=1
For oddn ƒ(n)=cos((2*k+1)*π)=−1
Final Answer
Want more problems? Check here!