Day 25 - First Derivative Test and Absolute Extrema Optimization

Foundations of Monotonicity and Critical Numbers
  • Curriculum and Context:

    • Textbook Reference: Section 12.112.1.

    • Primary Objective: Classify critical numbers and analyze local behavior via the First Derivative Test.

  • Definitions of Monotonicity:

    • Strictly Increasing: A function f(x)f(x) is strictly increasing on an interval [a,b][a, b] if for all x1,x2∈[a,b]x_1, x_2 \in [a, b] satisfying a≤x1<x2≤ba \le x_1 < x_2 \le b, the condition f(x1)<f(x2)f(x_1) < f(x_2) holds.

    • Strictly Decreasing: A function f(x)f(x) is strictly decreasing on an interval [a,b][a, b] if for all x1,x2∈[a,b]x_1, x_2 \in [a, b] satisfying a≤x1<x2≤ba \le x_1 < x_2 \le b, the condition f(x1)>f(x2)f(x_1) > f(x_2) holds.

  • Derivative Sign Criteria:

    • If f′(x)>0f'(x) > 0 for all interior points x∈(a,b)x \in (a, b), then f(x)f(x) is strictly increasing on [a,b][a, b].

    • If f′(x)<0f'(x) < 0 for all interior points x∈(a,b)x \in (a, b), then f(x)f(x) is strictly decreasing on [a,b][a, b].

    • If f′(x)=0f'(x) = 0 throughout an interval, f(x)f(x) is constant on that interval.

  • Sign Partitioning via the Intermediate Value Theorem (IVT):

    • By the Intermediate Value Theorem, a continuous derivative f′(x)f'(x) cannot change signs between positive and negative without passing through zero.

    • Therefore, f′(x)f'(x) can only change sign at points where f′(x)=0f'(x) = 0 or where f′(x)f'(x) is undefined.

    • These values partition the domain into distinct sign intervals where the sign of f′(x)f'(x) is invariant.

  • Step-by-Step Procedure for Monotonicity Intervals:

    1. Identify Domain and First Derivative:

    • State the domain of the function f(x)f(x).

    • Compute the derivative f′(x)f'(x) using standard differentiation rules.

    1. Find Critical Numbers and Discontinuities:

    • Set f′(x)=0f'(x) = 0 and solve for xx.

    • Identify all xx-values in the domain where f′(x)f'(x) fails to exist.

    • Include any points of discontinuity of f(x)f(x) to ensure complete domain partitioning.

    1. Establish Open Test Intervals:

    • Plot all critical numbers and partition points in order on a real number line.

    • Divide the line into open test intervals.

    1. Evaluate Test Points:

    • Pick a convenient test number kk inside each interval.

    • Calculate f′(k)f'(k):

      • If f′(k)>0f'(k) > 0, then f(x)f(x) is increasing on that entire interval.

      • If f′(k)<0f'(k) < 0, then f(x)f(x) is decreasing on that entire interval.

The First Derivative Test for Relative Extrema
  • Core Definition and Utility:

    • The First Derivative Test determines whether a continuous function possesses a relative maximum, a relative minimum, or neither at a critical number x=cx = c by tracking the directional change of f(x)f(x) immediately to the left and right of x=cx = c.

  • Classification Conditions:

    • Relative Maximum: Occurs when f′(x)f'(x) changes sign from positive to negative at x=cx = c (function changes from increasing to decreasing).   

      Relative Maximum Diagram
    • Relative Minimum: Occurs when f′(x)f'(x) changes sign from negative to positive at x=cx = c (function changes from decreasing to increasing).   

      Relative Minimum Diagram
    • Neither Maximum nor Minimum: Occurs when f′(x)f'(x) does not switch signs at x=cx = c (remains positive on both sides or negative on both sides), representing a terrace or horizontal inflection point.   

      Neither Maximum nor Minimum Diagram
Classification of Critical Numbers: Worked Example
  • Problem Statement:

    • Find and classify all relative extrema of the polynomial function: f(x)=x4−4x3+5f(x) = x^4 - 4x^3 + 5.

  • Step 1: Compute the Derivative:

    • Differentiate term-by-term using the power rule:   f′(x)=4x3−12x2f'(x) = 4x^3 - 12x^2

    • Factor out the greatest common factor 4x24x^2:   f′(x)=4x2(x−3)f'(x) = 4x^2(x - 3)

  • Step 2: Determine Critical Numbers:

    • Because f(x)f(x) is a polynomial, its domain is (−∞,∞)(-\infty, \infty) and f′(x)f'(x) exists everywhere.

    • Set f′(x)=0f'(x) = 0:   4x2(x−3)=04x^2(x - 3) = 0

    • Roots:   x=0x = 0   x=3x = 3

  • Step 3: Test Intervals and Signs of the First Derivative:

    • The critical numbers x=0x = 0 and x=3x = 3 define three test intervals: (−∞,0)(-\infty, 0), (0,3)(0, 3), and (3,∞)(3, \infty).

    • Interval 1: (−∞,0)(-\infty, 0):

    • Test value: x=−1x = -1

    • Evaluate: f′(−1)=4(−1)2(−1−3)=4(1)(−4)=−16<0f'(-1) = 4(-1)^2(-1 - 3) = 4(1)(-4) = -16 < 0

    • Result: f′(x)<0f'(x) < 0, so f(x)f(x) is decreasing.

    • Interval 2: (0,3)(0, 3):

    • Test value: x=1x = 1

    • Evaluate: f′(1)=4(1)2(1−3)=4(1)(−2)=−8<0f'(1) = 4(1)^2(1 - 3) = 4(1)(-2) = -8 < 0

    • Result: f′(x)<0f'(x) < 0, so f(x)f(x) is decreasing.

    • Interval 3: (3,∞)(3, \infty):

    • Test value: x=4x = 4

    • Evaluate: f′(4)=4(4)2(4−3)=4(16)(1)=64>0f'(4) = 4(4)^2(4 - 3) = 4(16)(1) = 64 > 0

    • Result: f′(x)>0f'(x) > 0, so f(x)f(x) is increasing.

  • Step 4: Classification and Evaluation:

    • Critical Number x=0x = 0:

    • f′(x)f'(x) is negative on (−∞,0)(-\infty, 0) and remains negative on (0,3)(0, 3).

    • With no change in sign, x=0x = 0 is neither a relative maximum nor a relative minimum.

    • Coordinate: (0,f(0))=(0,5)(0, f(0)) = (0, 5).

    • Critical Number x=3x = 3:

    • f′(x)f'(x) transitions from negative on (0,3)(0, 3) to positive on (3,∞)(3, \infty).

    • By the First Derivative Test, x=3x = 3 is a relative minimum.

    • Value calculation: f(3)=(3)4−4(3)3+5=81−108+5=−22f(3) = (3)^4 - 4(3)^3 + 5 = 81 - 108 + 5 = -22.

    • Coordinate: (3,−22)(3, -22).

Absolute Extrema versus Relative Extrema
  • Core Relationship:

    • If f(x)f(x) achieves an absolute extremum at an interior point x=cx = c where ff is differentiable, then x=cx = c must be a critical number.

    • The converse is false: critical numbers are candidates and do not necessarily produce an absolute extremum.

  • Naming Precedence:

    • Being an absolute extremum is globally stronger than being a relative extremum.

    • Labeling an extremum as strictly "relative minimum" or "relative maximum" indicates it is not the global/absolute extremum over the entire domain.

  • Causes for Absence of Absolute Extrema:

    1. Unbounded Domains / End-Behavior:

    • If the domain is open or infinite, function outputs may approach ±∞\pm\infty or approach open boundaries without ever attaining an extremum.     

      Unbounded Domain Behavior
    1. Discontinuities:

    • Vertical asymptotes, jumps, or missing points can disrupt bounded behavior and prevent an absolute extremum from existing.     

      Discontinuity Preventing Extrema
The Extreme Value Theorem and Closed Interval Optimization
  • Extreme Value Theorem (EVT):

    • If f(x)f(x) is continuous on a closed and bounded interval [a,b][a, b], then f(x)f(x) is guaranteed to attain both an absolute maximum and an absolute minimum at least once on [a,b][a, b].

    • These extreme values occur either at interior critical numbers in (a,b)(a, b) or at boundary endpoints x=ax = a and x=bx = b.

  • The Closed Interval Method Protocol:

    1. Locate Interior Critical Numbers:

    • Compute f′(x)f'(x) and solve f′(x)=0f'(x) = 0 (or identify points where f′(x)f'(x) does not exist) strictly inside (a,b)(a, b).

    1. Evaluate Critical Points:

    • Calculate f(c)f(c) for every valid interior critical number cc.

    1. Evaluate Endpoints:

    • Calculate f(a)f(a) and f(b)f(b).

    1. Direct Comparison:

    • The greatest evaluated value is the absolute maximum on [a,b][a, b].

    • The least evaluated value is the absolute minimum on [a,b][a, b].

  • Worked Example: Closed Interval Optimization:

    • Problem Statement: Find the absolute extrema of f(x)=x3−3x+1f(x) = x^3 - 3x + 1 on the closed domain [0,3][0, 3].

    • Step 1: Check Continuity Requirements:

    • The function f(x)f(x) is a polynomial, continuous everywhere on (−∞,∞)(-\infty, \infty), and therefore continuous on the closed interval [0,3][0, 3]. The Extreme Value Theorem applies.

    • Step 2: Differentiate and Find Critical Numbers:     f′(x)=3x2−3=3(x2−1)=3(x−1)(x+1)f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x - 1)(x + 1)

    • Setting f′(x)=0f'(x) = 0 gives roots at x=1x = 1 and x=−1x = -1.

    • Step 3: Domain Filtering:

    • Root x=−1x = -1 lies outside [0,3][0, 3] and is excluded.

    • Root x=1x = 1 lies strictly inside (0,3)(0, 3) and is retained.

    • Step 4: Function Evaluations:

    • Interior critical value: f(1)=(1)3−3(1)+1=1−3+1=−1f(1) = (1)^3 - 3(1) + 1 = 1 - 3 + 1 = -1

    • Left boundary (x=0x = 0): f(0)=(0)3−3(0)+1=1f(0) = (0)^3 - 3(0) + 1 = 1

    • Right boundary (x=3x = 3): f(3)=(3)3−3(3)+1=27−9+1=19f(3) = (3)^3 - 3(3) + 1 = 27 - 9 + 1 = 19

    • Step 5: Compare Values:

    • Evaluated set: {−1,1,19}\{-1, 1, 19\}.

    • Absolute Minimum: −1-1, occurring at x=1x = 1 (point: (1,−1)(1, -1)).

    • Absolute Maximum: 1919, occurring at x=3x = 3 (point: (3,19)(3, 19)).

Optimization on Unbounded Domains: Worked Example
  • Analytical Strategy for Unbounded Domains:

    • When a domain is open or unbounded, the Extreme Value Theorem cannot be applied.

    • Absolute extrema must be determined by synthesizing the First Derivative Test (intervals of increase and decrease) with limits at infinity (x→±∞x \to \pm\infty).

  • Problem Statement:

    • Find the absolute minimum and absolute maximum of f(x)=x4−4x3+5f(x) = x^4 - 4x^3 + 5 on its natural domain (−∞,∞)(-\infty, \infty).

  • Step 1: Asymptotic End-Behavior Limits:

    • Compute limits as xx approaches positive and negative infinity:   lim⁡x→−∞(x4−4x3+5)=∞\lim_{x \to -\infty} (x^4 - 4x^3 + 5) = \infty   lim⁡x→∞(x4−4x3+5)=∞\lim_{x \to \infty} (x^4 - 4x^3 + 5) = \infty

    • Because the function grows without bound in both directions, f(x)f(x) has no absolute maximum.

  • Step 2: Global Deduction from First Derivative Test:

    • Recall the sign analysis of f′(x)=4x2(x−3)f'(x) = 4x^2(x - 3):

    • On (−∞,0)(-\infty, 0): f′(x)<0f'(x) < 0 (ff is decreasing).

    • At x=0x = 0: f′(0)=0f'(0) = 0 (stationary terrace).

    • On (0,3)(0, 3): f′(x)<0f'(x) < 0 (ff continues decreasing).

    • On (3,∞)(3, \infty): f′(x)>0f'(x) > 0 (ff is strictly increasing).

    • The function decreases monotonically throughout (−∞,3)(-\infty, 3) and increases monotonically throughout (3,∞)(3, \infty).

    • Therefore, the local minimum at x=3x = 3 is guaranteed to be the global absolute minimum.

  • Step 3: Final Conclusion:

    • Absolute Minimum Value: −22-22, located at x=3x = 3 (coordinate: (3,−22)(3, -22)).

    • Absolute Maximum Value: None (unbounded above).