How do I find local maxima and minima of a function?
belandong0ir
Answered question
2022-12-29
How do I find local maxima and minima of a function?
Answer & Explanation
Marvin Snyder
Beginner2022-12-30Added 6 answers
Be that as it may, let f(x) be a real function of a real variable defined in (a,b) and differentiable in the point A necessary condition for to be a local minimum or maximum is that: If f(x) is differentiable in the entire interval, or at least in an interval around , we also have a sufficient condition: is a local minimum if and there is a number such that: In this case in fact f(x) will be decreasing on the left of and increasing on the right, so that is a relative minimum. Vice versa is a local maximum if: In both cases the necessary condition is that the derivative of f(x) changes sign around . If f(x) also has a second derivative in an interval around this is equivalent to the conditions: is a local minimum. is a local maximum. To determine local maxima and minima, follow these steps: 1) Find the equation's solutions: also called critical points. 2) Determine the inequality: to see if the sign of f'(x) changes around the critical points, or, alternatively: 2') Calculate f''(x) and look at its value in the critical points. Example: Let Calculate the derivative: Solve the equation: so the critical points are: As f'(x) is a second degree polynomial with positive leading coefficients we know that: for for and we can soon determine that is a local maximum and a local minimum. Alternatively we can evaluate the second derivative: and check that: is a maximum is a minimum