Sum and Product of Roots: Formulas and Examples

#Algebra
TL;DR
The sum and product of roots let you read a quadratic's two roots straight from its coefficients: for ax2+bx+c=0ax^2 + bx + c = 0, the sum of the roots is −ba-\frac{b}{a} and the product is ca\frac{c}{a}. That one idea builds an equation from its roots, checks answers without solving, and extends to cubics. The examples below work through each case step by step.
BT
Bhanzu TeamLast updated on September 10, 202612 min read

What Are The Sum And Product Of Roots?

The sum and product of roots are two quantities you can read directly from a quadratic's coefficients, without solving for the roots at all. Write the equation in standard form ax2+bx+c=0ax^2 + bx + c = 0, and call its two roots α\alpha and β\beta. Then the sum of the roots is α+β=−ba\alpha + \beta = -\frac{b}{a}, and the product of the roots is αβ=ca\alpha\beta = \frac{c}{a}.

α+β=−ba,αβ=ca\alpha + \beta = -\frac{b}{a}, \qquad \alpha\beta = \frac{c}{a}

Here aa, bb, and cc are the coefficients: aa multiplies x2x^2, bb multiplies xx, and cc is the constant. Standard form matters because those formulas only read correctly when one side is 00 and the terms sit in descending order. These relationships are one case of a wider result called quadratic equations theory, and they hold for every quadratic, even when the roots are irrational or complex.

How Do You Calculate The Sum And Product Of Roots?

Identify aa, bb, and cc first, then substitute. Two examples show the whole method, one where a=1a = 1 and one where it is not.

Example 1: Find the sum and product of the roots of x2+3x−28=0x^2 + 3x - 28 = 0.

Read off the coefficients:

a=1,b=3,c=−28a = 1, \quad b = 3, \quad c = -28

Substitute into each formula:

α+β=−ba=−31=−3\alpha + \beta = -\frac{b}{a} = -\frac{3}{1} = -3

αβ=ca=−281=−28\alpha\beta = \frac{c}{a} = \frac{-28}{1} = -28

Final answer: the sum is −3-3 and the product is −28-28. (The actual roots are 44 and −7-7; note 4+(−7)=−34 + (-7) = -3 and 4×(−7)=−284 \times (-7) = -28, which is the check.)

Example 2: Find the sum and product of the roots of 2x2−7x−5=02x^2 - 7x - 5 = 0.

Here the leading coefficient is not 11, so dividing by aa does real work:

a=2,b=−7,c=−5a = 2, \quad b = -7, \quad c = -5

α+β=−ba=−−72=72=3.5\alpha + \beta = -\frac{b}{a} = -\frac{-7}{2} = \frac{7}{2} = 3.5

αβ=ca=−52=−2.5\alpha\beta = \frac{c}{a} = \frac{-5}{2} = -2.5

Final answer: the sum is 3.53.5 and the product is −2.5-2.5. The two minus signs in the sum matter: −−72-\frac{-7}{2} becomes +72+\frac{7}{2}, not −72-\frac{7}{2}.

How Do You Build A Quadratic From Its Roots?

Reverse the process. If you know the two roots, you know the sum and the product, and a quadratic with those roots is:

x2−(α+β)x+αβ=0x^2 - (\alpha + \beta)x + \alpha\beta = 0

This is the monic form (leading coefficient 11). It comes straight from the factored equation (x−α)(x−β)=0(x - \alpha)(x - \beta) = 0, which is the same idea behind the factorization of quadratic polynomials.

Example 3: Build a quadratic whose roots are 55 and 22.

α+β=5+2=7,αβ=5×2=10\alpha + \beta = 5 + 2 = 7, \qquad \alpha\beta = 5 \times 2 = 10

x2−(7)x+(10)=0;⟹;x2−7x+10=0x^2 - (7)x + (10) = 0 ;\Longrightarrow; x^2 - 7x + 10 = 0

Example 4: Build a quadratic whose roots are 3+23 + \sqrt{2} and 3−23 - \sqrt{2}.

This is where the method earns its keep. The two surds cancel in the sum, and the product is a difference of squares:

α+β=(3+2)+(3−2)=6\alpha + \beta = (3 + \sqrt{2}) + (3 - \sqrt{2}) = 6

αβ=(3+2)(3−2)=32−(2)2=9−2=7\alpha\beta = (3 + \sqrt{2})(3 - \sqrt{2}) = 3^2 - (\sqrt{2})^2 = 9 - 2 = 7

x2−6x+7=0x^2 - 6x + 7 = 0

You never had to multiply out anything messy. The sum and product did the work.

How Do You Check Roots Without Solving The Equation?

Test the two numbers against both the sum and the product. If a claimed pair matches the sum but fails the product (or the reverse), it is not the root pair. You need both to agree.

Example 5: Are 22 and 33 the roots of x2−5x+6=0x^2 - 5x + 6 = 0?

The formulas predict:

α+β=−−51=5,αβ=61=6\alpha + \beta = -\frac{-5}{1} = 5, \qquad \alpha\beta = \frac{6}{1} = 6

Now test the claim 2,3{2, 3}:

2+3=5;✓2×3=6;✓2 + 3 = 5 ;\checkmark \qquad 2 \times 3 = 6 ;\checkmark

Both agree, so 22 and 33 are the roots. Contrast a wrong guess of 1,6{1, 6}: the product 1×6=61 \times 6 = 6 passes, but the sum 1+6=7≠51 + 6 = 7 \neq 5 fails, so that pair is rejected. That is the reason one check is never enough. This same reasoning, applied to the sign of the product and the discriminant, tells you the nature of the roots (real, equal, or complex) before you commit to solving.

What Are The Sum And Product Of Roots For A Cubic?

The pattern extends. For a cubic ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0 with roots α\alpha, β\beta, γ\gamma, three relationships hold:

α+β+γ=−ba,αβ+βγ+γα=ca,αβγ=−da\alpha + \beta + \gamma = -\frac{b}{a}, \qquad \alpha\beta + \beta\gamma + \gamma\alpha = \frac{c}{a}, \qquad \alpha\beta\gamma = -\frac{d}{a}

The sum still comes from the second coefficient with a sign flip, and the product of all three roots picks up a negative sign for the odd degree. For the full family of these results across higher degrees, see cubic polynomials.

Example 6: Find the sum and the product of the roots of x3−6x2+11x−6=0x^3 - 6x^2 + 11x - 6 = 0.

α+β+γ=−−61=6,αβγ=−−61=6\alpha + \beta + \gamma = -\frac{-6}{1} = 6, \qquad \alpha\beta\gamma = -\frac{-6}{1} = 6

The roots happen to be 11, 22, and 33: they add to 66 and multiply to 66, exactly as the formulas said.

A Quick Table Of Worked Examples

Here are several quadratics side by side, so the pattern is easy to scan.

Table: Sum and product of roots for a range of quadratics in standard form.

Equation

a

b

c

Sum = -b/a

Product = c/a

x2+3x−28=0x^2 + 3x - 28 = 0

1

3

-28

-3

-28

2x2−7x−5=02x^2 - 7x - 5 = 0

2

-7

-5

3.5

-2.5

x2−5x+6=0x^2 - 5x + 6 = 0

1

-5

6

5

6

3x2+6x−9=03x^2 + 6x - 9 = 0

3

6

-9

-2

-3

Read any row left to right: identify aa, bb, cc, flip the sign on bb and divide by aa for the sum, divide cc by aa for the product. The last row is a useful reminder that dividing by aa can simplify the numbers, since 3x2+6x−9=03x^2 + 6x - 9 = 0 reduces to x2+2x−3=0x^2 + 2x - 3 = 0 with the same roots.

Why Do The Sum And Product Of Roots Formulas Work?

The formulas are not a coincidence to memorise. They fall straight out of writing a quadratic in its factored form and comparing it, term by term, with the standard form.

Start with the two roots α\alpha and β\beta. A quadratic with those roots and leading coefficient aa can be written two ways, and the two must be equal:

  • Factored form: a(x−α)(x−β)a(x - \alpha)(x - \beta), because the equation is zero exactly at x=αx = \alpha and x=βx = \beta.

  • Expanded form: multiply it out to get a[x2−(α+β)x+αβ]=ax2−a(α+β)x+aαβa\left[x^2 - (\alpha + \beta)x + \alpha\beta\right] = ax^2 - a(\alpha + \beta)x + a\alpha\beta.

Now line that up against ax2+bx+cax^2 + bx + c and match coefficients:

−a(α+β)=b;⟹;α+β=−ba-a(\alpha + \beta) = b ;\Longrightarrow; \alpha + \beta = -\frac{b}{a}

aαβ=c;⟹;αβ=caa\alpha\beta = c ;\Longrightarrow; \alpha\beta = \frac{c}{a}

That is the whole reason the sign flips on the sum but not on the product: the middle term already carries a minus in the expansion. Because the argument never assumed the roots were real, the formulas keep working even when α\alpha and β\beta are complex, a point that trips up plenty of strong students the first time they meet it.

Who Discovered The Sum And Product Of Roots?

The link between a quadratic's coefficients and its roots was pinned down by a French lawyer who did mathematics on the side, and who spent part of his career breaking enemy codes.

Two names sit behind this idea:

  • François Viète (1540–1603, France) introduced systematic letters for coefficients in In artem analyticam isagoge (1591); the word "coefficient" is itself his, which is why the modern relationships are often called Vieta's formulas after the Latin form of his name.

  • Albert Girard (1595–1632, France and the Netherlands) later wrote the relationships between roots and coefficients for higher-degree equations more generally, extending the quadratic case to cubics and beyond.

Where Are The Sum And Product Of Roots Used In The Real World?

The two quantities show up wherever a problem hides behind a quadratic and you care about the pair of solutions together, not each one alone.

  • Engineering and control systems: the stability of a bridge, a circuit, or an autopilot depends on the roots of a characteristic equation. For a quadratic case, both roots have a safe (negative) real part exactly when the sum of the roots is negative and the product is positive, so engineers can judge stability from the coefficients without solving.

  • Physics: the two moments a thrown ball passes a given height are the roots of a quadratic in time. Their sum, divided by two, lands exactly on the peak, because the axis of symmetry sits at −b2a-\frac{b}{2a}.

  • Computer graphics: ray tracing finds where a light ray meets a sphere by solving a quadratic, and the sum and product of the two intersection distances speed up the geometry a renderer runs millions of times per frame.

  • Economics: break-even points are the roots of a profit quadratic, and their sum locates the output that maximises profit, halfway between the two break-even points.

One relationship connects the stability of a machine, the arc of a thrown ball, and the pixels in a rendered scene. That reach across fields is exactly why the idea is worth more than the formula alone.

What Are The Most Common Sum And Product Of Roots Mistakes?

These four errors account for most lost marks on this topic, verified against Vieta's-formula explainers, IB revision guides, and the Brilliant and Wikipedia entries on the relationships.

Dropping the negative sign in the sum.

Where it slips in:

The rusher reads the sum straight off bb and writes α+β=ba\alpha + \beta = \frac{b}{a}.

Don't do this:

Do not forget the minus. The sum formula carries a negative sign that the product formula does not.

The correct way:

Use α+β=−ba\alpha + \beta = -\frac{b}{a}. For x2+3x−28=0x^2 + 3x - 28 = 0, the sum is −3-3, not +3+3.

Forgetting to divide by the leading coefficient.

Where it slips in:

For 2x2−7x−5=02x^2 - 7x - 5 = 0, a student writes the sum as 77 and the product as −5-5, using bb and cc raw.

Don't do this:

Do not skip the aa in the denominator when the leading coefficient is not 11.

The correct way:

Divide by aa. The sum is −−72=3.5-\frac{-7}{2} = 3.5 and the product is −52=−2.5\frac{-5}{2} = -2.5.

Swapping the sum and the product.

Where it slips in:

The memorizer uses ca\frac{c}{a} for the sum and −ba-\frac{b}{a} for the product, mixing the two formulas.

Don't do this:

Do not interchange them. The middle coefficient bb drives the sum; the constant cc drives the product.

The correct way:

Tie each formula to its coefficient: sum comes from bb (with a sign flip), product comes from cc. Both are divided by aa.

Applying the formula before writing standard form.

Where it slips in:

An equation such as 3x2+6=7x3x^2 + 6 = 7x gets used as it stands, and the constant on the wrong side scrambles bb and cc.

Don't do this:

Do not read off aa, bb, cc until one side is 00 and the terms are in descending order.

The correct way:

Rearrange first: 3x2−7x+6=03x^2 - 7x + 6 = 0, so a=3a = 3, b=−7b = -7, c=6c = 6. Only then substitute.

Practice Problems On Sum And Product Of Roots

Answers follow each problem.

  1. Find the sum and product of the roots of x2−9x+20=0x^2 - 9x + 20 = 0.
    (Answer: sum =9= 9, product =20= 20.)

  2. Find the sum and product of the roots of 3x2+5x−2=03x^2 + 5x - 2 = 0.
    (Answer: sum =−53= -\frac{5}{3}, product =−23= -\frac{2}{3}.)

  3. Build a quadratic whose roots are 77 and −2-2.
    (Answer: sum =5= 5, product =−14= -14, so x2−5x−14=0x^2 - 5x - 14 = 0.)

  4. Build a quadratic whose roots are 2+32 + \sqrt{3} and 2−32 - \sqrt{3}.
    (Answer: sum =4= 4, product =1= 1, so x2−4x+1=0x^2 - 4x + 1 = 0.)

  5. Without solving, check whether 33 and 44 are the roots of x2−7x+12=0x^2 - 7x + 12 = 0.
    (Answer: sum 3+4=7=−−713 + 4 = 7 = -\frac{-7}{1}, product 3×4=12=1213 \times 4 = 12 = \frac{12}{1}; both agree, so yes.)

  6. For the cubic x3−6x2+11x−6=0x^3 - 6x^2 + 11x - 6 = 0, find the sum and the product of its roots.
    (Answer: sum =6= 6, product =6= 6.)

Where Should You Go Next After Sum And Product Of Roots?

You now have a lever that turns coefficients into facts about roots. A few doors open naturally from here.

  1. Roots of a quadratic equation. Solve for the actual roots with the quadratic formula, then use the sum and product as a fast check on your answers.

  2. Quadratic equations. See the full topic these relationships live inside, from graphing to word problems.

  3. Cubic polynomials. Carry the same coefficient-to-roots idea into third-degree equations and the general Vieta relationships.

If your child is building these skills, a live Bhanzu trainer teaches the sum and product of roots starting from why the formulas are true, not just how to plug in, in the Bhanzu algebra program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are the sum and product of roots of a quadratic equation?
For ax2+bx+c=0ax^2 + bx + c = 0 with roots α\alpha and β\beta, the sum of the roots is α+β=−ba\alpha + \beta = -\frac{b}{a} and the product is αβ=ca\alpha\beta = \frac{c}{a}. You read both straight from the coefficients, no solving required.
What is the formula for the sum and product of roots?
Sum =−ba= -\frac{b}{a} and product =ca= \frac{c}{a}. The sum carries a negative sign; the product does not.
Why is the sum of the roots negative b over a and not positive?
Because expanding the factored form (x−α)(x−β)(x - \alpha)(x - \beta) produces a middle term of −(α+β)x-(\alpha + \beta)x. Matching that against bxbx forces α+β=−ba\alpha + \beta = -\frac{b}{a}, so the minus sign is built in.
Can you find the sum and product of roots without solving the equation?
Yes. That is the whole point of the formulas: you use only aa, bb, and cc. It even works when the roots are irrational or complex, since the derivation never assumes the roots are real.
How do you build a quadratic equation from its roots?
Use x2−(sum)x+(product)=0x^2 - (\text{sum})x + (\text{product}) = 0. If the roots are 55 and 22, the sum is 77 and the product is 1010, giving x2−7x+10=0x^2 - 7x + 10 = 0.
In which class or curriculum is the sum and product of roots taught?
It appears in India's NCERT Class 10 (Quadratic Equations) and in the United States under Common Core high-school Algebra (reasoning with polynomial roots and coefficients). It returns in higher-degree work through Vieta's formulas.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →