Skip to main content

Section 1.3 Solving Quadratic Equations by Factoring

Recall that factoring a number means to write it as the product of two numbers, typically smaller. In a similar way, some quadratic polynomials can be written as the product of two linear polynomials. Then, the roots of the linear polynomials gives insight into the roots of the quadratic polynomial.

Consider the equation,

\begin{equation*} (x + 1)(x - 3) = 0 \end{equation*}

Consider the solutions \(x\) to this equation. By inspection, we can see that \(x = -1\) and \(x = 3\) are solutions, because,

\begin{align*} (-1 + 1)(-1 - 3) \amp = 0\\ (0)(-4) \amp = 0\\ 0 \amp = 0 \end{align*}

and, similarly,

\begin{align*} (3 + 1)(3 - 3) \amp = 0\\ (4)(0) \amp = 0\\ 0 \amp = 0 \end{align*}

Then, it also turns out that these are the only two solutions. On the other hand, using the distributive property, we can expand the left-hand side of this equation,

\begin{align*} (x + 1)(x - 3) \amp = 0\\ x (x - 3) + 1(x - 3) \amp = 0\\ x^2 - 3x + x - 3 \amp = 0\\ x^2 - 2x - 3 \amp = 0 \end{align*}

Notice that this is a quadratic equation, in standard form. We want to be able to convert a quadratic equation from standard form, to the previous form (called factored form, because then solving the quadratic equation will be easy.

Subsection 1.3.1 Zero Product Property

Factoring relies on a fundamental property about real numbers, called the zero product property.

In other words, if the product of two numbers is zero, then it must be the case that at least one of the numbers must be zero. Intuitively, this is true, roughly because if one of \(a\) or \(b\) is non-zero, then the other must be zero.

Let \(ab = 0\text{.}\) Then, we consider two cases. If one of the numbers is zero, say \(a = 0\text{,}\) then we are done. Otherwise, if \(a \neq 0\text{,}\) then dividing both sides of \(ab = 0\) by \(a\) gives,

\begin{align*} \frac{ab}{a} \amp = \frac{0}{a}\\ b \amp = 0 \end{align*}

In other words, in this case, this implies that \(b = 0\text{.}\) In either case, at least one of \(a\) or \(b\) is zero.

Then, if a quadratic polynomial can be written in the form,

\begin{equation*} (x - p)(x - q) = 0 \end{equation*}

then we can conclude that either \(x - p = 0\) or \(x - q = 0\text{.}\) Then, solving for \(x\) in each equation gives \(x = p\) and \(x = q\text{,}\) respectively.

Subsection 1.3.2 Multiplying Polynomials

Consider the product of two binomials. Using algebra tiles, this is like a rectangle with one side \(x + a\) and the other side \(x + b\text{.}\) Algebra tiles for negative numbers also work.

\begin{equation*} (x + a)(x + b) \end{equation*}

Using the distributive property,

\begin{align*} (x + a)(x + b) \amp = x(x + b) + a(x + b) \amp\amp \text{by the distributive property}\\ \amp = x^2 + bx + ax + ab \amp\amp \text{by the distributive property}\\ \amp = x^2 + (a + b)x + ab \amp\amp \text{collecting like terms} \end{align*}

Then,

\begin{align*} (a + b)(x + y) \amp = a(x + y) + b(x + y)\\ \amp = ax + ay + bx + by \end{align*}

When multiplying polynomials, every term in the first parentheses is multiplied with every other term in the second parnethese.

An analogy to handshakes: the two brackets are two teams of players in a sports game. At the end of the game, every player on each team has to shake the hand of every player on the other team.

A mnemonic: FOIL, which stands for “first, outside, inside, last”.

Square of a sum. Using algebra tiles.

\begin{equation*} (a + b)^2 = a^2 + 2ab + b^2 \end{equation*}

Subsection 1.3.3 Factoring Quadratics

Consider a quadratic polynomial in standard form, \(ax^2 + bx + c\text{.}\) We want to factor this polynomial as the product of two binomials. It turns out that this is somewhat complicated. First, we will consider a simpler case where \(a = 1\text{,}\) so the polynomial is \(x^2 + bx + c\text{.}\) Then, we want to find numbers \(p\) and \(q\) such that,

\begin{equation*} x^2 + bx + c = (x + p)(x + q) \end{equation*}

Using algebra tiles, this amounts to trying to arrange the tiles \(x^2, bx, c\) in such a way to form a rectangle.

Then, to determine these numbers \(p\) and \(q\text{,}\) we can expand the right-hand side,

\begin{gather*} (x + p)(x + q) = x^2 + px + qx + pq\\ x^2 + (p + q)x + pq \end{gather*}

Then,

\begin{equation*} x^2 + bx + c = x^2 + (p + q)x + pq \end{equation*}

For \(p, q\) to satisfy this equation, the coefficients must be equal. That is, \(p + q = b\text{,}\) and \(pq = c\text{.}\) This means that \(p\) and \(q\) must be numbers whose product is the constant term \(c\text{,}\) and whose sum is the middle coefficient \(b\text{.}\)

Then, first, list all of the possible pairs of factors of \(c\text{.}\) Then, among these pairs, find one whose sum is \(b\text{.}\)

Note that the order in which you write the factors doesn't matter, because,

\begin{equation*} (x + p)(x + q) = (x + q)(x + p) \end{equation*}

Note that it is possible that no such pair of factors works. In this case, the polynomial can't be factored. Not all trinomials can be factored.

Subsection 1.3.4 Factoring Polynomials in Descending Order

It is also possible to factor polynomials “backwards”.

Subsection 1.3.5 Factor More General Quadratics

Consider a more general quadratic in standard form, \(ax^2 + bx + c\text{.}\)

Recall that,

\begin{equation*} (Ax + B)(Cx + D) = AC x^2 + (AD + BC)x + BD \end{equation*}

Then, we want to factor the quadratic expression into \((Ax + B)(Cx + D)\text{,}\) or,

\begin{equation*} ax^2 + bx + c = AC x^2 + (AD + BC)x + BD \end{equation*}

Here, we have to find 4 numbers \(A, B, C, D\text{.}\) Then, equating coefficients, these numbers must satisfy,

\begin{equation*} \begin{cases} AC = a \\ AD + BC = b \\ BD = c \end{cases} \end{equation*}

In particular, the first numbers \(A\) and \(C\text{,}\) which are the coefficients of \(x\) in the binomials, must multiply to \(a\text{,}\) the coefficient of \(x^2\text{.}\) Also \(B\) and \(D\) have to multiply to the constant term \(c\text{,}\) the constant term. Finally, the product \(AD + BC\) has to be equal to \(b\text{,}\) the linear coefficient.

Then, to find these numbers, list all factors of \(a\text{,}\) and also all factors of \(c\text{,}\) and find pairs of factors \(A, C\) and \(B, D\text{,}\) in such a way so that the sum \(AC + BD\) is \(b\text{.}\)

Cross method. AC method.

After some practice, you can use logical reasoning to choose coefficient that you think make sense (i.e. guess and test), rather than simply list all of the possible factors.

Subsection 1.3.6 Borrow-Payback Method

Subsection 1.3.7 Remark on Factoring Trinomials

Factoring trinomials is perhaps the most important and pervasive topic in high-school mathematics, and yet the least important and least useful topic “in the real world”. Uncountably many high-school (and college) math problems rely on factoring quadratics.