All blog posts
Explore the world of design and learn how to create visually stunning artwork.
The Rectangular Coordinate Systems and Graphs
June 12, 2024 | by Bloom Code Studio
Introduction to Equations and Inequalities
June 12, 2024 | by Bloom Code Studio
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.
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.
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.
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
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.
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.
EXAMPLE 7
Solving a Quadratic Equation Using the Square Root Property
Solve the quadratic equation: 4×2+1=7.4𝑥2+1=7.
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.
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.
EXAMPLE 10
Solving a Quadratic Equation with the Quadratic Formula
Use the quadratic formula to solve x2+x+2=0.𝑥2+𝑥+2=0.\
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
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
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.