Applications of Derivatives — Monotonicity, Extrema, Concavity & Optimization (Layered)

1966 words
10 min read
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

# Applications of Derivatives — Monotonicity, Extrema, Concavity & Optimization > **Layered Deep-Dive:** This chapter reconstructs Applications of Derivatives from first principles. We master Fermat's Interior Extremum Theorem, identify critical points, perform First and Second Derivative Tests, classify concavity a...

Applications of Derivatives — Monotonicity, Extrema, Concavity & Optimization

Layered Deep-Dive: This chapter reconstructs Applications of Derivatives from first principles. We master Fermat's Interior Extremum Theorem, identify critical points, perform First and Second Derivative Tests, classify concavity and inflection points, and solve closed-interval global optimization problems for IIT Madras Quiz 3.

1. Orientation & Intuition: Peaks, Troughs, and Bends

In differential calculus, the derivative f′(x)f'(x) tells us the instantaneous rate of change—the slope of the tangent line. But how do we use this slope to understand the global shape of a function?
  • When a roller-coaster is climbing, its slope is positive: f′(x)>0f'(x) > 0.
  • When it is descending, its slope is negative: f′(x)<0f'(x) < 0.
  • At the very peak of a hill or the bottom of a valley, the tangent line momentarily levels out completely: f′(x)=0f'(x) = 0.
By systematically studying the sign of f′(x)f'(x) and f′′(x)f''(x), we can pinpoint exact maxima and minima, detect where curves bend, and find optimal operating points (such as minimizing cost or maximizing profit) without guessing.
          Peak (Local Max) f'(c) = 0, f''(c) < 0
             .-'''-.
            /       \   Inflection Point f''(x) = 0
           /         \       .
          /           '._ _.' \
                               \
                                '---. Valley (Local Min) f'(d) = 0, f''(d) > 0

2. Terminology, Notation & Core Theorems

Concept / TermFormal Mathematical DefinitionGeometric Interpretation
Critical Point ccA point c∈Domain(f)c \in \text{Domain}(f) where f′(c)=0f'(c) = 0 or f′(c)f'(c) does not exist.Candidates for local extrema (crests, troughs, corners, cusps).
Stationary PointA point where f′(c)=0f'(c) = 0 specifically.Horizontal tangent line.
Increasing on (a,b)(a, b)x1<x2  ⟹  f(x1)≤f(x2)x_1 < x_2 \implies f(x_1) \le f(x_2) (ensured if f′(x)>0f'(x) > 0).Curve ascends from left to right.
Decreasing on (a,b)(a, b)x1<x2  ⟹  f(x1)≥f(x2)x_1 < x_2 \implies f(x_1) \ge f(x_2) (ensured if f′(x)<0f'(x) < 0).Curve descends from left to right.
Concave UpTangent lines lie strictly below the curve (f′′(x)>0f''(x) > 0).Bowl-shaped (∪\cup), holds water.
Concave DownTangent lines lie strictly above the curve (f′′(x)<0f''(x) < 0).Dome-shaped (∩\cap), sheds water.
Inflection PointA point on the curve where the concavity strictly changes sign.The transition from bowl to dome.
Global ExtremumThe absolute highest or lowest value attained on a domain.Found by comparing critical values and endpoints.

3. Fermat's Theorem & Critical Points

Fermat's Interior Extremum Theorem

If a function ff has a local extremum (maximum or minimum) at an interior point cc, and f′(c)f'(c) exists, then:
f′(c)=0f'(c) = 0
Caution
The converse is FALSE! Just because f′(c)=0f'(c) = 0 does NOT mean cc is a local extremum. Counterexample: For f(x)=x3f(x) = x^3, f′(0)=3(0)2=0f'(0) = 3(0)^2 = 0, but x=0x = 0 is neither a local maximum nor a local minimum (it is an inflection point).
Thus, critical points are merely candidates for extrema. We must test them using the First or Second Derivative Test.

4. Classifying Extrema: The Two Tests

4.1 The First Derivative Test

Suppose cc is a critical point of a continuous function ff:
Sign of f′(x)f'(x) to the left of ccSign of f′(x)f'(x) to the right of ccNature of Point cc
++ (increasing)−- (decreasing)Local Maximum at cc
−- (decreasing)++ (increasing)Local Minimum at cc
++ (increasing)++ (increasing)Neither (horizontal inflection)
−- (decreasing)−- (decreasing)Neither (horizontal inflection)

4.2 The Second Derivative Test

Suppose f′(c)=0f'(c) = 0 (a stationary point) and f′′f'' is continuous near cc:
  • If f′′(c)>0f''(c) > 0: the curve is concave up (∪\cup)   ⟹  \implies Local Minimum at cc.
  • If f′′(c)<0f''(c) < 0: the curve is concave down (∩\cap)   ⟹  \implies Local Maximum at cc.
  • If f′′(c)=0f''(c) = 0: the test is inconclusive! (You must revert to the First Derivative Test).

5. Global Extrema on a Closed Interval [a,b][a, b]

By the Extreme Value Theorem (EVT), every continuous function on a closed, bounded interval [a,b][a, b] attains an absolute maximum and an absolute minimum.

The Closed-Interval Algorithm:

  1. Differentiate f(x)f(x) to find f′(x)f'(x).
  2. Find all critical points c1,c2,…c_1, c_2, \dots in the open interval (a,b)(a, b) where f′(c)=0f'(c) = 0 or f′(c)f'(c) does not exist. (Discard any points outside (a,b)(a, b)).
  3. Evaluate f(x)f(x) at:
    • All interior critical points: f(c1),f(c2),…f(c_1), f(c_2), \dots
    • Both boundary endpoints: f(a)f(a) and f(b)f(b).
  4. The largest resulting value is the Absolute Maximum, and the smallest is the Absolute Minimum.

6. Worked Exam Dissections

Dissection 1: Comprehensive Curve Analysis

Problem: For the polynomial function f(x)=2x3−9x2+12x−3f(x) = 2x^3 - 9x^2 + 12x - 3:
  1. Determine the intervals where ff is strictly increasing and decreasing.
  2. Find and classify all local extrema.
  3. Determine intervals of concavity and locate all points of inflection.
Step-by-step Solution:
Step 1: First Derivative and Critical Points f′(x)=6x2−18x+12=6(x2−3x+2)=6(x−1)(x−2)f'(x) = 6x^2 - 18x + 12 = 6(x^2 - 3x + 2) = 6(x - 1)(x - 2) Setting f′(x)=0f'(x) = 0 yields two stationary critical points: x=1andx=2x = 1 \quad \text{and} \quad x = 2
Step 2: Sign Chart for f′(x)f'(x)
  • On (−∞,1)(-\infty, 1): choose x=0  ⟹  f′(0)=6(−1)(−2)=+12>0  ⟹  x = 0 \implies f'(0) = 6(-1)(-2) = +12 > 0 \implies Increasing.
  • On (1,2)(1, 2): choose x=1.5  ⟹  f′(1.5)=6(0.5)(−0.5)=−1.5<0  ⟹  x = 1.5 \implies f'(1.5) = 6(0.5)(-0.5) = -1.5 < 0 \implies Decreasing.
  • On (2,∞)(2, \infty): choose x=3  ⟹  f′(3)=6(2)(1)=+12>0  ⟹  x = 3 \implies f'(3) = 6(2)(1) = +12 > 0 \implies Increasing.
Extrema Classification:
  • At x=1x = 1: f′f' changes from ++ to −-   ⟹  \implies Local Maximum at (1,f(1))(1, f(1)). f(1)=2(1)3−9(1)2+12(1)−3=2−9+12−3=2f(1) = 2(1)^3 - 9(1)^2 + 12(1) - 3 = 2 - 9 + 12 - 3 = 2
  • At x=2x = 2: f′f' changes from −- to ++   ⟹  \implies Local Minimum at (2,f(2))(2, f(2)). f(2)=2(8)−9(4)+12(2)−3=16−36+24−3=1f(2) = 2(8) - 9(4) + 12(2) - 3 = 16 - 36 + 24 - 3 = 1
Step 3: Second Derivative and Concavity f′′(x)=ddx[6x2−18x+12]=12x−18=6(2x−3)f''(x) = \frac{d}{dx}[6x^2 - 18x + 12] = 12x - 18 = 6(2x - 3) Setting f′′(x)=0  ⟹  2x−3=0  ⟹  x=32=1.5f''(x) = 0 \implies 2x - 3 = 0 \implies x = \frac{3}{2} = 1.5.
  • For x<1.5x < 1.5: f′′(x)<0  ⟹  f''(x) < 0 \implies Concave Down.
  • For x>1.5x > 1.5: f′′(x)>0  ⟹  f''(x) > 0 \implies Concave Up. Since f′′f'' changes sign across x=1.5x = 1.5, this is a true point of inflection: f(1.5)=2(3.375)−9(2.25)+12(1.5)−3=6.75−20.25+18−3=1.5f(1.5) = 2(3.375) - 9(2.25) + 12(1.5) - 3 = 6.75 - 20.25 + 18 - 3 = 1.5 Point of Inflection: (1.5,1.5)\text{Point of Inflection: } (1.5, 1.5)
Local Max at (1,2),Local Min at (2,1),Inflection Point at (1.5,1.5)\boxed{\text{Local Max at } (1, 2), \quad \text{Local Min at } (2, 1), \quad \text{Inflection Point at } (1.5, 1.5)}

Dissection 2: Absolute Extrema on a Closed Interval

Problem: Find the absolute maximum and minimum values of f(x)=x4−8x2+5f(x) = x^4 - 8x^2 + 5 on the closed interval [−1,3][-1, 3].
Step-by-step Solution:
Step 1: Compute derivative and critical points f′(x)=4x3−16x=4x(x2−4)=4x(x−2)(x+2)f'(x) = 4x^3 - 16x = 4x(x^2 - 4) = 4x(x - 2)(x + 2) Setting f′(x)=0f'(x) = 0: x=0,x=2,x=−2x = 0, \quad x = 2, \quad x = -2
Step 2: Filter by domain [−1,3][-1, 3]
  • x=0∈(−1,3)x = 0 \in (-1, 3)   ⟹  \implies Keep.
  • x=2∈(−1,3)x = 2 \in (-1, 3)   ⟹  \implies Keep.
  • x=−2∉(−1,3)x = -2 \notin (-1, 3)   ⟹  \implies Discard! (Falls outside the given interval).
Step 3: Evaluate candidates and endpoints
  1. Interior critical point x=0x = 0: f(0)=04−8(0)2+5=5f(0) = 0^4 - 8(0)^2 + 5 = 5
  2. Interior critical point x=2x = 2: f(2)=24−8(2)2+5=16−32+5=−11f(2) = 2^4 - 8(2)^2 + 5 = 16 - 32 + 5 = -11
  3. Left endpoint x=−1x = -1: f(−1)=(−1)4−8(−1)2+5=1−8+5=−2f(-1) = (-1)^4 - 8(-1)^2 + 5 = 1 - 8 + 5 = -2
  4. Right endpoint x=3x = 3: f(3)=34−8(3)2+5=81−72+5=14f(3) = 3^4 - 8(3)^2 + 5 = 81 - 72 + 5 = 14
Step 4: Identify extrema
  • Largest value: 1414 (at x=3x = 3).
  • Smallest value: −11-11 (at x=2x = 2).
Absolute Maximum =14 at x=3,Absolute Minimum =−11 at x=2\boxed{\text{Absolute Maximum } = 14 \text{ at } x = 3, \quad \text{Absolute Minimum } = -11 \text{ at } x = 2}

7. Common Traps & Pitfalls in IITM Calculus Exams

  1. Forgetting to Test Endpoints: In closed-interval optimization, the global maximum or minimum often occurs at an endpoint aa or bb where f′(x)≠0f'(x) \neq 0. Never declare an extremum without evaluating the boundary points.
  2. Missing Critical Points Where f′f' is Undefined: For functions like f(x)=∣x∣f(x) = |x| or f(x)=x2/3f(x) = x^{2/3}, the derivative at x=0x = 0 does not exist. x=0x = 0 is still a valid critical point and in fact the location of an absolute minimum.
  3. Assuming f′′(c)=0f''(c) = 0 Implies an Inflection Point: Just because f′′(c)=0f''(c) = 0 does not guarantee an inflection point. For f(x)=x4f(x) = x^4, f′′(0)=12(0)2=0f''(0) = 12(0)^2 = 0, but f′′(x)=12x2≥0f''(x) = 12x^2 \ge 0 everywhere, so the concavity never changes sign. x=0x=0 is a local minimum, not an inflection point!

8. Practice & Quiz Questions

Question 1 (MCQ)

The function f(x)=xe−xf(x) = x e^{-x} achieves its local maximum at:
  • (A) x=0x = 0
  • (B) x=1x = 1
  • (C) x=−1x = -1
  • (D) x=ex = e
Answer: (B) Detailed Explanation: By the product rule: f′(x)=1⋅e−x+x⋅(−e−x)=e−x(1−x)f'(x) = 1 \cdot e^{-x} + x \cdot (-e^{-x}) = e^{-x}(1 - x). Since e−x>0e^{-x} > 0 for all xx, f′(x)=0  ⟺  1−x=0  ⟹  x=1f'(x) = 0 \iff 1 - x = 0 \implies x = 1. For x<1x < 1, f′(x)>0f'(x) > 0 (increasing). For x>1x > 1, f′(x)<0f'(x) < 0 (decreasing). Thus, by the First Derivative Test, x=1x = 1 is a local maximum.

Question 2 (MSQ)

Which of the following statements are TRUE for a twice-differentiable function f:R→Rf: \mathbb{R} \to \mathbb{R}?
  • (A) If f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0, then ff has a local maximum at cc.
  • (B) If ff has a local minimum at cc, then f′′(c)f''(c) must be strictly positive.
  • (C) If f′′(x)>0f''(x) > 0 for all x∈(a,b)x \in (a, b), then the tangent line to ff at any point in (a,b)(a, b) lies entirely below the graph of ff.
  • (D) A point cc where f′′(c)=0f''(c) = 0 is always a point of inflection.
Explanation:
  • (A) True: The Second Derivative Test confirms local maximum.
  • (B) False: For f(x)=x4f(x) = x^4, x=0x = 0 is a local minimum, but f′′(0)=0f''(0) = 0, which is not strictly positive.
  • (C) True: This is the geometric definition of strict convex/concave up curvature.
  • (D) False: For f(x)=x4f(x) = x^4, f′′(0)=0f''(0) = 0, but concavity does not change sign (concave up on both sides).

9. Active Recall Flashcards

  1. What is the formal definition of a critical point of f(x)f(x)? Answer: A point cc in the domain of ff where either f′(c)=0f'(c) = 0 or f′(c)f'(c) is undefined.
  2. What does the Second Derivative Test conclude if f′(c)=0f'(c) = 0 and f′′(c)=0f''(c) = 0? Answer: The test is inconclusive; you must use the First Derivative Test.
  3. What is an inflection point? Answer: A point on the curve where the concavity strictly changes sign (from concave up to concave down, or vice versa).
  4. How do you find global extrema on a closed interval [a,b][a, b]? Answer: Evaluate f(x)f(x) at all critical points inside (a,b)(a, b) and at both endpoints aa and bb; the largest is the global maximum and the smallest is the global minimum.
Document outline

Keep your place and jump directly to a heading.

Table of contents

No note selected

Open a chapter to see its outline, backlinks, and sources here.