Skip to main content
\(\require{cancel}\newcommand\degree[0]{^{\circ}} \newcommand\Ccancel[2][black]{\renewcommand\CancelColor{\color{#1}}\cancel{#2}} \newcommand{\alert}[1]{\boldsymbol{\color{magenta}{#1}}} \newcommand{\blert}[1]{\boldsymbol{\color{blue}{#1}}} \newcommand{\bluetext}[1]{\color{blue}{#1}} \delimitershortfall-1sp \newcommand\abs[1]{\left|#1\right|} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

SectionIntro to Quadratic Functions

In this chapter, we shall define a quadratic function and what information each way of writing such a function presents to the reader. It should be noted that the shape of the graph of a quadratic function is called a parabola.

Quadratic Function

A quadratic function is one that can be written in the form

\begin{equation*} f(x)=ax^2+bx+c \end{equation*}

where \(a,b,\) and \(c\) are constants with \(a\neq 0\text{.}\)

When a quadratic function is written in this form, we say that the quadratic function is written in standard form.

In the definition above, notice that if \(a\) is zero, there is no \(x\)-squared term, so the function is not quadratic (it would then be linear).

Suppose that the height of a baseball \(t\) seconds after being hit is given by

\begin{equation*} h = -16t^2 + 64t + 4. \end{equation*}

How can we find two times when the baseball is \(64\) feet high?

We are looking for values of \(t\) that produce \(h = 64\) in the height equation. So, if we substitute \(h = 64\) into the height equation, we need to solve the quadratic equation

\begin{equation*} 64 = -16t^2 + 64t + 4 \end{equation*}

This equation cannot be solved by extraction of roots, because there are two terms containing the variable \(t\text{,}\) and they cannot be combined. To solve this equation, we will appeal to a property of our number system, called the zero-factor principle.

SubsectionZero-Factor Principle

Can you multiply two numbers together and obtain a product of zero? Only if one of the two numbers happens to be zero. This property of numbers is called the zero-factor principle.

Zero-Factor Principle

The product of two factors equals zero if and only if one or both of the factors equals zero. In symbols,

\begin{equation*} ab=0\ \ \text{if and only if}\ \ a=0\ \ or\ \ b=0. \end{equation*}

The principle is true even if the numbers \(a\) and \(b\) are represented by algebraic expressions, such as \(x - 5\) or \(2x + 1\text{.}\) For example, if

\begin{equation*} (x - 5)(2x + 1) = 0 \end{equation*}

then it must be true that either \(x - 5 = 0\) or \(2x + 1 = 0\text{.}\) Thus, we can use the zero-factor principle to solve equations.

Example289
  1. Solve the equation \((x - 6)(x + 2) = 0\text{.}\)
  2. Find the \(x\)-intercepts of the graph of \(f(x) = x^2 - 4x - 12\text{.}\)
Solution
  1. We apply the zero-factor principle to the product \((x - 6)(x + 2)\text{.}\)

    \((x - 6)(x+ 2) = 0\) Set each factor equal to zero.
    \(x - 6 =0 \) or \(x + 2 = 0\) Solve each equation.
    \(x =6\) or \(x=-2\)

    There are two solutions, \(6\) and \(-2\text{.}\) (You should check that both of these values satisfy the original equation.)

  2. To find the \(x\)-intercepts of the graph, we set \(y = 0\) and solve the equation

    \begin{equation*} 0 = x^2 - 4x - 12 \end{equation*}

    But this is the equation we solved in part (a), because \(x^2 - 4x - 12=(x - 6)(x + 2)\text{.}\) The solutions of that equation were \(6\) and \(-2\text{,}\) so the \(x\)-intercepts of the graph are \((6,0)\) and \((-2,0)\text{.}\) You can see this by using a graphing utility, as shown in Figure290.

    parabola with x-intercepts
    Figure290

SubsectionSolving Quadratic Equations by Factoring

Before we apply the zero-factor principle to solve a quadratic equation, we must first write the equation so that one side of the equation is zero. Let us introduce some terminology.

Forms for Quadratic Equations
  1. A quadratic equation written
    \begin{equation*} ax^2 + bx + c = 0 \end{equation*}
    is in standard form.
  2. A quadratic equation written
    \begin{equation*} a(x - r_1)(x - r_2) = 0 \end{equation*}
    is in factored form.

Once we have written the equation in standard form, we factor the left side and set each variable factor equal to zero separately.

Example291

Solve \(3x(x + 1) = 2x + 2\text{.}\)

Solution

First, we write the equation in standard form. \begin{align*} 3x(x + 1) \amp = 2x + 2\amp\amp\text{Apply the distributive law to the left side.}\\ 3x^2 + 3x \amp = 2x + 2\amp\amp\text{Subtract }2x + 2 \text{ from both sides.}\\ 3x^2 + x - 2 \amp = 0 \end{align*} Next, we factor the left side to obtain

\begin{equation*} (3x - 2)(x + 1) = 0. \end{equation*}

We then apply the zero-factor principle by setting each factor equal to zero.

\begin{equation*} 3x - 2 =0 ~~\text{ or }~~ x + 1 = 0 \end{equation*}

Finally, we solve each equation to find

\begin{equation*} x = \frac{2}{3} ~~\text{ or }~~ x = -1. \end{equation*}

The solutions are \(\dfrac{2}{3}\) and \(-1\text{.}\)

Caution292

When we apply the zero-factor principle, one side of the equation must be zero. For example, to solve the equation

\begin{equation*} (x - 2)(x - 4) = 15 \end{equation*}

it is incorrect to set each factor equal to \(15\text{!}\) (There are many ways that the product of two numbers can equal \(15\text{;}\) it is not necessary that one of the numbers be \(15\text{.}\)) We must first simplify the left side and write the equation in standard form. (The correct solutions are \(7\) and \(-1\text{;}\) make sure you can find these solutions.)

We summarize the factoring method for solving quadratic equations as follows.

To Solve a Quadratic Equation by Factoring
  1. Write the equation in standard form.

  2. Factor the left side of the equation.

  3. Apply the zero-factor principle; Set each factor equal to zero.

  4. Solve each equation. There are two solutions (which may be equal).

Example293

Solve by factoring: \((t - 3)^2 = 3(9 - t)\text{.}\)

Solution

First, we need to write this equation in standard form. To do that, we must expand and then regroup the terms.

\begin{equation*} \begin{aligned} (t - 3)^2 \amp= 3(9 - t) \\ t^2-6t+9 \amp= 27-3t \\ t^2-3t-18 \amp= 0 \end{aligned} \end{equation*}

Next, we factor the left side of the equation.

\begin{equation*} \begin{aligned} t^2-3t-18 \amp= 0 (t+3)(t-6) \amp= 0 \end{aligned} \end{equation*}

We then apply the zero-factor principle by setting each factor equal to zero.

\begin{equation*} t+3=0 \hspace{.5cm}\text{or}\hspace{.5cm}t-6=0 \end{equation*}

Finally, solving each equation, we find

\begin{equation*} t=-6 \hspace{.5cm}\text{or}\hspace{.5cm}t=6 \end{equation*}

Therefore the solutions are \(-3\) and \(6\text{.}\)

We can use factoring to solve the equation

\begin{equation*} 64=-16t^2+64t+4 \end{equation*}

from the beginning of the section.

Example294

The height, \(h\text{,}\) of a baseball \(t\) seconds after being hit is given by

\begin{equation*} h = -16t^2 + 64t + 4. \end{equation*}

When will the baseball reach a height of \(64\) feet?

Solution

We substitute \(64\) for \(h\) in the formula, and solve for \(t\text{.}\) \begin{align*} 64 = -16t^2 + 64t \amp + 4\amp\amp\text{Write the equation in standard form.}\\ 16t^2 - 64t + 60 \amp= 0\amp\amp\text{Factor 4 from the left side.}\\ 4(4t^2 - 16t + 15) \amp= 0\amp\amp\text{Factor the quadratic expression.}\\ 4(2t - 3)(2t - 5) \amp= 0\amp\amp\text{Set each variable factor equal to zero.}\\ 2t - 3 =0 ~~\text{ or }~~ 2t - 5 \amp= 0\amp\amp\text{Solve each equation.}\\ t = \frac{3}{2} ~~\text{ or }~~ t \amp = \frac{5}{2} \end{align*} There are two solutions to the quadratic equation. At \(t = \dfrac{3}{2}\) seconds, the ball reaches a height of \(64\) feet on the way up, and at \(t = \dfrac{5}{2}\) seconds, the ball is \(64\) feet high on its way down. (See Figure295.)

height of baseball
Figure295
Note296

In the solution to the above exercise, the factor \(4\) does not affect the solutions of the equation at all. You can understand why this is true by looking at some graphs. First, check that the two equations

\begin{equation*} x^2 - 4x + 3 = 0 ~~\text{ and }~~ 4(x^2 - 4x + 3) = 0 \end{equation*}

have the same solutions, \(x = 1\) and \(x = 3\text{.}\) Then use your graphing calculator to graph the equation

\begin{equation*} Y_1 = X^2 - 4X + 3 \end{equation*}

in the window \begin{align} \text{Xmin} \amp = -2 \amp\amp \text{Xmax} = 8\\ \text{Ymin} \amp = -5 \amp\amp \text{Ymax} = 10. \end{align} Notice that when \(y = 0\text{,}\) \(x = 3\) or \(x = 1\text{.}\) These two points are the \(x\)-intercepts of the graph. In the same window, now graph

\begin{equation*} Y_2 = 4(X^2 - 4X + 3). \end{equation*}

(See Figure297.) This graph has the same \(x\)-values when \(y = 0\text{.}\) The factor of \(4\) stretches the graph vertically but does not change the location of the \(x\)-intercepts. The value of the constant factor \(a\) in the factored form of a quadratic function, \(f(x) = a(x - r_1)(x - r_2)\text{,}\) does not affect the location of the \(x\)-intercepts, because it does not affect the solutions of the equation \(a(x - r_1)(x - r_2) = 0\text{.}\)

two parabolas with the same x-intercepts
Figure297

SubsectionThe Quadratic Formula

Suppose we wanted to solve the equation \(x^2-8x+4=0\text{.}\) Since \(x^2-8x+4\) cannot be factored, we cannot use the zero-factor principle! Another strategy we can use to solve quadratic equations that you may have seen before is the quadratic formula.

The Quadratic Formula

The solutions of \(ax^2+bx+c=0\) are

\begin{equation*} x = \dfrac{-b\pm\sqrt{b^2-4ac}}{2a} \end{equation*}
The quadratic formula can be used even if a quadratic function is factorable, but it is advised that you try factoring first since the computations for the quadratic formula often become messy.

We will now solve the formula from before.

Example298

solve the equation \(x^2-8x+4=0\text{.}\)

Solution

Since we cannot factor this equation, we will use the quadratic formula. Since the equation is already in standard form, we can see that \(a=1\text{,}\) \(b=-8\text{,}\) and \(c=4\text{.}\)

\begin{equation*} \begin{aligned} x \amp= \dfrac{-b\pm\sqrt{b^2-4ac}}{2a} \\ \amp= \dfrac{-(-8)\pm\sqrt{(-8)^2-4(1)(4)}}{2(1)} \\ \amp= \dfrac{8\pm\sqrt{64-16}}{2} \\ \amp= \dfrac{8\pm\sqrt{48}}{2} \\ \amp= \dfrac{8\pm4\sqrt{3}}{2} \\ \amp= 4\pm2\sqrt{3} \end{aligned} \end{equation*}

Therefore the solutions are \(4+2\sqrt{3}\) and \(4-2\sqrt{3}\text{.}\)

SubsectionExercises