# 5.2 Solving Quadratic Equations

As with any function, we can find the vertical intercepts of a quadratic by evaluating the function at an input of zero, and we can find the horizontal intercepts by solving for when the output will be zero. Notice that depending upon the location of the graph, we might have zero, one, or two horizontal intercepts. However, before we get into these, we need to review complex numbers for those times when there are no real horizontal intercepts.

#### Review of Complex Numbers^{[1]}

Recall that we usually restrict the domain of functions with square roots so that we do not have a negative value under the square root sign. This is because the square root of a negative number is not a real number. In other words, there is no way to square a real number and get a negative number. However, we have a way to denote the square root of -1 with an **imaginary** number, **i.**

Imaginary Numbers

The imaginary number, ** i** is defined as and any multiple of

*is also an imaginary number.*

**i**Example of an Imaginary Number

**Simplify **

We can separate as . We can take the square root of 9, and write the square root of -1 as **i***. *

A complex number is the sum of a real number and an imaginary number.

Complex Numbers

A **complex number** is a number , where *a* and *b* are real numbers

*a *is the real part of the complex number

*b* is the imaginary part of the complex number

For our purposes, we need to learn to simplify something like . Simplifying means we write it in the form .

Example Writing a Complex Number in *a+b i *form.

**Write in form.**

The first thing we do is to think of this as

Now distribute the :

The first fraction becomes -2 and the second we need to break up -20 into factors:

Try it Now 1

Write in form.

#### Intercepts of Quadratic Functions

Recall that depending on the location and direction of the parabola, quadratic functions can have 1, 2 or 0 real intercepts as illustrated below.

In words, if we have two horizontal intercepts (also called x-intercepts or zeroes) the parabola dips down under the x-axis. If it is concave down, it would mean that the top is above the x-axis. For one horizontal intercepts, it means the turn-around point or vertex lies exactly on the x-axis. When there is zero real intercepts, it means that the parabola lies completely above the x-axis, if it is concave up or completely below, if it is concave down.

In order to find the horizontal intercepts, we need to know for what x-values is the function equal to zero. In the case of quadratic functions, remember that we need to use one of the following methods.

Solving a Quadratic Equation by Factoring

To solve a factorable quadratic equation, ,we:

- Factor
- Set each factor equal to 0 and solve:

or

Example Finding the Horizontal Intercepts

**Find the vertical and horizontal intercepts of the quadratic .**

We can find the vertical intercept by evaluating the function at an input of zero:

So the vertical intercept is at (0,-2).

For the horizontal intercepts, we solve for when output will be zero:

This can be factored easily so:

Horizontal intercepts at and .

Try it Now 2

Find the vertical and horizontal intercepts of

Notice that in the standard form of a quadratic, the constant term c reveals the vertical intercept of the graph.

For quadratics that can’t be factored, we need another technique. Based on our previous work we showed that any quadratic in standard form can be written into vertex form as:

Solving for the horizontal intercepts using this general equation gives:

Start to solve for by moving the constants to the other side:

Divide both sides by *a*:

Find a common denominator to combine fractions:

Combine the fractions on the left side of the equation:

Take the square root of both sides:

Subtract *b/2a* from both sides:

Combining the fractions:

Notice that this can yield two different answers for *x*:

Quadratic Formula

For a quadratic function given in standard form , the **quadratic formula** gives the horizontal intercepts of the graph of this function.

Examples Using Quadratic Formula

**a. A ball is thrown upwards from the top of a 40 foot high building at a speed of 80 feet per second. The ball’s height above ground can be modeled by the equation . **

**What is the maximum height of the ball?**

**When does the ball hit the ground?**

To find the maximum height of the ball, we would need to know the vertex of the quadratic.

The ball reaches a maximum height of 140 feet after 2.5 seconds.

To find when the ball hits the ground, we need to determine when the height is zero – when . While we could do this using the transformation form of the quadratic, we can also use the quadratic formula:

Since the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions:

or

The second answer is outside the reasonable domain of our model, so we conclude the ball will hit the ground after about 5.458 seconds.

**b. The supply for a certain product can be modeled by and the demand can be modeled by , where p is the price in dollars, and q is the quantity in thousands of items. Find the equilibrium price and quantity.**

Recall that the equilibrium price and quantity is found by finding where the supply and demand curve intersect. We can find that by setting the equations equal:

Since it doesn’t make sense to talk about negative quantities, the equilibrium quantity is *q* = 18. To find the equilibrium price, we evaluate either function at the equilibrium quantity.

The equilibrium is 18 thousand items, at a price of $972.

**c. Find the horizontal intercepts of **

This does not seem easy to factor, so let’s use the quadratic formula:

We notice that this has a negative number under the radical, so the graph has no intercepts, but we want to give the complex roots of the quadratic in the form .

Notice that I dropped the negative off the 4 in the denominator of the second term. This is because I’m adding or subtracting anyway so it doesn’t matter if it is positive or negative.

The two complex roots are: and

Try it Now 3

For these two equations, find the vertex, the vertical intercepts and horizontal intercepts, and tell if the vertex will be a maximum value or a minimum value.

a.

b.

Note that if the intercepts are real and easily graphed points, one can also use the vertex, intercepts and symmetry to graph a quadratic as well.

Try it Now Answers

- Vertical Intercept: ; Horizontal Intercepts:
- a. Vertex at (4,-9) is a Minimum; Vertical Intercept at (0,7), Horizontal Intercepts at (7,0) and (1,0). b. Vertex at (3,2) is a Maximum; Vertical Intercept at (0, -25); Horizontal Intercepts at and

### Media Attributions

- onehorizint
- twohorizint
- zerohorizint

- This subsection is adapted from Precalculus: An Investigation of Functions (2nd Edition) by Lippman and Rasmussen
**licensed under a Creative Commons Attribution-Share Alike 3.0 United States License**↵