expands to . The factored form shows a double root at and a simple root at , and the graph touches the -axis at the former while crossing it at the latter1. It is about as clean an illustration as one could want of how the multiplicity of a root shows up in a picture.
Since , the sign of the value is decided by alone.
| Range of | Sign of |
|---|---|
| negative | |
| , touches the axis | |
| negative | |
| , cuts through | |
| positive |
Around the sign does not change, so the curve merely brushes the axis and drops back below it.
When has as a factor, not only but also . Indeed , which vanishes at . A point where both the value and the slope are zero is exactly a point where the -axis is the tangent line. A repeated root is therefore not just two coincident solutions but a geometric statement about tangency.
| increasing | maximum | decreasing | minimum | increasing |
Note that the double root is itself the location of the maximum: touching the axis and turning around are the same event.
The second derivative is , changing sign at , so the inflection point is . It lies exactly midway between the two extrema: its -coordinate is the average of and , and its -coordinate the average of and . Since the inflection point of any cubic is its centre of symmetry, rotating the graph by about that point maps it onto itself.
| Roots | Behaviour at the -axis | Example |
|---|---|---|
| three distinct | crosses at three places | |
| double and simple | touches at one, crosses at another | |
| triple | touches and crosses at one point |
This function is the representative of the middle case.
The number of real solutions of can be read off as intersections with a horizontal line.
| Range of | Real solutions |
|---|---|
| or | |
| otherwise |
Being able to read repeated roots off the extrema, rather than computing a discriminant, is basic to how cubics are handled.