Factoring is an algebraic method for simplifying equations or expressions. A factored expression is almost always favorable to a non-factored expression, and as a result, you should always factor an expression as much as possible.

In the same way that an expression like 10 can be factored into , an expression like can be factored into , and by extension, an expression like can be factored into .

Notice that in each case, a factored expression can always be verified by distributing each of the factors through to find the original expression; this method can prove useful for checking answers on exam questions.

, , and

The standard form of a *quadratic equation* is: , where *A*, *B*, and *C* are all constants. Notice that this is presented as an equation, meaning that we can solve for the variable *x*. In cases where only the is given, the expression can be factored, but it cannot be solved.

There are a couple cases to consider- the simpler case, when , and the more complicated case, when .

Consider this expression:

To factor the expression, find two factors, *r* and *s*, that sum to the *B* coefficient 6 and multiply to the *C* coefficient 9. The resulting factored expression will be the product of two binomial expressions: .

Begin by finding the factors of 9:

and

Now find which set of factors sums to 6:

and

, so the factors are 3 and 3, and the binomial expression can be written as:

, which can also be written as .

One more example, with some negative signs:

As before, begin by finding the factors of the *C* coefficient :

or and

or .

Now find the factor pair that sums to :

, and and

, and

So the factors are 2 and , and the binomial expression can be written as:

Notice that by distributing the first binomial through the second binomial results in:

, which is the original expression.

Now let’s consider the case when the *A* coefficient is not equal to 1:

Just as in the case of , it is necessary to find the factors of the *C* coefficient; however, in the case of , it is also necessary to find the factors of the *A* coefficient. When fully factored, the expression will take on the form: , where *a*, *b*, *y*, and *z* are constants.

In this case, the factors of *C*:

and .

And the factors of *A*:

and , as well as

and .

Also, like in the case of , a pair of factors that multiply to *C* and sum to *B* is sought, but in this case, it is also necessary to have the first terms of the binomial expressions multiply to *A*. It can also be seen that the *B* coefficient is negative and the *C* coefficient is negative; from this, it can be determined that if *y* is positive, then *z* is negative, or vice versa.

Let’s substitute some of the factors into the binomial expressions to test the results:

, and expanding:

Notice, here, that the sum of the middle terms gives a positive *x* coefficient. This informs us that the larger *x* coefficient in the binomial expression, 3, should be multiplied with the larger negative constant, . Revising our test case:

, which expands to: , which is our original expression.

There is a particular style of quadratic expression known as the *difference of squares* that can be easily factored when the expression is recognized as such. Consider the following two examples:

This should be recognized as a difference of squares: , with *x* and *3* as the values squared. Difference of squares quadratics factor to the following form: , where *a* is the square root of the original square (in this case 9).

The same method can be applied to more complicated expressions as long as the expression is a difference of squares:

Notice that each term in the expression can be rewritten as a term squared:

and

Following the factored format, the original difference can be written as:

Occasionally, it is most efficient to factor a quadratic equation by employing a method called *completing the square*.

Consider this quadratic equation:

The completing the square method works best when the *B* coefficient is an even value, but can be used in other cases as well. The method entails moving the *C* coefficient to the other side of the equation, then dividing the *B* coefficient by 2 and adding the square of the result to both sides of the equation. Doing so enables the left hand side to be rewritten as a binomial squared, which can then be square rooted, and the *x* value can be isolated. Note the steps below:

, add 5 to both sides

, divide 8 by 2, square the result, and add it to both sides

, which becomes

, and the left side can now be rewritten as a binomial squared

, and taking the square root of both sides

, which becomes

Recall that the square root of a positive value is both positive and negative.

Set equal to both the positive and negative values:

and

so:

and

Not all quadratics will factor nicely, and in such cases, it is necessary to employ a technique called the *quadratic formula*. However, this method is usually only necessary when asked to find the solutions to a quadratic equation. Remember, an expression like can be factored, but it cannot be solved. On the other hand, if presented as an equation, , there exist values for *x* that, when substituted, yield a true statement.

The standard form of a *cubic equation* is: , where *A*, *B*, *C*, and *D* are all constants. As with quadratics, a cubic equation can be solved for *x*, and a cubic expression can be factored but not solved.

Just as there is a special case for quadratics (the difference of squares), there are some special cases for cubic equations called the *difference of cubes* and the *sum of cubes*. The first case is a binomial expression, in which the terms are added, where each term can be written as a value cubed: , for example. The second case is a binomial expression, in which the terms are added, where each term can be written as a value cubed: .

The difference of cubes factors to the following form: .

The sum of cubes factors to the following form: .

So, the example cases provided above would factor to the following expressions:

and

In cases where the cubic is of the form , it is worthwhile to know the factoring method of grouping. An example will illustrate the technique:

Notice that the equation can be rewritten as:

The expressions within each parentheses can be factored to the following:

Notice that the expression is common to both terms, meaning that it can be factored:

The cubic has now been factored, but it is always wise to examine the resulting expression for any further possible factoring. In this case, you should recognize the second expression as a difference of squares, so the left hand side can be fully factored to:

and, if necessary, *x* can be solved by setting each expression equal to 0:

, so , and

, so , and

, so

More advanced methods for factoring cubics will not be covered here.

A polynomial is an algebraic expression containing multiple terms; any exponents must be positive integers, and there cannot be division by a term containing a variable. A quadratic equation is a prime example of a polynomial.

When factoring any expression or equation, always begin by looking for a *greatest common factor*; if a GCF is present, factoring it out simplifies any additional factoring.

Consider the following polynomial:

Notice that a is common to each term on the left hand side; factoring it out produces a quadratic that can then be factored using methods described above:

which can be solved by setting each expression equal to 0, and applying the quadratic formula to the trinomial expression in parenthesis:

and