<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are reading an older version of this FlexBook® textbook: CK-12 Math Analysis Go to the latest version.

Difficulty Level: At Grade Created by: CK-12

Learning objectives

• Learn how to solve a quadratic equation by the three methods: factoring, completing the square, and the quadratic formula.
• Understand the properties of quadratic functions and how to use them to make a graph.

We know from physics, if you throw a ball up in the air from, say, 10 meters above ground with an initial speed of 12 meters per second, then its height $h$ above the ground $t$ seconds later is given by the function $h(t)=-4.9t^{2}+12t+10$. This function is an example of a quadratic function.

A function $f$ defined by $f(x)=ax^{2}+bx+c$, where $a, b,$ and $c$ are real numbers and $a \ne 0$, is called a quadratic function.

The defining characteristic of a quadratic function are that it is a polynomial whose highest exponent is 2.

The form of the quadratic function above, $f(x)=ax^{2}+bx+c$, is called the standard form of a quadratic function. There are several other ways to write quadratic functions such as in vertex form, $f(x)=a(x-h)^{2}+k$, and in factored form, $f(x)=a(x-r_{1})(x-r_{2})$. You can move between forms of quadratic functions using algebra and you will see in this chapter that we can use each of these forms to graph a quadratic functions.

The $y-$intercept of a quadratic function in standard form is $(0, c)$ and it is found by substituting 0 for $x$ in $f(x)=ax^{2}+bx+c$.

The shape of the graph of any quadratic function is called a parabola, and it is the same as the shape of $f(x)=x^{2}$ (see below). However, the basic graph may be moved, reflected, or stretched depending on the values of the coefficients $a, b,$ and $c$. Examples of graphs of quadratic functions are shown in below. Notice that they all have the same shape, but some parabolas open upward and have a minimum point (called the vertex point) and some open downward and have a maximum vertex point. In calculus, those minimum and maximum points are usually called the extreme points of a function. As the name implies, at its extreme point(s), a function has a maximum or a minimum height.

Graph Equation
$f(x)=x^{2}$
$f(x)=x^{2}+2$
$f(x)=-x^{2}+2x$
$f(x)=x^{2}-6x+4$
$f(x)=-x^{2}-x+4$

One way to graph a quadratic function by hand is to translate the basic graph of $f(x)=x^{2}$ using transformations. You can apply rules about vertical shift, horizontal shift, and “stretching” of the basic parabolic shape. This is simplest to do if the quadratic function is written in vertex form by completing the square ((insert cross reference?)).

Summary of Vertex Form:

Given a quadratic function in the form $f(x)=a(x-h)^{2}+k$:

• The vertex is at $(h, k)$
• The parabola opens up if $a>0$
• The parabola opens down if $a<0$
• The parabola is narrower than $y=x^{2}$ if $|a|>1$
• The parabola opens wider than $y=x^{2}$ if $|a|<1$

Example 1

Graph $g(x)=x^{2}+6x+7$ using transformations

Solution:

First we need to complete the square to write this function in vertex form. Add and subtract $\left ( \frac{b}{2} \right )^{2}$ to the right hand side of the equation:

$g(x) & = x^2 + 6x +7\\& = x^2 + 6x + 9 + 7 - 9$

Now factor the right hand side:

$g(x) & = (x+3)^2 -2$

Thus, $a=1$ and the vertex of this parabola is (-3, -2). We know that the parabola opens up with the same width as $y=x^{2}$ and it has a minimum value at the vertex. the graph of the parabola is below.

Graph Quadratic Functions Using Vertex, Axis, Intercepts

Vertex of a parabola

Recall that the graph of a quadratic function is a parabola. In the the standard form of a quadratic function the $x-$coordinate of the vertex of the parabola is given by the equation

$x=-\frac{b}{2a}$

The $y-$coordinate of the vertex is found with

$y=f \left ( -\frac{b}{2a} \right )$

Axis of Symmetry of a Parabola

A parabola has reflective symmetry about a vertical line through the vertex. The vertical line $x=-\frac{b}{2a}$ is also the parabola's axis of symmetry.

Example 2

Find the vertex and graph the quadratic function $g(x)=x^{2}-8x+12$

Solution: The $x-$coordinate of the vertex is $x=-\frac{-8}{2}=4$.

The $y-$coordinate of the vertex is $g(4)=(4)^{2}-8(4)+12=16-32+12=-4$. Thus the vertex is at (4, -4).

To graph the parabola, we will make a table of points staring with the $x-$coordinate of 4:

$x$ $y=g(x)$
4 -4
5 -3
6 0
7 5

Now we can use the symmetry of $g(x)$ to fill in this table for $g(3)$. Note that $g(3)=g(5)=-3$. Likewise, $g(2)=g(6)=0$. The final graph is below.

Just like linear functions, the $y-$ and $x-$intercepts of a quadratic function can be calculated by setting $x=0$ for the $y-$intercept and setting $y=0$ for the $x-$intercept. For example, to locate the $y-$intercept, substitute $x=0$ in $f(x)=ax^{2}+bx+c$ to obtain $y=f(0)=c$. The $x-$intercepts are located by setting $y=0$ and then solving the quadratic equation $ax^{2}+bx+c=0$, which can be solved by several methods that you have already studied from your previous mathematics courses: the factoring, completing the square, or using the quadratic formula. As a reminder, the quadratic formula is

Given a quadratic function $f(x)=ax^{2}+bx+c$, the $x-$intercepts of the function are:

$x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$

All three methods–factoring, completing the square, or using the quadratic formula–give the $x-$intercepts or the roots or the solution set or the zeros of the quadratic equation (you can tell this is an important concept since there are so many words for it!). The following example gives you a quick review of how to use those three methods.

• The quadratic function is defined as $y=f(x)=ax^{2}+bx+c$ and has an extreme point (the vertex) at the $(x, y)$ coordinates

$\left( \frac{-b}{2a}, f\left ( \frac{-b}{2a}\right ) \right )$

If $a>0$ (positive), then the extreme point is a minimum and the parabola opens upwards.

If $a<0$ (negative), then the extreme point is a maximum and the parabola opens downwards.

• Find the $x-$ and $y-$intercepts by setting $f(x)=0$, and $f(0)=y$, respectively.

Example 4

Sketch the graph of the function $y=f(x)=x^{2}+2x-3$.

Solution

Let's first find the intercepts. For the $y-$intercept, if $x=0$, then $f(0)=-3$, or $y=-3$, so the $y-$intercept point is (0, -3).

Now, for the $x-$intercepts, if $y=f(x)=0$, then $x^{2}+2x-3=0$, or

$x^{2}+2x-3=(x+3)(x-1)=0$

so that $x=-3$ and $x=1$ are the $x-$intercepts, that is (-3, 0) and (1, 0).

The vertex (extreme point) is at

$x=\frac{-b}{2a}=\frac{-2}{2(1)}=-1$

Since

$f(-1) & = (-1)^2 + 2(-1)-3\\& = -4$

The vertex is (-1, -4).

Since the coefficient of $x^{2}$ is positive, $a>0$, the extreme point is a minimum and the parabola opens up. From this information, we can make a rough sketch of the parabola containing the points determined above. Notice that the range of the function is $y\ge-4$.

Example 5

Sketch the graph of the quadratic function $f(x)=-x^{2}+4x$.

Solution

To find the $y-$intercept, set $x=0$, and $f(0)=-(0)^{2}+4(0)=0$. Thus the parabola intercepts the $y-$axis at the origin. The $x-$intercept is obtained by setting $y=0$, thus $-x^{2}+4x=0$.

Factoring,

$-x^{2}+4x = -x(x-4)=0$

so that $x=0$ and $x=4$ are the $x-$intercepts.

We have $a=-1$ and $b=4$, so that the extreme point occurs when

$x=\frac{-b}{2a}=\frac{-4}{2(-1)}=2$

Since $f(2)=-(2)^{2}+4(2)=-4+8=4$, then (2, 4) is the extreme point. It is a maximum point since $a=-1<0$ and the parabola opens down. Finally, the graph can be obtained by sketching a parabola through the points determined above. From graph, the range of the function is $y \le 4$.

Example 6

A projectile is shot from the ground level. If $h(t)=121t-4.9t^{2}$, where $t$ is the time in seconds and $h(t)$ is the height of the projectile (in meters) above the ground at time $t$. Find (a) $h$ when $t=1$ second, (b) the maximum height reached by the projectile, and (c) the graph of the trajectory of the projectile.

Solution

(a) At $t=1$ second, we have $h(1)=121(1)-4.9(1)^{2}=121-4.9=116.1 \ meters$.

(b) To find the maximum height reached by the projectile, we use the formula $x=\frac{-b}{2a}$ to find the time at which the maximum height occurs (but here we use $t$ instead of $x$ for the independent variable):

$t=\frac{-(121)}{2(-4.9)}=12.3 \ seconds$

In other words, the maximum height is reached at time 12.3 seconds. That tells us when the projectile reached its maximum height. To find the actual maximum height, we simply substitute this value into the height equation

$h(12.3)=121(12.3)-4.9(12.3)^{2}=747 \ meters$

(c) In order to graph it accurately, we need to find the $t-$intercepts. They can be found by setting $h=0$:

$121t-4.9t^{2} & = 0\\(121-4.9t)t & = 0$

So the intercepts are at $t=0$ seconds and $t=24.7$ seconds. The $h-$intercept occurs when $t=0$, so $h(0)=121(0)-4.9(0)^{2}=0$. From this information, we can construct the graph, as shown in the Figure 5. Notice that the graph does not extend beyond the interval on the $t-$axis. (why?)

Example 7

Find the roots (or $x-$intercepts) of the quadratic equation $x^{2}-5x+6=0$ by using the three methods mentioned above.

Solution

1. The Factor Method

The factor method is based on writing the quadratic equation in factored form. That is, as a product of two linear expressions. So our equation maybe solved by the following way:

$x^{2}-5x+6 & = 0\\(x-3)(x-2) & = 0$

Recall, that

$a \cdot b=0 \ \text{if and only if} \ a=0 \ \text{and} \ b=0$

This tells us that

$x-3=0$

or

$x-2=0$

which give the roots (or zeros)

$x=3$

and

$x=2$

In other words, the solution set is {2, 3}.

2. Completing the Square Method

To solve the above equation by completing the square, first move the “$c$” term to the other side of the equation,

$x^{2}-5x=-6$

Next, make the left-hand side a “perfect square” by adding the appropriate number. To do so, take one-half of the coefficient of $x$ (the $b$ coefficient) and square it and then add the result to both sides of the equation:

$b & = -5 \\\frac{b}{2} & = \frac{-5}{2}\\\left ( \frac{b}{2} \right ) ^2 & = \frac{25}{4}$

Adding to both sides of the equation,

$x^{2}-5x+\frac{25}{4} & = -6 + \frac{25}{4}\\x^2 -5x + \frac{25}{4} & = \frac{1}{4}\\\left ( x-\frac{5}{2} \right )^2 & = \frac{1}{4}$

this last equation can be easily solved by taking the square root of both sides,

$\left(x-\frac{5}{2}\right)=\sqrt{\frac{1}{4}}=\pm\frac{1}{2}$

Hence

$x=\pm\frac{1}{2}+\frac{5}{2}$

and the solutions are

$x=3$

and

$x=2$

which are identical to answers of the factor method.

The quadratic formula is the most useful method in applications for solving quadratic functions because it works for all quadratic equations. Therefore, it is highly encouraged that you memorize the formula.

Recall, if $ax^{2}+bx+c=0$ where $a, b,$ and $c$ are real numbers and $a\ne0$, then the roots of the equation can be determined by the quadratic formula

$x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}.$

Here the coefficients are $a=1, b=-5,$ and $c=6$.

Substituting into the quadratic formula, we get

$x & = \frac{-(-5) \pm \sqrt{(-5)^2 - 4(1)(6)}}{2(1)}\\& = \frac{5 \pm \sqrt{25-24}}{2}\\& = \frac{5 \pm 1}{2}\\& = 3 \ \text{or} \ 2$

which is, again, identical to our two solutions above.

Applications, Technological Tools

You can graph quadratic functions using your computer's graphing program or with a TI-83/84 Calculator. Below we give basic directions for graphing a quadratic function and finding the vertex and roots ($x-$intercepts) using the functions on a TI-83 or TI-84 Graphing calculator.

Graphing

1. As with graphing any function on the calculator, you enter the function's equation by using the $Y=$ button.
2. Set an appropriate window using the WINDOW menu. You can use the vertex and $y-$intercept to help you find the best values for XMAX, XMIN, YMAX, YMIN, and the $X-$ and $Y-$scales for viewing the graph of the parabola. Alternatively, you can set a standard window and use zooming to view the graph.
3. Press GRAPH.
4. Adjust and refine the view using ZOOM or by changing the WINDOW settings.

((Note: Insert 3 screen shots: 1) the $Y=$ menu with a quadratic function in $Y_{1}$, 2) The WINDOW menu, and 3) A view of the graph.))

Finding the Vertex

You can use functions built into the calculator to find the vertex of any parabola you graph.

2. From the Graph screen, press 2ND TRACE (This is the CALC Menu).
3. Scroll down and choose MINIMUM or MAXIMUM depending on whether the vertex is a minimum or maximum.
4. The calculator takes you to the graph and prompts LEFT BOUND? Use the arrow keys (< or >) to place the cursor to the left of the vertex (or enter an $x-$coordinate by typing one in), and press ENTER
5. The calculator then prompts RIGHT BOUND? Use the arrows to place the cursor to the right of the vertex and press ENTER.
6. Finally, the calculator will prompt you for a guess with GUESS? You can either enter an $x-$value close to the vertex, or press ENTER again if your bounds were relatively good.
7. The calculator will display the $x-$ and $y-$coordinates of the vertex.

((Note: Add 2 screen shots: 1) the CALC menu in step #2, 2) A graph with LEFTBOUND? prompt (step #4), 3) A graph showing the vertex as MAX/MIN (i.e. after doing step 7)))

Finding the Roots

1. From the Graph screen, press 2ND TRACE (This is the CALC Menu).
2. Choose ZERO.
3. The calculator takes you to the graph and prompts LEFT BOUND? Use the arrow keys (< or >) to place the cursor to the left of the zero (or enter an $x-$coordinate by typing one in), and press ENTER.
4. The calculator then prompts RIGHT BOUND? Use the arrows to place the cursor to the right of the zero and press ENTER.
5. Finally, the calculator will prompt you for a guess with GUESS? You can either enter an $x-$value close to the zero, or press ENTER again if your bounds were relatively good.
6. The calculator will display the $x-$coordinate of the zero (root).

Note: Repeat steps 1-6 to find the other root of the quadratic.

((Note: Add 3 screen shots showing the calculator after Step 2, Step 4, and Step 6.))

Exercises

1. Solve each equation by factoring.
1. $x^{2}=64$
2. $4x^{2}+7x=2$
3. $4x^{2}-17x=-4$
4. $x^{2}+1=-\frac{13}{6}x$
2. Solve each equation by completing the square
1. $x^{2}-4x+1=0$
2. $\frac{2}{3}x^{2}-x+\frac{1}{3}=0$
3. $x^{2}+2.8=4.7x$
4. $2x^{2}-3x-\frac{23}{8}=0$
3. Solve each equation by using the quadratic formula
1. $0.4x^{2}+x-0.3=0$
2. $25x^{2}+80x+61=0$
3. $(z+6)^{2}+2z=0$
4. $\left(\frac{5}{7}w-14\right)^{2}=8w$
4. Sketch the graph of the quadratic function $f(x)=-x^{2}-4x-4$ by locating the $x-$ and $y-$intercepts and the vertex point. Use the graph to determine the range of the parabola.
5. Sketch the graph of the quadratic function $f(x)=2x^{2}+4x-3$ by locating the $x-$ and $y-$intercepts and the vertex point. Use the graph to determine the range of the parabola.
6. Sketch the graph of the quadratic function $f(x)=x^{2}+x+5$ by locating the $x-$ and $y-$intercepts and the vertex point. Use the graph to determine the range of the parabola.
7. A projectile is fired from a cliff. If the height, $h$ of the projectile after $t$ seconds is given by $h(t)=-16t^{2}+96t+256$, find
1. $h$ when $t=0$.
2. The maximum height reached by the projectile.
3. Graph $h(t)$ and show its range and domain.
8. A surface-to-surface missile is fired and follows a parabolic path. Its path as a function of time is described by the function $p(t)=-t^{2}+t+1$. At what time the missile reaches the highest point and when does it hit the ground?
9. Use a graphing calculator to find the vertex and roots of $q(x)=-0.035x^{2}-7.25x-12.3$. Round your answer to three decimal places.

1. $\pm8$
2. $x=\frac{1}{4}, -2$
3. $x=\frac{1}{4}, 4$
4. $x=\frac{-2}{3}, \frac{-3}{2}$
1. $2\pm\sqrt{3}$
2. $x=\frac{1}{2}, 1$
3. $x=\frac{7}{10}, 4$
4. $\frac{3}{4}\pm\sqrt{2}$
1. $x=0.275, -2.78$
2. $-\frac{8}{5}\pm\frac{\sqrt{3}}{5}$
3. $-7\pm\sqrt{13}$
4. $\frac{686\pm196\sqrt{6}}{25}$
1. The vertex and the $x-$intercept is (-2, 0). The $y-$intercept is (0, -4).
2. Vertex: (-1, -5). $x-$intercepts: $\left(\frac{-2+\sqrt{10}}{2}, 0\right)$ and $\left(\frac{-2-\sqrt{10}}{2}, 0\right)$. $y-$intercept: (0, -3).
3. Vertex: $\left(\frac{-1}{2}, \frac{19}{4}\right)$. No $x-$intercepts. $y-$intercept: (0, 5)
1. 256 ft
2. 400 ft
4. At $\frac{1}{2}$ second; after 1 second
5. Vertex: (-103.571, 363.146); roots at (-205.432, 0) and (-1.711, 0).

Feb 23, 2012

Jun 08, 2015