Learn an intuitive method to factor $ax^2 + bx + c$
Revisit the three special factoring formulas
Discuss the grouping method of factoring
Determine how the number of terms informs the factoring method to try
Algebraic Expressions
Algebraic expressions are just operations, numbers, and variables mixed together. For example \[2x^2 - 3x + 4 \qquad \sqrt{x} + 10 \qquad (x + 1)(x + 2) \qquad (a + b + c)^2(x^2y + 3)\] are all algebraic expressions.
Adding and Subtracting
To add and subtract algebraic expressions, look for like terms.
Like terms Like terms are terms with the same factors except for the numerical factor (called the coefficient).
Which are like terms?
$x^3$ and $3x^3$
These are like terms; they have the same factors $x^3$.
$-4x^2y^3$ and $3y^2x^2$
These are not like terms; left term has $y^3$ while right term has $y^2$.
$-(x+2)(x+1)$ and $3(x+1)(x+2)$
These are like terms; they have the same factors $(x+2)(x+1)$.
Remember: identify the factors. This is your guiding light.
To add like terms, we undo the distributive law: \[x^3 + 2x^3 = 1\cdot x^3 + 2\cdot x^3 = x^3(1 + 2) = 3x^3\]
In essence, add together the coefficients for like terms.
Structure is a little more complex than previous problems. Identify terms to break down a bigger problem into two smaller problems.
$3(x+1)^2$ is one problem, while $-(x-2)x$ is another problem. On each term, apply distributive law.
\begin{align*}
3(x+1)^2 - (x - 2)x &= 3(x+1)(x+1) - (x-2)x && \text{rewriting for clarity}
\\&= (3x+3)(x+1)-x^2+2x && \text{Dist. Prop. three times}
\\&= (3x+3)x + (3x+3)1 - x^2 + 2x && \text{Dist. Prop.}
\\&= 3x^2 + 3x + 3x + 3 - x^2 + 2x
\\&= \boxed{2x^2 + 8x + 3}
\end{align*}
This last problem was a lot of work. Fortunately, we have special formulas for dealing with $(x+1)^2$ quickly, instead of having to use distributive property twice.
Special Product Formulas
Here are three special factor structures that quickly expand.
$(A + B)(A - B) = A^2 - B^2$
$(A + B)^2 = A^2 + 2AB + B^2$
$(A - B)^2 = A^2 - 2AB + B^2$
Make sure to identify the local terms $A$ and $B$.
Expand the following using the formulas:
$(2x - 3)(2x + 3)$
Local terms $A = 2x$ and $B = 3$. Following formula 1:
\[(2x-3)(2x+3) = (2x)^2 - 3^2 = \boxed{4x^2 - 9}\]
$2(2x + 1)^2$
Local terms $A = 2x$ and $B = 1$. Following formula 2:
\begin{align*}
2(2x+1)^2 &= 2((2x)^2 + 2(2x)1 + 1^2) && \text{don't forget parentheses (multiplying into 3 terms)}
\\&= 2(4x^2 + 4x + 1) && \text{Laws of Exponents}
\\&= \boxed{8x^2 + 8x + 2}
\end{align*}
This is incorrect: $(2x + 1)^2 = (2x)^2 + 1^2$
Exponents do not interact with terms.
Factoring
Consider this expanding problem: \[(x+4)(x+3) = x^2 + 7x + 12\] The expression structure on the left is all factors.
On the right, it is all terms.
If we start from the right and move leftwards instead, this process is called factoring.
Factoring converts terms into factors and is the reverse process of expanding.
Method 1: Greatest Common Factor (among terms)
GCF factoring works on two or more terms.
GCF Factoring
Identify all the terms (usually global).
Identify the factors the terms have in common (the GCF).
Factor out the common factor and write in the factor structure of the distributive property.
Factor each expression:
$3x^2 - 6x$
Global terms are $3x^2 = 3\cdot x \cdot x$ and $6x = 3 \cdot 2 \cdot x$.
The GCF is $3x$. Factoring out $3x$ and writing in distributive property form: \[3x^2 - 6x = \boxed{3x(x - 2)}\]
$x^6 - 3x^4 + 20x^2$
Global terms are $x^6$, $3x^4$ and $20x^2$.
The GCF is $x^2$ because $20x^2$ doesn't have any more $x$'s to give. Factoring out $x^2$ and writing in distributive property form: \[x^6 - 3x^4 + 20x^2 = \boxed{x^2(x^4 - 3x^2 + 20)}\]
$(2x + 4)(x-3) - 5(x-3)$
Global terms are $(2x+4)(x-3)$ and $5(x-3)$.
The GCF is $(x-3)$. Factoring out $(x-3)$ and writing in distributive property form: \[(2x+4)(x-3)-5(x-3) = (x-3)((2x+4) - 5) = \boxed{(x-3)(2x-1)}\]
Once you do enough of these problems, you'll understand it's all about the fundamentals. The distributive law is key to understanding expanding/factoring.
Method 2: Factoring the form $ax^2 + bx + c$.
This method works on three terms. Some examples include \begin{align}
&x^2 + 4x + 3 \\&x^2 - 4 \\&2(x+1)^2 - 7(x+1) + 3\end{align}
Now check candidates against ${\color{lightblue}b = 7}$ until cross-product is ${\color{lightblue}7}$:
\begin{align}(1 \ \ & \ \ \ \ \ \ 1) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (1 \ \ &\ \ \ \ 12) \end{align}
$ 1 \cdot 12 + 1 \cdot 1 = 13$. Wrong choice, try another candidate.
\begin{align}(1 \ \ & \ \ \ \ \ 4) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (1 \ \ &\ \ \ \ \ 3) \end{align}
$1\cdot 3 + 1 \cdot 4 = {\color{lightblue} 7}$. Matches with ${\color{lightblue} b}!$
Put $x$'s back into first column and signs in second column
\begin{align}(1x \ \ & \ + \ 4) \\ \ & \ \ \ \ \ \\ (1x \ \ &\ + \ 3) \end{align}
and write in one line: $\boxed{(x+4)(x+3)}$
If $a \neq 1$, you only need to check the "flipped" candidates only for left column or only for right column. If you check flipped candidates for both right/left column, you'll be checking repeated candidates. Two examples follow.
Factor: \[2x^2 - 5x + 2\]
We first identify ${\color{lavender} a = 2}, {\color{lightblue}b = -5}, {\color{lightyellow}c = 2}$.
Because ${\color{lightblue}b = -5}$ is negative, you'll need to account for the product ${\color{lightyellow}c = 2} = (-2)(-1)$ in order for the cross-product to be negative.
Ignore the right column's flipped candidates (the last two greyed out candidates). Only the left column candidates or right candidates need to be flipped (in our case, left is flipped alread).
The first candidate is greyed out because ${\color{lightblue}b}$ must be negative. Only the second candidate could generate a negative ${\color{lightblue}b}$.
Now check candidates against ${\color{lightblue}b = -5}$ until cross-product is ${\color{lightblue}5}$:
\begin{align}(2 \ \ & \ \ -2) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (1 \ \ &\ \ -1) \end{align}
$ 2 \cdot (-1) + 1 \cdot (-2) = 4$. Wrong choice, try another candidate.
\begin{align}(1 \ \ & \ \ -2) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (2 \ \ &\ \ -1) \end{align}
$1 \cdot (-1) + 2\cdot (-2) = {\color{lightblue}-5}$. Matches with ${\color{lightblue} b}$!
Put $x$'s back into first column and signs in second column
\begin{align}(1x \ \ & \ - \ 2) \\ \ & \ \ \ \ \ \\ (2x \ \ &\ - \ 1) \end{align}
and write in one line: $\boxed{(x-2)(2x-1)}$
Factor: \[6x^2 + 7x - 5\]
We first identify ${\color{lavender} a = 6}, {\color{lightblue}b = 7}, {\color{lightyellow}c = -5}$.
Here, the last two candidates are greyed out because we don't have to check them. They are flipped from the first two.
Advice: If ${\color{lightyellow}c}$ is negative (in our case), then you should look at ${\color{lightblue}b}$ before checking candidates. Here, ${\color{lightblue}b = 7}$. So we should not pick the candidate \begin{align}-5 \\ 1\end{align} first when checking because $-5$ is far from our required result of ${\color{lightblue}b = 7}$. That leaves one good candidate for the right column.
Now check candidates against ${\color{lightblue}b = 7}$ until cross-product is ${\color{lightblue}7}$:
\begin{align}(6 \ \ & \ \ -1) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (1 \ \ &\ \hphantom{+} \ 5) \end{align}
$ 6 \cdot 5 + 1 \cdot (-1) = 29$. Wrong choice, try another candidate.
\begin{align}(3 \ \ & \ \ -1) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (2 \ \ &\ \hphantom{+} \ 5) \end{align}
$3 \cdot 5 + 2\cdot (-1) = 13$. Getting close to 7. Try again:
\begin{align}(2 \ \ & \ \ -1) \\ \ & \hspace{-0.38em}{\LARGE\diagup} \hspace{-1.45em}{\LARGE\diagdown}\ \ \ \ \ \\ (3 \ \ &\ \hphantom{+} \ 5) \end{align}
$2 \cdot 5 + 3\cdot (-1) = {\color{lightblue} 7}$. Matches with ${\color{lightblue} b}$!
Put $x$'s back into first column and signs in second column
\begin{align}(2x \ \ & \ - \ 1) \\ \ & \ \ \ \ \ \\ (3x \ \ &\ + \ 5) \end{align}
and write in one line: $\boxed{(2x-1)(3x+5)}$
I highly recommend this method. It handles all cases of $ax^2 + bx + c$, even when $b$ or $c$ is negative. It is also quick to check cross-products, so you can find the factors quickly.
Method 3: Special Factoring Formulas
The three special product formulas reversed give the special factoring formulas.
$A^2 - B^2 = (A-B)(A+B)$
$A^2 + 2AB + B^2 = (A+B)^2$
$A^2 - 2AB + B^2 = (A-B)^2$
Factor:
$4x^2 - 25$
We have two terms, so we will use $A^2 - B^2$. Our task is to determine $A$ and $B$.Line the terms up, giving $A^2 = 4x^2$, and $B^2 = 25$.
We need to write $4x^2$ as $(\text{factor})^2$. But currently, only the $x$ is squared. By the exponent laws, we can write \[A^2 = 4x^2 = 2^2x^2 = (2x)^2\] and now it is one factor squared, giving $A = 2x$.
Now $B^2 = 25 = 5^2$ so $B = 5$. Using the factoring formula: \[4x^2 - 25 = \boxed{(2x - 5)(2x + 5)}\]
$x^2 + 6x + 9$
Three terms with middle term positive, try the second formula. Our task is to determine $A$ and $B$, and check against $2AB$.Line the terms up, giving $A^2 = x^2$, and $B^2 = 9 = 3^2$. Therefore $A = x$ and $B = 3$.
Now check if $2AB = 6x$: \[2AB = 2\cdot x \cdot 3 = 6x \checkmark\]
We're good to use the formula: \[x^2 + 6x + 9 = \boxed{(x + 3)^2}\]
Method 4: Grouping
This method works on four terms. First order terms in descending powers.
We group first two/last two terms together, then use GCF on both groups.
Factor:
$x^3 + x^2 + 4x + 4$
\begin{align}
x^3 + x^2 + 4x + 4 &= (x^3 + x^2) + (4x + 4) && \text{Group first/last two terms} \\
&= x^2(x+1) + 4(x+1) && \text{GCF factoring on both groups}
\\&= \boxed{(x+1)(x^2 + 4)} && \text{GCF factoring on global terms}
\end{align}
$x^3 - 2x^2 - 9x + 18$
\begin{align}
x^3 - 2x^2 - 9x + 18 &= (x^3 - 2x^2) + (- 9x + 18) && \text{Group first/last two terms} \\
&= x^2(x-2) -9(x-2) && \text{GCF factoring on both groups (note the $-9$)}
\\&= (x-2)(\underbrace{x^2}_{A^2} - \underbrace{9}_{B^2}) && \text{GCF factoring on global terms}
\\&= \boxed{(x-2)(x-3)(x+3)} && \text{Special Factoring Formula 1}
\end{align}
The last example shows even though we did have all factors, we sometimes can keep factoring a factor. We may need to use multiple methods.
Multiple Methods
Remember, before even starting a factoring problem, identify the terms and how many there are.
Doing so helps you to choose a correct strategy. Here's what I use (in order from left to right):