In this explainer, we will learn how to solve quadratic equations by factoring.

Let us begin by recalling the definition of a quadratic equation.

A quadratic equation is any equation that can be expressed in the standard form , where , , and are real constants and .

We note that a quadratic equation can have zero, one, or two solutions (i.e., values of that satisfy the equation). To find the solutions to a quadratic equation, there are multiple possibilities available to us, but in this explainer we will focus on the method of factoring.

Recall that to factor something means to split it into separate factors (often in parentheses) that multiply to make the whole thing. For instance, the expression can be factored by noting that is a common factor of both terms, meaning we can write it as

Suppose that we wanted to find the solutions to the quadratic equation . By considering the factored form of the left-hand side, it becomes easy to identify what the solutions must be. That is, we have

As is highlighted above, if the product of two (or more) factors is equal to zero, then at least one of the individual factors must itself be equal to zero. Since there are two factors, we therefore have two possibilities:

By adding 5 to both sides of the second equation, we get

Therefore, there are two solutions (also known as roots) for the equation, and . If required, these numbers can also be written as a solution set as .

Let us see another example of factoring a quadratic in such a way to solve it.

### Example 1: Finding the Solution Set of Quadratic Equations by Factoring

Find the solution set of in .

We have been asked to find the solution set of this equation in (i.e., the real numbers), which we can do by factoring the left-hand side. To do this, we begin by recognizing that both terms have a common factor of . Thus, we can factor them to get

Now, we can find the solutions to this equations by setting each factor equal to 0 in turn. So we have

For the second equation, we can subtract 12 from both sides to put it in terms of :

Thus, the solution set is .

In the previous example, factoring the quadratic equation was fairly straightforward because both terms shared a common factor of , but in general, we will have to do more work to obtain the factored form. For instance, suppose we have where all of , , and are nonzero. To approach factoring a quadratic of this form, recall that we have a variety of methods to help us, including

• factoring by inspection,
• recognizing a quadratic as a perfect square,
• recognizing a quadratic as the difference of two squares,
• factoring by grouping.

Suppose that by applying one of the above techniques we are able to factor the quadratic as follows: where and are nonzero. Then, much like in the previous example, we can determine the solutions by setting each factor equal to zero in turn. This gives us

We can then solve each equation separately to get

Thus, by factoring a quadratic, it becomes easy to identify the solutions.

Let us consider an example of a quadratic that must be factored into two parentheses to solve it.

### Example 2: Finding the Roots of a Quadratic Equation in the Form 𝑥2 + 𝑏𝑥 + 𝑐 = 0

Solve by factoring.

We are told in the question that we need to solve this quadratic equation by factoring, so our first step is to factor the left-hand side of the equation. To do this, we can either recognize that the form the quadratic takes is a perfect square or we can apply a more universal approach and use inspection. For the purposes of generality, we will do the latter.

To factor by inspection, recall that we can take factor pairs that multiply to make the last term, and find which ones sum to make the middle term. Since the last term is 4, the distinct factor pairs are

Next, we consider the middle term, , which has a coefficient of . While we cannot add 1 and 4 (or and ) to make , using two lots of , we have

Thus, we know that appears twice in the factors, meaning we can factor the quadratic as follows:

This can be verified by expanding the parentheses. So, our equation can be written as

We can solve this equation, since we know it can only be zero when . By adding 2 to each side, we get the solution,

In the previous example, we had to deal with a quadratic equation where the leading term (i.e., the term) had a coefficient of 1, but sometimes we will need to be able to factor quadratics where this is not the case.

In the next example, we will look toward factoring and solving a nonmonic quadratic equation.

### Example 3: Finding the Roots of a Quadratic Equation in the Form 𝑎𝑥2 + 𝑏𝑥 + 𝑐 = 0

Find the solution set of in .

To find the solutions to this quadratic, we can factor the left-hand side using inspection. To do this, since it has been given in the standard form , we can begin by multiplying and (i.e., ), listing the factors of this number, and identifying the factor pair whose sum is (i.e., ):

So, let us rewrite the expression using these values:

Now, we can factor this by grouping the first two and last two terms:

Finally, now that the quadratic has been factored, we can solve the equation by setting each factor equal to 0. That is, we have

Written as a solution set, this is .

So far, we have only seen quadratic equations given in standard form (i.e., ), but sometimes they may be in a different form despite still essentially being quadratics. As one example, we could have something like

Although we can see that the left-hand side is in a factored form, it does not help us to immediately solve the equation. Instead, we have to manipulate it into a form that we can find the solutions to. In this case, if we take the square root of both sides, we get

Note that the right-hand side can be positive or negative, since both 3 and are square roots of 9. This results in two equations:

Thus, the solutions are and 1. While we did not have to do too much extra work in this case, in general, we might have to do additional computations. In particular, an effective approach to these sorts of problems is to first rearrange the equation into standard form before we try to solve it. Let us see an example of this.

### Example 4: Solving a Quadratic Equation Not Given in Standard Form

Find the solution set of in .

As this equation is not in the standard form for a quadratic equation (i.e., ), we will have to rearrange it into that form before we can solve it.

To begin doing this, we should eliminate the cube on the left-hand side, which we can do by taking the cube root of both sides. This gives us

Then, by adding two to both sides, we can convert it into standard form:

Now, we can solve this equation by factoring. We can do this by inspection by considering a factor pair that multiply to make 2 and add to get . This can be done with and . So, we have

Now, we can solve this by setting the factors to be zero. This gives us two linear equations to solve:

As a solution set, this is .

As a side comment to the kind of rearrangement demonstrated in the previous example, we should be careful when squaring or taking square roots of equations to rearrange them. Since we were taking a cube root, we did not have to do anything in particular (since cube roots are valid for any real number), but say for example we had

If we squared both sides and then factored the resulting quadratic equation (although we will not cover the steps here), we would eventually get

Although this would normally have two solutions, which are and , we note that would result in the right-hand side of the original equation being negative, while the left-hand side has a square root that can only be nonnegative. Therefore, there would only be one correct solution. We should always keep in mind that square roots can potentially lead to only certain solutions being valid.

For our final example, let us consider a geometric problem that can be solved using the factoring methods we have learned so far.

### Example 5: Finding an Unknown in the Dimensions of a Shape by Solving a Quadratic Equation

Given that the area of the shape below is 7 , what is the value of ?

To solve this problem, we must recall the formula for the area of a trapezoid: where is the height, and and are the opposite parallel sides. If we substitute , , , and the given area into the formula, we get

While this equation is in a factored form, we cannot yet solve it for as there is a constant value of 7 on the left-hand side. Thus, let us take everything to the same side:

To solve this, we will first need to expand the parentheses so that we can get it into the standard form . Doing this, we get

Now, we factor it again. We do this by finding two numbers that multiply to make , which is , and add to get , 2:

So, using and 5, we can factor the quadratic expression to get

Now, setting this to zero, we can find the solutions by setting each factor to zero as follows:

We have two possible solutions, but since all of the lengths of the shape must be positive, we can see that is not an option. Thus, must be 3.

Let us finish by summarizing the main things we have learned in this explainer.

### Key Points

• The solutions to a factored quadratic equation that is equal to zero can be obtained by setting each factor equal to zero.
• If the quadratic equation is in standard form, we can factor it using methods we already know for factoring quadratics so that it can be solved.
• If the quadratic equation is not in standard form, we can begin by rearranging it into this form (sometimes squaring and taking square roots may be necessary) before continuing with the procedure for a quadratic in standard form.