Welcome to this detailed exploration of
Maxima and Minima of Functions of One Variable. This topic is not just a cornerstone of differential calculus but also a highly practical tool in solving real-world optimization problems, making it a favorite for competitive exams like JEE Main & Advanced. In this deep dive, we'll go beyond the basics, building a robust conceptual understanding and equipping you with advanced techniques to tackle complex problems.
Understanding Local vs. Global Extrema
Before we delve into the mechanics, let's firmly grasp the types of extrema.
1.
Local (or Relative) Maxima/Minima:
* A function $f(x)$ is said to have a
local maximum at a point $c$ if $f(c) ge f(x)$ for all $x$ in some open interval containing $c$. Imagine a small "hilltop" on the graph.
* Similarly, $f(x)$ has a
local minimum at $c$ if $f(c) le f(x)$ for all $x$ in some open interval containing $c$. This is like a "valley bottom."
* A local extremum is simply a local maximum or a local minimum.
2.
Global (or Absolute) Maxima/Minima:
* A function $f(x)$ has an
absolute maximum at $c$ if $f(c) ge f(x)$ for all $x$ in the entire domain of $f$. This is the highest point the function ever reaches.
* An
absolute minimum at $c$ means $f(c) le f(x)$ for all $x$ in the entire domain of $f$. This is the lowest point.
* An absolute extremum is an absolute maximum or an absolute minimum.
* A function may not have an absolute maximum or minimum, especially on open or unbounded intervals. However, if a function is continuous on a closed interval $[a, b]$, it is guaranteed to attain both an absolute maximum and an absolute minimum on that interval (by the
Extreme Value Theorem).
Fermat's Theorem and Critical Points: The Foundation
The first crucial step in finding extrema is to identify potential locations. This is where Fermat's Theorem comes in.
Fermat's Theorem:
If a function $f(x)$ has a local extremum at a point $c$ and $f(x)$ is differentiable at $c$, then $f'(c) = 0$.
Intuition: At a local peak or valley (where the function is smooth, i.e., differentiable), the tangent line must be horizontal. A horizontal tangent line means its slope, which is given by the derivative, must be zero.
Important Note: The converse is not necessarily true! If $f'(c)=0$, it doesn't guarantee a local extremum. For example, for $f(x) = x^3$, $f'(0)=0$, but $x=0$ is a point of inflection, not a local extremum. This highlights why tests are needed.
This leads us to the definition of
Critical Points:
A point $c$ in the domain of $f$ is called a critical point if either:
1. $f'(c) = 0$ (stationary points)
2. $f'(c)$ is undefined
Critical points are the candidates for local extrema. All local extrema (where the function is differentiable) must occur at critical points. However, not all critical points are local extrema.
Tests for Local Extrema: Pinpointing the Nature
Once we have critical points, we need to determine whether they are local maxima, local minima, or neither.
1. The First Derivative Test
This test relies on observing the sign change of the first derivative around a critical point.
Let $c$ be a critical point of a continuous function $f(x)$ where $f'(c)=0$ or $f'(c)$ is undefined.
If $f'(x)$ changes its sign from positive to negative as $x$ increases through $c$, then $c$ is a point of local maximum.
(The function is increasing before $c$ and decreasing after $c$, forming a peak).
If $f'(x)$ changes its sign from negative to positive as $x$ increases through $c$, then $c$ is a point of local minimum.
(The function is decreasing before $c$ and increasing after $c$, forming a valley).
If $f'(x)$ does not change sign as $x$ increases through $c$ (i.e., it's positive on both sides or negative on both sides), then $c$ is neither a local maximum nor a local minimum. Such a point is often a point of inflection.
Example 1: Using First Derivative Test
Find the local extrema of $f(x) = x^3 - 6x^2 + 9x + 15$.
Solution:
- Find the first derivative:
$f'(x) = 3x^2 - 12x + 9$
- Find critical points by setting $f'(x) = 0$:
$3x^2 - 12x + 9 = 0$
$x^2 - 4x + 3 = 0$
$(x-1)(x-3) = 0$
So, critical points are $x=1$ and $x=3$.
- Apply the First Derivative Test:
- For $x=1$:
Let's check the sign of $f'(x)$ around $x=1$.
* Take $x=0.5$ (left of 1): $f'(0.5) = 3(0.5)^2 - 12(0.5) + 9 = 0.75 - 6 + 9 = 3.75$ (positive)
* Take $x=2$ (right of 1): $f'(2) = 3(2)^2 - 12(2) + 9 = 12 - 24 + 9 = -3$ (negative)
Since $f'(x)$ changes from positive to negative at $x=1$, it is a local maximum.
The local maximum value is $f(1) = 1^3 - 6(1)^2 + 9(1) + 15 = 1 - 6 + 9 + 15 = 19$.
- For $x=3$:
Let's check the sign of $f'(x)$ around $x=3$.
* Take $x=2.5$ (left of 3): $f'(2.5) = 3(2.5)^2 - 12(2.5) + 9 = 3(6.25) - 30 + 9 = 18.75 - 30 + 9 = -2.25$ (negative)
* Take $x=4$ (right of 3): $f'(4) = 3(4)^2 - 12(4) + 9 = 48 - 48 + 9 = 9$ (positive)
Since $f'(x)$ changes from negative to positive at $x=3$, it is a local minimum.
The local minimum value is $f(3) = 3^3 - 6(3)^2 + 9(3) + 15 = 27 - 54 + 27 + 15 = 15$.
2. The Second Derivative Test
This is often more efficient than the first derivative test, especially when calculating the second derivative is easy. It connects the concept of extrema to the concavity of the function.
Let $f(x)$ be a function such that $f'(c) = 0$ and $f''(c)$ exists.
If $f''(c) < 0$, then $c$ is a point of local maximum.
(Negative second derivative means the function is concave down, forming a peak).
If $f''(c) > 0$, then $c$ is a point of local minimum.
(Positive second derivative means the function is concave up, forming a valley).
If $f''(c) = 0$, the test fails. In this case, we must revert to the First Derivative Test or use the Higher Order Derivative Test.
Derivation Intuition:
If $f'(c)=0$, we're at a stationary point.
If $f''(c) > 0$, it means $f'(x)$ is increasing around $c$. Since $f'(c)=0$, this implies $f'(x)$ was negative just before $c$ and positive just after $c$. (Negative to Positive $Rightarrow$ Local Minimum by First Derivative Test).
If $f''(c) < 0$, it means $f'(x)$ is decreasing around $c$. Since $f'(c)=0$, this implies $f'(x)$ was positive just before $c$ and negative just after $c$. (Positive to Negative $Rightarrow$ Local Maximum by First Derivative Test).
If $f''(c)=0$, then $f'(x)$ might still be increasing or decreasing, or neither, at $c$. We need more information.
Example 2: Using Second Derivative Test
Revisit $f(x) = x^3 - 6x^2 + 9x + 15$.
Solution:
- From Example 1, critical points are $x=1$ and $x=3$.
- Find the second derivative:
$f'(x) = 3x^2 - 12x + 9$
$f''(x) = 6x - 12$
- Apply the Second Derivative Test:
- For $x=1$:
$f''(1) = 6(1) - 12 = -6$.
Since $f''(1) < 0$, $x=1$ is a point of local maximum.
Local maximum value is $f(1)=19$.
- For $x=3$:
$f''(3) = 6(3) - 12 = 18 - 12 = 6$.
Since $f''(3) > 0$, $x=3$ is a point of local minimum.
Local minimum value is $f(3)=15$.
This matches the results from the First Derivative Test, but was quicker to execute.
3. The Higher Order Derivative Test (JEE Advanced Focus)
This test is employed when the second derivative test fails, i.e., $f'(c)=0$ and $f''(c)=0$.
Let $c$ be a point such that $f'(c) = 0$, $f''(c) = 0$, ..., $f^{(n-1)}(c) = 0$, but $f^{(n)}(c)
e 0$ for some integer $n > 2$.
If $n$ is even:
- If $f^{(n)}(c) < 0$, then $c$ is a point of local maximum.
- If $f^{(n)}(c) > 0$, then $c$ is a point of local minimum.
If $n$ is odd:
Then $c$ is neither a local maximum nor a local minimum. It is a point of inflection.
Example 3: Higher Order Derivative Test
Find local extrema for $f(x) = x^4$.
Solution:
- Find derivatives:
$f'(x) = 4x^3$
$f''(x) = 12x^2$
$f'''(x) = 24x$
$f^{(4)}(x) = 24$
- Find critical points:
Set $f'(x) = 0 Rightarrow 4x^3 = 0 Rightarrow x=0$. So, $c=0$ is the critical point.
- Apply tests:
* $f'(0) = 0$.
* $f''(0) = 12(0)^2 = 0$. (Second derivative test fails)
* $f'''(0) = 24(0) = 0$.
* $f^{(4)}(0) = 24$.
Here, $n=4$ (even) and $f^{(4)}(0) = 24 > 0$.
Therefore, $x=0$ is a point of local minimum.
The local minimum value is $f(0)=0$.
If you sketch $y=x^4$, you'll see a clear minimum at $(0,0)$.
Absolute Maxima and Minima on a Closed Interval [a, b]
For a continuous function $f(x)$ on a closed interval $[a, b]$, the absolute maximum and minimum values are guaranteed to exist. They will occur either at a critical point within the interval $(a, b)$ or at one of the endpoints $a$ or $b$.
Algorithm:
- Find all critical points of $f(x)$ in the open interval $(a, b)$. Let these be $c_1, c_2, dots, c_k$.
- Evaluate $f(x)$ at each of these critical points: $f(c_1), f(c_2), dots, f(c_k)$.
- Evaluate $f(x)$ at the endpoints of the interval: $f(a)$ and $f(b)$.
- Compare all the values obtained in steps 2 and 3.
* The largest among these values is the absolute maximum.
* The smallest among these values is the absolute minimum.
Example 4: Absolute Extrema on a Closed Interval
Find the absolute maximum and minimum values of $f(x) = x^3 - 3x^2 + 1$ on the interval $[-2, 3]$.
Solution:
- Find the first derivative:
$f'(x) = 3x^2 - 6x = 3x(x - 2)$
- Find critical points by setting $f'(x) = 0$:
$3x(x - 2) = 0 Rightarrow x=0$ or $x=2$.
Both $x=0$ and $x=2$ lie within the interval $(-2, 3)$.
- Evaluate $f(x)$ at the critical points and endpoints:
- $f(0) = (0)^3 - 3(0)^2 + 1 = 1$
- $f(2) = (2)^3 - 3(2)^2 + 1 = 8 - 12 + 1 = -3$
- $f(-2) = (-2)^3 - 3(-2)^2 + 1 = -8 - 12 + 1 = -19$ (endpoint)
- $f(3) = (3)^3 - 3(3)^2 + 1 = 27 - 27 + 1 = 1$ (endpoint)
- Compare the values: ${1, -3, -19, 1}$.
* The largest value is $1$. So, the absolute maximum is $1$ (occurring at $x=0$ and $x=3$).
* The smallest value is $-19$. So, the absolute minimum is $-19$ (occurring at $x=-2$).
JEE Advanced Focus: Advanced Applications and Pitfalls
1.
Functions Not Differentiable Everywhere:
* For functions involving absolute values (e.g., $f(x) = |x-1| + |x-2|$), or piecewise definitions, critical points also include points where the derivative is undefined.
* You often need to define the function piecewise first, then find derivatives for each piece, and check points where the definition changes or where the derivative is undefined.
*
Example: $f(x) = |x-1|$. $f'(x)$ is undefined at $x=1$. $x=1$ is a critical point. $f(1)=0$ is a local (and global) minimum.
2.
Optimization Word Problems:
* These require careful formulation.
*
Steps:
1. Understand the problem and identify the quantity to be maximized or minimized.
2. Draw a diagram if applicable.
3. Assign variables to relevant quantities.
4. Formulate the function of one variable that represents the quantity to be optimized. This often involves using constraints to eliminate one variable.
5. Determine the domain of this function.
6. Use derivative tests (First or Second) to find local extrema.
7. If the domain is a closed interval, use the absolute extrema algorithm.
*
Example (JEE Level): A wire of length $L$ is cut into two pieces. One piece is bent into a square and the other into a circle. How should the wire be cut so that the sum of the areas enclosed by both shapes is minimum?
Solution Sketch:
Let one piece be of length $x$ (for the square) and the other $L-x$ (for the circle).
Side of square = $x/4$. Area of square $A_s = (x/4)^2 = x^2/16$.
Circumference of circle = $L-x = 2pi r Rightarrow r = (L-x)/(2pi)$.
Area of circle $A_c = pi r^2 = pi left(frac{L-x}{2pi}
ight)^2 = frac{(L-x)^2}{4pi}$.
Total area $A(x) = frac{x^2}{16} + frac{(L-x)^2}{4pi}$.
Domain for $x$ is $[0, L]$.
Now, find $A'(x)$, set to zero for critical points, and check endpoints.
$A'(x) = frac{2x}{16} + frac{2(L-x)(-1)}{4pi} = frac{x}{8} - frac{L-x}{2pi}$
Set $A'(x)=0$: $frac{x}{8} = frac{L-x}{2pi} Rightarrow pi x = 4(L-x) Rightarrow pi x = 4L - 4x Rightarrow (pi+4)x = 4L Rightarrow x = frac{4L}{pi+4}$.
This is a critical point.
$A''(x) = frac{1}{8} + frac{1}{2pi} = frac{pi+4}{8pi} > 0$.
Since $A''(x) > 0$, this critical point corresponds to a local minimum.
Compare $Aleft(frac{4L}{pi+4}
ight)$, $A(0)$, and $A(L)$ to find absolute minimum.
(At $x=0$, only circle, Area = $L^2/(4pi)$. At $x=L$, only square, Area = $L^2/16$.)
The minimum sum of areas occurs when $x = frac{4L}{pi+4}$.
3.
Problems with Parameters:
* Sometimes you'll need to find the range of a parameter for which a function has a specific type of extremum.
* This usually involves analyzing the conditions for derivatives (e.g., $f'(c)=0$ and $f''(c)<0$ for max) in terms of the parameter.
4.
Using Monotonicity of Derivatives:
* If $f'(x) ge 0$ on an interval, $f(x)$ is increasing.
* If $f'(x) le 0$ on an interval, $f(x)$ is decreasing.
* This can be used to prove inequalities or determine the nature of extrema indirectly, especially when analytical solutions are difficult.
The mastery of Maxima and Minima comes from diligent practice across a variety of problem types, always building from the foundational concepts of critical points and derivative tests. Remember to always check the domain and consider endpoints for absolute extrema problems. Keep practicing, and you'll find these optimization problems becoming second nature!