Maximum, Minimum, and Inflection Points
- Global maximum and minimum points
- Local maximum and minimum points
- Upward and downward concavity
- Inflection points and change in concavity
- How to calculate the points of local maximum and minimum
- Example 1
- How to determine the concavity of a function
- Example 2
- Identifying inflection points
- Exercises to find maxima, minima, and inflection points of functions
Global maximum and minimum points
The maximum and minimum of a function $f ( x )$ represent, respectively, the highest and lowest values that the function can attain within its domain. In other words, they indicate the extreme points of the function, showing where $f ( x )$ reaches its greatest possible value or its smallest possible value for all permissible values of $x$ in the given domain.
Given a function $y = f ( x )$ with domain $D$, a point $x_{0} \in D$ is a global maximum if $f ( x_{0} ) \geq f ( x )$ for every $x \in D$. The value $f ( x_{0} ) = M$ is the global maximum of the function.

Given a function $y = f ( x )$ with domain $D$, a point $x_{0} \in D$ is a global minimum if $f ( x_{0} ) \leq f ( x )$ for every $x \in D$. The value $f ( x_{0} ) = m$ is the global minimum of the function.

If the global maximum and global minimum of a function exist, they are unique. By the Weierstrass’s Theorem, if a function is continuous on a closed and bounded interval $[ a , b ]$, then it attains both a global maximum and a global minimum on that interval.
Local maximum and minimum points
In some cases, a function can display more than one peak or valley within a particular interval. Such points are known as local maxima and local minima. They correspond to positions where the function reaches a relatively highest or lowest value compared to its immediate surroundings, without necessarily being the absolute extremes over the entire domain.
Given a function $y = f ( x )$ defined on an interval $[ a , b ]$, the point $x_{0} \in [ a , b ]$ is a local maximum if there exists a neighborhood $I$ of the point $x_{0}$ such that $f ( x_{0} ) \geq f ( x )$ for every $x$ in the interval $I$.

In more formal terms, given a function $y = f ( x )$ that is defined and continuous in a neighborhood of the point $x_{0}$, and differentiable in the same neighborhood for every $x \neq x_{0}$, if for every $x$ in the neighborhood the following conditions hold:
\[f^{'} ( x ) & > 0 \text{for} x < x_{0} \\ f^{'} ( x ) & < 0 \text{for} x > x_{0}\]then, $x_{0}$ is a point of local maximum for the function $f ( x )$. We have:
| \(x_{0}\) | ||
|---|---|---|
| $f^{‘} ( x )$ | $+$ | $-$ |
| $f ( x )$ | $\nearrow$ | $\searrow$ |
Given a function $y = f ( x )$ defined on an interval $[ a , b ]$, the point $x_{0} \in [ a , b ]$ is a local minimum if there exists a neighborhood $I$ of the point $x_{0}$ such that $f ( x_{0} ) \leq f ( x )$ for every $x$ in the interval $I$.

If the following conditions hold:
\[f^{'} ( x ) & < 0 \text{for} x < x_{0} \\ f^{'} ( x ) & > 0 \text{for} x > x_{0}\]then, $x_{0}$ is a point of local minimum for the function $f ( x )$. We have:
| \(x_{0}\) | ||
|---|---|---|
| $f^{‘} ( x )$ | $-$ | $+$ |
| $f ( x )$ | $\searrow$ | $\nearrow$ |
A function can have at most one global maximum and at most one global minimum, but it can have multiple local maxima and local minima within its domain. By Fermat’s theorem, the relative maximum and minimum points of a differentiable function, located within the domain of the function, are stationary points. This implies that the tangent line at a point of a relative maximum or minimum is parallel to the x-axis. In this case, the derivative of the function at $x_{0}$ is zero, and we have $f ′ ( x_{0} ) = 0$.
Upward and downward concavity
We say that the function $f ( x )$ is concave upward at $x_{0}$ if there exists a neighborhood $I$ of $x_{0}$ such that, for every $x \in I$ with $x \neq x_{0}$, the function $f ( x )$ takes values greater than those of the line $y = t ( x )$, which is the tangent line to the graph of $f ( x )$ at $x_{0}$.
\[f ( x ) > t ( x ) \forall x \in I - \{ x_{0} \}\]
Similarly, we say that the function $f ( x )$ is concave downward at $x_{0}$ if there exists a neighborhood $I$ of $x_{0}$ such that, for every $x \in I$ with $x \neq x_{0}$, the function $f ( x )$ takes values less than those of the line $y = t ( x )$.
\[f ( x ) < t ( x ) \forall x \in I - \{ x_{0} \}\]
The concepts of concavity and convexity are discussed in detail and in their analytical formulation in the entry Convexity and Concavity of Functions
Inflection points and change in concavity
An inflection point is a point where the concavity of a function changes.
Let us consider the case where a function $y = f ( x )$ is defined on an interval $( a , b )$, and let $x_{0} \in ( a , b )$ be either a point where $f ( x )$ is differentiable, or a point where:
\[\underset{x \rightarrow x_{0}}{lim} f^{'} ( x ) = + \infty \text{or} \underset{x \rightarrow x_{0}}{lim} f^{'} ( x ) = - \infty\]The point $x_{0}$ is defined as an inflection point if the function changes concavity at $x_{0}$.

An inflection point is called horizontal if the tangent at the inflection point is parallel to the x-axis. When the tangent is parallel to the y-axis, the inflection point is called vertical. In all other cases, as in the case shown in the figure, it is called oblique.

$x_{0}$ is an horizontal inflection point for a function $f ( x )$ if $f^{‘} ( x ) = 0$ and the sign of $f^{‘} ( x )$ is the same$^{1}$ for every $x \neq x_{0}$ in the neighborhood $I$.
| \(x_{0}\) | ||
|---|---|---|
| $f^{‘} ( x )$ | $+$ | $+$ |
| $f ( x )$ | $\nearrow$ | $\nearrow$ |
The signs in the neighborhood of $x_{0}$ can be both positive (as in the scheme above) or both negative.
How to calculate the points of local maximum and minimum
Given a continuous function, to find the local maximum and minimum points, we analyze the sign of the first derivative. The procedure involves the following steps:
- Compute the derivative $f^{‘} ( x )$ and determine its domain to identify points where the function is not differentiable (e.g., cusps, corners).
- Study the sign of the derivative by analyzing where $f^{‘} ( x )$ is positive, negative, or zero.
- Identify local maxima and minima: a point $x_{0}$ is a local maximum if $f^{‘} ( x )$ changes from positive to negative around $x_{0}$. A point $x_{0}$ is a local minimum if $f^{‘} ( x )$ changes from negative to positive around $x_{0}$.
Example 1
Let us calculate the local maximum and minimum points of the following function:
\[y = f ( x ) = x^{3} - \frac{1}{2} x^{2}\]Being a polynomial function, it is continuous and differentiable for all $x \in \mathbb{R}$. Therefore, it does not have any points of discontinuity within its domain. Let us now calculate the first derivative of the function. We obtain:
\[f^{'} ( x ) = 3 x^{2} - x\]Now, we study the sign of the derivative by imposing: \(3 x^{2} - x > 0\)
Passing to the associated equation, we obtain:
\[3 x^{2} - x = 0 \Longrightarrow x ( 3 x - 1 ) = 0\]The equation is satisfied for $x = 0$ and $x = \frac{1}{3}$.
Returning to the inequality, we obtain that $f^{‘} ( x ) > 0$ for $x < 0$ and $x > \frac{1}{3}$.
Let us now represent the sign chart and observe that the function is increasing for $x < 0$, decreasing for $0 < x < \frac{1}{3}$, and increasing again for $x > \frac{1}{3}$.
| \(0\) | \(+ \frac{1}{3}\) | ||
|---|---|---|---|
| $f^{‘} ( x )$ | $+$ | $-$ | $+$ |
| $f ( x )$ | $\nearrow$ | $\searrow$ | $\nearrow$ |
For ( x = 0 ) the function takes the value $f ( 0 ) = 0^{3} - \frac{1}{2} 0^{2} = 0$. The point $( 0 , 0 )$ is therefore a local maximum.
For $x = \frac{1}{3}$, the function takes the value: \(f ( \frac{1}{3} ) & = (( \frac{1}{3} ))^{3} - \frac{1}{2} (( \frac{1}{3} ))^{2} \\ & = \frac{1}{27} - \frac{1}{2} \times \frac{1}{9} \\ & = - \frac{1}{54}\)
The point $( \frac{1}{3} , - \frac{1}{54} )$ is therefore a local minimum. In this way, we have found the local maximum and minimum points of the function $f ( x )$.
How to determine the concavity of a function
Let $y = f ( x )$ be a continuous function defined in a neighborhood of the point $x_{0}$, along with its first and second derivatives.
If at $x_{0}$ we have $f^{‘’} ( x_{0} ) \neq 0$, then:
- The function is concave upward if $f^{‘’} ( x_{0} ) > 0$.
- The function is concave downward if $f^{‘’} ( x_{0} ) < 0$.
Example 2
Let us consider the function from Example 1 and determine its convexity and concavity:
\[y = f ( x ) = x^{3} - \frac{1}{2} x^{2}\]The second derivative of the function is:
\[f^{''} ( x ) = 6 x - 1\]Let us now study the sign by imposing:
\[6 x - 1 > 0 \Longrightarrow x > \frac{1}{6}\]Let’s represent the sign chart, obtaining the intervals in which the function is concave upward or concave downward.
| \(0\) | ||
|---|---|---|
| $f^{‘’} ( x )$ | $+$ | $-$ |
| $f ( x )$ | $\cup$ | $\cap$ |
| Concavity | Upward | Downward |
In this way, we have obtained the intervals of concavity of the function.
Identifying inflection points
An inflection point occurs when the concavity of a function changes sign. This change indicates a transition from a concave upward shape to a concave downward shape, or vice versa. To determine if a point is truly an inflection point, we need to verify if the second derivative $f ′ ′ ( x )$ changes sign as we pass through that point.
- A point $x_{0}$ is a horizontal inflection point if: \(f^{'} ( x_{0} ) = 0 , f^{''} ( x_{0} ) = 0\) but the concavity changes sign in the neighborhood of $x_{0}$. In this case, the tangent line at $x_{0}$ is horizontal.
- A point $x_{0}$ is a vertical inflection point if the function is not differentiable at $x_{0}$ and the concavity changes sign around $x_{0}$. This type of inflection point often occurs at points with sharp corners or cusps where the function is continuous but not smooth.
- A point $x_{0}$ is an oblique inflection point if: \(f^{'} ( x_{0} ) \neq 0 , f^{''} ( x_{0} ) = 0\) and the concavity changes sign around $x_{0}$. In this case, the tangent line is neither horizontal nor vertical but has a non-zero slope.
Exercises to find maxima, minima, and inflection points of functions
- \(\text{1}. f ( x ) = x^{3} - 6 x^{2} + 9 x\) solution
- \(\text{2}. f ( x ) = \frac{x^{2}}{x^{2} + 1}\) solution
- \(\text{3}. f ( x ) = ln ( x^{2} + 1 )\) solution
- \(\text{4}. f ( x ) = x e^{- x}\) solution
- \(\text{5}. f ( x ) = sin ( x ) + cos ( x )\) solution
- \(\text{5}. f ( x ) = x^{2} ln ( x )\) solution