Quadratic Equation Calculator Step by Step

Quadratic Equation Calculator Step by Step

Enter the coefficients a, b, and c to solve ax² + bx + c = 0. This solver shows every step: it identifies a, b, c, computes the discriminant, substitutes into the quadratic formula, and returns exact and decimal roots plus the vertex, axis of symmetry, and factored form.

🎯Real Equation Presets

📝Coefficient Inputs

1x² − 5x + 6 = 0

Must not be 0, or the equation is linear, not quadratic.

May be positive, negative, or zero.

The value with no x attached.

Root x₁ 3 first solution
Root x₂ 2 second solution
Discriminant Δ 1 b² − 4ac
Vertex (2.5, −0.25) turning point

Step-by-Step Solution

🧮Equation Summary

Two realNature of roots
x = 2.5Axis of symmetry
5Sum of roots (−b/a)
6Product of roots (c/a)

🔗Factored Form

Factoreda(x − x₁)(x − x₂) = (x − 3)(x − 2)
Vertex forma(x − h)² + k = (x − 2.5)² − 0.25

📊Discriminant Sign to Root Nature

Discriminant ΔNature of RootsRoot FormExample Equation
Δ > 0, perfect squareTwo distinct rational rootsTwo fractions or integersx² − 5x + 6
Δ > 0, not a squareTwo distinct irrational rootsp ± q√m formx² − 2
Δ = 0One repeated real rootx = −b / 2ax² + 2x + 1
Δ < 0Two complex conjugate rootsa ± bi formx² + x + 1
Δ = b²c = 0, one root is zerox = 0 and x = −b/a−16t² + 64t

Quadratic Formula Parts

PartExpressionMeaningNote
Formulax = (−b ± √Δ) / 2aBoth roots at once± gives x₁ and x₂
DiscriminantΔ = b² − 4acUnder the square rootSign decides root type
−bOpposite of bCenters roots on axisSplits into ± halves
2aTwice the lead aCommon denominatorNever zero here
√ΔSquare root of ΔHalf-spread of rootsImaginary when Δ < 0

📐Vertex and Axis Formulas

FeatureFormulaFor 1x²−5x+6Description
Axis of symmetryx = −b / 2ax = 2.5Vertical mirror line
Vertex xh = −b / 2a2.5Same as the axis
Vertex yk = f(h)−0.25Min if a>0, max if a<0
Sum of rootsx₁ + x₂ = −b / a5Vieta relationship
Product of rootsx₁ × x₂ = c / a6Vieta relationship

🗂Worked Example Comparison Grid

Equationa, b, cDiscriminant ΔRootsNature
x² − 5x + 61, −5, 613 and 2Two rational
x² − 41, 0, −4162 and −2Two rational
x² + 2x + 11, 2, 10−1 (repeated)One real
2x² + 3x − 52, 3, −5491 and −2.5Two rational
x² + x + 11, 1, 1−3−0.5 ± 0.866iTwo complex
x² − x − 11, −1, −151.618 and −0.618Two irrational
−16t² + 64t−16, 64, 040960 and 4Two rational
x² − 21, 0, −28±1.414Two irrational
3x² − 12x + 93, −12, 9363 and 1Two rational

🔄Sum and Product of Roots (Vieta)

EquationSum −b/aProduct c/aQuick Check
x² − 5x + 6563 + 2 = 5, 3 × 2 = 6
2x² + 3x − 5−1.5−2.51 + (−2.5) = −1.5
x² + x + 1−11Conjugates sum to −1
x² − x − 11−1Golden ratio pair
3x² − 12x + 9433 + 1 = 4, 3 × 1 = 3

📚How the Steps Work

1. Identify a, b, cMatch the equation to ax² + bx + c = 0 and read off the three coefficients, keeping the signs.
2. DiscriminantCompute Δ = b² − 4ac. This single number tells you how many roots and what type before you finish.
3. Interpret ΔΔ > 0 gives two real roots, Δ = 0 gives one repeated root, and Δ < 0 gives two complex conjugate roots.
4. SubstitutePlug into x = (−b ± √Δ) / 2a. Keep the ± so you capture both solutions.
5. SimplifyReduce the radical to p ± q√m when the root is irrational, or split into a ± bi when Δ is negative.
6. ReportState x₁ and x₂, then add the vertex, axis of symmetry, and factored form for the full picture.

💡Solving Strategy Tips

Factoring vs formula: If the discriminant is a perfect square and a, b, c are whole numbers, the roots are rational and factoring is often faster. When the discriminant is not a perfect square or is negative, reach straight for the quadratic formula, which always works.
Completing the square note: The quadratic formula is just completing the square on ax² + bx + c = 0 once and for all. That is why the vertex form a(x − h)² + k shares the same h = −b/2a, and the √Δ term measures how far the roots sit from the axis.

A parabola’s intersection with an axis is a moment shown by quadratic equations. A satellite dish curving as deep as it should, costs matching profits, or a projectile reaching terminal velocity are all moments of rise and fall described precisly by those equations. When you set out to solve such an equation by hand, you’re juggling fractions, square roots, and signs simultaneously. One wrong move and you’ll turn a plus sign into a minus sign ruining your answer. This quadratic equation calculator take all that away from you. Type in three coefficients, and it lays out each step of the solution. You identify terms, calculate the discriminant, and simplify the outcome until you reach final roots. What was once math stress becomes a clear path forward.

Here’s where the trusty ol’ quadratic formula come in. It shows that x = (-b ± √discriminant) / 2a. Notice the +/- sign which includes both answers within the same equation. When you add square root you have one solution. When you subtract it, you have another. The beauty of the formula is that it will spit out an answer regardless of whether the roots are complex, irrational or even whole number based. As long as you plug your numbers into this equation, you’re always going to end up at the right place.

Why Use a Quadratic Equation Calculator?

This is core of this tool for each of these answers. It gives you the answer, the axis of symmetry, and vertex as well. Before calculating the root, there’s a number that will tell you what to expect. It’s called the discriminant and is written as delta equals b squared minus four ac. That piece are inside the square root sign in the equation. The sign on the discriminant tells you something about the roots. If delta is larger then zero, then parabola intersects the x-axis twice: two distinct real roots. If delta is equal to zero, the square root dissapears from the equation. Because the parabola only barely grazes the axis at its vertex, the two roots joins up into one repeated real root. If delta is smaller than zero, the square root of a negative number yields an imaginary number. You have no real roots, but a pair of complex conjugate roots. The calculator spells out in English why your answer appears as it does.

Not all quadratics gives us nice solutions. In those situations, we care about the step-by-step approach. Consider the equation x squared minus two equals zero for example. Its discriminant is eight, which isn’t a perfect square so its roots will be irrational numbers. A rounded off decimal representation will lose some information. Here, it displays the decimal approximation next to exact and simplified radical representation. By pulling out the perfect-square factors from under the radical, it reduces the number inside to its simplest form. If the discriminant of your equation is a negative number, such as with x squared plus x plus one equals zero, the tool knows there are no real roots. It then goes into complex mode, showing results as a real part plus or minus an imaginary part. The root display selector lets you view just decimals, just exact radicals, or show them both at once. Having this level of control allows you to quickly get a sense of what’s going on without getting caught up in the notation.

A parabola has more than just roots. It also have a vertex, which is where it turns, located where x equals negative b over two a. Plug that back into the equation for its corresponding y-value. The axis of symmetry has that exact same value of x. It’s the vertical mirror line that divides the graph into two equal pieces. A positive value of a (the leading coefficient) make the vertex a minimum. A negative value produce a max. When the roots are rational, the calculator also displays the factored form, allowing you to reconstruct the starting equation and verify your results. Two quick sanity checks comes from Vieta’s formulas. The sum of the roots will always be negative b over a. And their product will always be c over a. These relationships allow you to quickly confirm the solution in seconds without repeating all the algebra.

If the discriminant is a perfect square, and all coefficients are whole numbers, you might want to factor it in, too. Otherwise, the quadratic formula is usually faster if roots aren’t simple whole numbers. But with difficult numbers, or a negative (or not a perfect square) discriminant, the quadratic formula is the best choice. It never fails; it requires no guess work and it’s always correct. The quadratic formula comes from taking the general equation and completing the square. That’s also why that x-coordinate for the vertex of -b/2a shows up again in the vertex form. The square-root part give the distance between the axis of symmetry and those roots.

Seconds and you’re off and running. Tap any of the preset keys or enter your own a, b and c values to watch what happens with each kind of root. Choose decimal or exact roots, and select how many decimal places are shown. As you enter things in, it all updates on the fly. A button to print gives you a nice, clean version for lesson notes or homework. For more math tools, explore full library at JSCalc-Blog.com. It can help convert those boring calculations by hand into something easy to see, follow along with and check your work.

Quadratic Equation Calculator Step by Step