Write The Quadratic Equation Whose Roots Are

9 min read

Ever get one of those math problems that sounds backwards? Also, instead of solving an equation, you're told the answers and asked to build the equation yourself. Write the quadratic equation whose roots are 2 and 5 — stuff like that. That said, it feels weird the first time. But honestly, it's one of the most useful little tricks in algebra, and most people overcomplicate it.

Here's the thing — once you see the pattern, it's almost automatic. And it shows up everywhere: test prep, calculus prep, even some coding problems where you need to reconstruct a polynomial from known solutions Not complicated — just consistent..

What Is "Write the Quadratic Equation Whose Roots Are"

So you're given the roots. The roots are just the x-values where the parabola crosses the x-axis. In plain English: these are the answers, and you're working backward to the question.

When someone says "write the quadratic equation whose roots are -3 and 4", they want a second-degree polynomial — something shaped like ax² + bx + c = 0 — that equals zero exactly at those two x-values. That said, that's it. You're reverse-engineering the equation from its solutions.

Not the most exciting part, but easily the most useful.

Most textbooks make this look like a formal procedure with formulas hanging off the page. In practice, it's closer to baking from a recipe you already know by heart.

Roots vs. Solutions vs. Zeros

These three words get tossed around like they're different things. They're not, really. The roots of a quadratic are the same as its solutions and its zeros. All three mean: the x-values that make the equation true when it's set to zero. If a problem says "roots are", just read it as "the answers are".

Standard Form vs. Factored Form

You'll usually hand in your answer in standard form: ax² + bx + c = 0. But you'll almost always build it from factored form: a(x - r₁)(x - r₂) = 0, where r₁ and r₂ are your roots. Knowing both matters because one is easy to write and the other is what teachers and textbooks want to see simplified Simple, but easy to overlook..

Why It Matters / Why People Care

Why bother learning to write the quadratic equation whose roots are given, instead of just solving the normal way? A few real reasons.

First, it cements what roots actually mean. A lot of students can run the quadratic formula but couldn't tell you why the answers are called roots. Building the equation backward fixes that confusion fast.

Second, it's a checkpoint skill. In higher math — think polynomial division, rational functions, even differential equations later on — you'll often know the solutions and need the original expression. This is the baby version of that Turns out it matters..

And third, it's practical for modeling. Write the quadratic equation whose roots are 0 and 12, drop in a stretch factor for height, and boom — you've got a model. Say you're designing a simple projectile arc and you know it should hit the ground at x = 0 and x = 12 meters. Real talk, that's how a lot of intro physics problems start.

It sounds simple, but the gap is usually here.

What goes wrong when people skip this? On the flip side, they treat quadratics as a black box. Which means plug in, get answers, move on. Then the first time a test asks for the equation instead of the roots, they freeze. I've seen it happen to smart kids.

How It Works (or How to Do It)

Alright, the meaty part. Here's how you actually do it, step by step, without melting your brain.

Step 1: Start From the Roots

If your roots are r₁ and r₂, then (x - r₁) and (x - r₂) are your factors. Still, that's the core idea. The equation is zero when x equals either root, so each root becomes a factor with a flipped sign The details matter here..

Example: roots are 3 and -2. Factors are (x - 3) and (x + 2). Here's the thing — because x - (-2) is x + 2. Easy to slip up there — watch the double negative Nothing fancy..

Step 2: Multiply the Factors

Now expand: (x - 3)(x + 2). Foil it out — first, outside, inside, last. Now, you get x² + 2x - 3x - 6, which simplifies to x² - x - 6. So the quadratic equation whose roots are 3 and -2 is x² - x - 6 = 0.

That's the whole move. Seriously.

Step 3: Handle the Leading Coefficient

Sometimes the problem implies a specific "a" value — the number in front of x². But you can multiply the whole thing by any non-zero number and the roots stay the same. If it doesn't, a = 1 is fine. 2x² - 2x - 12 = 0 has the exact same roots as the one above Nothing fancy..

Why would you do that? Which means maybe the question says "write a quadratic equation whose roots are 3 and -2 and whose leading coefficient is 4". Still, then you start with 4(x - 3)(x + 2) and expand. You get 4x² - 4x - 24 = 0 Small thing, real impact..

Step 4: Use the Sum and Product Shortcut

There's a faster route if you don't feel like multiplying every time. For any quadratic x² + bx + c = 0 with roots r₁ and r₂:

  • The sum of the roots (r₁ + r₂) equals -b
  • The product of the roots (r₁ × r₂) equals c

So if roots are 5 and -1: sum is 4, so -b = 4 means b = -4. Product is -5, so c = -5. Worth adding: equation: x² - 4x - 5 = 0. Day to day, done without foil. This is the Vieta's formulas approach, and it's a lifesaver on timed tests That alone is useful..

Step 5: Weird Roots (Fractions, Radicals, Complex)

Roots aren't always neat integers. Sometimes you'll write the quadratic equation whose roots are 1/2 and -3/4. Same process: (x - 1/2)(x + 3/4) = 0, then clear fractions by multiplying by the LCD if you want integer coefficients.

With radicals like √2 and -√2, the irrational parts cancel nicely: (x - √2)(x + √2) = x² - 2. Clean.

Complex roots? They always come in conjugate pairs if you want real coefficients. Roots 2 + i and 2 - i give (x - 2 - i)(x - 2 + i) = (x - 2)² - i² = x² - 4x + 5. Worth adding: the imaginary bits vanish. Turns out that's not as scary as it looks.

Common Mistakes / What Most People Get Wrong

This is where I see the same errors over and over. Knowing these will save you points.

Sign errors in the factors. The #1 mistake. Root is -4, factor is (x + 4), not (x - 4). I know it sounds simple — but it's easy to miss when you're moving fast. Always mentally check: "If I plug the root in, does this factor become zero?"

Forgetting the equals zero. A quadratic equation has an "= 0" at the end. Writing x² - 5x + 6 is an expression, not an equation. Teachers dock for that.

Assuming a must be 1. If the problem says "a quadratic equation" and doesn't specify, any a works. But if it says "the quadratic equation" implying monic (leading coefficient 1), then don't multiply by 2 just because you can. Read carefully.

Messy expansion with fractions. People rush the foil and drop denominators. Slow down for one line. Multiply by the LCD at the end to tidy up Which is the point..

Ignoring conjugate pairs for complex roots. If you're asked for real coefficients and one root is 3 + 2i, you'd better include 3 - 2i or your equation won't be valid in the real-number system. Here's what most people miss: the conjugate isn't optional in that context The details matter here..

Practical Tips / What Actually Works

Okay, less theory, more "what should I actually do at my desk at 11

PM and this is due tomorrow."

Write the factors first, always. Don't try to hold the sum/product in your head. Scribble (x - r₁)(x - r₂) = 0 on your scratch paper. It takes three seconds and prevents sign errors Not complicated — just consistent..

Use the "plug-back" sanity check. Once you have your final equation, substitute one root back in. If 3 is supposed to be a root, does 3² - 4(3) - 5 equal zero? If not, you know immediately where to look. This catches 90% of algebra slips.

Clear fractions early if the problem wants integer coefficients. Multiply by the LCD before you expand. (x - 1/2)(x + 3/4) becomes 4(x - 1/2)(x + 3/4) = (2x - 1)(4x + 3) — wait, that's messy. Better: multiply the whole equation by 4 after expanding, or just FOIL carefully and multiply the final result by 4. Either way, decide your strategy before the arithmetic starts.

Memorize the pattern for conjugate pairs. (x - (a + bi))(x - (a - bi)) = (x - a)² + b². Every time. No FOIL required. Roots 3 ± 2i → (x - 3)² + 4 = x² - 6x + 13. That's a freebie on any test That's the part that actually makes a difference..

Label your roots. When a problem gives you "the roots are..." write r₁ = ___, r₂ = ___ at the top of your work. Keeps you from swapping them mid-calculation, especially with negatives and fractions Not complicated — just consistent..

Know when to stop. If the question asks for "a quadratic equation," x² - 5x + 6 = 0 is fine. 2x² - 10x + 12 = 0 is also fine. Don't waste time simplifying unless "simplest form" or "integer coefficients with gcd 1" is specified.


Putting It All Together

Let's say you're handed: Find a quadratic equation with integer coefficients whose roots are (1 + √5)/2 and (1 - √5)/2.

Step 1: Recognize conjugates. Sum = 1, product = (1 - 5)/4 = -1.

Step 2: Write x² - (sum)x + product = x² - x - 1 = 0.

Step 3: Check integer coefficients? Yes. Done But it adds up..

Or: Write the quadratic whose roots are -3 and 1/2 with leading coefficient 4.

Step 1: Factors: (x + 3)(x - 1/2) = 0.

Step 2: Multiply by 2 to clear the half: 2(x + 3)(x - 1/2) = (x + 3)(2x - 1) = 2x² + 5x - 3.

Step 3: Need leading coefficient 4, so multiply by 2: 4x² + 10x - 6 = 0.

Two different paths. Same destination. The method bends to the problem.


Final Thought

Writing a quadratic from its roots isn't a trick — it's the inverse of solving one. Day to day, every time you factor x² - 5x + 6 = (x - 2)(x - 3), you're doing this backward. The algebra is identical; only the direction changes Nothing fancy..

Master the sign on the factors. On the flip side, respect the leading coefficient. Use Vieta when it's faster, FOIL when it's safer. And always, always plug a root back in before you call it done.

That's the whole game. Now go write some equations.

This Week's New Stuff

Freshest Posts

Worth Exploring Next

Neighboring Articles

Thank you for reading about Write The Quadratic Equation Whose Roots Are. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home