Learning Objectives
In this section, you will:
- Solve quadratic equations by factoring.
- Solve quadratic equations by the square root property.
- Solve quadratic equations by completing the square.
- Solve quadratic equations by using the quadratic formula.
Figure 1
The computer monitor on the left inΒ Figure 1Β is a 23.6-inch model and the one on the right is a 27-inch model. Proportionally, the monitors appear very similar. If there is a limited amount of space and we desire the largest monitor possible, how do we decide which one to choose? In this section, we will learn how to solve problems such as this using four different methods.
Solving Quadratic Equations by Factoring
An equation containing a second-degree polynomial is called a quadratic equation. For example, equations such as 2×2+3xβ1=02π₯2+3π₯β1=0 and x2β4=0π₯2β4=0 are quadratic equations. They are used in countless ways in the fields of engineering, architecture, finance, biological science, and, of course, mathematics.
Often the easiest method of solving a quadratic equation is factoring. Factoring means finding expressions that can be multiplied together to give the expression on one side of the equation.
If a quadratic equation can be factored, it is written as a product of linear terms. Solving by factoring depends on the zero-product property, which states that if aβ b=0,πβ π=0, then a=0π=0 or b=0,π=0, where a and b are real numbers or algebraic expressions. In other words, if the product of two numbers or two expressions equals zero, then one of the numbers or one of the expressions must equal zero because zero multiplied by anything equals zero.
Multiplying the factors expands the equation to a string of terms separated by plus or minus signs. So, in that sense, the operation of multiplication undoes the operation of factoring. For example, expand the factored expression (xβ2)(x+3)(π₯β2)(π₯+3) by multiplying the two factors together.
(xβ2)(x+3)==x2+3xβ2xβ6×2+xβ6(π₯β2)(π₯+3)=π₯2+3π₯β2π₯β6=π₯2+π₯β6
The product is a quadratic expression. Set equal to zero, x2+xβ6=0π₯2+π₯β6=0 is a quadratic equation. If we were to factor the equation, we would get back the factors we multiplied.
The process of factoring a quadratic equation depends on the leading coefficient, whether it is 1 or another integer. We will look at both situations; but first, we want to confirm that the equation is written in standard form, ax2+bx+c=0,ππ₯2+ππ₯+π=0, where a, b, and c are real numbers, and aβ 0.πβ 0. The equation x2+xβ6=0π₯2+π₯β6=0 is in standard form.
We can use the zero-product property to solve quadratic equations in which we first have to factor out the greatest common factor (GCF), and for equations that have special factoring formulas as well, such as the difference of squares, both of which we will see later in this section.
THE ZERO-PRODUCT PROPERTY AND QUADRATIC EQUATIONS
The zero-product property states
If aβ b=0,then a=0or b=0,If πβ π=0,then π=0or π=0,
where a and b are real numbers or algebraic expressions.
A quadratic equation is an equation containing a second-degree polynomial; for example
ax2+bx+c=0ππ₯2+ππ₯+π=0
where a, b, and c are real numbers, and if aβ 0,πβ 0, it is in standard form.
Solving Quadratics with a Leading Coefficient of 1
In the quadratic equation x2+xβ6=0,π₯2+π₯β6=0, the leading coefficient, or the coefficient of x2,π₯2, is 1. We have one method of factoring quadratic equations in this form.
HOW TO
Given a quadratic equation with the leading coefficient of 1, factor it.
- Find two numbers whose product equalsΒ cΒ and whose sum equalsΒ b.
- Use those numbers to write two factors of the formΒ (x+k)orΒ (xβk),(π₯+π)orΒ (π₯βπ),Β whereΒ kΒ is one of the numbers found in step 1. Use the numbers exactly as they are. In other words, if the two numbers are 1 andΒ β2,β2,Β the factors areΒ (x+1)(xβ2).(π₯+1)(π₯β2).
- Solve using the zero-product property by setting each factor equal to zero and solving for the variable.
EXAMPLE 1
Factoring and Solving a Quadratic with Leading Coefficient of 1
Factor and solve the equation: x2+xβ6=0.π₯2+π₯β6=0.
Solution
To factor x2+xβ6=0,π₯2+π₯β6=0, we look for two numbers whose product equals β6β6 and whose sum equals 1. Begin by looking at the possible factors of β6.β6.
1β (β6)(β6)β 12β (β3)3β (β2)1β (β6)(β6)β 12β (β3)3β (β2)
The last pair, 3β (β2)3β (β2) sums to 1, so these are the numbers. Note that only one pair of numbers will work. Then, write the factors.
(xβ2)(x+3)=0(π₯β2)(π₯+3)=0
To solve this equation, we use the zero-product property. Set each factor equal to zero and solve.
(xβ2)(x+3)(xβ2)x(x+3)x=====0020β3(π₯β2)(π₯+3)=0(π₯β2)=0π₯=2(π₯+3)=0π₯=β3
The two solutions areΒ 22Β andΒ β3.β3.Β We can see how the solutions relate to the graph inΒ Figure 2. The solutions are theΒ x-intercepts ofΒ y=x2+xβ6=0.π¦=π₯2+π₯β6=0.
Figure 2
TRY IT #1
Factor and solve the quadratic equation: x2β5xβ6=0.π₯2β5π₯β6=0.
EXAMPLE 2
Solve the Quadratic Equation by Factoring
Solve the quadratic equation by factoring: x2+8x+15=0.π₯2+8π₯+15=0.
Solution
Find two numbers whose product equals 1515 and whose sum equals 8.8. List the factors of 15.15.
1β 153β 5(β1)β (β15)(β3)β (β5)1β 153β 5(β1)β (β15)(β3)β (β5)
The numbers that add to 8 are 3 and 5. Then, write the factors, set each factor equal to zero, and solve.
(x+3)(x+5)(x+3)x(x+5)x=====00β30β5(π₯+3)(π₯+5)=0(π₯+3)=0π₯=β3(π₯+5)=0π₯=β5
The solutions are β3β3 and β5.β5.
TRY IT #2
Solve the quadratic equation by factoring: x2β4xβ21=0.π₯2β4π₯β21=0.
EXAMPLE 3
Using the Zero-Product Property to Solve a Quadratic Equation Written as the Difference of Squares
Solve the difference of squares equation using the zero-product property: x2β9=0.π₯2β9=0.
Solution
Recognizing that the equation represents the difference of squares, we can write the two factors by taking the square root of each term, using a minus sign as the operator in one factor and a plus sign as the operator in the other. Solve using the zero-factor property.
x2β9(xβ3)(x+3)(xβ3)x(x+3)x======00030β3π₯2β9=0(π₯β3)(π₯+3)=0(π₯β3)=0π₯=3(π₯+3)=0π₯=β3
The solutions are 33 and β3.β3.
TRY IT #3
Solve by factoring: x2β25=0.π₯2β25=0.
Solving a Quadratic Equation by Factoring when the Leading Coefficient is not 1
When the leading coefficient is not 1, we factor a quadratic equation using the method called grouping, which requires four terms. With the equation in standard form, letβs review the grouping procedures:
- With the quadratic in standard form,Β ax2+bx+c=0,ππ₯2+ππ₯+π=0,Β multiplyΒ aβ c.πβ π.
- Find two numbers whose product equalsΒ acππΒ and whose sum equalsΒ b.π.
- Rewrite the equation replacing theΒ bxππ₯Β term with two terms using the numbers found in step 2 as coefficients ofΒ x.
- Factor the first two terms and then factor the last two terms. The expressions in parentheses must be exactly the same to use grouping.
- Factor out the expression in parentheses.
- Set the expressions equal to zero and solve for the variable.
EXAMPLE 4
Solving a Quadratic Equation Using Grouping
Use grouping to factor and solve the quadratic equation: 4×2+15x+9=0.4π₯2+15π₯+9=0.
Solution
First, multiply ac:4(9)=36.ππ:4(9)=36. Then list the factors of 36.36.
1β 362β 183β 124β 96β 61β 362β 183β 124β 96β 6
The only pair of factors that sums to 1515 is 3+12.3+12. Rewrite the equation replacing the b term, 15x,15π₯, with two terms using 3 and 12 as coefficients of x. Factor the first two terms, and then factor the last two terms.
4×2+3x+12x+9x(4x+3)+3(4x+3)(4x+3)(x+3)===0004π₯2+3π₯+12π₯+9=0π₯(4π₯+3)+3(4π₯+3)=0(4π₯+3)(π₯+3)=0
Solve using the zero-product property.
(4x+3)(x+3)(4x+3)x(x+3)x=====00β340β3(4π₯+3)(π₯+3)=0(4π₯+3)=0π₯=β34(π₯+3)=0π₯=β3
The solutions areΒ β34,β34,Β andΒ β3.β3.Β SeeΒ Figure 3.
Figure 3
TRY IT #4
Solve using factoring by grouping: 12×2+11x+2=0.12π₯2+11π₯+2=0.
EXAMPLE 5
Solving a Polynomial of Higher Degree by Factoring
Solve the equation by factoring: β3×3β5×2β2x=0.β3π₯3β5π₯2β2π₯=0.
Solution
This equation does not look like a quadratic, as the highest power is 3, not 2. Recall that the first thing we want to do when solving any equation is to factor out the GCF, if one exists. And it does here. We can factor out βxβπ₯ from all of the terms and then proceed with grouping.
β3×3β5×2β2xβx(3×2+5x+2)==00β3π₯3β5π₯2β2π₯=0βπ₯(3π₯2+5π₯+2)=0
Use grouping on the expression in parentheses.
βx(3×2+3x+2x+2)βx[3x(x+1)+2(x+1)]βx(3x+2)(x+1)===000βπ₯(3π₯2+3π₯+2π₯+2)=0βπ₯[3π₯(π₯+1)+2(π₯+1)]=0βπ₯(3π₯+2)(π₯+1)=0
Now, we use the zero-product property. Notice that we have three factors.
βxx3x+2xx+1x======000β230β1βπ₯=0π₯=03π₯+2=0π₯=β23π₯+1=0π₯=β1
The solutions are 0,0, β23,β23, and β1.β1.
TRY IT #5
Solve by factoring: x3+11×2+10x=0.π₯3+11π₯2+10π₯=0.
Using the Square Root Property
When there is no linear term in the equation, another method of solving a quadratic equation is by using the square root property, in which we isolate the x2π₯2 term and take the square root of the number on the other side of the equals sign. Keep in mind that sometimes we may have to manipulate the equation to isolate the x2π₯2 term so that the square root property can be used.
THE SQUARE ROOT PROPERTY
With the x2π₯2 term isolated, the square root property states that:
ifx2=k,thenx=Β±kβββifπ₯2=π,thenπ₯=Β±π
where k is a nonzero real number.
HOW TO
Given a quadratic equation with an x2π₯2 term but no xπ₯ term, use the square root property to solve it.
- Isolate theΒ x2π₯2Β term on one side of the equal sign.
- Take the square root of both sides of the equation, putting aΒ Β±Β±Β sign before the expression on the side opposite the squared term.
- Simplify the numbers on the side with theΒ Β±Β±Β sign.
EXAMPLE 6
Solving a Simple Quadratic Equation Using the Square Root Property
Solve the quadratic using the square root property: x2=8.π₯2=8.
Solution
Take the square root of both sides, and then simplify the radical. Remember to use a Β±Β± sign before the radical symbol.
x2x===8Β±8ββΒ±22ββπ₯2=8π₯=Β±8=Β±22
The solutions are 22ββ,22, β22ββ.β22.
EXAMPLE 7
Solving a Quadratic Equation Using the Square Root Property
Solve the quadratic equation: 4×2+1=7.4π₯2+1=7.
Solution
First, isolate the x2π₯2 term. Then take the square root of both sides.
4×2+14x2x2x====7664Β±6β24π₯2+1=74π₯2=6π₯2=64π₯=Β±62
The solutions are 6β2,62, and β6β2.β62.
TRY IT #6
Solve the quadratic equation using the square root property: 3(xβ4)2=15.3(π₯β4)2=15.
Completing the Square
Not all quadratic equations can be factored or can be solved in their original form using the square root property. In these cases, we may use a method for solving a quadratic equation known as completing the square. Using this method, we add or subtract terms to both sides of the equation until we have a perfect square trinomial on one side of the equal sign. We then apply the square root property. To complete the square, the leading coefficient, a, must equal 1. If it does not, then divide the entire equation by a. Then, we can use the following procedures to solve a quadratic equation by completing the square.
We will use the example x2+4x+1=0π₯2+4π₯+1=0 to illustrate each step.
- Given a quadratic equation that cannot be factored, and withΒ a=1,π=1,Β first add or subtract the constant term to the right side of the equal sign.x2+4x=β1π₯2+4π₯=β1
- Multiply theΒ bΒ term byΒ 1212Β and square it.12(4)22==2412(4)=222=4
- AddΒ (12b)2(12π)2Β to both sides of the equal sign and simplify the right side. We havex2+4x+4×2+4x+4==β1+43π₯2+4π₯+4=β1+4π₯2+4π₯+4=3
- The left side of the equation can now be factored as a perfect square.x2+4x+4(x+2)2==33π₯2+4π₯+4=3(π₯+2)2=3
- Use the square root property and solve.(x+2)2ββββββββx+2x===Β±3ββΒ±3βββ2Β±3ββ(π₯+2)2=Β±3π₯+2=Β±3π₯=β2Β±3
- The solutions areΒ β2+3ββ,β2+3,Β andΒ β2β3ββ.β2β3.
EXAMPLE 8
Solving a Quadratic by Completing the Square
Solve the quadratic equation by completing the square: x2β3xβ5=0.π₯2β3π₯β5=0.
Solution
First, move the constant term to the right side of the equal sign.
x2β3x=5π₯2β3π₯=5
Then, take 1212 of the b term and square it.
12(β3)(β32)2==β329412(β3)=β32(β32)2=94
Add the result to both sides of the equal sign.
x2β3x+(β32)2×2β3x+94==5+(β32)25+94π₯2β3π₯+(β32)2=5+(β32)2π₯2β3π₯+94=5+94
Factor the left side as a perfect square and simplify the right side.
(xβ32)2=294(π₯β32)2=294
Use the square root property and solve.
(xβ32)2ββββββββ(xβ32)x===Β±294βββΒ±29β232Β±29β2(π₯β32)2=Β±294(π₯β32)=Β±292π₯=32Β±292
The solutions are 3+29β23+292 and 3β29β23-292 .
TRY IT #7
Solve by completing the square: x2β6x=13.π₯2β6π₯=13.
Using the Quadratic Formula
The fourth method of solving a quadratic equation is by using the quadratic formula, a formula that will solve all quadratic equations. Although the quadratic formula works on any quadratic equation in standard form, it is easy to make errors in substituting the values into the formula. Pay close attention when substituting, and use parentheses when inserting a negative number.
We can derive the quadratic formula by completing the square. We will assume that the leading coefficient is positive; if it is negative, we can multiply the equation by β1β1 and obtain a positive a. Given ax2+bx+c=0,ππ₯2+ππ₯+π=0, aβ 0,πβ 0, we will complete the square as follows:
- First, move the constant term to the right side of the equal sign:ax2+bx=βcππ₯2+ππ₯=βπ
- As we want the leading coefficient to equal 1, divide through byΒ a:x2+bax=βcaπ₯2+πππ₯=βππ
- Then, findΒ 1212Β of the middle term, and addΒ (12ba)2=b24a2(12ππ)2=π24π2Β to both sides of the equal sign:x2+bax+b24a2=b24a2βcaπ₯2+πππ₯+π24π2=π24π2βππ
- Next, write the left side as a perfect square. Find the common denominator of the right side and write it as a single fraction:(x+b2a)2=b2β4ac4a2(π₯+π2π)2=π2β4ππ4π2
- Now, use the square root property, which givesx+b2ax+b2a==Β±b2β4ac4a2ββββββΒ±b2β4acβ2aπ₯+π2π=Β±π2β4ππ4π2π₯+π2π=Β±π2β4ππ2π
- Finally, addΒ βb2aβπ2πΒ to both sides of the equation and combine the terms on the right side. Thus,x=βbΒ±b2β4acββββββββ2aπ₯=βπΒ±π2β4ππ2π
THE QUADRATIC FORMULA
Written in standard form, ax2+bx+c=0,ππ₯2+ππ₯+π=0, any quadratic equation can be solved using the quadratic formula:
x=βbΒ±b2β4acββββββββ2aπ₯=βπΒ±π2β4ππ2π
where a, b, and c are real numbers and aβ 0.πβ 0.
HOW TO
Given a quadratic equation, solve it using the quadratic formula
- Make sure the equation is in standard form:Β ax2+bx+c=0.ππ₯2+ππ₯+π=0.
- Make note of the values of the coefficients and constant term,Β a,b,π,π,Β andΒ c.π.
- Carefully substitute the values noted in step 2 into the equation. To avoid needless errors, use parentheses around each number input into the formula.
- Calculate and solve.
EXAMPLE 9
Solve the Quadratic Equation Using the Quadratic Formula
Solve the quadratic equation: x2+5x+1=0.π₯2+5π₯+1=0.
Solution
Identify the coefficients: a=1,b=5,c=1.π=1,π=5,π=1. Then use the quadratic formula.
x===β(5)Β±(5)2β4(1)(1)β2(1)β5Β±25β4β2β5Β±21β2π₯=β(5)Β±(5)2β4(1)(1)2(1)=β5Β±25β42=β5Β±212
EXAMPLE 10
Solving a Quadratic Equation with the Quadratic Formula
Use the quadratic formula to solve x2+x+2=0.π₯2+π₯+2=0.
Solution
First, we identify the coefficients: a=1,b=1,π=1,π=1, and c=2.π=2.
Substitute these values into the quadratic formula.
x=====βbΒ±b2β4acβ2aβ(1)Β±(1)2β(4)β (1)β (2)β2β 1β1Β±1β8β2β1Β±β7β2β1Β±i7β2π₯=βπΒ±π2β4ππ2π=β(1)Β±(1)2β(4)β (1)β (2)2β 1=β1Β±1β82=β1Β±β72=β1Β±π72
The solutions to the equation are β1+i7β2β1+π72 and β1βi7β2β1βπ72
TRY IT #8
Solve the quadratic equation using the quadratic formula: 9×2+3xβ2=0.9π₯2+3π₯β2=0.
The Discriminant
TheΒ quadratic formulaΒ not only generates the solutions to a quadratic equation, it tells us about the nature of the solutions when we consider theΒ discriminant, or the expression under the radical,Β b2β4ac.π2β4ππ.Β The discriminant tells us whether the solutions are real numbers or complex numbers, and how many solutions of each type to expect.Β Table 1Β relates the value of the discriminant to the solutions of a quadratic equation.
| Value of Discriminant | Results |
|---|---|
| b2β4ac=0π2β4ππ=0 | One rational solution (double solution) |
| b2β4ac>0,π2β4ππ>0, perfect square | Two rational solutions |
| b2β4ac>0,π2β4ππ>0, not a perfect square | Two irrational solutions |
| b2β4ac<0π2β4ππ<0 | Two complex solutions |
THE DISCRIMINANT
For ax2+bx+c=0ππ₯2+ππ₯+π=0 , where aπ , bπ , and cπ are real numbers, the discriminant is the expression under the radical in the quadratic formula: b2β4ac.π2β4ππ. It tells us whether the solutions are real numbers or complex numbers and how many solutions of each type to expect.
EXAMPLE 11
Using the Discriminant to Find the Nature of the Solutions to a Quadratic Equation
Use the discriminant to find the nature of the solutions to the following quadratic equations:
- βΒ x2+4x+4=0π₯2+4π₯+4=0
- βΒ 8×2+14x+3=08π₯2+14π₯+3=0
- βΒ 3×2β5xβ2=03π₯2β5π₯β2=0
- βΒ 3×2β10x+15=03π₯2β10π₯+15=0
Solution
Calculate the discriminant b2β4acπ2β4ππ for each equation and state the expected type of solutions.
- βx2+4x+4=0π₯2+4π₯+4=0b2β4ac=(4)2β4(1)(4)=0.π2β4ππ=(4)2β4(1)(4)=0.Β There will be one rational double solution.
- β8×2+14x+3=08π₯2+14π₯+3=0b2β4ac=(14)2β4(8)(3)=100.π2β4ππ=(14)2β4(8)(3)=100.Β AsΒ 100100Β is a perfect square, there will be two rational solutions.
- β3×2β5xβ2=03π₯2β5π₯β2=0b2β4ac=(β5)2β4(3)(β2)=49.π2β4ππ=(β5)2β4(3)(β2)=49.Β AsΒ 4949Β is a perfect square, there will be two rational solutions.
- β3×2β10x+15=03π₯2β10π₯+15=0b2β4ac=(β10)2β4(3)(15)=β80.π2β4ππ=(β10)2β4(3)(15)=β80.Β There will be two complex solutions.
Using the Pythagorean Theorem
One of the most famous formulas in mathematics is the Pythagorean Theorem. It is based on a right triangle, and states the relationship among the lengths of the sides as a2+b2=c2,π2+π2=π2, where aπ and bπ refer to the legs of a right triangle adjacent to the 90Β°90Β° angle, and cπ refers to the hypotenuse. It has immeasurable uses in architecture, engineering, the sciences, geometry, trigonometry, and algebra, and in everyday applications.
We use the Pythagorean Theorem to solve for the length of one side of a triangle when we have the lengths of the other two. Because each of the terms is squared in the theorem, when we are solving for a side of a triangle, we have a quadratic equation. We can use the methods for solving quadratic equations that we learned in this section to solve for the missing side.
The Pythagorean Theorem is given as
a2+b2=c2π2+π2=π2
whereΒ aπΒ andΒ bπΒ refer to the legs of a right triangle adjacent to theΒ 90β90βΒ angle, andΒ cπΒ refers to the hypotenuse, as shown inΒ Figure 4.
Figure 4
EXAMPLE 12
Finding the Length of the Missing Side of a Right Triangle
Find the length of the missing side of the right triangle inΒ Figure 5.
Figure 5
Solution
As we have measurements for side b and the hypotenuse, the missing side is a.
a2+b2a2+(4)2a2+16a2a======c2(12)2144128128ββββ82ββπ2+π2=π2π2+(4)2=(12)2π2+16=144π2=128π=128=82
TRY IT #9
Use the Pythagorean Theorem to solve the right triangle problem: Leg a measures 4 units, leg b measures 3 units. Find the length of the hypotenuse.
RELATED POSTS
View all