How To Find Maximum And Minimum Values

5 min read

Finding the maximum and minimum values of a function is a cornerstone of calculus and mathematical optimization. Worth adding: whether you are analyzing the trajectory of a projectile, maximizing profit in a business model, or minimizing material costs in engineering, the ability to locate these extreme points—collectively known as extrema—is an essential analytical skill. This guide provides a comprehensive walkthrough of the methods used to identify these critical values, covering both single-variable and multivariable contexts, along with the theoretical tests required to classify them correctly.

Understanding the Fundamentals: Global vs. Local Extrema

Before diving into calculations, it is vital to distinguish between the two primary types of extreme values.

  • Global (Absolute) Extrema: These represent the single highest or lowest value a function attains across its entire domain or a specified closed interval. A function can have only one global maximum value and one global minimum value (though they may occur at multiple points).
  • Local (Relative) Extrema: These are peaks and valleys relative to the immediate neighborhood of a point. A local maximum is higher than all nearby points, but not necessarily the highest point overall. A function can have multiple local maxima and minima.

Critical Points are the candidates for these extrema. For a function $f(x)$, a critical point occurs at $x=c$ if either:

  1. $f'(c) = 0$ (stationary point), or
  2. $f'(c)$ does not exist (e.g., a cusp, corner, or vertical tangent), provided $c$ is in the domain of $f$.

Key Theorem: The Extreme Value Theorem guarantees that a continuous function on a closed interval $[a, b]$ will possess both an absolute maximum and an absolute minimum. If the interval is open or the function is discontinuous, extrema are not guaranteed.

Step-by-Step: Finding Extrema for Single-Variable Functions

The process differs slightly depending on whether you are analyzing a closed interval or the entire domain.

1. On a Closed Interval $[a, b]$ (The Candidates Test)

This is the most common procedure in introductory calculus courses (often called the Closed Interval Method).

  1. Verify Continuity: Ensure the function is continuous on $[a, b]$.
  2. Find the Derivative: Calculate $f'(x)$.
  3. Identify Critical Numbers: Solve $f'(x) = 0$ and find where $f'(x)$ is undefined. Crucial: Only keep critical numbers that fall inside the open interval $(a, b)$. Discard any outside the bounds.
  4. Evaluate the Function: Calculate $f(x)$ for:
    • Each valid critical number from step 3.
    • The endpoints $a$ and $b$.
  5. Compare Values: The largest value is the absolute maximum; the smallest is the absolute minimum.

2. On an Open Interval or Entire Domain

When no boundaries are given, you must analyze the behavior of the function as $x \to \pm\infty$ and classify critical points using derivative tests Most people skip this — try not to..

  1. Find Critical Numbers: Solve $f'(x)=0$ and check where $f'(x)$ is undefined (within the domain).
  2. Classify Critical Points: Use the First or Second Derivative Test (detailed below) to determine if each is a local max, local min, or neither.
  3. Analyze End Behavior: Evaluate $\lim_{x \to \pm\infty} f(x)$ (or limits at vertical asymptotes/boundaries of the domain).
  4. Determine Global Extrema:
    • If the function increases to infinity, no global max exists.
    • If there is only one local maximum and the function goes to $-\infty$ on both sides, that local max is the global max.
    • Compare all local extrema values with the limiting behavior to conclude.

Classification Tools: First vs. Second Derivative Tests

Once you have critical points, you must determine their nature.

The First Derivative Test (Sign Chart)

This test is reliable and works even when the second derivative is zero or undefined. It relies on the fact that a function changes from increasing to decreasing at a maximum, and decreasing to increasing at a minimum And it works..

  1. Plot critical numbers on a number line.
  2. Choose test points in each interval created by these numbers.
  3. Evaluate the sign of $f'(x)$ at each test point.
  4. Interpretation:
    • $f'$ changes (+ to -) $\rightarrow$ Local Maximum.
    • $f'$ changes (- to +) $\rightarrow$ Local Minimum.
    • $f'$ does not change sign $\rightarrow$ Neither (likely an inflection point with horizontal tangent).

The Second Derivative Test (Concavity)

This is often faster but inconclusive if $f''(c) = 0$.

  1. Calculate the second derivative $f''(x)$.
  2. Plug each critical number $c$ (where $f'(c)=0$) into $f''(x)$.
  3. Interpretation:
    • $f''(c) > 0$ $\rightarrow$ Graph is concave up $\rightarrow$ Local Minimum.
    • $f''(c) < 0$ $\rightarrow$ Graph is concave down $\rightarrow$ Local Maximum.
    • $f''(c) = 0$ $\rightarrow$ Test Fails. You must revert to the First Derivative Test.

Worked Example: Polynomial on a Closed Interval

Let’s find the absolute extrema of $f(x) = x^3 - 3x^2 + 2$ on the interval $[0, 3]$ That alone is useful..

Step 1: Derivative $f'(x) = 3x^2 - 6x = 3x(x - 2)$

Step 2: Critical Numbers Set $f'(x) = 0 \rightarrow 3x(x-2) = 0 \rightarrow x = 0, x = 2$. Both are in the interval $[0, 3]$. Note: $x=0$ is both a critical number and an endpoint Nothing fancy..

Step 3: Evaluate Candidates

$x$ Type $f(x) = x^3 - 3x^2 + 2$
0 Endpoint / Critical $0 - 0 + 2 = \mathbf{2}$
2 Critical Number $8 - 12 + 2 = \mathbf{-2}$
3 Endpoint $27 - 27 + 2 = \mathbf{2}$

Step 4: Conclusion

  • Absolute Maximum: $2$ (occurs at $x=0$ and $x=3$).
  • Absolute Minimum: $-2$ (occurs at $x=2$).

Extending to Multivariable Functions: $f(x, y)$

In higher dimensions, the logic remains similar, but the tools expand to partial derivatives and the Hessian matrix And it works..

1. Find Critical Points

Solve the system of equations where the gradient is the zero vector: $\nabla f(x, y) = \langle f_x(x, y), f_y(x, y) \rangle = \langle 0, 0 \rangle$ Also include points where partial derivatives do not exist Small thing, real impact. Nothing fancy..

2. The Second Partial Derivative Test (The Hessian)

For a critical point $(a, b)$, calculate the discriminant $D$: $D(a, b) = f_{xx}(a, b) f

Fresh Picks

Straight Off the Draft

Close to Home

Other Perspectives

Thank you for reading about How To Find Maximum And Minimum Values. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home