Quadratic equations can look different, but the same decision process works for most of them. This guide explains how to choose between factoring, completing the square, the quadratic formula, and graphing, then shows each method step by step with integer, fractional, and complex solutions.
Overview
A quadratic equation is an equation that can be written in the form
ax2 + bx + c = 0, where a ≠ 0.
The highest exponent of the variable is 2. The values a, b, and c are usually called the coefficients. Solving the equation means finding every value of x that makes the equation true.
There is no single best method for every quadratic. Use this quick decision workflow:
- Put the equation in standard form. Move all terms to one side so the equation equals zero.
- Look for a common factor. Factor it out before choosing another method.
- Try factoring when the coefficients are manageable and the trinomial has recognizable factors.
- Use completing the square when you need vertex form, a derivation, or a form that makes the structure clear.
- Use the quadratic formula when factoring is difficult, especially with awkward coefficients or fractions.
- Use a graph to estimate solutions or confirm the number of real solutions, but keep exact algebraic work when an exact answer is required.
| Method | Best choice when | Typical result |
|---|---|---|
| Factoring | The quadratic has simple integer or rational factors. | Exact roots quickly |
| Completing the square | You need vertex form or want to expose a perfect square. | Exact roots and vertex information |
| Quadratic formula | The equation does not factor easily or has fractional coefficients. | Exact or simplified radical roots |
| Graphing | You need a visual estimate or want to check the number of real roots. | Approximate x-intercepts |
Before solving, check that the equation is genuinely quadratic. If the x2 term cancels, it may instead be a linear equation. For related equation-solving strategies, see this guide to linear equations with fractions, decimals, and parentheses.
How to estimate
Graphing is useful when you want to estimate solutions or understand the shape of a quadratic. Rewrite the equation as a function:
y = ax2 + bx + c.
The solutions are the x-values where the graph crosses or touches the x-axis, because points on that axis have y = 0. A graph can show whether there are two real solutions, one repeated real solution, or no real solutions. It should not replace exact algebra when a problem asks for simplified radicals or fractions.
You can also predict the number of real solutions with the discriminant:
D = b2 − 4ac.
- D > 0: two distinct real solutions.
- D = 0: one real solution repeated twice.
- D < 0: two complex conjugate solutions and no real x-intercepts.
The discriminant does not provide the complete solutions by itself, but it is an efficient check before or after using the quadratic formula. On a graphing calculator, enter the left side as a function and use the graph or zero/root feature to estimate each x-intercept. Menu names vary by calculator, so treat the displayed decimals as estimates and verify them algebraically when possible.
Inputs and assumptions
Accurate quadratic solutions depend on careful setup. Use these assumptions and checks before calculating:
- Standard form: Combine like terms and move everything to one side. Do not apply the quadratic formula until the equation equals zero.
- Coefficients: Identify a, b, and c, including negative signs and zero coefficients.
- Fractions: If fractions make the work difficult, multiply every term by the least common denominator. This creates an equivalent equation, provided the multiplier is not zero.
- Domain: Decide whether the problem allows complex numbers. If it asks for real solutions only, a negative discriminant means there are no real answers.
- Exact versus approximate form: Keep fractions and radicals in exact form unless the question requests decimals.
- Verification: Substitute each proposed solution into the original equation, not only a rearranged intermediate line.
The quadratic formula is
x = (−b ± √(b2 − 4ac)) / 2a.
The plus-or-minus symbol represents two calculations. Write them separately if the sign is easy to mishandle:
x1 = (−b + √D) / 2a and x2 = (−b − √D) / 2a.
Worked examples
Example 1: Factoring an integer quadratic
Solve x2 − 5x + 6 = 0.
Find two numbers whose product is 6 and whose sum is −5: −2 and −3.
x2 − 5x + 6 = (x − 2)(x − 3)
Apply the zero-product property:
x − 2 = 0 or x − 3 = 0
Therefore, x = 2 or x = 3.
Check: both 2 and 3 make the original expression equal to zero. Factoring is the most efficient method here because the roots are simple integers.
Example 2: Completing the square
Solve x2 + 6x + 1 = 0.
Move the constant to the other side:
x2 + 6x = −1
Take half of the coefficient of x, then square it. Half of 6 is 3, and 32 = 9. Add 9 to both sides:
x2 + 6x + 9 = 8
Rewrite the left side as a perfect square:
(x + 3)2 = 8
Take the square root of both sides, remembering both signs:
x + 3 = ±√8 = ±2√2
Thus, x = −3 ± 2√2. This method also reveals the vertex form of the related function: y = (x + 3)2 − 8.
Example 3: The quadratic formula with fractional solutions
Solve 3x2 + 2x − 1 = 0.
Here, a = 3, b = 2, and c = −1. First calculate the discriminant:
D = 22 − 4(3)(−1) = 4 + 12 = 16
Now substitute into the formula:
x = (−2 ± √16) / 6 = (−2 ± 4) / 6
Calculate both values:
x = 2/6 = 1/3 or x = −6/6 = −1.
The solutions are x = 1/3 and x = −1. Although this quadratic could also be factored, the formula provides a dependable process when factoring is not obvious.
Example 4: A negative discriminant and complex solutions
Solve x2 + 4x + 8 = 0.
The discriminant is
D = 42 − 4(1)(8) = 16 − 32 = −16.
Because the discriminant is negative, there are no real solutions. Using √(−16) = 4i, where i = √(−1):
x = (−4 ± 4i) / 2 = −2 ± 2i.
The two complex solutions are −2 + 2i and −2 − 2i. If your course is working only with real numbers, report that the equation has no real solution.
Common errors to check
- Forgetting to move all terms to one side before identifying a, b, and c.
- Using 2a only under the square root instead of under the entire numerator.
- Dropping the negative sign in −b.
- Taking only the positive square root and missing the second solution.
- Dividing by a variable expression that could equal zero without checking that case.
- Rounding too early and losing accuracy.
When to recalculate
Revisit your work whenever you change the equation, switch from exact to decimal form, or discover that a graph and an algebraic answer disagree. Recalculate immediately if the discriminant interpretation does not match the graph: a positive discriminant should produce two real x-intercepts, zero should produce one touching point, and a negative discriminant should produce none.
For homework or test preparation, use this final checklist:
- Rewrite the equation in standard form.
- Check for a common factor and decide whether factoring is practical.
- Identify a, b, and c carefully.
- Calculate the discriminant before interpreting the type of answer.
- Use the selected method and keep both plus-and-minus cases.
- Substitute each answer into the original equation.
- Round only at the end if a decimal approximation is required.
If a quadratic appears inside a system, a word problem, or a larger polynomial expression, the setup may be the hardest part. You can compare approaches in this quadratic equations step-by-step guide, review how to translate word problems into equations, or continue to polynomial equations beyond quadratics. Return to this workflow whenever you need to choose a method, interpret a discriminant, or check a quadratic equation solver's result.