Learn · Algebra 1

Solve quadratic equations

Solve quadratic equations by square roots, factoring, completing the square and the quadratic formula, and tell how many real solutions there are.

Lesson 1 of 4About 30 minutesMA.912.AR.3.1

Written with AI assistance. No teacher has reviewed these lessons and questions yet.

01 · Learn the idea

What it means to solve a quadratic equation

A quadratic equation in one variable has an x² term as its highest power. Its standard form is ax² + bx + c = 0, where a is not 0. A solution is a value of x that makes the equation true.

Take x² = 9. Two numbers have a square of 9: 3 and −3, because 3² = 9 and (−3)² = 9. So the equation has two solutions, x = 3 and x = −3. People often write this as x = ±3, read "plus or minus 3".

A quadratic equation can have two real solutions, one real solution, or no real solutions. You will see all three cases below. There are four methods to learn, and each one fits some equations better than others.

02 · Build understanding

Worked example: square roots

Use square roots when the equation has an x² term and no x term. Solve 3x² − 48 = 0.

Step 1: Get x² alone. Add 48 to both sides to get 3x² = 48, then divide by 3 to get x² = 16.

Step 2: Take the square root of both sides, and keep both signs. x = 4 or x = −4.

Step 3: Check both in the original equation. 3(4)² − 48 = 48 − 48 = 0, and 3(−4)² − 48 = 48 − 48 = 0.

03 · Build understanding

Worked example: factoring

Use factoring when the quadratic breaks into two binomials. It rests on the zero product property: if a product is 0, at least one of its factors is 0. Solve x² − 3x − 10 = 0.

Step 1: Find two numbers that multiply to −10 and add to −3. They are −5 and 2. So x² − 3x − 10 = (x − 5)(x + 2).

Step 2: Set each factor equal to 0. x − 5 = 0 gives x = 5, and x + 2 = 0 gives x = −2.

Step 3: Check both in the original equation. 5² − 3(5) − 10 = 25 − 15 − 10 = 0, and (−2)² − 3(−2) − 10 = 4 + 6 − 10 = 0.

04 · Build understanding

Worked example: completing the square

Completing the square turns one side into a perfect square, such as (x + 3)², so that you can finish with square roots. Solve x² + 6x − 7 = 0.

Step 1: Move the constant to the other side. x² + 6x = 7.

Step 2: Take half of the coefficient of x and square it. Half of 6 is 3, and 3² = 9. Add 9 to both sides: x² + 6x + 9 = 16.

Step 3: Write the left side as a square. x² + 6x + 9 is (x + 3)², so (x + 3)² = 16.

Step 4: Take square roots with both signs. x + 3 = 4 or x + 3 = −4.

Step 5: Solve each. x = 1 or x = −7.

Step 6: Check. 1² + 6(1) − 7 = 0, and (−7)² + 6(−7) − 7 = 49 − 42 − 7 = 0.

x² + 6x + 9 = (x + 3)²

05 · Build understanding

The quadratic formula and the number of real solutions

The quadratic formula solves any quadratic equation in standard form: x = (−b ± √(b² − 4ac))/(2a). It comes from completing the square on ax² + bx + c = 0.

Solve 2x² − 3x − 2 = 0. Here a = 2, b = −3 and c = −2.

Step 1: Work out the part under the square root. b² − 4ac = (−3)² − 4(2)(−2) = 9 + 16 = 25.

Step 2: Put the numbers into the formula. x = (3 ± √25)/4 = (3 ± 5)/4. The 3 on top is −b, the opposite of −3.

Step 3: Split into two answers. x = (3 + 5)/4 = 2, or x = (3 − 5)/4 = −1/2.

Step 4: Check. 2(2)² − 3(2) − 2 = 8 − 6 − 2 = 0, and 2(−1/2)² − 3(−1/2) − 2 = 1/2 + 3/2 − 2 = 0.

The expression b² − 4ac is called the discriminant. If it is positive, there are two real solutions, as in the example. If it is 0, the ± adds and subtracts nothing, so there is one real solution. For 4x² − 12x + 9 = 0 the discriminant is 144 − 144 = 0, and the only solution is x = 12/8 = 3/2.

If the discriminant is negative, there is no real solution, because no real number has a negative square. For x² + 2x + 5 = 0 the discriminant is 4 − 20 = −16. The solutions of this equation are non-real numbers, which you will study in a later course. In this course you write "no real solutions" and stop. On a graph, y = x² + 2x + 5 never touches the x-axis.

(−1/2, 0)(2, 0)
  • y = 2x² − 3x − 2
  • y = x² + 2x + 5
The parabola y = 2x² − 3x − 2 crosses the x-axis at −1/2 and 2. The parabola y = x² + 2x + 5 stays above the x-axis and never crosses it.

x = (−b ± √(b² − 4ac))/(2a)

06 · Build understanding

Worked example: a garden

A rectangular garden is 3 feet longer than it is wide. Its area is 70 square feet. Find its width and length.

Step 1: Write an equation. Let w be the width in feet. The length is w + 3, and area is width times length, so w(w + 3) = 70.

Step 2: Put it in standard form. w² + 3w = 70, so w² + 3w − 70 = 0.

Step 3: Factor. Two numbers that multiply to −70 and add to 3 are 10 and −7. So (w + 10)(w − 7) = 0, and w = −10 or w = 7.

Step 4: Use the situation. A width cannot be negative, so w = −10 is thrown out. The width is 7 feet and the length is 7 + 3 = 10 feet.

Step 5: Check in the original problem. 10 is 3 more than 7, and 7 × 10 = 70 square feet.

07 · Build understanding

Four mistakes to watch for

Dropping the negative root. Solving x² = 16 as x = 4 only loses half the answer. Both 4 and −4 work.

Dividing both sides by x. Given x² = 5x, dividing by x leaves x = 5 and loses the solution x = 0. Write x² − 5x = 0, factor it as x(x − 5) = 0, and get x = 0 or x = 5.

Using the zero product property when the other side is not 0. From (x − 2)(x + 1) = 4 you cannot conclude x − 2 = 4. Testing x = 6 gives (4)(7) = 28. Expand first and move everything to one side: x² − x − 6 = 0, so (x − 3)(x + 2) = 0 and x = 3 or x = −2.

Losing the sign of b in the formula. In 2x² − 3x − 2 = 0, b is −3, so −b is 3. Starting the formula with −3 gives −2 and 1/2, which are the right answers with the wrong signs.

Apply and explain

Your turn

Kai solves x² = 7x by dividing both sides by x and gets x = 7 as the only solution. Explain what went wrong and solve the equation correctly.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

Dividing by x only works when x is not 0, so that step throws away the solution x = 0. Move everything to one side: x² − 7x = 0. Factor: x(x − 7) = 0. By the zero product property, x = 0 or x = 7. Both check: 0² = 7(0) and 7² = 49 = 7(7).

  • Says that dividing by x loses the solution x = 0.
  • Rewrites the equation with 0 on one side and factors it.
  • Gives both solutions, 0 and 7, and checks at least one.

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Solve quadratic equations: practice →