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 $ax^2 + bx + c = 0$, the sum of the roots is $-\frac{b}{a}$ and the product is $\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 $ax^2 + bx + c = 0$, and call its two roots $\alpha$ and $\beta$. Then the sum of the roots is $\alpha + \beta = -\frac{b}{a}$, and the product of the roots is $\alpha\beta = \frac{c}{a}$.

$$\alpha + \beta = -\frac{b}{a}, \qquad \alpha\beta = \frac{c}{a}$$

Here $a$, $b$, and $c$ are the coefficients: $a$ multiplies $x^2$, $b$ multiplies $x$, and $c$ is the constant. Standard form matters because those formulas only read correctly when one side is $0$ 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 $a$, $b$, and $c$ first, then substitute. Two examples show the whole method, one where $a = 1$ and one where it is not.

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

Read off the coefficients:

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

Substitute into each formula:

$$\alpha + \beta = -\frac{b}{a} = -\frac{3}{1} = -3$$

$$\alpha\beta = \frac{c}{a} = \frac{-28}{1} = -28$$

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

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

Here the leading coefficient is not $1$, so dividing by $a$ does real work:

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

$$\alpha + \beta = -\frac{b}{a} = -\frac{-7}{2} = \frac{7}{2} = 3.5$$

$$\alpha\beta = \frac{c}{a} = \frac{-5}{2} = -2.5$$

Final answer: the sum is $3.5$ and the product is $-2.5$. The two minus signs in the sum matter: $-\frac{-7}{2}$ becomes $+\frac{7}{2}$, not $-\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:

$$x^2 - (\alpha + \beta)x + \alpha\beta = 0$$

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

Example 3: Build a quadratic whose roots are $5$ and $2$.

$$\alpha + \beta = 5 + 2 = 7, \qquad \alpha\beta = 5 \times 2 = 10$$

$$x^2 - (7)x + (10) = 0 ;\Longrightarrow; x^2 - 7x + 10 = 0$$

Example 4: Build a quadratic whose roots are $3 + \sqrt{2}$ and $3 - \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:

$$\alpha + \beta = (3 + \sqrt{2}) + (3 - \sqrt{2}) = 6$$

$$\alpha\beta = (3 + \sqrt{2})(3 - \sqrt{2}) = 3^2 - (\sqrt{2})^2 = 9 - 2 = 7$$

$$x^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 $2$ and $3$ the roots of $x^2 - 5x + 6 = 0$?

The formulas predict:

$$\alpha + \beta = -\frac{-5}{1} = 5, \qquad \alpha\beta = \frac{6}{1} = 6$$

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

$$2 + 3 = 5 ;\checkmark \qquad 2 \times 3 = 6 ;\checkmark$$

Both agree, so $2$ and $3$ are the roots. Contrast a wrong guess of ${1, 6}$: the product $1 \times 6 = 6$ passes, but the sum $1 + 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 $ax^3 + bx^2 + cx + d = 0$ with roots $\alpha$, $\beta$, $\gamma$, three relationships hold:

$$\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 $x^3 - 6x^2 + 11x - 6 = 0$.

$$\alpha + \beta + \gamma = -\frac{-6}{1} = 6, \qquad \alpha\beta\gamma = -\frac{-6}{1} = 6$$

The roots happen to be $1$, $2$, and $3$: they add to $6$ and multiply to $6$, 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

$x^2 + 3x - 28 = 0$

1

3

-28

-3

-28

$2x^2 - 7x - 5 = 0$

2

-7

-5

3.5

-2.5

$x^2 - 5x + 6 = 0$

1

-5

6

5

6

$3x^2 + 6x - 9 = 0$

3

6

-9

-2

-3

Read any row left to right: identify $a$, $b$, $c$, flip the sign on $b$ and divide by $a$ for the sum, divide $c$ by $a$ for the product. The last row is a useful reminder that dividing by $a$ can simplify the numbers, since $3x^2 + 6x - 9 = 0$ reduces to $x^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 $a$ can be written two ways, and the two must be equal:

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

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

Now line that up against $ax^2 + bx + c$ and match coefficients:

$$-a(\alpha + \beta) = b ;\Longrightarrow; \alpha + \beta = -\frac{b}{a}$$

$$a\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 $-\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 $b$ and writes $\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 $\alpha + \beta = -\frac{b}{a}$. For $x^2 + 3x - 28 = 0$, the sum is $-3$, not $+3$.

Forgetting to divide by the leading coefficient.

Where it slips in:

For $2x^2 - 7x - 5 = 0$, a student writes the sum as $7$ and the product as $-5$, using $b$ and $c$ raw.

Don't do this:

Do not skip the $a$ in the denominator when the leading coefficient is not $1$.

The correct way:

Divide by $a$. The sum is $-\frac{-7}{2} = 3.5$ and the product is $\frac{-5}{2} = -2.5$.

Swapping the sum and the product.

Where it slips in:

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

Don't do this:

Do not interchange them. The middle coefficient $b$ drives the sum; the constant $c$ drives the product.

The correct way:

Tie each formula to its coefficient: sum comes from $b$ (with a sign flip), product comes from $c$. Both are divided by $a$.

Applying the formula before writing standard form.

Where it slips in:

An equation such as $3x^2 + 6 = 7x$ gets used as it stands, and the constant on the wrong side scrambles $b$ and $c$.

Don't do this:

Do not read off $a$, $b$, $c$ until one side is $0$ and the terms are in descending order.

The correct way:

Rearrange first: $3x^2 - 7x + 6 = 0$, so $a = 3$, $b = -7$, $c = 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 $x^2 - 9x + 20 = 0$.
    (Answer: sum $= 9$, product $= 20$.)

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

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

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

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

  6. For the cubic $x^3 - 6x^2 + 11x - 6 = 0$, find the sum and the product of its roots.
    (Answer: sum $= 6$, product $= 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.

Book a Free Demo

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 $ax^2 + bx + c = 0$ with roots $\alpha$ and $\beta$, the sum of the roots is $\alpha + \beta = -\frac{b}{a}$ and the product is $\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 $= -\frac{b}{a}$ and product $= \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 - \alpha)(x - \beta)$ produces a middle term of $-(\alpha + \beta)x$. Matching that against $bx$ forces $\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 $a$, $b$, and $c$. 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 $x^2 - (\text{sum})x + (\text{product}) = 0$. If the roots are $5$ and $2$, the sum is $7$ and the product is $10$, giving $x^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 →