How to Solve Quadratic Equations
Written by Awn · Published · 10 min read
Quick Answer
Here is how to solve quadratic equations. Move everything to one side so it equals zero. If it factors, set each factor to zero. If there is no x term, take square roots. Otherwise use the quadratic formula. Put each answer back into the original equation to check it.
What Is a Quadratic Equation?
A quadratic equation has as its highest power. Its standard form is , where . The values of that make it true are called roots, zeros or solutions. Its graph is a U-shaped curve called a parabola, and real roots are where the curve meets the -axis.
How Do You Choose a Method?
| What you see | Method |
|---|---|
| No term, like | Square roots |
| Small whole numbers | Factoring |
| and is even | Completing the square |
| Anything else | Quadratic formula |
| You want a picture | Graphing |
Not sure? Type the equation into the quadratic formula calculator and switch between methods.
How to Solve Quadratic Equations Step by Step
- Write it as .
- Divide out any number that goes into every term.
- Choose a method from the table.
- Solve, and expect up to two answers.
- Check each answer in the original equation.
Method 1: Factoring
This uses the zero product rule: if two things multiply to zero, at least one of them is zero.
Solve .
- Find two numbers that multiply to and add to 2. They are 5 and .
- Factor: .
- Set each factor to zero: or .
Method 2: Square Roots
Use this when there is no term.
Solve .
- Divide by 2: .
- Take square roots: or .
Method 3: Completing the Square
Solve .
- Move the 10: .
- Half of 8 is 4, and . Add it: .
- Take square roots: .
The full method is in how to complete the square.
Method 4: The Quadratic Formula
In words: x equals minus b, plus or minus the square root of b squared minus 4ac, all over 2a.
Solve . Here , and .
- .
- .
- Divide by 2: .
The number is the discriminant. Positive means two real roots, zero means one repeated root, and negative means two complex roots.
Method 5: Graphing
Draw and read where it meets the -axis. This shows how many real roots there are. It is only exact when the crossings land on neat numbers.
Putting an Equation in Standard Form
Most mistakes happen before any solving starts. Get the equation into the form first.
| The equation you get | What to do | Standard form |
|---|---|---|
| Move everything left | ||
| Multiply out, then move 10 | ||
| Expand, then move terms | ||
| Multiply by , then move |
Then read off the three numbers with their signs. In , they are , and . If a term is missing, its number is 0.
It isn't quadratic if the squared terms cancel. For example, is really just . That is linear, and it has one answer: .
When the Constant Is Missing
If is 0, take out . For , write . So or . Zero is a real answer, so don't leave it out.
What the Discriminant Tells You
The part under the root in the quadratic formula, , is called the discriminant. You can work it out before you solve anything.
| Value of | Solutions | Example |
|---|---|---|
| Positive | Two real | , where it is 1 |
| Zero | One repeated | , where it is 0 |
| Negative | Two complex | , where it is |
It also tells you whether factoring is worth trying. If the discriminant is a perfect square, such as 0, 1, 4, 9 or 49, then the quadratic factors with whole numbers or fractions. If it is not, go straight to the formula or complete the square.
For , the discriminant is . That is positive, so there are two real roots. It is not a perfect square, so they contain a root sign: .
How to Build an Equation From Its Solutions
You can work backward too. If the solutions are and , the equation is .
Say the solutions are 2 and .
- Write the factors: .
- Multiply out: .
There is a shortcut. The middle number is the opposite of the sum, and the last number is the product. Here the sum is and the product is . This shortcut is called Vieta's formulas. It's also a quick way to check your own answers.
How to Find the Highest or Lowest Point
The graph of has one turning point, called the vertex. It sits halfway between the two solutions, at .
For :
- The vertex is at .
- Put 2 back in: .
- So the vertex is .
The number in front is positive, so the graph opens up and is the lowest value. If it were negative, the graph would open down and the vertex would be the highest point. The solutions are 5 and , and 2 is exactly halfway between them.
Worked Examples
Example 1: Rearrange First
Solve .
- Move everything left: .
- Factor: .
- So or .
Example 2: A Leading Number
Solve .
- . Two numbers that multiply to and add to 1 are 4 and .
- Split and group: .
- So or .
Example 3: One Repeated Solution
Solve .
- Two numbers that multiply to 9 and add to are and .
- So .
- Both factors give the same answer: .
On a graph, the curve touches the -axis at 3 and turns back.
Example 4: A Word Problem
A ball is thrown up from the ground. Its height in feet after seconds is . When is it 48 feet high?
- Set the height equal to 48: .
- Move everything to one side: .
- Divide by 16: .
- Factor: , so or .
Both answers make sense. The ball passes 48 feet on the way up after 1 second and on the way down after 3 seconds.
Example 5: Fractions in the Equation
Solve .
- Multiply every term by : .
- Move everything left: .
- Factor: .
- So or . Neither makes the bottom zero, so both count.
Example 6: A Quadratic in Disguise
Solve .
- One power is double the other, so let : .
- Factor: , so or .
- Go back to : or .
- So , , or .
Don't stop at . The question asked for .
Example 7: Using the Formula With a Minus Sign
Solve .
- Here , and .
- The discriminant is . It is not a perfect square, so factoring won't work.
- Put it in: .
As decimals, that is about 2.78 and 0.72. Keep the exact form unless the question asks you to round.
Example 8: An Area Problem
A picture is 8 inches by 10 inches. A frame of equal width goes all the way around it. Together they cover 120 square inches. How wide is the frame?
- Let be the width of the frame. It adds on both sides, so the full size is by .
- Write the area: .
- Expand: , so .
- Divide by 4: , which factors as .
- So or . A width can't be negative, so the frame is 1 inch wide.
How to Check Your Solutions
Put them back in. This is the surest test. For Example 2 and : .
Use the sum and product. For , the two roots add to and multiply to . In Example 2, the sum is and the product is . Those match and .
Think about the story. In a word problem, throw out answers that can't happen, such as a negative length. Do this only at the end, after both roots have been found.
A Plan You Can Use on a Test
- Write the equation so that one side is zero. Put the squared term first and make it positive.
- Take out a common factor if there is one. Smaller numbers are easier to work with.
- Look at the shape. No middle term means square roots. No constant means take out .
- Otherwise, spend a short time looking for factors.
- If you find none, use the formula. Write down all three numbers with their signs before you start.
- Check both answers, either by putting them back in or by their sum and product.
- Reread the question. It may ask for only the positive answer, a rounded answer, or the sum of the two.
The order matters. Students who start with the formula often copy a sign wrong, and students who skip the common factor end up with numbers that are harder than they need to be.
Does the Method Change the Answer?
No. All the methods of solving quadratic equations give the same roots. Take as an example:
- Factoring: gives and 3.
- Completing the square: , so , which gives 3 and .
- Formula: , which gives 3 and .
What changes is the amount of work and the chance of a slip. When you are solving quadratic equations on a test, factoring is worth about a minute of looking. If nothing turns up, use the formula. It never fails.
Common Mistakes
Factoring Before It Equals Zero
From you can't say . The zero product rule only works with zero.
Dividing by x
In , dividing by loses the root 0. Move everything to one side and factor: .
Forgetting the Second Root
From , the answers are 5 and . Write as soon as you take the square root.
Losing a Sign in the Formula
When is negative, is positive. For , the formula starts with . Putting parentheses around each number helps: .
Dividing Only Part of the Formula
In , the whole top is divided by . Dividing only the root part is one of the most common slips. Draw the fraction bar all the way across.
Canceling a Solution by Accident
If both sides share a factor such as , don't cancel it. You would lose the solution . Move everything to one side and factor it out instead.
Practice Problems
- Solve .
- Solve .
- Solve .
- Solve .
- Solve .
Show the answers
- or
- or
- or
- or
- or
Check Your Answer With the Quadratic Solver
Use the quadratic equation calculator to see each method side by side. If factoring is the part that slows you down, use the factoring calculator. A longer textbook version is Quadratic Equations in OpenStax College Algebra.
FAQ
What Is the Easiest Way to Solve a Quadratic Equation?
Factoring, when the numbers are small. When it does not factor quickly, the quadratic formula is the safest choice.
Does Every Quadratic Have Two Solutions?
Counting repeats and complex roots, yes. In real numbers there can be two, one or none.
How Do You Solve a Quadratic Without the Formula?
Factor it, take square roots, or complete the square. Completing the square works every time.
What Is the Zero Product Rule?
If , then or . It is the reason factoring solves equations.
How Do You Know If a Quadratic Factors?
Work out . If it is a perfect square, such as 49, and the coefficients are whole numbers, then it factors with whole numbers.
How Do You Solve a Quadratic Equation With Fractions?
Multiply every term by the common bottom number first. Then solve the new equation as usual, and check that no answer makes an original bottom number zero.
Why Do Some Quadratics Have No Real Solution?
The graph never reaches the -axis, so no real number makes it zero. In the formula, this shows up as a negative number under the root.
What Are Quadratic Equations Used For?
They describe thrown objects, areas, profit that rises and then falls, and the shape of many bridges and dishes. Any time one unknown is multiplied by itself, a quadratic appears.
Next step: take three problems and only choose the method, without solving. Solving quadratics gets faster once you know how to solve quadratic equations by looking at their shape.
Try the Calculator
Related Pages
- How to Complete the SquareLearn how to complete the square in five steps, with diagrams and worked examples. Solve quadratic equations and find vertex form, then try practice.
- How to Factor PolynomialsLearn how to factor polynomials using the GCF, grouping, trinomials and special patterns. Factoring polynomials in clear steps, with diagrams and practice.