Question
Question: How do I find the local maxima and minima of a function?...
How do I find the local maxima and minima of a function?
Solution
As we know that maxima and minima are the most important part of calculus. The maxima and minima of a function also collectively known as extrema are the largest and smallest value of a function, either within a given range or on the entire domain. These are the Latin words which means the maximum and minimum value of a function.
Complete step by step solution:
Let f(x)be a real function of a real variable which is defined in (a,b) and differentiable at the point x0∈(a,b). We should remember that there is a necessary condition for x0to be a local minimum or maximum which is f′(x0)=0.
If f(x) is differentiable in the entire interval, or at least in an interval around x0, then the condition is that x0is a local minimum around if f′(x0)=0and then there is any number like δ which gives:
x∈(x0−δ,x0)⇒f′(x)⩽0 and x∈(x0,x0+δ)⇒f′(x)⩾0 .
In the above case we can see that f(x) is decreasing on the left of x0 and increasing on the right, which gives that x0 is a relative minimum. And then x0 is a local maximum if:
x∈(x0−δ,x0)⇒f′(x)⩾0 and x∈(x0,x0+δ)⇒f′(x)⩽0.
In both the cases we can see that the necessary condition is that the derivative of f(x) changes it’s sign around x0.
If the function f(x) also has a second derivative in an interval around x0, this is equal to the conditions:
f′(x0)=0 and f′′(x0)>0⇒x0 is a local minimum
And
f′(x0)=0and f′′(x0)<0⇒x0is a local maximum.
Hence the answer is f′(x0)=0 and f′′(x0)>0⇒x0 is a local minima and f′(x0)=0and f′′(x0)<0⇒x0is a local maxima.
Note: We should keep in mind the process to find the local maxima and minima which is that we should first find the solutions of the equation i.e. f′(x)=0 which is also called the critical points. And then solve the inequality f′(x)⩽0 to check if it changes the sign around the critical points and then calculate f′′(x) and then check for its value.