Maxima, Minima, and Critical Values

Foundations of Optimization and the First Derivative

The first derivative, denoted as f′(x)f'(x), represents the instantaneous rate of change of a function as well as the slope of the tangent line to the curve y=f(x)y = f(x) at any given point. Analyzing the sign and behavior of the first derivative provides deep insights into the geometric and qualitative behavior of functions.

This foundational tool enables the study of optimization—the process of determining the best or most efficient outcome in a practical scenario. Typical real-world applications of optimization include:

  • Minimizing operational, manufacturing, or distribution costs

  • Maximizing revenue and business profits

  • Determining the most geometrically efficient shape or structure

  • Finding the shortest path or travel route

Determining where a function rises or falls is vital in applied domains. In inventory management, population growth tracking, and epidemiological disease monitoring, knowing whether a metric trends upward or downward indicates when interventions are required, forecasts future behavior, and identifies where peaks or valleys occur.

Increasing and Decreasing Functions

Tracing the behavior of a function from left to right across its graph reveals a direct link between the direction of the curve and the sign of its first derivative:

  • Increasing Function: When the output values get larger, the curve rises from left to right. The tangent lines have positive slopes, meaning f′(x)>0f'(x) > 0.

  • Decreasing Function: When the output values get smaller, the curve falls from left to right. The tangent lines have negative slopes, meaning f′(x)<0f'(x) < 0.

An intuitive metaphor is walking along the curve from left to right: moving uphill corresponds to a positive slope (f′(x)>0f'(x) > 0), while moving downhill corresponds to a negative slope (f′(x)<0f'(x) < 0).

Cubic curve displaying intervals of increasing and decreasing behavior
Analytical Demonstration: Parabolic Sign Analysis

Consider the quadratic function:

f(x)=−x2+8f(x) = -x^2 + 8

Evaluating its first derivative:

f′(x)=−2xf'(x) = -2x

  • For x<0x < 0, the derivative is positive (f′(x)=−2x>0f'(x) = -2x > 0), meaning tangent lines slope upward and f(x)f(x) is increasing on the open interval (−∞,0)(-\infty, 0).

  • At x=0x = 0, the derivative equals zero (f′(0)=0f'(0) = 0), producing a horizontal tangent line at the peak.

  • For x>0x > 0, the derivative is negative (f′(x)=−2x<0f'(x) = -2x < 0), meaning tangent lines slope downward and f(x)f(x) is decreasing on the open interval (0,∞)(0, \infty).

Graph of a downward-opening parabola illustrating positive slope, zero slope, and negative slope

General Principles for Intervals of Increase and Decrease

Intervals of increase and decrease are strictly expressed as open intervals (endpoints are excluded):

  • If f′(x)>0f'(x) > 0 on an open interval, then the slope of the tangent line is positive, and f(x)f(x) is increasing on that interval.

  • If f′(x)<0f'(x) < 0 on an open interval, then the slope of the tangent line is negative, and f(x)f(x) is decreasing on that interval.

  • If f′(x)=0f'(x) = 0 on an open interval, then the slope of the tangent line is zero, and f(x)f(x) is constant on that interval (the graph is flat).

Identifying Special Graph Behaviors via Derivatives

Specific points where the first derivative either equals zero or fails to exist reveal critical structural features of a function, such as peaks, valleys, or flat transitions.

Case 1: Horizontal Tangent at a Minimum

Consider the quadratic function:

f(x)=(x−1)2+5f(x) = (x - 1)^2 + 5

Differentiating with respect to xx:

f′(x)=2(x−1)=2x−2f'(x) = 2(x - 1) = 2x - 2

The derivative is defined for all real numbers. Setting the derivative equal to zero locates horizontal tangents:

2x−2=02x - 2 = 0

x=1x = 1

  • For x<1x < 1, f′(x)<0f'(x) < 0, so f(x)f(x) is decreasing on (−∞,1)(-\infty, 1).

  • For x>1x > 1, f′(x)>0f'(x) > 0, so f(x)f(x) is increasing on (1,∞)(1, \infty).

Because the function transitions from decreasing to increasing, the point at x=1x = 1 corresponds to the lowest point (the vertex) on this parabolic curve.

Upward-opening parabola showing decreasing behavior, a horizontal tangent at the vertex, and increasing behavior
Case 2: Undefined Derivative at a Sharp Peak (Cusp)

Consider the power function:

f(x)=−3(x−2)2/3+6f(x) = -3(x - 2)^{2/3} + 6

Differentiating via the chain rule:

f′(x)=−3⋅(23)(x−2)−1/3⋅1=−2(x−2)1/3f'(x) = -3 \cdot \left(\frac{2}{3}\right)(x - 2)^{-1/3} \cdot 1 = \frac{-2}{(x - 2)^{1/3}}

  • Zeroes of the derivative: The numerator is −2≠0-2 \neq 0, so f′(x)f'(x) is never zero.

  • Undefined points: The derivative is undefined when the denominator is zero:

x−2=0  ⟹  x=2x - 2 = 0 \implies x = 2

At x=2x = 2, the graph forms a sharp corner or cusp where no unique tangent line exists, so f′(2)f'(2) does not exist (DNE).

  • For x<2x < 2, (x−2)1/3<0(x - 2)^{1/3} < 0, causing f′(x)=−2negative>0f'(x) = \frac{-2}{\text{negative}} > 0. The function is increasing on (−∞,2)(-\infty, 2).

  • For x>2x > 2, (x−2)1/3>0(x - 2)^{1/3} > 0, causing f′(x)=−2positive<0f'(x) = \frac{-2}{\text{positive}} < 0. The function is decreasing on (2,∞)(2, \infty).

The change from increasing to decreasing confirms that x=2x = 2 is the highest point on the curve.

Graph with a cusp at x = 2 displaying positive derivative on the left and negative derivative on the right
Case 3: Horizontal Tangent Without an Extremum

Consider the cubic function:

f(x)=x3f(x) = x^3

Computing the first derivative:

f′(x)=3x2f'(x) = 3x^2

Setting f′(x)=0f'(x) = 0:

3x2=0  ⟹  x=03x^2 = 0 \implies x = 0

At x=0x = 0, the tangent line is completely horizontal (f′(0)=0f'(0) = 0). Evaluating adjacent intervals:

  • For x<0x < 0, f′(x)=3x2>0f'(x) = 3x^2 > 0, so f(x)f(x) is increasing.

  • For x>0x > 0, f′(x)=3x2>0f'(x) = 3x^2 > 0, so f(x)f(x) is increasing.

Because the function increases continuously across its entire domain (−∞,∞)(-\infty, \infty), the point at x=0x = 0 represents neither a highest nor a lowest value.

Cubic curve displaying an inflection point with a horizontal tangent at the origin

Critical Points and Critical Values

Mathematical Definition

A critical point of a function f(x)f(x) is an ordered pair (c,f(c))(c, f(c)) in the domain of ff where either:

  1. f′(c)=0f'(c) = 0 (the tangent line is horizontal), or

  2. f′(c)f'(c) is undefined (the graph possesses a sharp corner, a cusp, or a vertical tangent line).

The corresponding input value, cc, is designated as a critical value.

Crucial Conditions and Caveats
  • Domain Requirement: A critical point must reside within the domain of f(x)f(x). If f(c)f(c) is undefined (such as at a vertical asymptote or a point discontinuity), x=cx = c cannot be classified as a critical value, regardless of whether the derivative appears to be undefined or zero.

  • Absence of Critical Points: Not all functions possess critical values. For example, the natural exponential function f(x)=exf(x) = e^x has the derivative f′(x)=exf'(x) = e^x. Because ex>0e^x > 0 for all real xx, the derivative is never zero and is defined everywhere; consequently, f(x)=exf(x) = e^x has no critical points.

Relative Extrema: Maxima and Minima

Critical points serve as the exclusive candidates for local peaks and valleys along a continuous function.

Definitions of Relative Extrema
  • Relative Maximum: A function f(x)f(x) has a relative maximum at a point (c,f(c))(c, f(c)) if:

f(c)≥f(x)f(c) \ge f(x)

for all xx within some open interval containing cc. This means that f(c)f(c) is the highest output in its immediate neighborhood.

  • Relative Minimum: A function f(x)f(x) has a relative minimum at a point (c,f(c))(c, f(c)) if:

f(c)≤f(x)f(c) \le f(x)

for all xx within some open interval containing cc. This means that f(c)f(c) is the lowest output in its immediate neighborhood.

  • Relative Extrema: The collective terminology referring to all relative maxima and relative minima together.

General Existence Principle

For any continuous function y=f(x)y = f(x), relative extrema occur only at critical values—that is, values of xx where f′(x)=0f'(x) = 0 or where f′(x)f'(x) does not exist.

Continuous graph over an interval demonstrating relative maxima and relative minima
Graph Analysis of Extrema Types

Examining the annotated curve in the figure above identifies three distinct interior turning points:

  • Relative Maximum at x=2x = 2: The tangent line is horizontal (f′(2)=0f'(2) = 0), yielding the local high point (2,5)(2, 5).

  • Relative Minimum at x=4x = 4: The tangent line is horizontal (f′(4)=0f'(4) = 0), yielding the local low point (4,1)(4, 1).

  • Relative Maximum at x=6x = 6: A sharp corner exists where the tangent line does not exist (f′(6) DNEf'(6)\text{ DNE}), yielding the local high point (6,4)(6, 4).

Worked Examples: Finding and Classifying Critical Points Visually

Example 1: Differentiable Quadratic Function

Find all critical points of the function:

f(x)=−x2+2x+3f(x) = -x^2 + 2x + 3

  1. Compute the first derivative:

f′(x)=−2x+2f'(x) = -2x + 2

  1. Set the derivative equal to zero to identify critical values:

−2x+2=0-2x + 2 = 0

−2x=−2-2x = -2

x=1x = 1

  1. Evaluate the original function at x=1x = 1 to determine the point:

f(1)=−(1)2+2(1)+3=−1+2+3=4f(1) = -(1)^2 + 2(1) + 3 = -1 + 2 + 3 = 4

The critical value is x=1x = 1, giving the critical point (1,4)(1, 4). Observing the downward-opening parabola confirms that (1,4)(1, 4) is a relative maximum.

Graph of a parabola with a horizontal tangent at the relative maximum point (1, 4)
Example 2: Absolute Value Function (Sharp Corner)

Find all critical points of the absolute value function:

f(x)=∣x∣f(x) = |x|

  1. Express f(x)f(x) in piecewise form:

f(x)={−xif x<0xif x≥0f(x) = \begin{cases} -x & \text{if } x < 0 \\ x & \text{if } x \ge 0 \end{cases}

  1. Compute the derivative piecewise:

f′(x)={−1if x<01if x>0f'(x) = \begin{cases} -1 & \text{if } x < 0 \\ 1 & \text{if } x > 0 \end{cases}

  1. Evaluate differentiability at the origin:

lim⁡x→0−f′(x)=−1\lim_{x \to 0^-} f'(x) = -1

lim⁡x→0+f′(x)=1\lim_{x \to 0^+} f'(x) = 1

Because the left-hand and right-hand limits of the derivative do not match, f′(0)f'(0) does not exist.

Thus, x=0x = 0 is a critical value, and (0,f(0))=(0,0)(0, f(0)) = (0, 0) is a critical point. Visual analysis confirms that (0,0)(0, 0) is a relative minimum.

Graph of the absolute value function highlighting slopes of negative one and positive one meeting at an undefined derivative
Example 3: Cubic Polynomial with Multiple Extrema

Find all critical points of the polynomial:

f(x)=x3−6x2+9xf(x) = x^3 - 6x^2 + 9x

  1. Compute the first derivative:

f′(x)=3x2−12x+9f'(x) = 3x^2 - 12x + 9

  1. Factor the quadratic expression completely:

f′(x)=3(x2−4x+3)=3(x−3)(x−1)f'(x) = 3(x^2 - 4x + 3) = 3(x - 3)(x - 1)

  1. Set f′(x)=0f'(x) = 0 to find the critical values:

3(x−3)(x−1)=0  ⟹  x=1andx=33(x - 3)(x - 1) = 0 \implies x = 1 \quad \text{and} \quad x = 3

  1. Calculate the corresponding yy-values on the original curve:

f(1)=(1)3−6(1)2+9(1)=1−6+9=4f(1) = (1)^3 - 6(1)^2 + 9(1) = 1 - 6 + 9 = 4

f(3)=(3)3−6(3)2+9(3)=27−54+27=0f(3) = (3)^3 - 6(3)^2 + 9(3) = 27 - 54 + 27 = 0

  • The critical point (1,4)(1, 4) has a horizontal tangent and represents a relative maximum.

  • The critical point (3,0)(3, 0) has a horizontal tangent and represents a relative minimum.

Cubic curve displaying horizontal tangent lines at a relative maximum (1, 4) and a relative minimum (3, 0)
Example 4: Cubic Function Yielding Neither Maximum nor Minimum

Find all critical points of the polynomial:

f(x)=−2x3+10f(x) = -2x^3 + 10

  1. Differentiate the function:

f′(x)=−6x2f'(x) = -6x^2

  1. Set the derivative equal to zero:

−6x2=0  ⟹  x=0-6x^2 = 0 \implies x = 0

  1. Evaluate the point on the function:

f(0)=−2(0)3+10=10f(0) = -2(0)^3 + 10 = 10

The critical value is x=0x = 0, yielding the critical point (0,10)(0, 10).

Although a horizontal tangent occurs at (0,10)(0, 10), the slope is negative (f′(x)<0f'(x) < 0) for all x<0x < 0 and remains negative (f′(x)<0f'(x) < 0) for all x>0x > 0. Because the function decreases on both sides of x=0x = 0, the point (0,10)(0, 10) is neither a relative maximum nor a relative minimum.

Decreasing cubic function showing a horizontal tangent at (0, 10) that is neither a maximum nor a minimum

Strategic Insights and Looking Ahead

Critical values represent candidates for extrema, but they do not guarantee the presence of a local peak or valley. A horizontal tangent line or an undefined derivative can also occur at flat inflection points or vertical points of inflection without altering the overall direction of the curve.

To formally classify whether any critical value cc produces a relative maximum, a relative minimum, or neither without relying on a pre-drawn graph, one must analyze the sign changes of the first derivative on intervals immediately to the left and right of cc. This structured algebraic procedure is known as the First Derivative Test.