Cal11 calculator

Relative Extrema on Closed Interval Calculator

Reviewed by Calculator Editorial Team

This calculator helps you find relative extrema (maximum and minimum values) of a function on a closed interval [a, b]. Relative extrema are points where the function's value is higher or lower than its immediate neighbors, but not necessarily the highest or lowest on the entire interval.

What Are Relative Extrema?

Relative extrema are local maximum and minimum values of a function. A relative maximum occurs at a point where the function value is greater than all nearby points, while a relative minimum occurs where the value is less than all nearby points.

Unlike absolute extrema, which are the highest and lowest values on the entire domain, relative extrema are only concerned with the immediate neighborhood of a point.

Key Concept

Relative extrema can occur at critical points where the derivative is zero or undefined, but not all critical points are relative extrema.

How to Find Relative Extrema

To find relative extrema of a function f(x), follow these steps:

  1. Find the first derivative f'(x) of the function.
  2. Set the first derivative equal to zero and solve for x to find critical points.
  3. Determine if the critical points are maxima, minima, or neither using the second derivative test or first derivative test.

First Derivative Test

If f'(x) changes from positive to negative at a critical point, it's a relative maximum. If f'(x) changes from negative to positive, it's a relative minimum.

Relative Extrema on Closed Intervals

When working with a closed interval [a, b], you must also evaluate the function at the endpoints to find absolute extrema, but relative extrema can occur anywhere within the interval.

The process for finding relative extrema on a closed interval includes:

  • Finding all critical points within the interval
  • Evaluating the function at the critical points
  • Comparing these values to identify relative extrema

Important Note

Relative extrema on a closed interval may not necessarily be the absolute maximum or minimum of the function on that interval.

Example Calculation

Let's find the relative extrema of the function f(x) = x³ - 3x² + 4 on the interval [-1, 3].

  1. Find the first derivative: f'(x) = 3x² - 6x
  2. Set f'(x) = 0: 3x² - 6x = 0 → x(3x - 6) = 0 → x = 0 or x = 2
  3. Evaluate f(x) at critical points: f(0) = 4, f(2) = 8 - 12 + 4 = 0
  4. Compare with endpoints: f(-1) = -1 - 3 + 4 = 0, f(3) = 27 - 27 + 4 = 4
  5. Relative extrema occur at x = 0 (relative maximum) and x = 2 (relative minimum)

Results

Relative maximum at x = 0 with value 4

Relative minimum at x = 2 with value 0

FAQ

What's the difference between relative and absolute extrema?

Relative extrema are the highest or lowest points in an immediate neighborhood, while absolute extrema are the highest or lowest points on the entire domain of the function.

How do I know if a critical point is a relative extremum?

Use the first derivative test (sign change) or the second derivative test (positive for minimum, negative for maximum) to determine if a critical point is a relative extremum.

What if the function doesn't have any critical points?

If there are no critical points, the relative extrema must occur at the endpoints of the interval, or the function may not have any relative extrema on that interval.