Unit 3, lesson 24

Solving Quadratic Equations by Factoring

How to solve a quadratic equation by moving everything to one side, factoring, and setting each factor equal to zero, and why dividing by a variable can silently lose a solution.

  • Theory part 47
  • Practice part 48
  • Quadratics

Theory, part 47

Practice, part 48

If two numbers multiply to give 00, at least one of them has to be 00. No other product has that property, since two numbers can multiply to 66 in endless ways. That one fact turns a hard question, which numbers make x2−5x+6x^2 - 5x + 6 equal to zero, into two easy ones, because x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3) and each factor is a simple linear expression.

See also Expanding and Factoring for a Purpose and Solving Equations and Checking Solutions in Foundations for Calculus.

Key terms

Quadratic equation

Definition A quadratic equation in xx is an equation that can be rewritten in the standard form

ax2+bx+c=0,ax^2 + bx + c = 0,

where aa, bb and cc are real numbers and a≠0a \ne 0. If a=0a = 0 the equation is linear, not quadratic. A quadratic equation has at most two real solutions.

In plain words Gather every term on one side so the other side is zero, and if the highest power left is x2x^2, the equation is quadratic.

Example The equation 2x2+3=7x2x^2 + 3 = 7x is quadratic. Subtracting 7x7x from both sides puts it in standard form,

2x2−7x+3=0,2x^2 - 7x + 3 = 0,

with a=2a = 2, b=−7b = -7 and c=3c = 3. The equation x2+4x=x2−8x^2 + 4x = x^2 - 8 is not quadratic, because the x2x^2 terms cancel and leave 4x=−84x = -8.

Zero-product property

Definition For all real numbers AA and BB,

AB=0if and only ifA=0 or B=0.\begin{gathered} AB = 0 \quad \text{if and only if} \\[0.4em] A = 0 \ \text{or} \ B = 0. \end{gathered}

The same holds for a product of more than two factors. The property works only because the right side is 00. An equation such as AB=2AB = 2 cannot be split into cases this way, because many pairs of numbers have product 22.

In plain words Once one side is zero and the other side is a product, you may split into separate cases, one for each factor. If the right side is any other number, splitting is not allowed.

Example The equation (x−2)(x−3)=2(x - 2)(x - 3) = 2 is a trap. Setting x−2=2x - 2 = 2 and x−3=2x - 3 = 2 gives 44 and 55. At x=5x = 5 the product is 3⋅2=63 \cdot 2 = 6, not 22, and x=4x = 4 works only by luck while the solution x=1x = 1 is missed. The correct way first moves everything to one side,

x2−5x+6−2=0x2−5x+4=0(x−1)(x−4)=0.\begin{aligned} x^2 - 5x + 6 - 2 &= 0 \\[0.4em] x^2 - 5x + 4 &= 0 \\[0.4em] (x - 1)(x - 4) &= 0. \end{aligned}

So x=1x = 1 or x=4x = 4. Both check, since (−1)(−2)=2(-1)(-2) = 2 and (2)(1)=2(2)(1) = 2.

Factored form

Definition A quadratic expression ax2+bx+cax^2 + bx + c with a≠0a \ne 0 is in factored form when it is written as

a(x−r)(x−s)a(x - r)(x - s)

for some real numbers rr and ss. Then the equation ax2+bx+c=0ax^2 + bx + c = 0 has solutions exactly x=rx = r and x=sx = s. When r=sr = s the form is a(x−r)2a(x - r)^2 and the equation has the single solution rr, called a double root.

In plain words In factored form the solutions can be read off directly, but watch the signs. The factor x−rx - r gives the solution rr, and x+4x + 4 gives −4-4.

Example The expression 3(x+4)(x−1)3(x + 4)(x - 1) is in factored form with r=−4r = -4 and s=1s = 1, so the equation 3(x+4)(x−1)=03(x + 4)(x - 1) = 0 has solutions −4-4 and 11. The constant factor 33 is never zero, so it contributes no solution. The equation x2−6x+9=0x^2 - 6x + 9 = 0 factors as (x−3)2=0(x - 3)^2 = 0, with only the double root 33.

Solution

Definition A solution of an equation in xx is a value of xx that makes the equation a true statement. The solution set is the set of all solutions. Solving means finding every solution and no extra values.

Dividing both sides by an expression that contains xx is not a safe step, because that expression could be zero for one of the solutions. Factor instead.

In plain words A solution is a number that works when you plug it back in. Report all of them, and check each one in the original equation.

Example Solve 3x2=12x3x^2 = 12x. Dividing by 3x3x gives x=4x = 4 and silently loses a solution. Instead, move everything to one side and factor out the common factor,

3x2−12x=03x(x−4)=0.\begin{aligned} 3x^2 - 12x &= 0 \\[0.4em] 3x(x - 4) &= 0. \end{aligned}

So x=0x = 0 or x=4x = 4. Both work, since 3⋅0=12⋅03 \cdot 0 = 12 \cdot 0 and 3⋅16=48=12⋅43 \cdot 16 = 48 = 12 \cdot 4. The lost solution was exactly the value that made 3x3x zero.

Root

Definition A root of the equation p(x)=0p(x) = 0, also called a zero of the function pp, is a real number rr with p(r)=0p(r) = 0. The real zeros of pp are exactly the xx-coordinates of the points where the graph of y=p(x)y = p(x) meets the xx-axis, its xx-intercepts.

In plain words Roots are the solutions of the equation set to zero, and on the graph they are where the curve crosses or touches the xx-axis.

Example The function f(x)=x2−5x+6=(x−2)(x−3)f(x) = x^2 - 5x + 6 = (x - 2)(x - 3) has roots 22 and 33, so its graph crosses the xx-axis at (2,0)(2, 0) and (3,0)(3, 0). A quick table confirms it.

xx11222.52.53344
f(x)f(x)2200−0.25-0.250022

In the Desmos graphing calculator on the SAT you can type y=x2−5x+6y = x^2 - 5x + 6 and click the curve. Its xx-intercepts appear as gray points, and clicking a point shows its coordinates. That is a good way to check a factoring answer.

Solving by factoring

Definition Solving a quadratic equation by factoring means rewriting it as p(x)=0p(x) = 0, writing p(x)p(x) as a product of linear factors (taking out any greatest common factor first), setting each factor equal to 00 by the zero-product property, and reporting every value found, after checking each one in the original equation. The method works only when p(x)p(x) can be factored, and many quadratics have no factorization with integer coefficients.

In plain words Zero on one side, factor, split, solve and check. Skipping the first step is the most common way to go wrong.

Example Solve 2x2+3=7x2x^2 + 3 = 7x. Following the steps,

2x2−7x+3=0(2x−1)(x−3)=0.\begin{aligned} 2x^2 - 7x + 3 &= 0 \\[0.4em] (2x - 1)(x - 3) &= 0. \end{aligned}

So 2x−1=02x - 1 = 0 or x−3=0x - 3 = 0, which gives x=12x = \frac{1}{2} or x=3x = 3. A check at x=12x = \frac{1}{2} gives 2⋅14+3=3.52 \cdot \frac{1}{4} + 3 = 3.5 and 7⋅12=3.57 \cdot \frac{1}{2} = 3.5, and at x=3x = 3 both sides equal 2121.

Check yourself

  1. What are all the solutions of x2+2x=15x^2 + 2x = 15? (A) −3-3 and 55 (B) −5-5 and 33 (C) 33 only (D) 1313 and 1515
Show the answer

The answer is (B). Rewriting gives x2+2x−15=0x^2 + 2x - 15 = 0, which factors as (x+5)(x−3)=0(x + 5)(x - 3) = 0. Choice (A) reads the factors with the wrong signs. Choice (C) misses the negative solution, although (−5)2+2(−5)=15(-5)^2 + 2(-5) = 15 works. Choice (D) comes from writing x(x+2)=15x(x + 2) = 15 and setting each factor equal to 1515, which the zero-product property does not allow.

  1. Which of the following gives all solutions of x2=7xx^2 = 7x? (A) 77 only (B) 00 and 77 (C) −7-7 and 00 (D) 7\sqrt{7} only
Show the answer

The answer is (B). Moving everything to one side gives x2−7x=0x^2 - 7x = 0, so x(x−7)=0x(x - 7) = 0 and x=0x = 0 or x=7x = 7. Choice (A) is what you get by dividing both sides by xx, which throws away x=0x = 0. Choice (C) has the sign of 77 wrong. Choice (D) treats the equation as x2=7x^2 = 7 and keeps only the positive root.

  1. The graph of f(x)=2x2−5x−3f(x) = 2x^2 - 5x - 3 crosses the xx-axis at (a,0)(a, 0) and (b,0)(b, 0), where a<ba < b. What is the value of b−ab - a?
Show the answer

The answer is 72\frac{7}{2}, which can also be entered as 3.53.5. Factoring gives 2x2−5x−3=(2x+1)(x−3)2x^2 - 5x - 3 = (2x + 1)(x - 3), so the roots are a=−12a = -\frac{1}{2} and b=3b = 3, and

b−a=3−(−12)=72.b - a = 3 - \left(-\frac{1}{2}\right) = \frac{7}{2}.

How this lesson connects