Algebra 2 · Grades 10, 11

Sum and Product of the Roots of a Quadratic

Quick answer

The two roots r and s of ax² + bx + c = 0 satisfy r + s = −b/a and rs = c/a. These relations, known as Vieta's formulas, come from expanding a(x − r)(x − s) and matching coefficients. They let you check solutions quickly, write a quadratic with given roots, find a missing root, and evaluate expressions such as r² + s² = (r + s)² − 2rs or 1/r + 1/s = (r + s)/rs without solving the equation.

What you'll learn

  • State the sum and product of the roots of a quadratic
  • Write a quadratic equation with given roots
  • Find a missing root or coefficient
  • Evaluate symmetric expressions of the roots without solving

Two shortcuts

If rr and ss are the roots of ax2+bx+c=0ax^2 + bx + c = 0, then

r+s=−bars=car + s = -\frac{b}{a} \qquad rs = \frac{c}{a}

For x2−7x+10=0x^2 - 7x + 10 = 0, the roots add to 77 and multiply to 1010. They are 22 and 55.

Going the other way, a quadratic with roots rr and ss is

x2−(r+s)x+rs=0x^2 - (r + s)x + rs = 0

Why the coefficients hold the sum and product

A quadratic with roots rr and ss factors as a(x−r)(x−s)a(x - r)(x - s). Expanding gives a(x2−(r+s)x+rs)=ax2−a(r+s)x+a⋅rsa\left(x^2 - (r + s)x + rs\right) = ax^2 - a(r + s)x + a \cdot rs. Matching this with ax2+bx+cax^2 + bx + c term by term gives b=−a(r+s)b = -a(r + s) and c=a⋅rsc = a \cdot rs. Dividing by aa gives both formulas. The same matching works for complex roots, since the factoring does.

Worked examples

Common mistakes

Practice problems

  1. Find the sum of the roots of x2−9x+14=0x^2 - 9x + 14 = 0.

    Answer

    99

    Full solution

    −−91=9-\tfrac{-9}{1} = 9. The roots are 22 and 77.

  2. Find the product of the roots of x2−9x+14=0x^2 - 9x + 14 = 0.

    Answer

    1414

    Full solution

    ca=14\tfrac{c}{a} = 14.

  3. Find the sum of the roots of 3x2+12x−7=03x^2 + 12x - 7 = 0.

    Answer

    −4-4

    Full solution

    −123-\tfrac{12}{3}.

  4. Find the product of the roots of 2x2−3x−10=02x^2 - 3x - 10 = 0.

    Answer

    −5-5

    Full solution

    −102\tfrac{-10}{2}.

  5. One root of x2−11x+k=0x^2 - 11x + k = 0 is 44. Find the other root.

    Answer

    77

    Full solution

    The roots add to 1111.

  6. One root of x2+bx+18=0x^2 + bx + 18 = 0 is 33. Find bb.

    Answer

    −9-9

    Full solution

    The product is 1818, so the other root is 66. The sum is 9=−b9 = -b.

  7. The roots of x2−5x+3=0x^2 - 5x + 3 = 0 are rr and ss. Find r2+s2r^2 + s^2.

    Answer

    1919

    Full solution

    (r+s)2−2rs=25−6(r + s)^2 - 2rs = 25 - 6.

  8. The roots of x2−6x+2=0x^2 - 6x + 2 = 0 are rr and ss. Find 1r+1s\tfrac{1}{r} + \tfrac{1}{s}.

    Answer

    33

    Full solution

    1r+1s=r+srs=62\tfrac{1}{r} + \tfrac{1}{s} = \tfrac{r + s}{rs} = \tfrac{6}{2}.

Frequently asked questions

What are the sum and product of the roots of ax² + bx + c = 0?

The sum is −b/a and the product is c/a.

How do I write a quadratic with roots 3 and −5?

The sum is −2 and the product is −15, so x² − (sum)x + (product) = x² + 2x − 15.

Do the formulas work for complex roots?

Yes. For x² + 4 = 0, the roots 2i and −2i add to 0 and multiply to 4.

How do I find r² + s² without the roots?

Use r² + s² = (r + s)² − 2rs, then substitute the sum and product.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.APR.B.3Arithmetic with Polynomials and Rational ExpressionsIdentify zeros of polynomials when suitable factorizations are available, and use the zeros to construct a rough graph of the function defined by the polynomial.