Graphs of polynomial functions
Sketch polynomials from their factored form using the leading term, the zeroes and the sign, and how the graph behaves at simple and multiple zeroes.
A polynomial graph is unbroken and smooth, with no gaps, asymptotes or sharp corners. That means a good sketch needs only three things: where the ends go, where the zeroes are, and what the curve does at each zero. Turning points away from the axis wait until Year 12 calculus.
Where the ends go
For large $|x|$, the leading term swamps everything else. At $x = 100$, the polynomial $x^3 - 50x^2$ is $1\,000\,000 - 500\,000$: the $x^3$ has already won, and it pulls further ahead as $x$ grows. So the leading term $a_nx^n$ alone decides the ends.
| Leading coefficient positive | Leading coefficient negative | |
|---|---|---|
| Even degree | up on both sides, like $y = x^2$ | down on both sides, like $y = -x^2$ |
| Odd degree | down on the left, up on the right, like $y = x^3$ | up on the left, down on the right, like $y = -x^3$ |
An odd-degree polynomial starts on one side of the axis and ends on the other. It is unbroken, so it must cross the axis somewhere. Every polynomial of odd degree has at least one real zero.
Simple and multiple zeroes
If $P(x) = (x - \alpha)^m Q(x)$, where $Q(\alpha) \ne 0$, then $\alpha$ is a zero of multiplicity $m$. A zero of multiplicity $1$ is simple. Multiplicity $2$ or more is a multiple (or repeated) zero: double, triple, and so on.
Why does multiplicity change the shape? Near $x = \alpha$, the other factor $Q(x)$ is close to the constant $Q(\alpha)$. So the graph near $\alpha$ looks like a stretched copy of $y = (x - \alpha)^m$: a line, a parabola or a cubic shape.
Change the multiplicities and watch the graph at each zero. The degree is m + n, which also decides where the ends go.
Before moving the sliders, predict the shape for $m = 3$, $n = 2$: where do the ends go, and what happens at each zero? Then check. Which pairs $(m, n)$ make both ends point upward?
Sketching from factors
Sketch $P(x) = -(x - 1)^3(x + 2)^2$.
Check one test value if in doubt: $P(2) = -(1)^3(4)^2 = -16$, negative, as the sketch says.
Your turn
Describe the graph of $y = (2 - x)(x + 3)^2$.
Show the working
The leading term is $(-x)(x^2) = -x^3$: up on the left, down on the right. Simple zero at $x = 2$ (crosses), double zero at $x = -3$ (touches). $y$-intercept: $2 \times 9 = 18$. So the curve comes down from the top left, touches the axis at $-3$, rises through $(0, 18)$, then turns and crosses at $2$, heading down.
At a zero of multiplicity $2$, the graph:
An even power such as $(x - \alpha)^2$ never changes sign, so the graph touches and turns back.
As $x \to \infty$, $P(x) = 5 - 2x^3 + x^2$:
The leading term $-2x^3$ dominates. For large positive $x$ it is large and negative.
$P(x)$ has degree $4$ and a negative leading coefficient. As $x \to -\infty$:
Even degree: both ends go the same way. A negative leading coefficient makes that way down.
The graph of $y = (x - 4)^3$ at $x = 4$:
Multiplicity $3$ is odd, so it crosses, and because it is at least $3$ it flattens there, like $y = x^3$.
Find the $y$-intercept of $y = -(x - 1)^3(x + 2)^2$.
$x = 0$: $-(-1)^3 \times 2^2 = -(-1) \times 4 = 4$.
Find the degree of $x^3(x + 2)^4(x^2 + x + 1)$.
The degrees of the factors add: $3 + 4 + 2 = 9$.
How many distinct real zeroes does $(x - 2)^2(x + 1)(x^2 + 4)(x - 5)$ have?
The zeroes are $2$, $-1$ and $5$. The factor $x^2 + 4$ is always positive, so it adds none.
Which describes $y = (x + 1)^2(x - 2)$?
Double zero at $-1$ (touches), simple zero at $2$ (crosses). The leading term is $x^3$, so $y \to \infty$ as $x \to \infty$.
Exam style: $P(x) = (x - 2)^2(x + 1)(x - 4)$. Find $P(0)$.
$P(0) = (-2)^2(1)(-4) = 4 \times (-4) = -16$.
Exam style: a monic quartic touches the $x$-axis at $x = 3$ and crosses it at $x = 0$ and $x = -2$, with no other zeroes. Its equation is:
Touching at $3$ needs $(x - 3)^2$. Crossing at $0$ and $-2$ needs simple factors $x$ and $(x + 2)$. That is degree $4$, and monic means leading coefficient $1$.
Coaching Centre