Have you ever faced the task of finding the maximum or minimum value of a function? In mathematics, this isn’t just an interesting exercise—it has practical significance in physics, economics, engineering, and other fields where optimal values need to be identified. So, let’s dive into how to determine the maximum and minimum values of a function and the methods used to do so.
What Are the Maximum and Minimum Values of a Function?
The maximum and minimum values of a function, also known as extrema, are points where the function reaches its peak (maximum) or lowest (minimum) values within a specific interval or across its entire domain. Imagine a graph that rises to a peak and then falls; the highest point is the maximum, and the lowest is the minimum.

Why is this useful? In economics, maximum and minimum values can show when a company’s profit reaches its peak or when costs are minimized. In natural sciences, extrema help in finding optimal parameters for various processes.
How to Find Maximum and Minimum Values: Extremum Criteria
To identify the maximum and minimum values of a function, we use extremum criteria, which rely on the function’s derivatives. Why derivatives? Because they reveal how the function changes. At points where the derivative is zero or undefined, the function may have an extremum.
Critical Points: Critical points are values of x where the derivative f′(x) is zero or undefined. These points are potential maximums or minimums. But how can we determine if they really are extrema?
Second Derivative Test: The second derivative of a function helps determine if a critical point is a maximum or minimum:
- If f″(x0)>0, the point x0 is a minimum;
- If f″(x0)<0, the point x0 is a maximum;
- If f″(x0)=0, further methods are needed to determine the nature of this point, as the second derivative alone doesn’t provide a clear answer.
Method for Finding Extrema on an Interval
To find the maximum and minimum values of a function on a specific interval, we must consider both critical points and the endpoints of the interval. Here’s how:
- Identify the critical points of the function within the chosen interval.
- Calculate the function’s values at both the critical points and the endpoints.
- Compare the values obtained. The highest value is the maximum, and the lowest is the minimum.
Practice: Finding Maximum and Minimum Values of a Function
The best way to understand theory? Practice! Let’s go through some examples to clarify how to find maximum and minimum values of a function. We’ll start with simple functions and progress to more complex ones, with explanations to help you feel confident tackling similar tasks.
Example 1: Find the Maximum and Minimum Values of f(x)=2⋅x+3 on the Interval [-1; 2]

Since a linear function consistently increases or decreases, the extrema will only be at the interval’s endpoints. Let’s calculate the function values at x=-1 and x=2:
![]()
Thus, on the interval [-1; 2], the minimum value is 1, and the maximum is 7.
Example 2: Find the Maximum and Minimum Values of f(x)=x2-4⋅x+5 on the Interval [0; 3]

To find the critical points, we take the derivative and set it to zero:
![]()
Now we evaluate the function at x=0, x=2 and x=3:
![]()
So, the minimum value on this interval is 1, and the maximum is 5.
Example 3: Find the Maximum and Minimum Values of f(x)=x3-3⋅x2+4 on the Interval [-1; 3]

Following the same process, we take the derivative and set it to zero:
![]()
Now we evaluate at x=-1, x=0, x=2 and x=3:
![]()
Thus, the minimum value on this interval is 0, and the maximum is 4.
Example 4: Find the Maximum and Minimum Values of f(x)=sin(x) on the Interval [0; 2⋅π]

Taking the derivative, we set it to zero to find the critical points:
![]()
We now calculate values at x=0, x=π/2, x=(3⋅π)/2 and x=2⋅π:
![]()
On the interval [0; 2⋅π], the minimum value is -1, and the maximum is 1.
Example 5: Find the Maximum and Minimum Values of f(x)=x⋅ln(x) on the Interval [1; 4]

We find the derivative and set it to zero:
![]()
Since x=0.3679 is not in the interval [1; 4], we evaluate only the endpoints:
![]()
On the interval [1; 4], the maximum value is 5.5452, and the minimum is 0.
Key Concepts for a Deeper Understanding of Functions
To better analyze functions, it helps to understand related concepts. These topics deepen your insight into a function’s behavior, features, and how its values change across intervals.
- Domain of a Function – This term describes all possible values of the variable for which the function is defined and makes sense.
- Increasing and Decreasing Intervals – Analyzing intervals where the function rises or falls aids in identifying extrema and understanding the graph’s behavior.
- Discontinuity Points of a Function – These points mark locations where the function changes abruptly, important for understanding its continuity and graph characteristics.