is the most convenient cubic with both a maximum and a minimum1. The bare merely increases, but subtracting produces a crest and a trough. Because the coordinates of the extrema are integers, it is a favourite example for building sign charts.
Both the domain and the range are all of the real numbers. Since , the function is odd and the graph has rotational symmetry about the origin.
Factoring as gives three -intercepts, at and . This is the case of a cubic equation with three distinct real roots.
The derivative is .
| increasing | maximum | decreasing | minimum | increasing |
Both extrema have integer coordinates, and the crest sits above the trough.
The second derivative is , which changes sign at . The inflection point is the origin, with the curve concave down to its left and concave up to its right. The general fact that a cubic's inflection point is its centre of symmetry appears here as the origin itself.
Intersecting with the horizontal line counts the real solutions of . The minimum and maximum are the thresholds.
| Range of | Real solutions |
|---|---|
| , one of them repeated | |
At the thresholds a root is repeated, as the factorisations and confirm.
Substituting and using the triple angle formula turns the function into . The interval corresponds to one full turn of , which is why the extrema are exactly .
In terms of Chebyshev polynomials the function is 2, and it is the equioscillation property of those polynomials, crests and troughs of equal height alternating across the interval, that makes the extreme values come out as neat integers.
That substitution is also a practical tool. For , solving gives the three real roots.
This is the casus irreducibilis, where all three roots are real and yet Cardano's formula can only reach them through cube roots of complex numbers; trigonometry gets there directly.