Menu
Sign up Sign in

AI HL · 12.4

Solving Equations with Technology

12.4.5

Graphs of polynomial equations

12.4.5

Graphs of polynomial equations

Target: I can find the roots of a polynomial from the x-intercepts of its graph. (+4 more)

By the end of this section

Key points

Roots on a graph

  • The roots of f(x) = 0 are the x-intercepts of y = f(x).
  • A repeated root is where the graph touches the x-axis and turns back. A single root is where it crosses.
  • To find a repeated root by hand, complete the square: x² − 4x + 4 = (x − 2)² has its vertex on the axis at x = 2.

Solving f(x) = k

  • Draw y = f(x) and the horizontal line y = k. The solutions are the x-values of the intersections.
  • Moving the line up or down changes the number of solutions. A cubic line can cut the curve 1, 2 or 3 times.
  • The same equation can be written f(x) − k = 0 and solved with the polynomial solver. The answers are the same.

Degree and shape

  • A polynomial of degree n has at most n real roots.
  • An odd degree polynomial goes from one side of the axis to the other, so it has at least 1 real root.
  • An even degree polynomial has both ends on the same side, so it can have no real roots.
  • Adding a constant to y = f(x) moves the graph up. That is how the number of roots changes.

On the calculator

Roots from a graph

  • Graph y = the polynomial.
  • Find the x-intercepts (the zeros) of the graph.
  • A graph that only touches the axis has a repeated root.

Screenshot and video to come

Solving f(x) = k with two graphs

  • Graph y = f(x) in one function and y = k in another.
  • Find each intersection of the two graphs.
  • Read the x-coordinates: they are the solutions.

Screenshot and video to come

Explore: roots of x³ − 2x² + a

Move the slider for a. The curve goes up and down. The roots are where it meets the x-axis. Watch them appear, join and disappear.

Real roots
Local maximum
Local minimum

Move the slider to move the curve.

  1. For which values of a does the curve cross the axis three times? What do the two turning points have to be doing?
  2. When the curve only touches the axis, what is special about that root? What does the solver show?
  3. Move a past the point where roots disappear. How many real roots are left? Where did the others go?
  4. Adding a to the equation moves the curve. Which way does a positive a move it, and why?

Explore: solutions of f(x) = k

Drag the orange point up and down to move the line y = k. The solutions of f(x) = k are the x-values where the line meets the curve.

k now
Turning values
3 solutions when

Drag the point to move the line.

  1. Move the line until the number of solutions changes. Where is the line when it changes?
  2. When the line touches the curve at a turning point, how many solutions are there? Which one is repeated?
  3. Choose x³ + 3x. Can you find a k that gives 3 solutions? Why not?
  4. Solving f(x) = k is the same as solving f(x) − k = 0. What does subtracting k do to the curve?

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
A quartic that touches the axis

The graph of \(y = x^{4} + x^{3} - 10 x^{2} - 20 x - 8\) is shown. Solve \(x^{4} + x^{3} - 10 x^{2} - 20 x - 8 = 0\) and say which root is repeated.

−3−2−11234−1010203040xy
Working
  1. Graph it

    Graph y = x^{4} + x^{3} - 10 x^{2} - 20 x - 8; read the x-intercepts

    Roots are the x-intercepts of the graph.

  2. Read the roots

    From the calculator: x = −2.00, −0.562, 3.56

    Three different x-values, although the equation has degree 4.

  3. Find the repeated root

    The graph touches the axis at x = −2 and turns back

    A touch, not a cross, means a repeated root: (x + 2) is a factor twice.

  4. Check

    g(−2) = 0 and g'(−2) = 0

    A repeated root has the curve flat on the axis.

Video walkthrough coming
Solving f(x) = k with a line

Solve \(x^{3} - 6 x = 3\) by drawing \(y = x^{3} - 6 x\) and \(y = 3\). Give the solutions to 3 significant figures.

−3−2−1123−55xy
Working
  1. Two graphs

    Graph y = x^{3} - 6 x and y = 3

    A solution of f(x) = 3 is an x-value where the curve is at height 3.

  2. Intersections

    From the calculator: intersections at x = −2.15, −0.524, 2.67

    The line cuts the curve three times, so there are three solutions.

  3. Check with the solver

    Polynomial solver: x^{3} - 6 x - 3 = 0 gives the same three values

    Moving 3 to the left side gives a cubic equal to zero. Same answers.

Video walkthrough coming
Shifting a cubic up and down

The graph of \(y = x^3 − 3x^2 + c\) moves up or down as the constant \(c\) changes. Find the positive value of \(c\) for which the graph touches the \(x\)-axis at its minimum point. For that \(c\), find all the roots.

−2−11234−6−4−22468xy
Working
  1. Find the turning points

    f(x) = x³ − 3x², f′(x) = 3x² − 6x = 0, so x = 0 or x = 2

    The maximum is at x = 0 and the minimum is at x = 2.

  2. Height of the minimum

    At x = 2: y = 8 − 12 + c = c − 4

    The minimum touches the axis when this height is 0.

  3. Solve

    c − 4 = 0, so c = 4

    The graph is lifted 4 units.

  4. All the roots

    x³ − 3x² + 4 = (x - 2)**2*(x + 1) = 0, so x = −1 or x = 2 (repeated)

    Check on the calculator: the graph crosses at −1 and touches at 2.

  5. Count by c

    0 < c < 4: three roots. c = 0 or c = 4: two roots. c < 0 or c > 4: one root.

    Between the minimum and the maximum heights, the axis cuts the curve three times.

Video walkthrough coming
A repeated root by completing the square

Write \(y = x^2 + 10x + 25\) in the form \(y = (x − p)^2 + q\), sketch the graph and state the repeated root.

−8−7−6−5−4−3−2−2246810xy
Working
  1. Complete the square

    x² + 10x + 25 = (x + 5)² + 0

    Half of 10 is 5, and 5² = 25 matches the constant exactly.

  2. Vertex

    Vertex at (−5, 0)

    q = 0, so the vertex is on the x-axis.

  3. Root

    (x + 5)² = 0, so x = −5 (repeated)

    The parabola touches the axis at one point and does not cross it.

Video walkthrough coming
How the degree changes the roots

The graph of \(y = x^4 − 5x^2 + 4\) is shown. It has four roots. What is the smallest number of real roots that a polynomial of degree 5 can have?

−3−2−1123−22468xy
Working
  1. The quartic

    From the calculator: x = −2, −1, 1, 2

    Four roots, the most that a degree 4 polynomial can have.

  2. The ends

    Degree 4: both ends go up. Degree 5: one end up, one end down

    The sign of the highest power sets the ends.

  3. Even degree

    Can have 0 real roots (the graph can sit above the axis)

    For example, y = x⁴ + 1.

  4. Odd degree

    Always at least 1 real root, at most 5

    The graph must cross the axis to get from one end to the other.

Video walkthrough coming