Expanding turns a product into a sum. Factoring runs the same road backward, and it is usually the harder direction, because a sum gives no label saying which product it came from. The good news is that the same few patterns show up again and again. Learn to spot them, and every answer can be checked in a few seconds by multiplying it back out.
See also Expanding and Factoring for a Purpose in Foundations for Calculus.
Key terms
Factor
Definition To factor an expression means to write it as an equivalent product of two or more expressions. Each expression in that product is a factor of the original. For polynomials with integer coefficients, factoring usually means writing the polynomial as a product of polynomials of lower degree, again with integer (or at least real) coefficients.
Factoring is a rewriting step. It produces an equivalent expression and does not by itself solve anything. Only when the factored expression is set equal to does it lead to solutions.
In plain words A factored form is the same expression dressed as a multiplication. You can always test it by expanding, and the result must match the original exactly.
Example The factorization checks out, since . Note that alone is not an equation, so there is nothing to solve yet. The equation is a different matter, and its solutions are and .
Greatest common factor
Definition The greatest common factor (GCF) of the terms of a polynomial is the product of the greatest common factor of the coefficients and, for each variable, the lowest power of that variable appearing in every term. By the distributive property,
so the GCF can be pulled out in front, leaving the quotient of each term by the GCF inside the parentheses.
In plain words Find what every term shares, write it once outside, and keep what is left of each term, sign included, inside.
Example In both terms share and , so the GCF is . Dividing each term by leaves and , so
Expanding gives back . Pulling out is always the first move, because it makes everything after it smaller.
Quadratic trinomial
Definition A quadratic trinomial is a polynomial with , usually with and so that it has three terms. If and there are numbers and with and , then
If , look for numbers and with and , split the middle term as , and factor by grouping. Not every trinomial factors with integer coefficients.
In plain words For , hunt for two numbers that multiply to and add to . Signs matter, so a positive with a negative means both numbers are negative.
Example For the numbers and multiply to and add to , so . For the product is , and the pair and adds to ,
Difference of squares
Definition For all real numbers and ,
A sum of squares behaves differently. If and , then is positive for every real , so it has no real zero. A linear factor with real would be zero at , so has no linear factor with real coefficients and does not factor over the real numbers.
In plain words Two perfect squares with a minus sign between them always split into a minus version and a plus version. A quadratic made of a positive square plus a positive number, such as , does not factor over the real numbers.
Example The expression is , so
Expanding gives , and the middle terms cancel exactly as they should. By contrast, has no real factorization into linear factors, and guesses like fail because that expands to .
Perfect square trinomial
Definition For all real numbers and ,
A trinomial is a perfect square exactly when its first and last terms are squares and and its middle term is or .
In plain words If the ends are squares and the middle is twice their product, the whole thing is one binomial squared. The sign of the middle term is the sign inside the parentheses.
Example In the ends are and , and the middle term is . So . Checking, .
Factoring by grouping
Definition Factoring by grouping splits the terms of a polynomial into groups, factors each group so that the same expression appears in every group, and then pulls out with the distributive property,
It works only when the groups really do share the same factor, which sometimes requires pulling out a negative number from a group.
In plain words Factor in pairs, and if the same parentheses appear in both pairs, that repeated block becomes a factor of the whole.
Example Factor . The first pair gives , and pulling from the second pair gives . So
The last step uses the difference of squares. Pulling out instead would leave , which does not match .
Nested structure
Definition An expression has nested structure when a whole subexpression plays the role of a single variable. If an expression can be written as , where is a polynomial and stands for a subexpression such as or , then any factorization of gives a factorization of the original expression after is replaced by that subexpression.
In plain words Treat a repeated block as one letter, factor the simpler expression, then put the block back.
Example In , let . Then , and putting back gives
Expanding the original confirms it, since . The same idea factors with , which gives , and two differences of squares finish it as .
Check yourself
- Which of the following is a factor of ? (A) (B) (C) (D)
Show the answer
The answer is (C). The pair and multiplies to and adds to , which leads to . Expanding confirms it, since . Choices (A) and (D) come from , which has the wrong sign on the middle term. Choice (B) would require to make the expression zero, but at it equals .
- Which expression is equivalent to ? (A) (B) (C) (D)
Show the answer
The answer is (C). As a difference of squares, , and the first factor is again a difference of squares, . The sum does not factor over the real numbers. Choice (A) expands to . Choice (B) is , the wrong power. Choice (D) uses where is needed.
- If and , what is the value of ?
Show the answer
The answer is . The difference of squares gives , so and . There is no need to find and , though they are and .