Factor polynomials quickly when they are in special forms


There are a couple “special forms” that are exactly that, special forms that we have very fast factoring formulas for. These aren’t special in the sense that they must be memorized to use; in fact each of the following forms can be determined using one of the previous methods eventually (or rational root theorem, discussed in a future section). However, these special forms occur so often than it is useful to remember these factoring formulae in order to save time (and sanity) when doing lots of factoring.

We should also note here that for the following special forms we will show how one could derive (ie create/reproduce) the formula, but remember that the entire point of these special forms is to have a few common formulas memorized (or better: internalized) in order to save time. Essentially the derivation should be something you could reproduce if you needed to (in case you forgot how the formula), but it shouldn’t be something you always use as that would defeat the purpose.

Difference of Squares

The first special form is the difference of squares. The difference of squares is exactly as it sounds; the difference (subtraction) of squares, so it is a technique for things of the form . In order to see how to derive the formula we will do one of our ‘add 0 cleverly’ bits and then factor by grouping; There isn’t much deep going on in terms of how this factoring is happening, the ‘special’ part of the ‘special forms’ is that it tends to crop up a lot, rather than how clever the factoring process is. Again, an explicit example may be helpful.

The example above is fairly straightforward, but it can be surprisingly difficult to recognize that something actually is a “difference of squares” sometimes. Consider this (slightly harder) example:

Thus, by being a little loose with the ‘perfect’ part in ‘perfect square’ we have the ability to factor anything of the form . Notice there is no term, ie in the expanded form of a quadratic: , we need .

We conclude difference of squares with an advanced example:

Difference of Cubes

This next part often leads to some crossover confusion so please note that: There is no sum of squares formula using real numbers. The next special form is sum and difference of cubes; cubes can have a sum formula, but squares do not.

You likely have heard the ‘sum and different of cubes’ formulas before, and learned them as different formulas (and perhaps even heard the “SOAP” mnemonic). Although this is perfectly correct, in reality you only need to remember one formula if you can keep track of negative signs.

The following is the sum of cubes formula:

As usual we will give a concrete example to help understand the formula:

The above example may appear straight forward, although remember that we can use the same tricks to have an “almost perfect cube” as we did with the difference of squares formula. The key is that the polynomial we want to factor has only a leading term (with power divisible by ) and a constant term, and no terms between them.

We claimed earlier that we only needed the one formula, so how do we deal with a difference of cubes? Consider the following example.

So, provided you are ok keeping track of the negative sign for , there is no need to memorize a “difference of cubes”. This has the added benefit of helping your memory keep track by remembering the difference of squares and the sum of cubes. Note that this same trick applies if you decide to only remember the difference of cubes formula; again if you keep track of the negative signs and rewrite sum of cubes as a difference with a negative value for you will always end up with the correct answer.