How to Solve Quadratic Equations with Factoring and Formula
Learn when to factor, when to use the quadratic formula, how the discriminant predicts the roots, and how the graph makes the algebra easier to see.
The equation that describes a thrown ball, a business profit, and a bridge arch
There’s a moment in every algebra course where the equations stop being straight lines and start curving. That’s where quadratic equations live, and once you see them, you can’t unsee them. The arc of a football through the air, the shape of a satellite dish, the way revenue rises and then falls as you raise prices too high — all of these follow the same mathematical curve, described by the same type of equation.
A quadratic equation is any equation that can be written in standard form: ax² + bx + c = 0, where a, b, and c are numbers and a isn’t zero. That little squared term is what makes the graph curve instead of staying straight. And “solving” the equation means finding the values of x that make the whole expression equal zero — the points where the curve crosses the horizontal axis.
If that sounds abstract, it won’t for long. By the end of this guide, you’ll have three different methods for solving quadratics, you’ll understand what the solutions mean visually, and you’ll have calculators to verify every step. Let’s start with the most intuitive method.
When factoring is the fastest way to solve a quadratic
Factoring is the quickest way to solve a quadratic, when it works. The idea is to rewrite the expression as a product of two simpler expressions, then use the zero product property: if two things multiplied together equal zero, at least one of them must be zero.
Take the equation x² + 5x + 6 = 0. You need two numbers that multiply to give 6 (the constant term) and add to give 5 (the coefficient of x). Those numbers are 2 and 3. So the equation factors as (x + 2)(x + 3) = 0, which means either x + 2 = 0 or x + 3 = 0. The solutions are x = -2 and x = -3.
Here’s how to approach factoring systematically:
- Write the equation in standard form (everything on one side, zero on the other)
- Look for two numbers that multiply to give a × c and add to give b
- Split the middle term using those two numbers
- Factor by grouping
- Set each factor equal to zero and solve
The beauty of factoring is its speed — once you spot the pattern, you can solve an equation in seconds. The limitation is that not every quadratic factors neatly with whole numbers. When the numbers get messy, you need a method that always works. Enter the quadratic formula.
This is where a lot of students get stuck, so let me say the quiet part out loud: if the numbers do not reveal themselves quickly, that does not mean you are “bad at factoring”. It usually means the equation is not a good candidate for factoring in the first place. Good algebra is not about forcing one method onto every problem. It is about recognising the quickest honest route.
How to use the quadratic formula when factoring does not work
This is the formula worth memorising if you memorise nothing else in algebra:
x = (-b ± √(b² - 4ac)) / 2a
It looks intimidating, but it’s really just a recipe. Identify your a, b, and c values from the standard form, plug them in, and calculate. The ± symbol means you’ll get two answers — one using the plus, one using the minus — which makes sense because a parabola can cross the x-axis in two places.
Let’s solve 2x² - 7x + 3 = 0. Here, a = 2, b = -7, and c = 3.
- b² - 4ac = (-7)² - 4(2)(3) = 49 - 24 = 25
- √25 = 5
- x = (7 ± 5) / 4
- x = 12/4 = 3 or x = 2/4 = 0.5
So x = 3 and x = 0.5. You can verify by substituting back: 2(3)² - 7(3) + 3 = 18 - 21 + 3 = 0. It checks out.
Use the Quadratic Formula Calculator to solve any quadratic equation instantly. Enter your a, b, and c coefficients and it handles the arithmetic:
Try the example above first — enter a = 2, b = -7, c = 3 — and confirm you get the same answers. Then experiment with your own equations. Pay attention to what happens when the solutions aren’t nice whole numbers. That’s exactly where the formula earns its keep — it handles irrational and complex roots just as easily as integer ones.
The calculator is most useful when you slow down enough to match each output to the algebra you just did by hand. Which number was a? Which sign did you miss when copying b? Did the radical simplify? That habit matters because most quadratic-formula mistakes are not conceptual. They are bookkeeping mistakes wearing a fake moustache.
How the discriminant tells you what kind of roots to expect
Here’s something elegant. That expression under the square root in the quadratic formula — b² - 4ac — is called the discriminant, and it tells you everything you need to know about the solutions before you finish the calculation.
- If b² - 4ac > 0: two distinct real solutions. The parabola crosses the x-axis twice.
- If b² - 4ac = 0: exactly one real solution (a repeated root). The parabola just touches the x-axis at its vertex.
- If b² - 4ac < 0: no real solutions. The parabola doesn’t cross the x-axis at all — it floats entirely above or below it. The solutions are complex numbers.
This is one of my favourite things in mathematics. A single number — positive, zero, or negative — completely determines the nature of the solutions. There’s a quiet beauty in that.
For the equation 2x² - 7x + 3 = 0, we already calculated the discriminant as 25. It’s positive, so we expected two real solutions, and that’s exactly what we found. Now try x² + 2x + 5 = 0: the discriminant is 4 - 20 = -16. Negative. No real solutions — the parabola sits entirely above the x-axis.
Use the Discriminant Calculator to quickly classify any quadratic:
Quadratic equation
Enter coefficients for ax² + bx + c = 0
Discriminant
Δ = 1
x² − 3x + 2 = 0
- Discriminant (b² − 4ac)
- 1
- Root Nature
- Two distinct real roots
- Root x₁
- 2
- Root x₂
- 1
- Vertex
- (1.5, -0.25)
Interpretation
The discriminant is positive (1), so the quadratic equation has two distinct real roots. The parabola crosses the x-axis at two points. The roots are x = 2 and x = 1.
This is especially useful during exams. Before committing to the full quadratic formula, check the discriminant first. If it’s negative and the question asks for real solutions, you can immediately write “no real solutions” and move on. If it’s a perfect square, you know the roots will be rational — and factoring might be the faster route.
That last point is a lovely shortcut. A positive discriminant does not guarantee easy factoring, but a perfect-square discriminant is often your hint that the arithmetic may stay friendly. Priya-the-tutor likes these little tells because they turn algebra from a foggy procedure into a series of decisions you can actually justify.
Why completing the square still matters
Factoring is fast and the quadratic formula is universal, but completing the square is the method that builds the deepest understanding. It’s also how the quadratic formula itself is derived — so learning it means understanding why the formula works, not just how.
The idea is to reshape the equation so that one side becomes a perfect square. Take x² + 6x + 2 = 0.
- Move the constant to the other side: x² + 6x = -2
- Take half the coefficient of x (that’s 3), square it (that’s 9), and add it to both sides: x² + 6x + 9 = 7
- The left side is now a perfect square: (x + 3)² = 7
- Take the square root of both sides: x + 3 = ±√7
- Solve for x: x = -3 ± √7
That gives approximately x = -0.354 and x = -5.646. Plug those into the Quadratic Formula Calculator above (a = 1, b = 6, c = 2) to verify.
Completing the square also reveals the vertex of the parabola directly. In our example, (x + 3)² = 7 tells us the vertex is at x = -3. That’s invaluable when you need to sketch the graph or find the maximum or minimum value of a quadratic expression.
How quadratic roots connect to graphs, symmetry, and slope
Quadratic equations don’t exist in isolation. Their graphs — parabolas — interact with straight lines constantly. Finding where a line intersects a parabola is itself a quadratic problem: set the two equations equal and solve the resulting quadratic.
And the slope of a tangent line to a parabola at any given point? That’s the very foundation of calculus. If you go on to study derivatives, you’ll find that the slope of y = ax² + bx + c at any point x is given by 2ax + b — a straight line. The connection between curves and their instantaneous rates of change runs through quadratic equations.
Even at the algebra level, understanding slope helps you interpret what quadratic solutions mean geometrically. The Slope Calculator can help you explore how two points on a curve determine a line between them:
Point 1
Point 2
Undefined
Slope (m)
N/A
Y-intercept (b)
90°
Angle
0
Distance
x = 0
Line equation
Try calculating the slope between the two x-intercepts of a quadratic you’ve solved. For 2x² - 7x + 3 = 0, the roots are (0.5, 0) and (3, 0). The slope between them is zero — which makes geometric sense, because two points at the same height form a horizontal line. That does not mean the parabola itself has zero slope everywhere between them. It means the secant line joining those two intercepts is horizontal.
That distinction is worth noticing. A parabola is symmetrical around a vertical line called the axis of symmetry, and the vertex sits halfway between the roots when two real roots exist. Using the slope calculator on pairs of points to the left and right of that midpoint is a neat way to see how the graph rises, flattens, and then falls. It is a small bridge from school algebra to the later idea of rate of change.
Real-world problems that are secretly quadratic
Once you can spot the ax² + bx + c pattern, you’ll see quadratics everywhere:
- Projectile motion. Throw a ball upward at 20 metres per second from a height of 1.5 metres. Its height at time t is h = -4.9t² + 20t + 1.5. Setting h = 0 and solving tells you when it hits the ground. The discriminant tells you whether it ever reaches a particular height.
- Optimising area. You have 40 metres of fencing and want to enclose the largest possible rectangular garden. If one side is x, the other is (20 - x), and the area is A = x(20 - x) = -x² + 20x. The vertex of this parabola gives the maximum area: a perfect 10 × 10 square, enclosing 100 square metres.
- Revenue and pricing. If you sell widgets at price p, and demand drops linearly as price rises, revenue might follow R = -2p² + 100p. The vertex tells you the price that maximises revenue.
- Braking distance. A car’s stopping distance often follows a quadratic relationship with speed: d = 0.05v² + 0.5v. Doubling your speed more than quadruples your stopping distance, which is why speed limits exist.
In each case, the quadratic equation isn’t just abstract algebra — it’s the mathematical description of something happening in the physical world.
Which quadratic method should you choose first?
With three methods available, how do you decide which to use? Here’s a practical guide:
- Try factoring first if the coefficients are small integers and the equation looks like it might factor cleanly. It’s the fastest method when it works.
- Use the quadratic formula when factoring isn’t obvious, when the coefficients are large or messy, or when you need exact answers including irrational roots.
- Complete the square when you need the vertex form of the equation, when you’re deriving a general result, or when a problem specifically asks for it.
- Check the discriminant before committing to any method. It takes five seconds and tells you whether to expect two solutions, one, or none.
And in every case, verify your answers by substituting them back into the original equation. If ax² + bx + c doesn’t equal zero when you plug in your solution, something went wrong along the way.
If you want a practical order of attack, here is the one I teach:
- Put the equation in standard form.
- Check whether factoring looks plausible.
- Check the discriminant so you know what kind of answers to expect.
- Use the quadratic formula if factoring is awkward or impossible.
- Complete the square when you need the vertex form or a deeper explanation.
That sequence keeps you from wasting time and gives you a built-in sense check at every step.
The ‘aha’ moment with quadratic equations
Here’s what I find beautiful about quadratic equations: they’re the simplest example of a curve, and yet they model an extraordinary range of real phenomena. Learning to solve them isn’t just about passing an exam — it’s about gaining a tool that connects algebra to geometry, physics, economics, and engineering.
Every student I’ve worked with has had a moment where the quadratic formula stops being a string of letters and starts being a key that unlocks problems. Maybe for you it was the discriminant — the idea that a single number predicts the nature of all solutions. Maybe it was completing the square and seeing the vertex appear. Or maybe it was plugging numbers into the calculator above and watching the solutions materialise.
Whatever that moment was, hold onto it. That’s the feeling of mathematics making sense, and it only gets better from here.
And if you are still in the stage where it does not feel elegant yet, that is fine too. Most students do not fall in love with quadratics the first time they meet them. The real win is noticing that what looked like three separate skills — factoring, formula work, and graph interpretation — are really the same idea seen from different angles. Once that clicks, the whole topic gets dramatically less mysterious.
Calculators used in this article
Math / Algebra / Functions
Quadratic Formula Calculator
Solve quadratic equations, find the discriminant, and calculate real or complex roots from coefficients a, b, and c.
Math / Algebra / Functions
Discriminant Calculator
Compute the discriminant of a quadratic equation to determine the nature and values of its roots.
Math / Algebra / Functions
Slope Calculator
Find the slope, y-intercept, angle, distance, and line equation from any two coordinate points on a graph.