DersTeders — free, no installation, explanations and questions for every level.

Factoring algebraic expressions

A practical guide to rewriting an expression as a product: when to take out a common factor, when to use a perfect square and when the difference of two squares applies.

2026-11-24

The idea behind factoring

Factoring means writing an expression as a product of simpler factors instead of a sum of terms. The skill rests on three tools taken from the source lesson: the sign rule for a product, the difference of two squares a² − b² = (a − b)(a + b), and the perfect-square identity a² + 2ab + b² = (a + b)². Once these three are clear, most school exercises reduce to choosing the right one.

The sign rule decides the route. If two terms are added, their signs are the same and a common factor can be taken out. If two terms are effectively multiplied with opposite signs, the difference-of-squares identity applies. A sum of two squares such as a² + b² cannot be split directly; it first has to be completed into a perfect square.

Taking out a common factor

Start by listing the factors of the coefficient and the powers of each variable. The greatest common factor is built from the smallest power of every variable that appears in all terms, together with the largest number dividing every coefficient. When a term such as six times x squared times y is examined this way, the coefficient factors and the variable powers together give at most three factors that can be taken out.

After taking out the common factor, check the result by multiplying back. If the original expression reappears exactly, the factoring is correct. This check costs a few seconds and prevents the most common slip: leaving a variable behind or changing a sign while regrouping.

Worked examples

For the expression x² − 9 the two squares are x² and 3², so the difference-of-squares identity gives (x − 3)(x + 3). Substituting x = 4 into the original form gives 16 − 9 = 7; the order matters, because subtracting first and then squaring would give a different value.

For a product such as (x + 4)(x − 1) with x = 3, evaluate each bracket separately first: the first bracket is 7 and the second is 2, so the product is 14. In exam questions the same idea often appears in reverse: instead of asking for the factors, the question asks which expression is divisible by x + 3. Testing divisibility is slower than factoring well, which is why the technique is worth practising on its own.

Where the method is useful

A rectangular field offers a simple picture. Its area can be written as a product of side lengths, and when one side is split into two parts the same area is written as a sum. Factoring moves between these two descriptions: it turns a sum back into a product so the dimensions can be read off directly.

In a test the two common formats are the direct request for the factored form and the indirect request for a divisor. Working confidently with both makes the second format much faster, because the factors are already visible instead of having to be guessed one by one.

Frequently asked questions

A student substitutes x = 4 into x² − 9. What value do they get?

Substitute first, then follow the order of operations: square the variable to get 16, then subtract 9. The result is 7. Subtracting before squaring changes the answer, so the order matters.

In a term written as six times x squared times y, how many factors can be taken out at most?

List the factors of the coefficient and the smallest power of each variable. The coefficient factors and the variable powers together give at most three factors that can be extracted.

If x = 3, what is the value of the product (x + 4)(x − 1)?

Work out each bracket separately: the first gives 7 and the second gives 2. Multiplying them gives 14.

Create a free account — save your progress

Save your notes

Keep learning