Steply

Graph f(x) = -(x + 2)^2(x - 1)

Step by step, with the reason for every step · Polynomial graphs · Algebra 2

Step by step

The question

Question: graph f(x) = −(x + 2)²(x − 1).

f(x) = −(x + 2)2(x − 1)

1 Find the leading term

Multiply the x's of the brackets, and the −1 in front.

Each bracket gives its x, to its power.

So the leading term is −x³.

leading term : −x2 × x = −x3

2 Read the ends

The power 3 is odd.

So the two ends go opposite ways.

The number in front is negative, so the right end goes down.

power 3: odd → ends go opposite ways
minus in front → right end goes down

Far to the right, x gets bigger and bigger.

−x³ goes down for ever.

Books write: as x goes to infinity, f(x) goes to minus infinity.

= right end: x → ∞, f(x) → −∞

Far to the left, x is a big negative number.

−x³ goes up: f(x) goes to infinity.

= left end: x → −∞, f(x) → ∞

3 Find the zeros

(x + 2)² is 0 when x = −2.

Its power is 2: even, so the graph touches.

(x + 2)2 → x = −2, power 2: touches

f(x) is 0 when one of the brackets is 0.

Two numbers multiply to 0 only if one of them is 0.

A × B = 0 → A = 0 or B = 0

The power of each bracket is called the multiplicity of that zero.

Odd: the graph crosses the x-axis there.

Even: it only touches the axis and turns back.

odd power: crosses the x-axis
even power: touches it, turns back

(x − 1) is 0 when x = 1.

Its power is 1: odd, so the graph crosses.

(x − 1) → x = 1, power 1: crosses

Careful!

At each zero, look at the power of its bracket.

Odd crosses the axis.

Even only touches it.

Careful: odd power: crosses, even power: touches

4 Find the y-intercept

The graph crosses the y-axis where x is 0.

Put 0 in place of every x.

f(0) = −(0 + 2)2(0 − 1)

Work out each bracket, then the powers.

= − × (2)2 × (−1) = −1 × 4 × (−1)

So the y-intercept is (0, 4).

f(0) = 4

5 Draw the graph

Draw the grid.

Plot the zeros on the x-axis.

And the y-intercept (0, 4).

Start at the left end, going up.

At −2 it touches and turns.

At 1 it crosses.

The right end goes down.

6 Check

Let's check one point: x = −1.

We get 2.

f(−1) = −(−1 + 2)2(−1 − 1) = −1 × 1 × (−2) = 2

(−1, 2) is above the axis, right on our curve.

It works!

Let's look back.

First: find the leading term.

Then: read the ends.

Then: find the zeros.

Then: find the y-intercept.

Then: draw the graph.

Last: check.

Answer
f(0) = 4

Your turn

Try this one yourself, then check:

graph f(x) = −(x + 1)2(x − 2)
Show the answer
touches at −1, crosses at 2

More from Polynomial graphs

The whole lesson: Polynomial graphs →