Algebra

How to solve quadratic equations: choose the right method

Put the equation in standard form, read its structure, and choose factoring, square roots, completing the square, or the quadratic formula with confidence.

University student modelling a parabolic curve on a blank coordinate grid in a glass campus atrium

A quadratic equation can look like a completely different problem after one line of algebra. One worksheet asks you to factor x² + 5x + 6, another isolates (x − 4)², and a third presents coefficients that refuse to split into friendly integers. The difficult part is often not the arithmetic. It is deciding which method fits the structure without losing a sign, a solution, or the meaning of the equals sign.

This guide explains how to solve quadratic equations as a decision process: first put the equation in a form you can read, then choose among factoring, the square root property, completing the square, and the quadratic formula. You will also use the discriminant to predict the answer type, connect roots to a graph, and check every candidate in the original equation. Work over the real numbers unless your course has introduced complex numbers.

1. Recognize a quadratic equation and write standard form

A one variable quadratic equation can be written as ax² + bx + c = 0, where a is not zero. The highest power of x is two. Terms may arrive on both sides, inside parentheses, or in a different order, so the form may be hidden. Expand only when necessary, collect like terms, and move everything to one side before choosing a solving method.

For example, x(x + 3) = 10 becomes x² + 3x − 10 = 0. The coefficients are a = 1, b = 3, and c = −10. Writing them with their signs prevents the most common formula error. If all terms share a nonzero common factor, divide it out first. A cleaner standard form makes patterns easier to see and reduces later arithmetic.

  • Keep the right side equal to zero
  • Write powers in descending order
  • Record a, b, and c with their signs
  • Confirm that a is not zero
Hands arranging blank coefficient tiles into a clear standard form layout on a dark study table

2. Choose the method from the equation's structure

Do not automatically reach for the longest formula. First look for structure. If the equation already equals zero and the trinomial factors cleanly, factoring is usually quickest. If one squared expression is isolated, use square roots. If the equation is close to a perfect square or you need vertex form, complete the square. The quadratic formula works for every genuine quadratic equation and is especially useful when factors are not obvious.

This choice is about clarity rather than mathematical superiority. Two correct methods must lead to the same solution set, but one may require far fewer opportunities for error. OpenStax summarizes these four standard methods and emphasizes selecting the simplest appropriate route. Before calculating, write the method name beside the problem and one reason it fits. That tiny decision turns a memorized procedure into deliberate algebra.

  • Product equals zero: try factoring
  • A squared expression is isolated: take square roots
  • Nearly a perfect square: complete the square
  • No clear pattern: use the quadratic formula

3. Solve by factoring when the product is zero

Factoring uses the zero product property: if two factors multiply to zero, at least one factor must be zero. For x² + 5x + 6 = 0, find two numbers whose product is 6 and whose sum is 5. They are 2 and 3, so (x + 2)(x + 3) = 0. Set each factor equal to zero to obtain x = −2 or x = −3.

The zero on one side is essential. You cannot set factors equal to zero in an equation such as (x − 1)(x + 4) = 12. First bring all terms to one side and refactor if possible. For a leading coefficient other than one, use grouping, an area model, or another class approved method. Factoring is efficient only when you can verify the expanded product returns the original trinomial.

Factoring check: multiply the factors before solving them. The middle and constant terms must match the original equation.
Two university students exploring factor pairs with unmarked area tiles in a sunny campus courtyard

4. Use square roots when a square stands alone

When the equation has the form (x − h)² = k, square roots give the shortest route. From (x − 4)² = 9, take both square roots: x − 4 = ±3. Therefore x = 7 or x = 1. The plus or minus symbol is not optional. Squaring both 3 and −3 produces 9, so omitting one sign loses a valid solution.

If k is zero, the two branches meet and there is one repeated real solution. If k is negative, there is no real solution because a real square cannot be negative. Courses that include complex numbers handle that case differently. Keep the square intact until it is isolated; taking a square root across a sum such as x² + 4 is not a valid distribution rule.

  • Isolate the complete squared expression
  • Write both positive and negative square roots
  • Solve each branch
  • Check both values in the original equation

5. Complete the square to build a perfect square

Completing the square rewrites a quadratic as one squared expression. For x² + 6x − 7 = 0, move the constant: x² + 6x = 7. Half the x coefficient is 3 and its square is 9. Add 9 to both sides to preserve equality, giving x² + 6x + 9 = 16. Factor the left side as (x + 3)², then take square roots to get x = 1 or x = −7.

The pattern works because x² + bx + (b/2)² is always (x + b/2)². If a is not one, divide the entire equation by a before using the pattern. Do not add the new term to only one side. Khan Academy's worked explanation shows why the method produces a solvable square rather than a magic extra number. It is also the bridge from standard form to vertex form.

Student building a complete square with unmarked algebra tiles at a bright workshop table

6. Apply the quadratic formula carefully

For ax² + bx + c = 0, the quadratic formula is x = (−b ± √(b² − 4ac)) / (2a). It works whether or not the trinomial factors neatly. For 2x² + 3x − 2 = 0, use a = 2, b = 3, and c = −2. The expression under the root is 9 − 4·2·(−2) = 25, so x = (−3 ± 5) / 4. The solutions are 1/2 and −2.

Use parentheses around every substituted negative number and around the entire numerator. Calculate the discriminant first, simplify the square root, and only then separate the plus and minus cases. A frequent mistake is dividing only the radical by 2a. The denominator applies to everything in the numerator. Keep one exact form before converting to decimals unless the task specifically asks for an approximation.

Formula setup: copy a, b, and c on a separate line, then substitute with parentheses before doing arithmetic.

7. Read the discriminant before finishing the calculation

The discriminant is D = b² − 4ac, the expression under the square root. Its sign predicts the number of real solutions. If D is positive, there are two distinct real roots. If D equals zero, there is one repeated real root. If D is negative, there are no real roots, although a course covering complex numbers can continue with imaginary values.

The discriminant is also an error detector. If a sketch clearly crosses the x axis twice but your discriminant is negative, recheck the coefficients and signs. When D is a perfect square, the real solutions are rational; otherwise they usually contain a radical. This preview helps you notice when a tidy integer answer is suspicious rather than automatically desirable.

University student comparing an unlabeled parabola sketch with a calculator in an evening transit lounge

8. Connect solutions to the graph without confusing equation and function

The solutions of ax² + bx + c = 0 are the x coordinates where the graph y = ax² + bx + c meets the x axis. Two crossings correspond to two real roots, one tangent touch to a repeated root, and no crossing to no real roots. This graph view explains the discriminant rather than replacing algebra with a picture.

Use a graph to estimate and check, not to hide exact work. A narrow viewing window can miss an intersection, and a plotted decimal may conceal a radical. The symmetry line x = −b/(2a) passes through the vertex, so the two roots, when they exist, lie symmetrically around it. Their midpoint should match that axis, providing another quick consistency check.

9. Find the first wrong line, not just the wrong answer

Quadratic errors tend to cluster in predictable places: failing to set the equation equal to zero, forgetting the second factor, dropping ± after a square root, squaring b incorrectly, mishandling a negative c, or dividing only part of the quadratic formula. Another common error is cancelling an x factor and silently losing the solution x = 0.

Compare each line with the one before it and name the operation that preserves equivalence. If you cannot name it, rewrite that transition. Then substitute every candidate into the original equation, not only into a later simplified form. A candidate that creates equal values on both sides is a solution; one that does not is rejected, regardless of how polished the calculation looks.

  • Check the original signs and coefficients
  • Keep both branches created by ±
  • Never divide by an expression that might be zero without checking
  • Substitute each candidate separately

10. Use Lirno for a targeted hint or line check

If you are stuck, capture the complete equation and your attempted lines in Lirno, then verify that exponents, negative signs, radicals, fractions, and parentheses were read correctly. Choose a hint that asks which method fits and why, or a check that identifies the earliest non equivalent line. Make the repair yourself before requesting another step.

AI can misread notation or reason incorrectly, so compare any suggestion with your notes, textbook, and the substitution check. Follow your teacher's rules for graded work. Lirno does not guarantee correctness, grades, mastery, or permission to use AI. Its useful role is to keep your attempt active while narrowing the exact point of confusion, not to replace the reasoning you must learn.

11. How to solve quadratic equations without a method label

A useful practice set mixes structures instead of announcing the method above every question. Include one factorable trinomial, one isolated square, one equation suited to completing the square, and one awkward set of coefficients for the quadratic formula. Before solving, classify each problem and predict whether you expect zero, one, or two real roots.

Afterward, create a short error card for the step you missed, not the whole worked solution. On the front, write a cue such as ‘When can factors equal zero?’ On the back, state the condition and one example. Revisit the set without notes and explain why your method fits. You understand how to solve quadratic equations when you can choose a route, preserve both solutions, and verify the result independently.

  • Put every equation in a readable form
  • Choose a method before calculating
  • Predict the type of roots
  • Check in the original equation

Good to know

Questions about this guide

How do I solve quadratic equations?

Write the equation as ax² + bx + c = 0, then choose factoring, square roots, completing the square, or the quadratic formula from its structure. Keep every possible branch and substitute each result into the original equation.

Which method should I use for a quadratic equation?

Factor when the product equals zero and factors are clear, use square roots for an isolated square, complete the square near a perfect square, and use the quadratic formula when no simpler pattern is reliable.

What does the discriminant tell me?

For real numbers, b² − 4ac predicts two distinct solutions when positive, one repeated solution when zero, and no real solutions when negative. It does not replace checking the arithmetic.

Why do quadratic equations sometimes have two answers?

A parabola can cross the x axis at two points, and both a positive and negative value can produce the same square. The ± sign and zero product property preserve those two possible branches.

How can I check quadratic solutions?

Substitute each candidate into the original equation and calculate both sides independently. Also compare the number and rough position of real roots with the discriminant and a sensible graph sketch.