<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

Difficulty Level: At Grade Created by: CK-12

## Learning objectives

• Identify and choose methods for solving quadratic equations.
• Solve real-world problems using functions by completing the square.

## Introduction

In this section, you will solve quadratic equations using the Quadratic Formula. Most of you are already familiar with this formula from previous mathematics courses. It is probably the most used method for solving quadratic equations. For a quadratic equation in standard form

\begin{align*}ax^2 + bx + c = 0\end{align*}

The solutions are found using the following formula.

\begin{align*} x = \frac{-b \pm \sqrt{b^2 - 4ac}} {2a}\end{align*}

We will start by explaining where this formula comes from and then show how it is applied. This formula is derived by solving a general quadratic equation using the method of completing the square that you learned in the previous section.

\begin{align*}\text{We start with a general quadratic equation}. & & ax^2 + bx + c & = 0\\ \text{Subtract the constant term from both sides}. & & ax^2 + bx & = -c\\ \text{Divide by the coefficient of the} \ x^2 \ \text{term}. & & x^2 + \frac{b} {a} x & = -\frac{c} {a}\\ \text{Rewrite}. & & x^2 + 2\left (\frac{b} {2a}\right ) x & = - \frac{c} {a}\\ \text{Add the constant} \left (\frac{b} {2a}\right )^2 \ \text{to both sides}. & & x^2 + 2 \left (\frac{b} {2a}\right ) x + \left (\frac{b} {2a}\right )^2 & = -\frac{c} {a} + \frac{b^2} {4a^2}\\ \text{Factor the perfect square trinomial}. & & \left (x + \frac{b} {2a}\right )^2 & = -\frac{4ac} {4a^2} + \frac{b^2} {4a^2}\\ \text{Simplify}. & & \left (x + \frac{b} {2a}\right )^2 & = \frac{b^2 - 4ac} {4a^2}\\ \text{Take the square root of both sides}. & & x + \frac{b} {2a} & = \sqrt{\frac{b^2 - 4ac} {4a^2}} \ \text{and} \ x + \frac{b} {2a} = - \sqrt{\frac{b^2 - 4ac} {4a^2}}\\ \text{Simplify}. & & x + \frac{b} {2a} & = \sqrt{\frac{b^2 - 4ac} {2a}} \ \text{and} \ x + \frac{b} {2a} = - \sqrt{\frac{b^2 - 4ac} {2a}}\\ & & x & = - \frac{b} {2a} + \sqrt{\frac{b^2 - 4ac} {2a}}\\ & & x & = - \frac{b} {2a} - \sqrt{\frac{b^2 - 4ac} {2a}}\\ & & x & = \frac{-b + \sqrt{b^2 - 4ac}} {2a} \\ & & x & = \frac{- b - \sqrt{b^2 - 4ac}} {2a}\end{align*}

This can be written more compactly as \begin{align*} x = \frac{-b \pm \sqrt{b^2 - 4ac}} {2a}\end{align*}.

You can see that the familiar formula comes directly from applying the method of completing the square. Applying the method of completing the square to solve quadratic equations can be tedious. The quadratic formula is a more straightforward way of finding the solutions.

Applying the quadratic formula basically amounts to plugging the values of \begin{align*}a, b\end{align*} and \begin{align*}c\end{align*} into the quadratic formula.

Example 1

a) \begin{align*}2x^2 + 3x + 1 = 0\end{align*}

b) \begin{align*}x^2 - 6x + 5 = 0\end{align*}

c) \begin{align*}-4x^2 + x + 1 = 0\end{align*}

Solution

Start with the quadratic formula and plug in the values of \begin{align*}a, b\end{align*} and \begin{align*}c\end{align*}.

a) \begin{align*}\text{Quadratic formula} & & x & = \frac{-b \pm \sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = 2, b = 3, c = 1. & & x & = \frac{-3 \pm \sqrt{(3)^2 - 4(2) (1)}} {2(2)}\\ \text{Simplify}. & & x & = \frac{-3 \pm \sqrt{9 - 8}} {4} = \frac{-3 \pm \sqrt{1}} {4}\\ \text{Separate the two options}. & & x & = \frac{-3 + 1} {4} \ \text{and} \ x = \frac{-3-1} {4}\\ \text{Solve}. & & x & = \frac{-2} {4} = - \frac{1} {2} \ \text{and} \ x = \frac{-4} {4} = -1\end{align*}

Answer \begin{align*}x = -\frac{1} {2}\end{align*} and \begin{align*}x = -1\end{align*}

b) \begin{align*}\text{Quadratic formula}. & & x & = \frac{-b \pm \sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = 1, b = -6, c = 5. & & x & = \frac{-(-6) \pm \sqrt{(-6)^2 - 4(1) (5)}} {2(1)}\\ \text{Simplify}. & & x & = \frac{6 \pm \sqrt{36 - 20}} {2} = \frac{6 \pm \sqrt{16}} {2}\\ \text{Separate the two options}. & & x & = \frac{6 + 4} {2} \ \text{and} \ x = \frac{6 - 4} {2}\\ \text{Solve} & & x & = \frac{10} {2} = 5 \ \text{and} \ x = \frac{2} {2} = 1\end{align*}

Answer \begin{align*}x = 5\end{align*} and \begin{align*}x = 1\end{align*}

c) \begin{align*}\text{Quadratic formula}. & & x & = \frac{-b \pm \sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = -4, b = 1, c = 1. & & x & = \frac{-1 \pm \sqrt{(1)^2 - 4(-4)(1)}} {2(-4)}\\ \text{Simplify}. & & x & = \frac{-1 \pm \sqrt{1 + 16}} {-8} = \frac{-1 \pm \sqrt{17}} {-8}\\ \text{Separate the two options}. & & x & = \frac{-1 + \sqrt{17}} {-8} \ \text{and} \ x = \frac{-1-\sqrt{17}} {-8}\\ \text{Solve}. & & x & \approx -.39 \ \text{and} \ x \approx .64\end{align*}

Answer \begin{align*}x \approx -.39\end{align*} and \begin{align*}x \approx .64\end{align*}

Often when we plug the values of the coefficients into the quadratic formula, we obtain a negative number inside the square root. Since the square root of a negative number does not give real answers, we say that the equation has no real solutions. In more advanced mathematics classes, you will learn how to work with “complex” (or “imaginary”) solutions to quadratic equations.

Example 2

Solve the following quadratic equation using the quadratic formula \begin{align*}x^2 + 2x + 7 = 0\end{align*}

Solution:

a) \begin{align*}\text{Quadratic formula}. & & x & = \frac{b \pm\sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = 1, b = 2, c = 7. & & x & = \frac{-2 \pm\sqrt{(2)^2 - 4(1)(7)}} {2(1)}\\ \text{Simplify}. & & x & = \frac{-2 \pm \sqrt{4 - 28}} {2} = \frac{-2 \pm \sqrt{-24}} {2}\end{align*}

Answer There are no real solutions.

To apply the quadratic formula, we must make sure that the equation is written in standard form. For some problems, we must rewrite the equation before we apply the quadratic formula.

Example 3

a) \begin{align*}x^2 - 6x = 10\end{align*}

b) \begin{align*}8x^2 = 5x + 6\end{align*}

Solution:

a) \begin{align*}\text{Rewrite the equation in standard form}. & & x^2 - 6x - 10 & = 0\\ \text{Quadratic formula} & & x & = \frac{-b \pm\sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = 1, b = -6, c = -10. & & x & = \frac{-(-6) \pm \sqrt{(-6)^2 - 4(1) (-10)}} {2(1)}\\ \text{Simplify}. & & x & = \frac{6 \pm \sqrt{36 + 40}} {2} = \frac{6 \pm \sqrt{76}} {2}\\ \text{Separate the two options}. & & x & = \frac{6 + \sqrt{76}} {2} \ \text{and} \ x = \frac{6 - \sqrt{76}} {2}\\ \text{Solve}. & & x & \approx 7.36 \ \text{and} \ x \approx -1.36\end{align*}

Answer \begin{align*}x \approx 7.36\end{align*} and \begin{align*}x \approx -1.36\end{align*}

b) \begin{align*}\text{Rewrite the equation in standard form}. & & 8x^2 + 5x + 6 & = 0\\ \text{Quadratic formula} & & x & = \frac{-b \pm\sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = 8, b = 5, c = 6. & & x & = \frac{-5 \pm \sqrt{(5)^2 - 4(8)(6)}} {2(8)}\\ \text{Simplify}. & & x & = \frac{-5 \pm \sqrt{25 - 192}} {16} = \frac{-5 \pm \sqrt{-167}} {16}\end{align*}

. This video is not necessarily different from the examples above, but it does help reinforce the procedure of using the quadratic formula to solve equations.

## Finding the Vertex of a Parabola with the Quadratic Formula

Sometimes you get more information from a formula beyond what you were originally seeking. In this case, the quadratic formula also gives us an easy way to locate the vertex of a parabola.

First, recall that the quadratic formula tells us the roots or solutions of the equation \begin{align*}ax^2 + bx + c = 0\end{align*}. Those roots are

\begin{align*}x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.\end{align*}

We can rewrite the fraction in the quadratic formula as

\begin{align*}x = -\frac{b}{2a} \pm \frac{\sqrt{b^2-4ac}}{2a}.\end{align*}

Recall that the roots are symmetric about the vertex. In the form above, we can see that the roots of a quadratic equation are symmetric around the \begin{align*}x-\end{align*}coordinate \begin{align*}-\frac{b}{2a}\end{align*} because they move \begin{align*}\frac{\sqrt{b^2-4ac}}{2a}\end{align*} units to the left and right (recall the \begin{align*}\pm\end{align*} sign) from the vertical line \begin{align*}x = - \frac{b}{2a}\end{align*}. The image to the right illustrates this for the equation \begin{align*}x^2-2x - 3 = 0\end{align*}. The roots, -1 and 3 are both 2 units from the vertical line \begin{align*}x = 1\end{align*}.

## Identify and Choose Methods for Solving Quadratic Equations.

In mathematics, you will need to solve quadratic equations that describe application problems or that are part of more complicated problems. You learned four ways of solving a quadratic equation.

• Factoring.
• Taking the square root.
• Completing the square.

Usually you will not be told which method to use. You will have to make that decision yourself. However, here are some guidelines to which methods are better in different situations.

Factoring is always best if the quadratic expression is easily factorable. It is always worthwhile to check if you can factor because this is the fastest method. Many expressions are not factorable so this method is not used very often in practice.

Taking the square root is best used when there is no \begin{align*}x\end{align*} term in the equation.

Completing the square can be used to solve any quadratic equation. This is usually not any better than using the quadratic formula (in terms of difficult computations), however it is a very important method for re-writing a quadratic function in vertex form. It is also be used to re-write the equations of circles, ellipses and hyperbolas in standard form (something you will do in algebra II, trigonometry, physics, calculus, and beyond...).

Quadratic formula is the method that is used most often for solving a quadratic equation. When solving directly by taking square root and factoring does not work, this is the method that most people prefer to use.

If you are using factoring or the quadratic formula make sure that the equation is in standard form.

Example 4

a) \begin{align*}x^2 - 4x - 5 = 0\end{align*}

b) \begin{align*}x^2 = 8 \end{align*}

c) \begin{align*}-4x^2 + x = 2 \end{align*}

d) \begin{align*}25x^2 - 9 = 0 \end{align*}

e) \begin{align*}3x^2 = 8x\end{align*}

Solution

a) This expression if easily factorable so we can factor and apply the zero-product property:

\begin{align*}\text{Factor}. & & (x - 5)(x + 1) & = 0\\ \text{Apply zero-product property}. & & x - 5 & = 0 \ \text{and} \ x + 1 = 0\\ \text{Solve}. & & x & = 5 \ \text{and} \ x = -1\end{align*}

Answer \begin{align*}x = 5\end{align*} and \begin{align*}x = -1\end{align*}

b) Since the expression is missing the \begin{align*}x\end{align*} term we can take the square root:

\begin{align*}\text{Take the square root of both sides}. & & x = \sqrt{8} \ \text{and} \ x = -\sqrt{8}\end{align*}

Answer \begin{align*}x = 2.83\end{align*} and \begin{align*}x = -2.83\end{align*}

c) Rewrite the equation in standard form.

It is not apparent right away if the expression is factorable, so we will use the quadratic formula.

\begin{align*}\text{Quadratic formula} & & x & = \frac{-b \pm\sqrt{b^2 - 4ac}} {2a}\\ \text{Plug in the values} \ a = -4, b = 1, c = -2. & & x & = \frac{-1 \pm \sqrt{1^2 - 4 (-4) (-2)}} {2(-4)}\\ \text{Simplify}. & & x & = \frac{-1 \pm \sqrt{1 - 32}} {-8} = \frac{-1 \pm \sqrt{-31}} {-8}\end{align*}

d) This problem can be solved easily either with factoring or taking the square root. Let’s take the square root in this case.

\begin{align*}\text{Add} \ 9 \ \text{to both sides of the equation}. & & 25x^2 & = 9\\ \text{Divide both sides by} \ 25. & & x^2 & = \frac{9} {25}\\ \text{Take the square root of both sides}. & & x & = \sqrt{\frac{9} {25}} \ \text{and} \ x = - \sqrt{\frac{9} {25}}\\ \text{Simplify}. & & x & = \frac{3} {5} \ \text{and} \ x = - \frac{3} {5}\end{align*}

Answer \begin{align*}x = \frac{3} {5}\end{align*} and \begin{align*}x = - \frac{3} {5}\end{align*}

e) \begin{align*}\text{Rewrite the equation in standard form} & & 3x^2 - 8x & = 0\\ \text{Factor out common} \ x \ \text{term}. & & x (3x - 8) & = 0\\ \text{Set both terms to zero}. & & x & = 0 \ \text{and} \ 3x = 8\\ \text{Solve}. & & x & = 0 \ \text{and} \ x = \frac{8} {3} = 2.67\end{align*}

Answer \begin{align*}x = 0\end{align*} and \begin{align*}x = 2.67\end{align*}

## Solve Real-World Problems Using Quadratic Functions by any Method

Here are some application problems that arise from number relationships and geometry applications.

Example 5

The product of two positive consecutive integers is 156. Find the integers.

Solution

For two consecutive integers, one integer is one more than the other one.

Define

Let \begin{align*}x \ =\end{align*} the smaller integer

\begin{align*}x + 1 \ =\end{align*} the next integer

Translate

The product of the two numbers is 156. We can write the equation:

\begin{align*}x(x + 1) = 156\end{align*}

Solve

\begin{align*}x^2 + x & = 156\\ x^2 + x - 156 & = 0\end{align*}

Apply the quadratic formula with \begin{align*}a = 1, b = 1, c = -156\end{align*}

\begin{align*}& x = \frac{-1 \pm \sqrt{1^2 - 4(1)(-156)}} {2(1)}\\ & x = \frac{-1 \pm \sqrt{625}} {2} = \frac{-1 \pm 25} {2}\\ & x = \frac{-1 + 25} {2} \ \text{and} \ x = \frac{-1-25} {2}\\ & x = \frac{24} {2} = 12 \ \text{and} \ x = \frac{-26} {2} = -13\end{align*}

Since we are looking for positive integers take, \begin{align*}x = 12\end{align*}

Check \begin{align*}12 \times 13 = 156\end{align*}. The answer checks out.

Example 6

The length of a rectangular pool is 10 meters more than its width. The area of the pool is 875 square/meters. Find the dimensions of the pool.

Solution:

Draw a sketch

Define

Let \begin{align*}x \ =\end{align*} the width of the pool

\begin{align*}x + 10 \ =\end{align*} the length of the pool

Translate

The area of a rectangle is A = length \begin{align*}\times\end{align*} width, so

\begin{align*}x(x + 10) = 875\end{align*}

Solve

\begin{align*}x^2 + 10x & = 875\\ x^2 + 10x - 875 & = 0\end{align*}

Apply the quadratic formula with \begin{align*}a = 1, b = 10\end{align*} and \begin{align*}c = -875\end{align*}

\begin{align*}x & = \frac{-10 \pm \sqrt{(10)^2 - 4(1) (-875)}} {2(1)}\\ x & = \frac{-10 \pm \sqrt{100 + 3500}} {2}\\ x & = \frac{-10 \pm \sqrt{3600}} {2} = \frac{-10 \pm 60} {2}\\ x & = \frac{-10 + 60} {2}\ \text{and} \ x = \frac{-10 - 60} {2}\\ x & = \frac{50} {2} = 25 \ \text{and} \ x = \frac{-70} {2} = -35\end{align*}

Since the dimensions of the pools should be positive, then \begin{align*}x = 25\ meters\end{align*}.

Answer The pool is \begin{align*}25\ meters \times 35\ meters\end{align*}.

Check \begin{align*}25 \times 35 = 875 \ m^2\end{align*}. The answer checks out.

Example 7

Suzie wants to build a garden that has three separate rectangular sections. She wants to fence around the whole garden and between each section as shown. The plot is twice as long as it is wide and the total area is \begin{align*}200 \ ft^2\end{align*}. How much fencing does Suzie need?

Solution

Draw a Sketch

Define

Let \begin{align*}x \ =\end{align*} the width of the plot

\begin{align*}2x \ =\end{align*} the length of the plot

Translate

Area of a rectangle is A = length \begin{align*}\times\end{align*} width, so

\begin{align*}x(2x) = 200\end{align*}

Solve

\begin{align*}2x^2 = 200\end{align*}

Solve by taking the square root.

\begin{align*}x^2 & = 100\\ x & = \sqrt{100} \ \text{and} \ x = - \sqrt{100}\\ x & = 10 \ \text{and} \ x = -10\end{align*}

We take \begin{align*}x = 10\end{align*} since only positive dimensions make sense.

The plot of land is \begin{align*}10\ feet \times 20\ feet\end{align*}.

To fence the garden the way Suzie wants, we need 2 lengths and 4 widths \begin{align*}= 2(20) + 4(10) = 80\ feet\end{align*} of fence.

Answer: The fence is 80 feet.

Check \begin{align*}10 \times 20 = 200 \ ft^2\end{align*} and \begin{align*}2(20) + 4(10) = 80\ feet\end{align*}. The answer checks out.

Example 8

An isosceles triangle is enclosed in a square so that its base coincides with one of the sides of the square and the tip of the triangle touches the opposite side of the square. If the area of the triangle is \begin{align*}20 \ in^2\end{align*} what is the area of the square?

Solution:

Draw a sketch.

Define

Let \begin{align*}x \ =\end{align*} base of the triangle

\begin{align*}x \ =\end{align*} height of the triangle

Translate

Area of a triangle is \begin{align*}\frac{1}{2} \times \text{base} \times \text{height}\end{align*}, so

\begin{align*}\frac{1}{2} \cdot x \cdot x = 20\end{align*}

Solve

\begin{align*}\frac{1} {2} x^2 & = 20\end{align*}

Solve by taking the square root.

\begin{align*}x^2 & = 40\\ x & = \sqrt{40} \ \text{and} \ x = -\sqrt{40}\\ x & \approx 6.32 \ \text{and} \ x \approx -6.32\end{align*}

The side of the square is 6.32 inches.

The area of the square is \begin{align*}(6.32)^2 = 40 \ in^2\end{align*}, twice as big as the area of the triangle.

Answer: Area of the triangle is \begin{align*}40 \ in^2\end{align*}

Check: It makes sense that the area of the square will be twice that of the triangle. If you look at the figure you can see that you can fit two triangles inside the square.

## Review Questions

1. \begin{align*}x^2 + 4x - 21 = 0\end{align*}
2. \begin{align*}x^2 - 6x = 12\end{align*}
3. \begin{align*} 3x^2 - \frac{1} {2} x = \frac{3} {8}\end{align*}
4. \begin{align*}2x^2 + x - 3 = 0\end{align*}
5. \begin{align*}-x^2 - 7x + 12 = 0\end{align*}
6. \begin{align*}-3x^2 + 5x = 0\end{align*}
7. \begin{align*}4x^2 = 0\end{align*}
8. \begin{align*}x^2 + 2x + 6 = 0\end{align*}

1. \begin{align*}x^2 - x = 6\end{align*}
2. \begin{align*}x^2 - 12 = 0\end{align*}
3. \begin{align*}-2x^2 + 5x - 3 = 0\end{align*}
4. \begin{align*}x^2 + 7x - 18 = 0\end{align*}
5. \begin{align*}3x^2 + 6x = -10\end{align*}
6. \begin{align*}-4x^2 + 4000x = 0\end{align*}
7. \begin{align*}-3x^2 + 12x + 1 = 0\end{align*}
8. \begin{align*}x^2 + 6x + 9 = 0\end{align*}
9. \begin{align*}81x^2 + 1 = 0\end{align*}
10. \begin{align*}-4x^2 + 4x = 9\end{align*}
11. \begin{align*}36x^2 - 21 = 0\end{align*}
12. \begin{align*}x^2 - 2x - 3 = 0\end{align*}
13. The product of two consecutive integers is 72. Find the two numbers.
14. The product of two consecutive odd integers is 1 less than 3 times their sum. Find the integers.
15. The length of a rectangle exceeds its width by 3 inches. The area of the rectangle is 70 square inches, find its dimensions.
16. Angel wants to cut off a square piece from the corner of a rectangular piece of plywood. The larger piece of wood is \begin{align*}4\ feet \times 8\ feet\end{align*} and the cut off part is \begin{align*}\frac{1}{3}\end{align*} of the total area of the plywood sheet. What is the length of the side of the square?
17. Mike wants to fence three sides of a rectangular patio that is adjacent the back of his house. The area of the patio is \begin{align*}192 \ ft^2\end{align*} and the length is 4 feet longer than the width. Find how much fencing Mike will need.

1. \begin{align*}x = -7, x = 3\end{align*}
2. \begin{align*}x = -1.58, x = 7.58\end{align*}
3. \begin{align*}x = -.28, x = .45\end{align*}
4. \begin{align*}x = -1.5, x = 1\end{align*}
5. \begin{align*}x = -8.42, x = 1.42\end{align*}
6. \begin{align*}x = 1, x = \frac{2}{3}\end{align*}
7. \begin{align*}x = 0, x = \frac{1}{4}\end{align*}
8. No real solution
9. \begin{align*}x = -2, x = 3\end{align*}
10. \begin{align*}x = -3.46, x = 3.46\end{align*}
11. \begin{align*}x = 1, x = 1.5\end{align*}
12. \begin{align*}x = -9, x = 2\end{align*}
13. No real solution
14. \begin{align*}x = 0, x = 1000\end{align*}
15. \begin{align*}x = -.08, x = 4.08\end{align*}
16. \begin{align*}x = -3\end{align*}
17. No real solution
18. No real solution
19. \begin{align*}x = -.76, x = .76\end{align*}
20. \begin{align*}x = -1, x = 3\end{align*}
21. 8 and 9
22. 5 and 7
23. 7 in and 10 in
24. \begin{align*}\text{side} = 3.27 \ ft\end{align*}
25. 40 feet of fencing.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

Show Hide Details
Description
Tags:
Subjects: