Solving Quadratic Equations: 4 Methods & Examples

#Algebra
TL;DR
Solving quadratic equations means finding the values of $x$ that make a second-degree equation equal to zero, and there are four reliable methods: factoring, completing the square, the quadratic formula, and graphing. Pick the method that fits the equation in front of you, then read the discriminant to know how many real roots to expect before you start.
BT
Bhanzu TeamLast updated on September 10, 202613 min read

What Does Solving Quadratic Equations Mean?

Solving quadratic equations means finding every value of the variable that makes the equation true. A quadratic equation is any equation you can write in the form $ax^2 + bx + c = 0$, where $a$, $b$, and $c$ are numbers and $a \neq 0$. The values that satisfy it are called the roots, or the solutions, and a quadratic can have two, one, or no real roots.

The first move is almost always the same: get the equation into standard form, with everything on one side and $0$ on the other. Only once it reads $ax^2 + bx + c = 0$ can you read off $a$, $b$, and $c$ and choose a method.

Throughout this guide we lean on one running equation so you can watch every method land on the same answer:

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

Here $a = 1$, $b = 5$, and $c = 6$. For a broader look at how these equations are built and named, see quadratic equations.

How Do You Solve A Quadratic Equation By Factoring?

To solve by factoring, rewrite the quadratic as a product of two brackets, then set each bracket to zero. Factoring works fastest when the roots are whole numbers or simple fractions.

The engine behind it is the zero product property: if two things multiply to give $0$, then at least one of them must be $0$.

Example 1: Solve $x^2 + 5x + 6 = 0$ by factoring.

Find two numbers that multiply to $6$ (the constant) and add to $5$ (the middle coefficient). Those numbers are $2$ and $3$.

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

$$(x + 2)(x + 3) = 0$$

Set each factor equal to zero:

$$x + 2 = 0 \quad \Rightarrow \quad x = -2$$

$$x + 3 = 0 \quad \Rightarrow \quad x = -3$$

Final answer: $x = -2$ or $x = -3$.

Not every quadratic factors with tidy integers. When the two numbers refuse to appear, that is your signal to switch methods rather than force it. For more practice on the splitting step, see factorization of quadratic polynomials.

How Do You Solve A Quadratic Equation By Completing The Square?

Completing the square turns the left side into a perfect square, then undoes it with a square root. It works on every quadratic, even the ones that will not factor.

Example 2: Solve $x^2 + 5x + 6 = 0$ by completing the square.

Move the constant to the right:

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

Take half of the middle coefficient, $\tfrac{5}{2}$, square it to get $\tfrac{25}{4}$, and add it to both sides:

$$x^2 + 5x + \tfrac{25}{4} = -6 + \tfrac{25}{4}$$

The left side is now a perfect square, and the right side simplifies:

$$\left(x + \tfrac{5}{2}\right)^2 = \tfrac{1}{4}$$

Take the square root of both sides, keeping both signs:

$$x + \tfrac{5}{2} = \pm \tfrac{1}{2}$$

$$x = -\tfrac{5}{2} + \tfrac{1}{2} = -2 \qquad \text{or} \qquad x = -\tfrac{5}{2} - \tfrac{1}{2} = -3$$

Final answer: $x = -2$ or $x = -3$, the same pair factoring gave. Completing the square is also the move that later rewrites a quadratic into vertex form, which is why it repays learning even when factoring is quicker.

How Do You Solve A Quadratic Equation With The Quadratic Formula?

The quadratic formula solves any quadratic in one substitution. Write the equation in standard form, read off $a$, $b$, and $c$, and drop them in:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Example 3: Solve $x^2 + 5x + 6 = 0$ with the quadratic formula.

Here $a = 1$, $b = 5$, $c = 6$. Substitute carefully, minding the signs:

$$x = \frac{-5 \pm \sqrt{5^2 - 4(1)(6)}}{2(1)}$$

$$x = \frac{-5 \pm \sqrt{25 - 24}}{2} = \frac{-5 \pm \sqrt{1}}{2} = \frac{-5 \pm 1}{2}$$

Split the $\pm$ into its two cases:

$$x = \frac{-5 + 1}{2} = -2 \qquad \text{or} \qquad x = \frac{-5 - 1}{2} = -3$$

Final answer: $x = -2$ or $x = -3$. Three methods, one answer.

The formula earns its keep on the messy equations. Take $2x^2 - 4x - 3 = 0$, which does not factor over the integers:

$$x = \frac{-(-4) \pm \sqrt{(-4)^2 - 4(2)(-3)}}{2(2)} = \frac{4 \pm \sqrt{16 + 24}}{4} = \frac{4 \pm \sqrt{40}}{4} = \frac{2 \pm \sqrt{10}}{2}$$

The roots are irrational, roughly $2.58$ and $-0.58$. Factoring could never have found those, which is exactly when the formula becomes your default.

How Do You Solve A Quadratic Equation By Graphing?

To solve by graphing, plot $y = ax^2 + bx + c$ and read off where the curve crosses the horizontal axis. Those crossing points, the $x$-intercepts, are the roots, because that is where $y = 0$.

For our equation $y = x^2 + 5x + 6$, the parabola opens upward and dips below the axis between its two roots. Its lowest point, the vertex, sits at $x = -\tfrac{b}{2a} = -2.5$, halfway between the roots. The curve cuts the axis at $x = -3$ and $x = -2$, matching every earlier method.

Graphing is the method that makes the answer visible, but it has a limit: when the roots are irrational or complex, a hand-drawn graph can only estimate them. Use it to understand and to check, and switch to the formula when you need exact values.

What Does The Discriminant Tell You About The Roots?

The part of the quadratic formula under the square root, $b^2 - 4ac$, is called the discriminant, and it predicts the roots before you finish solving. Reading it first tells you what kind of answer to expect, so you are never surprised by a negative under the root.

Table: What the discriminant reveals about the roots before you solve.

Discriminant $b^2 - 4ac$

Nature of the roots

Positive ($> 0$)

Two distinct real roots

Zero ($= 0$)

One repeated real root

Negative ($< 0$)

No real roots (two complex roots)

For our running equation, $b^2 - 4ac = 25 - 24 = 1$, a positive number, so two distinct real roots, which is what we found. Change the constant and the story changes: $x^2 + 4x + 4 = 0$ gives $16 - 16 = 0$, a single repeated root at $x = -2$, while $x^2 + x + 1 = 0$ gives $1 - 4 = -3$, so no real roots at all. This idea of reading the discriminant to classify solutions is often called the nature of roots, and it connects directly to the roots of a quadratic equation and their sum and product. A closer look lives at discriminant.

Which Method Should You Use To Solve A Quadratic Equation?

No single method wins every time. The fastest route depends on what the equation looks like once it is in standard form, and a quick scan usually decides it for you.

Table: Which method to reach for, by what the equation looks like.

The equation looks like this

Best method

Why it fits

Factors with small whole numbers

Factoring

Fastest when the roots are tidy

Has no constant term, $ax^2 + bx = 0$

Factor out $x$

Two roots, one of them $0$

Has no middle term, $ax^2 + c = 0$

Square root method

Isolate $x^2$, take $\pm\sqrt{,}$

Leading coefficient $1$ with an even $b$

Completing the square

Clean squares, and gives vertex form

Anything, especially messy or irrational

Quadratic formula

Always works

You want a picture or an estimate

Graphing

Shows the roots as $x$-intercepts

A practical habit: try a quick factor first, and if two numbers do not jump out within a few seconds, go straight to the formula. The second-guesser wastes the most time here, hunting for factors that were never going to be integers.

Why Do We Solve Quadratic Equations?

Quadratics are not a hoop invented for exams. They are what you get whenever one quantity depends on the square of another, and that happens across the physical world.

  • Area and space. Double a rectangle's length and its area quadruples, so any question that ties an area to a changing side length lands on a quadratic. Solving it recovers the side length that produces a target area.

  • Falling and flying. Under gravity, the height of a thrown object over time follows a quadratic. Setting height to zero and solving gives the moment it hits the ground.

  • Best and worst. Because a parabola has a single highest or lowest point, a quadratic captures problems about maximum profit or minimum cost, where the vertex marks the optimum.

There is also a reason a quadratic can have two answers. A parabola is a U-shape, so a horizontal line can cut it in two places, once on the way down and once on the way up. Those two crossings are the two roots, and forgetting the second one is the same as forgetting the ball was in the air both before and after its peak.

Who Discovered How To Solve Quadratic Equations?

People were solving quadratics thousands of years before the symbols existed. Babylonian scribes, around 2000 BCE, worked out side lengths of rectangles from their areas using a geometric version of completing the square, pressed into clay tablets. The rule came long before the notation.

Two more mathematicians turned the recipe into a general rule:

  • Brahmagupta (598–668 CE, India) gave the first written general solution of a quadratic, and he was among the first to work openly with negative numbers and zero as roots, in his 628 CE text the Brahmasphutasiddhanta.

  • Bhaskara II (1114–1185, India) sharpened the method and made clear that a quadratic carries two roots, not one, closing the gap that trips up students to this day.

Where Are Quadratic Equations Used In The Real World?

The same four methods run quietly under a wide range of work.

  • Physics: the flight of a rocket, a firework, or a basketball is modelled by a quadratic in time, and solving it tells you when and where the object lands.

  • Engineering and architecture: parabolic arches carry load efficiently, and satellite dishes and headlight reflectors use the parabola's focus to gather or aim signals and light.

  • Business: revenue often rises and then falls as price changes, tracing a parabola, so solving the quadratic finds the break-even prices and the vertex finds the price that maximises profit.

  • Sport and games: aiming a shot or a jump in a video game means predicting an arc, and the physics engine solves quadratics many times a second to do it.

One curve, tilted and scaled, connects a launched rocket, a bridge, a spreadsheet, and a game controller. Mathematics is the shared language across fields that look nothing alike.

What Are The Most Common Solving Quadratic Equations Mistakes?

These four errors account for most lost marks on quadratics, matched against SAT prep guides, classroom error lists, and a published study of student mistakes in solving quadratic equations.

Not setting the equation to zero first.

Where it slips in:

A student sees $x^2 + 5x = -6$ and starts factoring the left side straight away, without moving the $-6$ across.

Don't do this:

Do not apply factoring, the formula, or the discriminant until the equation reads $ax^2 + bx + c = 0$. Every method assumes the right side is zero.

The correct way:

Move all terms to one side first: $x^2 + 5x + 6 = 0$. Now the zero product property and the values of $a$, $b$, $c$ are valid.

Sign errors in the quadratic formula.

Where it slips in:

A student writes $b$ instead of $-b$ on top, or mishandles a negative $c$ so that $-4ac$ comes out with the wrong sign under the root.

Don't do this:

Do not substitute from memory in a rush. A single dropped minus sign flips a root or hides a real solution.

The correct way:

Write $a$, $b$, and $c$ with their signs before substituting, and use brackets: for $2x^2 - 4x - 3 = 0$, that is $-(-4)$ on top and $-4(2)(-3) = +24$ under the root.

Dividing both sides by the variable.

Where it slips in:

Facing $x^2 = 5x$, a student divides both sides by $x$ to get $x = 5$, and reports a single answer.

Don't do this:

Do not cancel a variable factor. Dividing by $x$ silently throws away the root $x = 0$.

The correct way:

Move everything to one side and factor: $x^2 - 5x = 0$ becomes $x(x - 5) = 0$, giving both $x = 0$ and $x = 5$.

Forgetting the plus-or-minus.

Where it slips in:

After a square root, a student keeps only the positive value, so $(x + \tfrac{5}{2})^2 = \tfrac{1}{4}$ becomes just $x + \tfrac{5}{2} = \tfrac{1}{2}$.

Don't do this:

Do not take one square root. A square root of a positive number has two values, one positive and one negative.

The correct way:

Always write $\pm$ when you take the root: $x + \tfrac{5}{2} = \pm\tfrac{1}{2}$, which recovers both $x = -2$ and $x = -3$.

Practice Problems On Solving Quadratic Equations

Solve each, then check against the answer beside it. Methods are suggested, but any valid method that reaches the same roots is correct.

  1. Solve by factoring: $x^2 - 7x + 12 = 0$.
    (Answer: $(x-3)(x-4)=0$, so $x = 3$ or $x = 4$.)

  2. Solve by factoring: $x^2 - x - 20 = 0$.
    (Answer: $(x-5)(x+4)=0$, so $x = 5$ or $x = -4$.)

  3. Solve by completing the square: $x^2 - 6x + 5 = 0$.
    (Answer: $(x-3)^2 = 4$, so $x = 5$ or $x = 1$.)

  4. Solve with the quadratic formula: $3x^2 + 2x - 1 = 0$.
    (Answer: discriminant $= 16$, so $x = \tfrac{1}{3}$ or $x = -1$.)

  5. Use the discriminant only, no solving: state the nature of the roots of $x^2 + 2x + 5 = 0$.
    (Answer: $b^2 - 4ac = -16 < 0$, so no real roots.)

  6. The product of two consecutive positive integers is $42$. Find them.
    (Answer: $n(n+1)=42$ gives $n^2 + n - 42 = 0$, so $(n+7)(n-6)=0$; the integers are $6$ and $7$.)

Where Should You Go Next After Solving Quadratic Equations?

Once the four methods feel steady, a few natural doors open into the wider algebra of quadratics.

  1. Roots of a quadratic equation. Go past finding the roots to the relationships between them, including how their sum and product read straight off the coefficients.

  2. The discriminant. Turn $b^2 - 4ac$ into a fast classifier for any quadratic, and learn to answer "how many roots" without solving at all.

  3. Factorization of quadratic polynomials. Deepen the factoring step with harder splitting, a leading coefficient above one, and grouping.

If your child is building these foundations, a live Bhanzu trainer teaches solving quadratic equations starting from the "why" (the arcs and areas the equation was built to describe) 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 four methods for solving quadratic equations?
Factoring, completing the square, the quadratic formula, and graphing. Factoring is fastest when the roots are tidy, the formula always works, completing the square handles any case and gives vertex form, and graphing shows the roots as the points where the parabola crosses the axis.
Which method is best for solving quadratic equations?
The quadratic formula is the most dependable because it solves every quadratic, including ones with irrational or complex roots. Factoring is quicker when it works, so a good habit is to try factoring for a few seconds and fall back on the formula if no tidy factors appear.
Can every quadratic equation be solved by factoring?
No. Factoring only finds roots that are rational, so equations with irrational or complex roots, such as $2x^2 - 4x - 3 = 0$, need the formula or completing the square instead.
What does a negative discriminant mean?
It means the equation has no real roots. The parabola never touches the horizontal axis, and the two solutions are complex numbers rather than points on the number line.
What is the difference between solving a quadratic equation and simplifying a quadratic expression?
Solving finds the values of the variable that make an equation equal to zero, so it needs an equals sign and produces roots. Simplifying a quadratic expression only rewrites it in a neater form, such as factored form, without finding any specific value. A common slip is to "solve" an expression that has no equals sign, or to stop after factoring an equation without setting each factor to zero.
Which curricula teach solving quadratic equations?
Solving quadratic equations appears in India's NCERT Class 10 (Chapter 4, Quadratic Equations) and in the United States under the Common Core standard CCSS A-REI.4. It then recurs throughout later algebra and precalculus.
✍️ 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 →