Cal11 calculator

Relative Max on Interval Calculator

Reviewed by Calculator Editorial Team

This calculator helps you find the relative maximum value of a function on a specified interval. Relative maxima are points where a function's value is greater than its neighboring values within the interval, but not necessarily the absolute maximum.

What is Relative Maximum on an Interval?

A relative maximum (also called local maximum) of a function on an interval is a point within that interval where the function's value is greater than or equal to the values of the function at all other points in some open neighborhood around it. Unlike absolute maxima, relative maxima are only required to be the highest within their immediate vicinity.

Relative maxima are important in calculus and optimization problems. They help identify peaks in functions, which can represent important characteristics in various applications such as physics, engineering, and economics.

Note: A relative maximum must be within the open interval (a, b), not at the endpoints. Critical points where the derivative is zero or undefined are potential candidates for relative maxima.

How to Find Relative Maximum on an Interval

To find relative maxima on an interval, follow these steps:

  1. Identify the interval [a, b] where you want to find the relative maximum.
  2. Find the derivative of the function f(x).
  3. Find all critical points within the interval by solving f'(x) = 0 or where f'(x) is undefined.
  4. Evaluate the function at each critical point and at the endpoints of the interval.
  5. Compare the values to determine which is the largest within the interval.

The relative maximum is the highest value among these evaluations that occurs within the open interval (a, b).

Formula for Relative Maximum

The relative maximum of a function f(x) on the interval [a, b] is found by evaluating the function at critical points and comparing the values:

Relative Maximum = max{f(x) | x ∈ (a, b) and f'(x) = 0 or f'(x) is undefined}

Where:

  • f(x) is the function being evaluated
  • f'(x) is the derivative of the function
  • (a, b) is the open interval within which to search for the maximum

Worked Example

Let's find the relative maximum of the function f(x) = -x² + 4x + 5 on the interval [0, 6].

Step 1: Find the derivative

First, find the derivative of f(x):

f'(x) = d/dx (-x² + 4x + 5) = -2x + 4

Step 2: Find critical points

Set the derivative equal to zero to find critical points:

-2x + 4 = 0 → x = 2

Step 3: Evaluate the function

Evaluate f(x) at the critical point and endpoints:

  • f(0) = -0² + 4(0) + 5 = 5
  • f(2) = -2² + 4(2) + 5 = -4 + 8 + 5 = 9
  • f(6) = -6² + 4(6) + 5 = -36 + 24 + 5 = -7

Step 4: Determine the relative maximum

The highest value within the open interval (0, 6) is 9 at x = 2. Therefore, the relative maximum is 9.

FAQ

What's the difference between relative and absolute maximum?
A relative maximum is the highest point within a small neighborhood around it, while an absolute maximum is the highest point on the entire interval, including endpoints.
Can a function have more than one relative maximum?
Yes, a function can have multiple relative maxima if it has multiple peaks within the interval.
What if the maximum occurs at an endpoint?
If the maximum occurs at an endpoint, it's considered an absolute maximum, not a relative maximum, because relative maxima must be within the open interval.
How do I know if a critical point is a maximum?
You can use the first or second derivative test to determine if a critical point is a maximum, minimum, or neither.