We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

Basic Classes of Functions

Learning Objectives

  • Calculate the slope of a linear function and interpret its meaning.
  • Recognize the degree of a polynomial.
  • Find the roots of a quadratic polynomial.
  • Describe the graphs of basic odd and even polynomial functions.
  • Identify a rational function.
  • Describe the graphs of power and root functions.
  • Explain the difference between algebraic and transcendental functions.
  • Graph a piecewise-defined function.
  • Sketch the graph of a function that has been shifted, stretched, or reflected from its initial graph position.

We have studied the general characteristics of functions, so now let’s examine some specific classes of functions. We begin by reviewing the basic properties of linear and quadratic functions, and then generalize to include higher-degree polynomials. By combining root functions with polynomials, we can define general algebraic functions and distinguish them from the transcendental functions we examine later in this chapter. We finish the section with examples of piecewise-defined functions and take a look at how to sketch the graph of a function that has been shifted, stretched, or reflected from its initial form.

Linear Functions and Slope

The easiest type of function to consider is a linear function. Linear functions have the form [latex]f\left(x\right)=ax+b,[/latex] where [latex]a[/latex] and [latex]b[/latex] are constants. In [link], we see examples of linear functions when [latex]a[/latex] is positive, negative, and zero. Note that if [latex]a>0,[/latex] the graph of the line rises as [latex]x[/latex] increases. In other words, [latex]f\left(x\right)=ax+b[/latex] is increasing on [latex]\text{(−∞, ∞)}.[/latex] If [latex]a<0,[/latex] the graph of the line falls as [latex]x[/latex] increases. In this case, [latex]f\left(x\right)=ax+b[/latex] is decreasing on [latex]\text{(−∞, ∞)}.[/latex] If [latex]a=0,[/latex] the line is horizontal.

These linear functions are increasing or decreasing on [latex]\text{(∞, ∞)}[/latex] and one function is a horizontal line.
An image of a graph. The y axis runs from -2 to 5 and the x axis runs from -2 to 5. The graph is of the 3 functions. The first function is “f(x) = 3x + 1”, which is an increasing straight line with an x intercept at ((-1/3), 0) and a y intercept at (0, 1). The second function is “g(x) = 2”, which is a horizontal line with a y intercept at (0, 2) and no x intercept. The third function is “h(x) = (-1/2)x”, which is a decreasing straight line with an x intercept and y intercept both at the origin. The function f(x) is increasing at a higher rate than the function h(x) is decreasing.

As suggested by [link], the graph of any linear function is a line. One of the distinguishing features of a line is its slope. The slope is the change in [latex]y[/latex] for each unit change in [latex]x.[/latex] The slope measures both the steepness and the direction of a line. If the slope is positive, the line points upward when moving from left to right. If the slope is negative, the line points downward when moving from left to right. If the slope is zero, the line is horizontal. To calculate the slope of a line, we need to determine the ratio of the change in [latex]y[/latex] versus the change in [latex]x.[/latex] To do so, we choose any two points [latex]\left({x}_{1},{y}_{1}\right)[/latex] and [latex]\left({x}_{2},{y}_{2}\right)[/latex] on the line and calculate [latex]\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}.[/latex] In [link], we see this ratio is independent of the points chosen.

For any linear function, the slope [latex]\left({y}_{2}-{y}_{1}\right)\text{/}\left({x}_{2}-{x}_{1}\right)[/latex] is independent of the choice of points [latex]\left({x}_{1},{y}_{1}\right)[/latex] and [latex]\left({x}_{2},{y}_{2}\right)[/latex] on the line.
An image of a graph. The y axis runs from -1 to 10 and the x axis runs from -1 to 6. The graph is of a function that is an increasing straight line. There are four points labeled on the function at (1, 1), (2, 3), (3, 5), and (5, 9). There is a dotted horizontal line from the labeled function point (1, 1) to the unlabeled point (3, 1) which is not on the function, and then dotted vertical line from the unlabeled point (3, 1), which is not on the function, to the labeled function point (3, 5). These two dotted have the label “(y2 - y1)/(x2 - x1) = (5 -1)/(3 - 1) = 2”. There is a dotted horizontal line from the labeled function point (2, 3) to the unlabeled point (5, 3) which is not on the function, and then dotted vertical line from the unlabeled point (5, 3), which is not on the function, to the labeled function point (5, 9). These two dotted have the label “(y2 - y1)/(x2 - x1) = (9 -3)/(5 - 2) = 2”.
Definition

Consider line [latex]L[/latex] passing through points [latex]\left({x}_{1},{y}_{1}\right)[/latex] and [latex]\left({x}_{2},{y}_{2}\right).[/latex] Let [latex]\text{Δ}y={y}_{2}-{y}_{1}[/latex] and [latex]\text{Δ}x={x}_{2}-{x}_{1}[/latex] denote the changes in [latex]y[/latex] and [latex]x,[/latex] respectively. The slope of the line is

[latex]m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}=\frac{\text{Δ}y}{\text{Δ}x}.[/latex]

We now examine the relationship between slope and the formula for a linear function. Consider the linear function given by the formula [latex]f\left(x\right)=ax+b.[/latex] As discussed earlier, we know the graph of a linear function is given by a line. We can use our definition of slope to calculate the slope of this line. As shown, we can determine the slope by calculating [latex]\left({y}_{2}-{y}_{1}\right)\text{/}\left({x}_{2}-{x}_{1}\right)[/latex] for any points [latex]\left({x}_{1},{y}_{1}\right)[/latex] and [latex]\left({x}_{2},{y}_{2}\right)[/latex] on the line. Evaluating the function [latex]f[/latex] at [latex]x=0,[/latex] we see that [latex]\left(0,b\right)[/latex] is a point on this line. Evaluating this function at [latex]x=1,[/latex] we see that [latex]\left(1,a+b\right)[/latex] is also a point on this line. Therefore, the slope of this line is

[latex]\frac{\left(a+b\right)-b}{1-0}=a.[/latex]

We have shown that the coefficient [latex]a[/latex] is the slope of the line. We can conclude that the formula [latex]f\left(x\right)=ax+b[/latex] describes a line with slope [latex]a.[/latex] Furthermore, because this line intersects the [latex]y[/latex]-axis at the point [latex]\left(0,b\right),[/latex] we see that the [latex]y[/latex]-intercept for this linear function is [latex]\left(0,b\right).[/latex] We conclude that the formula [latex]f\left(x\right)=ax+b[/latex] tells us the slope, [latex]a,[/latex] and the [latex]y[/latex]-intercept, [latex]\left(0,b\right),[/latex] for this line. Since we often use the symbol [latex]m[/latex] to denote the slope of a line, we can write

[latex]f\left(x\right)=mx+b[/latex]

to denote the slope-intercept form of a linear function.

Sometimes it is convenient to express a linear function in different ways. For example, suppose the graph of a linear function passes through the point [latex]\left({x}_{1},{y}_{1}\right)[/latex] and the slope of the line is [latex]m.[/latex] Since any other point [latex]\left(x,f\left(x\right)\right)[/latex] on the graph of [latex]f[/latex] must satisfy the equation

[latex]m=\frac{f\left(x\right)-{y}_{1}}{x-{x}_{1}},[/latex]

this linear function can be expressed by writing

[latex]f\left(x\right)-{y}_{1}=m\left(x-{x}_{1}\right).[/latex]

We call this equation the point-slope equation for that linear function.

Since every nonvertical line is the graph of a linear function, the points on a nonvertical line can be described using the slope-intercept or point-slope equations. However, a vertical line does not represent the graph of a function and cannot be expressed in either of these forms. Instead, a vertical line is described by the equation [latex]x=k[/latex] for some constant [latex]k.[/latex] Since neither the slope-intercept form nor the point-slope form allows for vertical lines, we use the notation

[latex]ax+by=c,[/latex]

where [latex]a,b[/latex] are both not zero, to denote the standard form of a line.

Definition

Consider a line passing through the point [latex]\left({x}_{1},{y}_{1}\right)[/latex] with slope [latex]m.[/latex] The equation

[latex]y-{y}_{1}=m\left(x-{x}_{1}\right)[/latex]

is the point-slope equation for that line.

Consider a line with slope [latex]m[/latex] and [latex]y[/latex]-intercept [latex]\left(0,b\right).[/latex] The equation

[latex]y=mx+b[/latex]

is an equation for that line in slope-intercept form.

The standard form of a line is given by the equation

[latex]ax+by=c,[/latex]

where [latex]a[/latex] and [latex]b[/latex] are both not zero. This form is more general because it allows for a vertical line, [latex]x=k.[/latex]

Finding the Slope and Equations of Lines

Consider the line passing through the points [latex]\left(11,-4\right)[/latex] and [latex]\left(-4,5\right),[/latex] as shown in [link].

Finding the equation of a linear function with a graph that is a line between two given points.
An image of a graph. The x axis runs from -5 to 12 and the y axis runs from -5 to 6. The graph is of the function that is a decreasing straight line. The function has two points plotted, at (-4, 5) and (11, 4).
  1. Find the slope of the line.
  2. Find an equation for this linear function in point-slope form.
  3. Find an equation for this linear function in slope-intercept form.
  1. The slope of the line is

    [latex]m=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}=\frac{5-\left(-4\right)}{-4-11}=-\frac{9}{15}=-\frac{3}{5}.[/latex]
  2. To find an equation for the linear function in point-slope form, use the slope [latex]m=-3\text{/}5[/latex] and choose any point on the line. If we choose the point [latex]\left(11,-4\right),[/latex] we get the equation

    [latex]f\left(x\right)+4=-\frac{3}{5}\left(x-11\right).[/latex]
  3. To find an equation for the linear function in slope-intercept form, solve the equation in part b. for [latex]f\left(x\right).[/latex] When we do this, we get the equation

    [latex]f\left(x\right)=-\frac{3}{5}x+\frac{13}{5}.[/latex]

Consider the line passing through points [latex]\left(-3,2\right)[/latex] and [latex]\left(1,4\right).[/latex] Find the slope of the line.

Find an equation of that line in point-slope form. Find an equation of that line in slope-intercept form.

[latex]m=1\text{/}2.[/latex] The point-slope form is

[latex]y-4=\frac{1}{2}\left(x-1\right).[/latex]

The slope-intercept form is

[latex]y=\frac{1}{2}x+\frac{7}{2}.[/latex]

Hint

The slope [latex]m=\text{Δ}y\text{/}\text{Δ}x\text{.}[/latex]

A Linear Distance Function

Jessica leaves her house at 5:50 a.m. and goes for a 9-mile run. She returns to her house at 7:08 a.m. Answer the following questions, assuming Jessica runs at a constant pace.

  1. Describe the distance [latex]D[/latex] (in miles) Jessica runs as a linear function of her run time [latex]t[/latex] (in minutes).
  2. Sketch a graph of [latex]D.[/latex]
  3. Interpret the meaning of the slope.
  1. At time [latex]t=0,[/latex] Jessica is at her house, so [latex]D\left(0\right)=0.[/latex] At time [latex]t=78[/latex] minutes, Jessica has finished running [latex]9[/latex] mi, so [latex]D\left(78\right)=9.[/latex] The slope of the linear function is

    [latex]m=\frac{9-0}{78-0}=\frac{3}{26}.[/latex]

    The [latex]y[/latex]-intercept is [latex]\left(0,0\right),[/latex] so the equation for this linear function is

    [latex]D\left(t\right)=\frac{3}{26}t.[/latex]
  2. To graph [latex]D,[/latex] use the fact that the graph passes through the origin and has slope [latex]m=3\text{/}26.[/latex]

    An image of a graph. The y axis is labeled “y, distance in miles”. The x axis is labeled “t, time in minutes”. The graph is of the function “D(t) = 3t/26”, which is an increasing straight line that starts at the origin. The function ends at the plotted point (78, 9).
  3. The slope [latex]m=3\text{/}26\approx 0.115[/latex] describes the distance (in miles) Jessica runs per minute, or her average velocity.

Polynomials

A linear function is a special type of a more general class of functions: polynomials. A polynomial function is any function that can be written in the form

[latex]f\left(x\right)={a}_{n}{x}^{n}+{a}_{n-1}{x}^{n-1}+\text{…}+{a}_{1}x+{a}_{0}[/latex]

for some integer [latex]n\ge 0[/latex] and constants [latex]{a}_{n},{a}_{n-1}\text{,…,}{a}_{0},[/latex] where [latex]{a}_{n}\ne 0.[/latex] In the case when [latex]n=0,[/latex] we allow for [latex]{a}_{0}=0;[/latex] if [latex]{a}_{0}=0,[/latex] the function [latex]f\left(x\right)=0[/latex] is called the zero function. The value [latex]n[/latex] is called the degree of the polynomial; the constant [latex]{a}_{n}[/latex] is called the leading coefficient. A linear function of the form [latex]f\left(x\right)=mx+b[/latex] is a polynomial of degree 1 if [latex]m\ne 0[/latex] and degree 0 if [latex]m=0.[/latex] A polynomial of degree 0 is also called a constant function. A polynomial function of degree 2 is called a quadratic function. In particular, a quadratic function has the form [latex]f\left(x\right)=a{x}^{2}+bx+c,[/latex] where [latex]a\ne 0.[/latex] A polynomial function of degree [latex]3[/latex] is called a cubic function.

Power Functions

Some polynomial functions are power functions. A power function is any function of the form [latex]f\left(x\right)=a{x}^{b},[/latex] where [latex]a[/latex] and [latex]b[/latex] are any real numbers. The exponent in a power function can be any real number, but here we consider the case when the exponent is a positive integer. (We consider other cases later.) If the exponent is a positive integer, then [latex]f\left(x\right)=a{x}^{n}[/latex] is a polynomial. If [latex]n[/latex] is even, then [latex]f\left(x\right)=a{x}^{n}[/latex] is an even function because [latex]f\left(\text{−}\mathit{\text{x}}\right)=a{\left(\text{−}\mathit{\text{x}}\right)}^{n}=a{x}^{n}[/latex] if [latex]n[/latex] is even. If [latex]n[/latex] is odd, then [latex]f\left(x\right)=a{x}^{n}[/latex] is an odd function because [latex]f\left(\text{−}\mathit{\text{x}}\right)=a{\left(\text{−}\mathit{\text{x}}\right)}^{n}=\text{−}a{x}^{n}[/latex] if [latex]n[/latex] is odd ([link]).

(a) For any even integer [latex]n,f\left(x\right)=a{x}^{n}[/latex] is an even function. (b) For any odd integer [latex]n,f\left(x\right)=a{x}^{n}[/latex] is an odd function.
An image of two graphs. Both graphs have an x axis that runs from -4 to 4 and a y axis that runs from -6 to 7. The first graph is labeled “a” and is of two functions. The first function is “f(x) = x to the 4th”, which is a parabola that decreases until the origin and then increases again after the origin. The second function is “f(x) = x squared”, which is a parabola that decreases until the origin and then increases again after the origin, but increases and decreases at a slower rate than the first function. The second graph is labeled “b” and is of two functions. The first function is “f(x) = x to the 5th”, which is a curved function that increases until the origin, becomes even at the origin, and then increases again after the origin. The second function is “f(x) = x cubed”, which is a curved function that increases until the origin, becomes even at the origin, and then increases again after the origin, but increases at a slower rate than the first function.

Behavior at Infinity

To determine the behavior of a function [latex]f[/latex] as the inputs approach infinity, we look at the values [latex]f\left(x\right)[/latex] as the inputs, [latex]x,[/latex] become larger. For some functions, the values of [latex]f\left(x\right)[/latex] approach a finite number. For example, for the function [latex]f\left(x\right)=2+1\text{/}x,[/latex] the values [latex]1\text{/}x[/latex] become closer and closer to zero for all values of [latex]x[/latex] as they get larger and larger. For this function, we say [latex]\text{“}f\left(x\right)[/latex] approaches two as [latex]x[/latex] goes to infinity,” and we write [latex]f\left(x\right)\to 2[/latex] as [latex]x\to \infty .[/latex] The line [latex]y=2[/latex] is a horizontal asymptote for the function [latex]f\left(x\right)=2+1\text{/}x[/latex] because the graph of the function gets closer to the line as [latex]x[/latex] gets larger.

For other functions, the values [latex]f\left(x\right)[/latex] may not approach a finite number but instead may become larger for all values of [latex]x[/latex] as they get larger. In that case, we say [latex]\text{“}f\left(x\right)[/latex] approaches infinity as [latex]x[/latex] approaches infinity,” and we write [latex]f\left(x\right)\to \infty [/latex] as [latex]x\to \infty .[/latex] For example, for the function [latex]f\left(x\right)=3{x}^{2},[/latex] the outputs [latex]f\left(x\right)[/latex] become larger as the inputs [latex]x[/latex] get larger. We can conclude that the function [latex]f\left(x\right)=3{x}^{2}[/latex] approaches infinity as [latex]x[/latex] approaches infinity, and we write [latex]3{x}^{2}\to \infty [/latex] as [latex]x\to \infty .[/latex] The behavior as [latex]x\to \text{−}\infty [/latex] and the meaning of [latex]f\left(x\right)\to \text{−}\infty [/latex] as [latex]x\to \infty [/latex] or [latex]x\to \text{−}\infty [/latex] can be defined similarly. We can describe what happens to the values of [latex]f\left(x\right)[/latex] as [latex]x\to \infty [/latex] and as [latex]x\to \text{−}\infty [/latex] as the end behavior of the function.

To understand the end behavior for polynomial functions, we can focus on quadratic and cubic functions. The behavior for higher-degree polynomials can be analyzed similarly. Consider a quadratic function [latex]f\left(x\right)=a{x}^{2}+bx+c.[/latex] If [latex]a>0,[/latex] the values [latex]f\left(x\right)\to \infty [/latex] as [latex]x\to \text{±}\infty .[/latex] If [latex]a<0,[/latex] the values [latex]f\left(x\right)\to \text{−∞}[/latex] as [latex]x\to \text{±}\infty .[/latex] Since the graph of a quadratic function is a parabola, the parabola opens upward if [latex]a>0;[/latex] the parabola opens downward if [latex]a<0.[/latex] (See [link](a).)

Now consider a cubic function [latex]f\left(x\right)=a{x}^{3}+b{x}^{2}+cx+d.[/latex] If [latex]a>0,[/latex] then [latex]f\left(x\right)\to \infty [/latex] as [latex]x\to \infty [/latex] and [latex]f\left(x\right)\to \text{−∞}[/latex] as [latex]x\to \text{−∞}.[/latex] If [latex]a<0,[/latex] then [latex]f\left(x\right)\to \text{−∞}[/latex] as [latex]x\to \infty [/latex] and [latex]f\left(x\right)\to \infty [/latex] as [latex]x\to \text{−∞}.[/latex] As we can see from both of these graphs, the leading term of the polynomial determines the end behavior. (See [link](b).)

(a) For a quadratic function, if the leading coefficient [latex]a>0,[/latex] the parabola opens upward. If [latex]a<0,[/latex] the parabola opens downward. (b) For a cubic function [latex]f,[/latex] if the leading coefficient [latex]a>0,[/latex] the values [latex]f\left(x\right)\to \infty [/latex] as [latex]x\to \infty [/latex] and the values [latex]f\left(x\right)\to \text{−∞}[/latex] as [latex]x\to \text{−∞}.[/latex] If the leading coefficient [latex]a<0,[/latex] the opposite is true.
An image of two graphs. The first graph is labeled “a” and has an x axis that runs from -4 to 5 and a y axis that runs from -4 to 6. The graph contains two functions. The first function is “f(x) = -(x squared) - 4x -4”, which is a parabola. The function increasing until it hits the maximum at the point (-2, 0) and then begins decreasing. The x intercept is at (-2, 0) and the y intercept is at (0, -4). The second function is “f(x) = 2(x squared) -12x + 16”, which is a parabola. The function decreases until it hits the minimum point at (3, -2) and then begins increasing. The x intercepts are at (2, 0) and (4, 0) and the y intercept is not shown. The second graph is labeled “b” and has an x axis that runs from -4 to 3 and a y axis that runs from -4 to 6. The graph contains two functions. The first function is “f(x) = -(x cubed) - 3(x squared) + x + 3”. The graph decreases until the approximate point at (-2.2, -3.1), then increases until the approximate point at (0.2, 3.1), then begins decreasing again. The x intercepts are at (-3, 0), (-1, 0), and (1, 0). The y intercept is at (0, 3). The second function is “f(x) = (x cubed) -3(x squared) + 3x - 1”. It is a curved function that increases until the point (1, 0), where it levels out. After this point, the function begins increasing again. It has an x intercept at (1, 0) and a y intercept at (0, -1).

Zeros of Polynomial Functions

Another characteristic of the graph of a polynomial function is where it intersects the [latex]x[/latex]-axis. To determine where a function [latex]f[/latex] intersects the [latex]x[/latex]-axis, we need to solve the equation [latex]f\left(x\right)=0[/latex] for .n the case of the linear function [latex]f\left(x\right)=mx+b,[/latex] the [latex]x[/latex]-intercept is given by solving the equation [latex]mx+b=0.[/latex] In this case, we see that the [latex]x[/latex]-intercept is given by [latex]\left(\text{−}\mathit{\text{b}}\text{/}m,0\right).[/latex] In the case of a quadratic function, finding the [latex]x[/latex]-intercept(s) requires finding the zeros of a quadratic equation: [latex]a{x}^{2}+bx+c=0.[/latex] In some cases, it is easy to factor the polynomial [latex]a{x}^{2}+bx+c[/latex] to find the zeros. If not, we make use of the quadratic formula.

Rule: The Quadratic Formula

Consider the quadratic equation

[latex]a{x}^{2}+bx+c=0,[/latex]

where [latex]a\ne 0.[/latex] The solutions of this equation are given by the quadratic formula

[latex]x=\frac{\text{−}b±\sqrt{{b}^{2}-4ac}}{2a}.[/latex]

If the discriminant [latex]{b}^{2}-4ac>0,[/latex] this formula tells us there are two real numbers that satisfy the quadratic equation. If [latex]{b}^{2}-4ac=0,[/latex] this formula tells us there is only one solution, and it is a real number. If [latex]{b}^{2}-4ac<0,[/latex] no real numbers satisfy the quadratic equation.

In the case of higher-degree polynomials, it may be more complicated to determine where the graph intersects the [latex]x[/latex]-axis. In some instances, it is possible to find the [latex]x[/latex]-intercepts by factoring the polynomial to find its zeros. In other cases, it is impossible to calculate the exact values of the [latex]x[/latex]-intercepts. However, as we see later in the text, in cases such as this, we can use analytical tools to approximate (to a very high degree) where the [latex]x[/latex]-intercepts are located. Here we focus on the graphs of polynomials for which we can calculate their zeros explicitly.

Graphing Polynomial Functions

For the following functions a. and b., i. describe the behavior of [latex]f\left(x\right)[/latex] as [latex]x\to \text{±}\infty ,[/latex] ii. find all zeros of [latex]f,[/latex] and iii. sketch a graph of [latex]f.[/latex]

  1. [latex]f\left(x\right)=-2{x}^{2}+4x-1[/latex]
  2. [latex]f\left(x\right)={x}^{3}-3{x}^{2}-4x[/latex]
  1. The function [latex]f\left(x\right)=-2{x}^{2}+4x-1[/latex] is a quadratic function.
    1. Because [latex]a=-2<0,\text{as}\phantom{\rule{0.2em}{0ex}}x\to \text{±}\infty ,f\left(x\right)\to \text{−∞.}[/latex]
    2. To find the zeros of [latex]f,[/latex] use the quadratic formula. The zeros are

      [latex]x=\frac{-4±\sqrt{{4}^{2}-4\left(-2\right)\left(-1\right)}}{2\left(-2\right)}=\frac{-4±\sqrt{8}}{-4}=\frac{-4±2\sqrt{2}}{-4}=\frac{2±\sqrt{2}}{2}.[/latex]
    3. To sketch the graph of [latex]f,[/latex] use the information from your previous answers and combine it with the fact that the graph is a parabola opening downward.

      An image of a graph. The x axis runs from -2 to 5 and the y axis runs from -8 to 2. The graph is of the function “f(x) = -2(x squared) + 4x - 1”, which is a parabola. The function increases until the maximum point at (1, 1) and then decreases. Both x intercept points are plotted on the function, at approximately (0.2929, 0) and (1.7071, 0). The y intercept is at the point (0, -1).
  2. The function [latex]f\left(x\right)={x}^{3}-3{x}^{2}-4x[/latex] is a cubic function.
    1. Because [latex]a=1>0,\text{as}\phantom{\rule{0.2em}{0ex}}x\to \infty ,f\left(x\right)\to \infty .[/latex] As [latex]x\to \text{−∞},f\left(x\right)\to \text{−∞}.[/latex]
    2. To find the zeros of [latex]f,[/latex] we need to factor the polynomial. First, when we factor [latex]x[/latex] out of all the terms, we find

      [latex]f\left(x\right)=x\left({x}^{2}-3x-4\right).[/latex]

      Then, when we factor the quadratic function [latex]{x}^{2}-3x-4,[/latex] we find

      [latex]f\left(x\right)=x\left(x-4\right)\left(x+1\right).[/latex]

      Therefore, the zeros of [latex]f[/latex] are [latex]x=0,4,-1.[/latex]
    3. Combining the results from parts i. and ii., draw a rough sketch of [latex]f.[/latex]

      An image of a graph. The x axis runs from -2 to 5 and the y axis runs from -14 to 7. The graph is of the curved function “f(x) = (x cubed) - 3(x squared) - 4x”. The function increases until the approximate point at (-0.5, 1.1), then decreases until the approximate point (2.5, -13.1), then begins increasing again. The x intercept points are plotted on the function, at (-1, 0), (0, 0), and (4, 0). The y intercept is at the origin.

Consider the quadratic function [latex]f\left(x\right)=3{x}^{2}-6x+2.[/latex] Find the zeros of [latex]f.[/latex] Does the parabola open upward or downward?

The zeros are [latex]x=1±\sqrt{3}\text{/}3.[/latex] The parabola opens upward.

Hint

Use the quadratic formula.

Mathematical Models

A large variety of real-world situations can be described using mathematical models. A mathematical model is a method of simulating real-life situations with mathematical equations. Physicists, engineers, economists, and other researchers develop models by combining observation with quantitative data to develop equations, functions, graphs, and other mathematical tools to describe the behavior of various systems accurately. Models are useful because they help predict future outcomes. Examples of mathematical models include the study of population dynamics, investigations of weather patterns, and predictions of product sales.

As an example, let’s consider a mathematical model that a company could use to describe its revenue for the sale of a particular item. The amount of revenue [latex]R[/latex] a company receives for the sale of [latex]n[/latex] items sold at a price of [latex]p[/latex] dollars per item is described by the equation [latex]R=p·n.[/latex] The company is interested in how the sales change as the price of the item changes. Suppose the data in [link] show the number of units a company sells as a function of the price per item.

Number of Units Sold [latex]n[/latex] (in Thousands) as a Function of Price per Unit [latex]p[/latex] (in Dollars)
[latex]\mathbit{\text{p}}[/latex][latex]6[/latex][latex]8[/latex][latex]10[/latex][latex]12[/latex][latex]14[/latex]
[latex]\mathbit{\text{n}}[/latex][latex]19.4[/latex][latex]18.5[/latex][latex]16.2[/latex][latex]13.8[/latex][latex]12.2[/latex]

In [link], we see the graph the number of units sold (in thousands) as a function of price (in dollars). We note from the shape of the graph that the number of units sold is likely a linear function of price per item, and the data can be closely approximated by the linear function [latex]n=-1.04p+26[/latex] for [latex]0\le p\le 25,[/latex] where [latex]n[/latex] predicts the number of units sold in thousands. Using this linear function, the revenue (in thousands of dollars) can be estimated by the quadratic function

[latex]R\left(p\right)=p·\left(-1.04p+26\right)=-1.04{p}^{2}+26p[/latex]

for [latex]0\le p\le 25.[/latex] In [link], we use this quadratic function to predict the amount of revenue the company receives depending on the price the company charges per item. Note that we cannot conclude definitively the actual number of units sold for values of [latex]p,[/latex] for which no data are collected. However, given the other data values and the graph shown, it seems reasonable that the number of units sold (in thousands) if the price charged is [latex]p[/latex] dollars may be close to the values predicted by the linear function [latex]n=-1.04p+26.[/latex]

The data collected for the number of items sold as a function of price is roughly linear. We use the linear function [latex]n=-1.04p+26[/latex] to estimate this function.
An image of a graph. The y axis runs from 0 to 28 and is labeled “n, units sold in thousands”. The x axis runs from 0 to 28 and is labeled “p, price in dollars”. The graph is of the function “n = -1.04p + 26”, which is a decreasing line function that starts at the y intercept point (0, 26). There are 5 points plotted on the graph at (6, 19.4), (8, 18.5), (10, 16.2), (12, 13.8), and (14, 12.2). The points are not on the graph of the function line, but are very close to it. The function has an x intercept at the point (25, 0).
Maximizing Revenue

A company is interested in predicting the amount of revenue it will receive depending on the price it charges for a particular item. Using the data from [link], the company arrives at the following quadratic function to model revenue [latex]R[/latex] as a function of price per item [latex]p\text{:}[/latex]

[latex]R\left(p\right)=p·\left(-1.04p+26\right)=-1.04{p}^{2}+26p[/latex]

for [latex]0\le p\le 25.[/latex]

  1. Predict the revenue if the company sells the item at a price of [latex]p=\text{💲}5[/latex] and [latex]p=\text{💲}17.[/latex]
  2. Find the zeros of this function and interpret the meaning of the zeros.
  3. Sketch a graph of [latex]R.[/latex]
  4. Use the graph to determine the value of [latex]p[/latex] that maximizes revenue. Find the maximum revenue.
  1. Evaluating the revenue function at [latex]p=5[/latex] and [latex]p=17,[/latex] we can conclude that

    [latex]\begin{array}{}\\ R\left(5\right)=-1.04{\left(5\right)}^{2}+26\left(5\right)=104,\phantom{\rule{0.2em}{0ex}}\text{so revenue}\phantom{\rule{0.2em}{0ex}}=\phantom{\rule{0.2em}{0ex}}\text{💲104,000;}\hfill \\ R\left(17\right)=-1.04{\left(17\right)}^{2}+26\left(17\right)=141.44,\phantom{\rule{0.2em}{0ex}}\text{so revenue}\phantom{\rule{0.2em}{0ex}}=\phantom{\rule{0.2em}{0ex}}\text{💲144,440.}\hfill \end{array}[/latex]
  2. The zeros of this function can be found by solving the equation [latex]-1.04{p}^{2}+26p=0.[/latex] When we factor the quadratic expression, we get [latex]p\left(-1.04p+26\right)=0.[/latex] The solutions to this equation are given by [latex]p=0,25.[/latex] For these values of [latex]p,[/latex] the revenue is zero. When [latex]p=\text{💲}0,[/latex] the revenue is zero because the company is giving away its merchandise for free. When [latex]p=\text{💲}25,[/latex] the revenue is zero because the price is too high, and no one will buy any items.
  3. Knowing the fact that the function is quadratic, we also know the graph is a parabola. Since the leading coefficient is negative, the parabola opens downward. One property of parabolas is that they are symmetric about the axis, so since the zeros are at [latex]p=0[/latex] and [latex]p=25,[/latex] the parabola must be symmetric about the line halfway between them, or [latex]p=12.5.[/latex]

    An image of a graph. The y axis runs from 0 to 170 and is labeled “R, revenue in thousands of dollars”. The x axis runs from 0 to 28 and is labeled “p, price in dollars”. The graph is of the function “n = -1.04(p squared) + 26p”, which is a parabola that starts at the origin. The function increases until the maximum point at (12.5, 162.5) and then begins decreasing. The function has x intercepts at the origin and the point (25, 0). The y intercept is at the origin.
  4. The function is a parabola with zeros at [latex]p=0[/latex] and [latex]p=25,[/latex] and it is symmetric about the line [latex]p=12.5,[/latex] so the maximum revenue occurs at a price of [latex]p=\text{💲}12.50[/latex] per item. At that price, the revenue is [latex]R\left(p\right)=-1.04{\left(12.5\right)}^{2}+26\left(12.5\right)=\text{💲}162,500.[/latex]

Algebraic Functions

By allowing for quotients and fractional powers in polynomial functions, we create a larger class of functions. An algebraic function is one that involves addition, subtraction, multiplication, division, rational powers, and roots. Two types of algebraic functions are rational functions and root functions.

Just as rational numbers are quotients of integers, rational functions are quotients of polynomials. In particular, a rational function is any function of the form [latex]f\left(x\right)=p\left(x\right)\text{/}q\left(x\right),[/latex] where [latex]p\left(x\right)[/latex] and [latex]q\left(x\right)[/latex] are polynomials. For example,

[latex]f\left(x\right)=\frac{3x-1}{5x+2}\phantom{\rule{3em}{0ex}}\text{and}\phantom{\rule{3em}{0ex}}g\left(x\right)=\frac{4}{{x}^{2}+1}[/latex]

are rational functions. A root function is a power function of the form [latex]f\left(x\right)={x}^{1\text{/}n},[/latex] where [latex]n[/latex] is a positive integer greater than one. For example, [latex]f\left(x\right)={x}^{1\text{/}2}=\sqrt{x}[/latex] is the square-root function and [latex]g\left(x\right)={x}^{1\text{/}3}=\sqrt[3]{x}[/latex] is the cube-root function. By allowing for compositions of root functions and rational functions, we can create other algebraic functions. For example, [latex]f\left(x\right)=\sqrt{4-{x}^{2}}[/latex] is an algebraic function.

Finding Domain and Range for Algebraic Functions

For each of the following functions, find the domain and range.

  1. [latex]f\left(x\right)=\frac{3x-1}{5x+2}[/latex]
  2. [latex]f\left(x\right)=\sqrt{4-{x}^{2}}[/latex]
  1. It is not possible to divide by zero, so the domain is the set of real numbers [latex]x[/latex] such that [latex]x\ne \text{−}2\text{/}5.[/latex] To find the range, we need to find the values [latex]y[/latex] for which there exists a real number [latex]x[/latex] such that

    [latex]y=\frac{3x-1}{5x+2}.[/latex]

    When we multiply both sides of this equation by [latex]5x+2,[/latex] we see that [latex]x[/latex] must satisfy the equation

    [latex]5xy+2y=3x-1.[/latex]

    From this equation, we can see that [latex]x[/latex] must satisfy

    [latex]2y+1=x\left(3-5y\right).[/latex]

    If [latex]y=3\text{/}5,[/latex] this equation has no solution. On the other hand, as long as [latex]y\ne 3\text{/}5,[/latex]

    [latex]x=\frac{2y+1}{3-5y}[/latex]

    satisfies this equation. We can conclude that the range of [latex]f[/latex] is [latex]\left\{y|y\ne 3\text{/}5\right\}.[/latex]
  2. To find the domain of [latex]f,[/latex] we need [latex]4-{x}^{2}\ge 0.[/latex] When we factor, we write [latex]4-{x}^{2}=\left(2-x\right)\left(2+x\right)\ge 0.[/latex] This inequality holds if and only if both terms are positive or both terms are negative. For both terms to be positive, we need to find [latex]x[/latex] such that

    [latex]2-x\ge 0\phantom{\rule{2em}{0ex}}\text{and}\phantom{\rule{2em}{0ex}}2+x\ge 0.[/latex]

    These two inequalities reduce to [latex]2\ge x[/latex] and [latex]x\ge -2.[/latex] Therefore, the set [latex]\left\{x|-2\le x\le 2\right\}[/latex] must be part of the domain. For both terms to be negative, we need

    [latex]2-x\le 0\phantom{\rule{2em}{0ex}}\text{and}\phantom{\rule{2em}{0ex}}2+x\ge 0.[/latex]

    These two inequalities also reduce to [latex]2\le x[/latex] and [latex]x\ge -2.[/latex] There are no values of [latex]x[/latex] that satisfy both of these inequalities. Thus, we can conclude the domain of this function is [latex]\left\{x|-2\le x\le 2\right\}\text{.}[/latex]

    If [latex]-2\le x\le 2,[/latex] then [latex]0\le 4-{x}^{2}\le 4.[/latex] Therefore, [latex]0\le \sqrt{4-{x}^{2}}\le 2,[/latex] and the range of [latex]f[/latex] is [latex]\left\{y|0\le y\le 2\right\}.[/latex]

Find the domain and range for the function [latex]f\left(x\right)=\left(5x+2\right)\text{/}\left(2x-1\right).[/latex]

The domain is the set of real numbers [latex]x[/latex] such that [latex]x\ne 1\text{/}2.[/latex] The range is the set [latex]\left\{y|y\ne 5\text{/}2\right\}.[/latex]

Hint

The denominator cannot be zero. Solve the equation [latex]y=\left(5x+2\right)\text{/}\left(2x-1\right)[/latex] for [latex]x[/latex] to find the range.

The root functions [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] have defining characteristics depending on whether [latex]n[/latex] is odd or even. For all even integers [latex]n\ge 2,[/latex] the domain of [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] is the interval [latex]\left[0,\infty \right).[/latex] For all odd integers [latex]n\ge 1,[/latex] the domain of [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] is the set of all real numbers. Since [latex]{x}^{1\text{/}n}={\left(\text{−}\mathit{\text{x}}\right)}^{1\text{/}n}[/latex] for odd integers [latex]n,f\left(x\right)={x}^{1\text{/}n}[/latex] is an odd function if [latex]n[/latex] is odd. See the graphs of root functions for different values of [latex]n[/latex] in [link].

(a) If [latex]n[/latex] is even, the domain of [latex]f\left(x\right)=\sqrt[n]{x}[/latex] is [latex]\left[0,\infty \right).[/latex] (b) If [latex]n[/latex] is odd, the domain of [latex]f\left(x\right)=\sqrt[n]{x}[/latex] is [latex]\left(\text{−∞},\infty \right)[/latex] and the function [latex]f\left(x\right)=\sqrt[n]{x}[/latex] is an odd function.
An image of two graphs. The first graph is labeled “a” and has an x axis that runs from -2 to 9 and a y axis that runs from -4 to 4. The first graph is of two functions. The first function is “f(x) = square root of x”, which is a curved function that begins at the origin and increases. The second function is “f(x) = x to the 4th root”, which is a curved function that begins at the origin and increases, but increases at a slower rate than the first function. The second graph is labeled “b” and has an x axis that runs from -8 to 8 and a y axis that runs from -4 to 4. The second graph is of two functions. The first function is “f(x) = cube root of x”, which is a curved function that increases until the origin, becomes vertical at the origin, and then increases again after the origin. The second function is “f(x) = x to the 5th root”, which is a curved function that increases until the origin, becomes vertical at the origin, and then increases again after the origin, but increases at a slower rate than the first function.
Finding Domains for Algebraic Functions

For each of the following functions, determine the domain of the function.

  1. [latex]f\left(x\right)=\frac{3}{{x}^{2}-1}[/latex]
  2. [latex]f\left(x\right)=\frac{2x+5}{3{x}^{2}+4}[/latex]
  3. [latex]f\left(x\right)=\sqrt{4-3x}[/latex]
  4. [latex]f\left(x\right)=\sqrt[3]{2x-1}[/latex]
  1. You cannot divide by zero, so the domain is the set of values [latex]x[/latex] such that [latex]{x}^{2}-1\ne 0.[/latex] Therefore, the domain is [latex]\left\{x|x\ne \text{±}1\right\}.[/latex]
  2. You need to determine the values of [latex]x[/latex] for which the denominator is zero. Since [latex]3{x}^{2}+4\ge 4[/latex] for all real numbers [latex]x,[/latex] the denominator is never zero. Therefore, the domain is [latex]\left(\text{−∞},\infty \right).[/latex]
  3. Since the square root of a negative number is not a real number, the domain is the set of values [latex]x[/latex] for which [latex]4-3x\ge 0.[/latex] Therefore, the domain is [latex]\left\{x|x\le 4\text{/}3\right\}.[/latex]
  4. The cube root is defined for all real numbers, so the domain is the interval [latex]\text{(−∞, ∞).}[/latex]

Find the domain for each of the following functions: [latex]f\left(x\right)=\left(5-2x\right)\text{/}\left({x}^{2}+2\right)[/latex] and [latex]g\left(x\right)=\sqrt{5x-1}.[/latex]

The domain of [latex]f[/latex] is [latex]\text{(−∞, ∞).}[/latex] The domain of [latex]g[/latex] is [latex]\left\{x|x\ge 1\text{/}5\right\}.[/latex]

Hint

Determine the values of [latex]x[/latex] when the expression in the denominator of [latex]f[/latex] is nonzero, and find the values of [latex]x[/latex] when the expression inside the radical of [latex]g[/latex] is nonnegative.

Transcendental Functions

Thus far, we have discussed algebraic functions. Some functions, however, cannot be described by basic algebraic operations. These functions are known as transcendental functions because they are said to “transcend,” or go beyond, algebra. The most common transcendental functions are trigonometric, exponential, and logarithmic functions. A trigonometric function relates the ratios of two sides of a right triangle. They are [latex]\mathrm{sin}x,\mathrm{cos}x,\mathrm{tan}x,\mathrm{cot}x,\mathrm{sec}x,\text{and}\phantom{\rule{0.2em}{0ex}}\mathrm{csc}x.[/latex] (We discuss trigonometric functions later in the chapter.) An exponential function is a function of the form [latex]f\left(x\right)={b}^{x},[/latex] where the base [latex]b>0,b\ne 1.[/latex] A logarithmic function is a function of the form [latex]f\left(x\right)={\mathrm{log}}_{b}\left(x\right)[/latex] for some constant [latex]b>0,b\ne 1,[/latex] where [latex]{\mathrm{log}}_{b}\left(x\right)=y[/latex] if and only if [latex]{b}^{y}=x.[/latex] (We also discuss exponential and logarithmic functions later in the chapter.)

Classifying Algebraic and Transcendental Functions

Classify each of the following functions, a. through c., as algebraic or transcendental.

  1. [latex]f\left(x\right)=\frac{\sqrt{{x}^{3}+1}}{4x+2}[/latex]
  2. [latex]f\left(x\right)={2}^{{x}^{2}}[/latex]
  3. [latex]f\left(x\right)=\text{sin}\left(2x\right)[/latex]
  1. Since this function involves basic algebraic operations only, it is an algebraic function.
  2. This function cannot be written as a formula that involves only basic algebraic operations, so it is transcendental. (Note that algebraic functions can only have powers that are rational numbers.)
  3. As in part b., this function cannot be written using a formula involving basic algebraic operations only; therefore, this function is transcendental.

Is [latex]f\left(x\right)=x\text{/}2[/latex] an algebraic or a transcendental function?

Algebraic

Piecewise-Defined Functions

Sometimes a function is defined by different formulas on different parts of its domain. A function with this property is known as a piecewise-defined function. The absolute value function is an example of a piecewise-defined function because the formula changes with the sign of [latex]x\text{:}[/latex]

[latex]f\left(x\right)=\left\{\begin{array}{c}\text{−}x,x<0\\ x,x\ge 0\end{array}.[/latex]

Other piecewise-defined functions may be represented by completely different formulas, depending on the part of the domain in which a point falls. To graph a piecewise-defined function, we graph each part of the function in its respective domain, on the same coordinate system. If the formula for a function is different for [latex]x<a[/latex] and [latex]x>a,[/latex] we need to pay special attention to what happens at [latex]x=a[/latex] when we graph the function. Sometimes the graph needs to include an open or closed circle to indicate the value of the function at [latex]x=a.[/latex] We examine this in the next example.

Graphing a Piecewise-Defined Function

Sketch a graph of the following piecewise-defined function:

[latex]f\left(x\right)=\left\{\begin{array}{l}x+3,\phantom{\rule{3em}{0ex}}x<1\\ {\left(x-2\right)}^{2},\phantom{\rule{1.5em}{0ex}}x\ge 1\end{array}.[/latex]

Graph the linear function [latex]y=x+3[/latex] on the interval [latex]\left(\text{−∞},1\right)[/latex] and graph the quadratic function [latex]y={\left(x-2\right)}^{2}[/latex] on the interval [latex]\left[1,\infty \right).[/latex] Since the value of the function at [latex]x=1[/latex] is given by the formula [latex]f\left(x\right)={\left(x-2\right)}^{2},[/latex] we see that [latex]f\left(1\right)=1.[/latex] To indicate this on the graph, we draw a closed circle at the point [latex]\left(1,1\right).[/latex] The value of the function is given by [latex]f\left(x\right)=x+2[/latex] for all [latex]x<1,[/latex] but not at [latex]x=1.[/latex] To indicate this on the graph, we draw an open circle at [latex]\left(1,4\right).[/latex]

This piecewise-defined function is linear for [latex]x<1[/latex] and quadratic for [latex]x\ge 1.[/latex]
An image of a graph. The x axis runs from -7 to 5 and the y axis runs from -4 to 6. The graph is of a function that has two pieces. The first piece is an increasing line that ends at the open circle point (1, 4) and has the label “f(x) = x + 3, for x < 1”. The second piece is parabolic and begins at the closed circle point (1, 1). After the point (1, 1), the piece begins to decrease until the point (2, 0) then begins to increase. This piece has the label “f(x) = (x - 2) squared, for x >= 1”.The function has x intercepts at (-3, 0) and (2, 0) and a y intercept at (0, 3).

Sketch a graph of the function

[latex]f\left(x\right)=\left\{\begin{array}{c}2-x,x\le 2\\ x+2,x>2\end{array}.[/latex]


An image of a graph. The x axis runs from -6 to 5 and the y axis runs from -2 to 7. The graph is of a function that has two pieces. The first piece is a decreasing line that ends at the closed circle point (2, 0) and has the label “f(x) = 2 - x, for x <= 2. The second piece is an increasing line and begins at the open circle point (2, 4) and has the label “f(x) = x + 2, for x > 2.The function has an x intercept at (2, 0) and a y intercept at (0, 2).
Hint

Graph one linear function for [latex]x\le 2[/latex] and then graph a different linear function for [latex]x>2\text{.}[/latex]

Parking Fees Described by a Piecewise-Defined Function

In a big city, drivers are charged variable rates for parking in a parking garage. They are charged 💲10 for the first hour or any part of the first hour and an additional 💲2 for each hour or part thereof up to a maximum of 💲30 for the day. The parking garage is open from 6 a.m. to 12 midnight.

  1. Write a piecewise-defined function that describes the cost [latex]C[/latex] to park in the parking garage as a function of hours parked [latex]x.[/latex]
  2. Sketch a graph of this function [latex]C\left(x\right).[/latex]
  1. Since the parking garage is open 18 hours each day, the domain for this function is [latex]\text{{}x|0<x\le 18\right\}.[/latex] The cost to park a car at this parking garage can be described piecewise by the function

    [latex]C\left(x\right)=\left\{\begin{array}{c}10,0<x\le 1\\ 12,1<x\le 2\\ 14,2<x\le 3\\ 16,3<x\le 4\\ ⋮\\ 30,10<x\le 18\end{array}.[/latex]
  2. The graph of the function consists of several horizontal line segments.

    An image of a graph. The x axis runs from 0 to 18 and is labeled “x, hours”. The y axis runs from 0 to 32 and is labeled “y, cost in dollars”. The function consists 11 pieces, all horizontal line segments that begin with an open circle and end with a closed circle. The first piece starts at x = 0 and ends at x = 1 and is at y = 10. The second piece starts at x = 1 and ends at x = 2 and is at y = 12. The third piece starts at x = 2 and ends at x = 3 and is at y = 14. The fourth piece starts at x = 3 and ends at x = 4 and is at y = 16. The fifth piece starts at x = 4 and ends at x = 5 and is at y = 18. The sixth piece starts at x = 5 and ends at x = 6 and is at y = 20. The seventh piece starts at x = 6 and ends at x = 7 and is at y = 22. The eighth piece starts at x = 7 and ends at x = 8 and is at y = 24. The ninth piece starts at x = 8 and ends at x = 9 and is at y = 26. The tenth piece starts at x = 9 and ends at x = 10 and is at y = 28. The eleventh piece starts at x = 10 and ends at x = 18 and is at y = 30.

The cost of mailing a letter is a function of the weight of the letter. Suppose the cost of mailing a letter is [latex]49\text{¢}[/latex] for the first ounce and [latex]21\text{¢}[/latex] for each additional ounce. Write a piecewise-defined function describing the cost [latex]C[/latex] as a function of the weight [latex]x[/latex] for [latex]0<x\le 3,[/latex] where [latex]C[/latex] is measured in cents and [latex]x[/latex] is measured in ounces.

[latex]C\left(x\right)=\left\{\begin{array}{c}49,0<x\le 1\\ 70,1<x\le 2\\ 91,2<x\le 3\end{array}[/latex]

Hint

The piecewise-defined function is constant on the intervals [latex]\left(0,1\right],\left(1,2\right]\text{,….}[/latex]

Transformations of Functions

We have seen several cases in which we have added, subtracted, or multiplied constants to form variations of simple functions. In the previous example, for instance, we subtracted 2 from the argument of the function [latex]y={x}^{2}[/latex] to get the function [latex]f\left(x\right)={\left(x-2\right)}^{2}.[/latex] This subtraction represents a shift of the function [latex]y={x}^{2}[/latex] two units to the right. A shift, horizontally or vertically, is a type of transformation of a function. Other transformations include horizontal and vertical scalings, and reflections about the axes.

A vertical shift of a function occurs if we add or subtract the same constant to each output [latex]y.[/latex] For [latex]c>0,[/latex] the graph of [latex]f\left(x\right)+c[/latex] is a shift of the graph of [latex]f\left(x\right)[/latex] up [latex]c[/latex] units, whereas the graph of [latex]f\left(x\right)-c[/latex] is a shift of the graph of [latex]f\left(x\right)[/latex] down [latex]c[/latex] units. For example, the graph of the function [latex]f\left(x\right)={x}^{3}+4[/latex] is the graph of [latex]y={x}^{3}[/latex] shifted up [latex]4[/latex] units; the graph of the function [latex]f\left(x\right)={x}^{3}-4[/latex] is the graph of [latex]y={x}^{3}[/latex] shifted down [latex]4[/latex] units ([link]).

(a) For [latex]c>0,[/latex] the graph of [latex]y=f\left(x\right)+c[/latex] is a vertical shift up [latex]c[/latex] units of the graph of [latex]y=f\left(x\right).[/latex] (b) For [latex]c>0,[/latex] the graph of [latex]y=f\left(x\right)-c[/latex] is a vertical shift down [latex]c[/latex] units of the graph of [latex]y=f\left(x\right).[/latex]
An image of two graphs. The first graph is labeled “a” and has an x axis that runs from -4 to 4 and a y axis that runs from -1 to 10. The graph is of two functions. The first function is “f(x) = x squared”, which is a parabola that decreases until the origin and then increases again after the origin. The second function is “f(x) = (x squared) + 4”, which is a parabola that decreases until the point (0, 4) and then increases again after the origin. The two functions are the same in shape, but the second function is shifted up 4 units. The second graph is labeled “b” and has an x axis that runs from -4 to 4 and a y axis that runs from -5 to 6. The graph is of two functions. The first function is “f(x) = x squared”, which is a parabola that decreases until the origin and then increases again after the origin. The second function is “f(x) = (x squared) - 4”, which is a parabola that decreases until the point (0, -4) and then increases again after the origin. The two functions are the same in shape, but the second function is shifted down 4 units.

A horizontal shift of a function occurs if we add or subtract the same constant to each input [latex]x.[/latex] For [latex]c>0,[/latex] the graph of [latex]f\left(x+c\right)[/latex] is a shift of the graph of [latex]f\left(x\right)[/latex] to the left [latex]c[/latex] units; the graph of [latex]f\left(x-c\right)[/latex] is a shift of the graph of [latex]f\left(x\right)[/latex] to the right [latex]c[/latex] units. Why does the graph shift left when adding a constant and shift right when subtracting a constant? To answer this question, let’s look at an example.

Consider the function [latex]f\left(x\right)=|x+3|[/latex] and evaluate this function at [latex]x-3.[/latex] Since [latex]f\left(x-3\right)=|x|[/latex] and [latex]x-3<x,[/latex] the graph of [latex]f\left(x\right)=|x+3|[/latex] is the graph of [latex]y=|x|[/latex] shifted left 3 units. Similarly, the graph of [latex]f\left(x\right)=|x-3|[/latex] is the graph of [latex]y=|x|[/latex] shifted right [latex]3[/latex] units ([link]).

(a) For [latex]c>0,[/latex] the graph of [latex]y=f\left(x+c\right)[/latex] is a horizontal shift left [latex]c[/latex] units of the graph of [latex]y=f\left(x\right).[/latex] (b) For [latex]c>0,[/latex] the graph of [latex]y=f\left(x-c\right)[/latex] is a horizontal shift right [latex]c[/latex] units of the graph of [latex]y=f\left(x\right).[/latex]
An image of two graphs. The first graph is labeled “a” and has an x axis that runs from -8 to 5 and a y axis that runs from -3 to 5. The graph is of two functions. The first function is “f(x) = absolute value of x”, which decreases in a straight line until the origin and then increases in a straight line again after the origin. The second function is “f(x) = absolute value of (x + 3)”, which decreases in a straight line until the point (-3, 0) and then increases in a straight line again after the point (-3, 0). The two functions are the same in shape, but the second function is shifted left 3 units. The second graph is labeled “b” and has an x axis that runs from -5 to 8 and a y axis that runs from -3 to 5. The graph is of two functions. The first function is “f(x) = absolute value of x”, which decreases in a straight line until the origin and then increases in a straight line again after the origin. The second function is “f(x) = absolute value of (x - 3)”, which decreases in a straight line until the point (3, 0) and then increases in a straight line again after the point (3, 0). The two functions are the same in shape, but the second function is shifted right 3 units.

A vertical scaling of a graph occurs if we multiply all outputs [latex]y[/latex] of a function by the same positive constant. For [latex]c>0,[/latex] the graph of the function [latex]cf\left(x\right)[/latex] is the graph of [latex]f\left(x\right)[/latex] scaled vertically by a factor of [latex]c.[/latex] If [latex]c>1,[/latex] the values of the outputs for the function [latex]cf\left(x\right)[/latex] are larger than the values of the outputs for the function [latex]f\left(x\right);[/latex] therefore, the graph has been stretched vertically. If [latex]0<c<1,[/latex] then the outputs of the function [latex]cf\left(x\right)[/latex] are smaller, so the graph has been compressed. For example, the graph of the function [latex]f\left(x\right)=3{x}^{2}[/latex] is the graph of [latex]y={x}^{2}[/latex] stretched vertically by a factor of 3, whereas the graph of [latex]f\left(x\right)={x}^{2}\text{/}3[/latex] is the graph of [latex]y={x}^{2}[/latex] compressed vertically by a factor of [latex]3[/latex] ([link]).

(a) If [latex]c>1,[/latex] the graph of [latex]y=cf\left(x\right)[/latex] is a vertical stretch of the graph of [latex]y=f\left(x\right).[/latex] (b) If [latex]0<c<1,[/latex] the graph of [latex]y=cf\left(x\right)[/latex] is a vertical compression of the graph of [latex]y=f\left(x\right).[/latex]
An image of two graphs. The first graph is labeled “a” and has an x axis that runs from -3 to 3 and a y axis that runs from -2 to 9. The graph is of two functions. The first function is “f(x) = x squared”, which is a parabola that decreases until the origin and then increases again after the origin. The second function is “f(x) = 3(x squared)”, which is a parabola that decreases until the origin and then increases again after the origin, but is vertically stretched and thus increases at a quicker rate than the first function. The second graph is labeled “b” and has an x axis that runs from -4 to 4 and a y axis that runs from -2 to 9. The graph is of two functions. The first function is “f(x) = x squared”, which is a parabola that decreases until the origin and then increases again after the origin. The second function is “f(x) = (1/3)(x squared)”, which is a parabola that decreases until the origin and then increases again after the origin, but is vertically compressed and thus increases at a slower rate than the first function.

The horizontal scaling of a function occurs if we multiply the inputs [latex]x[/latex] by the same positive constant. For [latex]c>0,[/latex] the graph of the function [latex]f\left(cx\right)[/latex] is the graph of [latex]f\left(x\right)[/latex] scaled horizontally by a factor of [latex]c.[/latex] If [latex]c>1,[/latex] the graph of [latex]f\left(cx\right)[/latex] is the graph of [latex]f\left(x\right)[/latex] compressed horizontally. If [latex]0<c<1,[/latex] the graph of [latex]f\left(cx\right)[/latex] is the graph of [latex]f\left(x\right)[/latex] stretched horizontally. For example, consider the function [latex]f\left(x\right)=\sqrt{2x}[/latex] and evaluate [latex]f[/latex] at [latex]x\text{/}2.[/latex] Since [latex]f\left(x\text{/}2\right)=\sqrt{x},[/latex] the graph of [latex]f\left(x\right)=\sqrt{2x}[/latex] is the graph of [latex]y=\sqrt{x}[/latex] compressed horizontally. The graph of [latex]y=\sqrt{x\text{/}2}[/latex] is a horizontal stretch of the graph of [latex]y=\sqrt{x}[/latex] ([link]).

(a) If [latex]c>1,[/latex] the graph of [latex]y=f\left(cx\right)[/latex] is a horizontal compression of the graph of [latex]y=f\left(x\right).[/latex] (b) If [latex]0<c<1,[/latex] the graph of [latex]y=f\left(cx\right)[/latex] is a horizontal stretch of the graph of [latex]y=f\left(x\right).[/latex]
An image of two graphs. Both graphs have an x axis that runs from -2 to 4 and a y axis that runs from -2 to 5. The first graph is labeled “a” and is of two functions. The first graph is of two functions. The first function is “f(x) = square root of x”, which is a curved function that begins at the origin and increases. The second function is “f(x) = square root of 2x”, which is a curved function that begins at the origin and increases, but increases at a faster rate than the first function. The second graph is labeled “b” and is of two functions. The first function is “f(x) = square root of x”, which is a curved function that begins at the origin and increases. The second function is “f(x) = square root of (x/2)”, which is a curved function that begins at the origin and increases, but increases at a slower rate than the first function.

We have explored what happens to the graph of a function [latex]f[/latex] when we multiply [latex]f[/latex] by a constant [latex]c>0[/latex] to get a new function [latex]cf\left(x\right).[/latex] We have also discussed what happens to the graph of a function [latex]f[/latex] when we multiply the independent variable [latex]x[/latex] by [latex]c>0[/latex] to get a new function [latex]f\left(cx\right).[/latex] However, we have not addressed what happens to the graph of the function if the constant [latex]c[/latex] is negative. If we have a constant [latex]c<0,[/latex] we can write c as a positive number multiplied by [latex]-1;[/latex] but, what kind of transformation do we get when we multiply the function or its argument by [latex]-1?[/latex] When we multiply all the outputs by [latex]-1,[/latex] we get a reflection about the [latex]x[/latex]-axis. When we multiply all inputs by [latex]-1,[/latex] we get a reflection about the [latex]y[/latex]-axis. For example, the graph of [latex]f\left(x\right)=\text{−}\left({x}^{3}+1\right)[/latex] is the graph of [latex]y=\left({x}^{3}+1\right)[/latex] reflected about the [latex]x[/latex]-axis. The graph of [latex]f\left(x\right)={\left(\text{−}x\right)}^{3}+1[/latex] is the graph of [latex]y={x}^{3}+1[/latex] reflected about the [latex]y[/latex]-axis ([link]).

(a) The graph of [latex]y=\text{−}f\left(x\right)[/latex] is the graph of [latex]y=f\left(x\right)[/latex] reflected about the [latex]x[/latex]-axis. (b) The graph of [latex]y=f\left(\text{−}x\right)[/latex] is the graph of [latex]y=f\left(x\right)[/latex] reflected about the

[latex]y[/latex]-axis.
An image of two graphs. Both graphs have an x axis that runs from -3 to 3 and a y axis that runs from -5 to 6. The first graph is labeled “a” and is of two functions. The first graph is of two functions. The first function is “f(x) = x cubed + 1”, which is a curved increasing function that has an x intercept at (-1, 0) and a y intercept at (0, 1). The second function is “f(x) = -(x cubed + 1)”, which is a curved decreasing function that has an x intercept at (-1, 0) and a y intercept at (0, -1). The second graph is labeled “b” and is of two functions. The first function is “f(x) = x cubed + 1”, which is a curved increasing function that has an x intercept at (-1, 0) and a y intercept at (0, 1). The second function is “f(x) = (-x) cubed + 1”, which is a curved decreasing function that has an x intercept at (1, 0) and a y intercept at (0, 1). The first function increases at the same rate the second function decreases for the same values of x.

If the graph of a function consists of more than one transformation of another graph, it is important to transform the graph in the correct order. Given a function [latex]f\left(x\right),[/latex] the graph of the related function [latex]y=cf\left(a\left(x+b\right)\right)+d[/latex] can be obtained from the graph of [latex]y=f\left(x\right)[/latex] by performing the transformations in the following order.

  1. Horizontal shift of the graph of [latex]y=f\left(x\right).[/latex] If [latex]b>0,[/latex] shift left. If [latex]b<0,[/latex] shift right.
  2. Horizontal scaling of the graph of [latex]y=f\left(x+b\right)[/latex] by a factor of [latex]|a|.[/latex] If [latex]a<0,[/latex] reflect the graph about the [latex]y[/latex]-axis.
  3. Vertical scaling of the graph of [latex]y=f\left(a\left(x+b\right)\right)[/latex] by a factor of [latex]|c|.[/latex] If [latex]c<0,[/latex] reflect the graph about the [latex]x[/latex]-axis.
  4. Vertical shift of the graph of [latex]y=cf\left(a\left(x+b\right)\right).[/latex] If [latex]d>0,[/latex] shift up. If [latex]d<0,[/latex] shift down.

We can summarize the different transformations and their related effects on the graph of a function in the following table.

Transformations of Functions
Transformation of [latex]f\left(c>0\right)[/latex]Effect on the graph of[latex]f[/latex]
[latex]f\left(x\right)+c[/latex]Vertical shift up [latex]c[/latex] units
[latex]f\left(x\right)-c[/latex]Vertical shift down [latex]c[/latex] units
[latex]f\left(x+c\right)[/latex]Shift left by [latex]c[/latex] units
[latex]f\left(x-c\right)[/latex]Shift right by [latex]c[/latex] units
[latex]cf\left(x\right)[/latex]Vertical stretch if [latex]c>1;[/latex]

vertical compression if [latex]0<c<1[/latex]
[latex]f\left(cx\right)[/latex]Horizontal stretch if [latex]0<c<1;[/latex] horizontal compression if [latex]c>1[/latex]
[latex]\text{−}f\left(x\right)[/latex]Reflection about the [latex]x[/latex]-axis
[latex]f\left(\text{−}x\right)[/latex]Reflection about the [latex]y[/latex]-axis
Transforming a Function

For each of the following functions, a. and b., sketch a graph by using a sequence of transformations of a well-known function.

  1. [latex]f\left(x\right)=\text{−}|x+2|-3[/latex]
  2. [latex]f\left(x\right)=3\sqrt{\text{−}\mathit{\text{x}}}+1[/latex]
  1. Starting with the graph of [latex]y=|x|,[/latex] shift [latex]2[/latex] units to the left, reflect about the [latex]x[/latex]-axis, and then shift down 3 units.

    The function [latex]f\left(x\right)=\text{−}|x+2|-3[/latex] can be viewed as a sequence of three transformations of the function [latex]y=|x|.[/latex]
    An image of a graph. The x axis runs from -7 to 7 and a y axis runs from -7 to 7. The graph contains four functions. The first function is “f(x) = absolute value of x” and is labeled starting function. It decreases in a straight line until the origin and then increases in a straight line again after the origin. The second function is “f(x) = absolute value of (x + 2)”, which decreases in a straight line until the point (-2, 0) and then increases in a straight line again after the point (-2, 0). The second function is the same shape as the first function, but is shifted left 2 units. The third function is “f(x) = -(absolute value of (x + 2))”, which increases in a straight line until the point (-2, 0) and then decreases in a straight line again after the point (-2, 0). The third function is the second function reflected about the x axis. The fourth function is “f(x) = -(absolute value of (x + 2)) - 3” and is labeled “transformed function”. It increases in a straight line until the point (-2, -3) and then decreases in a straight line again after the point (-2, -3). The fourth function is the third function shifted down 3 units.
  2. Starting with the graph of [latex]y=\sqrt{x},[/latex] reflect about the [latex]y[/latex]-axis, stretch the graph vertically by a factor of 3, and move up 1 unit.

    The function [latex]f\left(x\right)=3\sqrt{\text{−}x}+1[/latex] can be viewed as a sequence of three transformations of the function [latex]y=\sqrt{x}.[/latex]
    An image of a graph. The x axis runs from -7 to 7 and a y axis runs from -2 to 10. The graph contains four functions. The first function is “f(x) = square root of x” and is labeled starting function. It is a curved function that begins at the origin and increases. The second function is “f(x) = square root of -x”, which is a curved function that decreases until it reaches the origin, where it stops. The second function is the first function reflected about the y axis. The third function is “f(x) = 3(square root of -x)”, which is a curved function that decreases until it reaches the origin, where it stops. The third function decreases at a quicker rate than the second function. The fourth function is “f(x) = 3(square root of -x) + 1” and is labeled “transformed function”. Itis a curved function that decreases until it reaches the point (0, 1), where it stops. The fourth function is the third function shifted up 1 unit.

Describe how the function [latex]f\left(x\right)=\text{−}{\left(x+1\right)}^{2}-4[/latex] can be graphed using the graph of [latex]y={x}^{2}[/latex] and a sequence of transformations.

Shift the graph [latex]y={x}^{2}[/latex] to the left 1 unit, reflect about the [latex]x[/latex]-axis, then shift down 4 units.

Hint

Use [link].

Key Concepts

  • The power function [latex]f\left(x\right)={x}^{n}[/latex] is an even function if [latex]n[/latex] is even and [latex]n\ne 0,[/latex] and it is an odd function if [latex]n[/latex] is odd.
  • The root function [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] has the domain [latex]\left[0,\infty \right)[/latex] if [latex]n[/latex] is even and the domain [latex]\left(\text{−∞},\infty \right)[/latex] if [latex]n[/latex] is odd. If [latex]n[/latex] is odd, then [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] is an odd function.
  • The domain of the rational function [latex]f\left(x\right)=p\left(x\right)\text{/}q\left(x\right),[/latex] where [latex]p\left(x\right)[/latex] and [latex]q\left(x\right)[/latex] are polynomial functions, is the set of [latex]x[/latex] such that [latex]q\left(x\right)\ne 0.[/latex]
  • Functions that involve the basic operations of addition, subtraction, multiplication, division, and powers are algebraic functions. All other functions are transcendental. Trigonometric, exponential, and logarithmic functions are examples of transcendental functions.
  • A polynomial function [latex]f[/latex] with degree [latex]n\ge 1[/latex] satisfies [latex]f\left(x\right)\to \text{±}\infty [/latex] as [latex]x\to \text{±}\infty .[/latex] The sign of the output as [latex]x\to \infty [/latex] depends on the sign of the leading coefficient only and on whether [latex]n[/latex] is even or odd.
  • Vertical and horizontal shifts, vertical and horizontal scalings, and reflections about the [latex]x[/latex]- and [latex]y[/latex]-axes are examples of transformations of functions.

Key Equations

  • Point-slope equation of a line

    [latex]y-{y}_{1}=m\left(x-{x}_{1}\right)[/latex]
  • Slope-intercept form of a line

    [latex]y=mx+b[/latex]
  • Standard form of a line

    [latex]ax+by=c[/latex]
  • Polynomial function

    [latex]f\left(x\right)={a}_{n}{x}^{n}+{a}_{n-1}{x}^{n-1}+\text{⋯}+{a}_{1}x+{a}_{0}[/latex]

For the following exercises, for each pair of points, a. find the slope of the line passing through the points and b. indicate whether the line is increasing, decreasing, horizontal, or vertical.

[latex]\left(-2,4\right)[/latex] and [latex]\left(1,1\right)[/latex]

a. −1 b. Decreasing

[latex]\left(-1,4\right)[/latex] and [latex]\left(3,-1\right)[/latex]

[latex]\left(3,5\right)[/latex] and [latex]\left(-1,2\right)[/latex]

a. 3/4 b. Increasing

[latex]\left(6,4\right)[/latex] and [latex]\left(4,-3\right)[/latex]

[latex]\left(2,3\right)[/latex] and [latex]\left(5,7\right)[/latex]

a. 4/3 b. Increasing

[latex]\left(1,9\right)[/latex] and [latex]\left(-8,5\right)[/latex]

[latex]\left(2,4\right)[/latex] and [latex]\left(1,4\right)[/latex]

a. 0 b. Horizontal

[latex]\left(1,4\right)[/latex] and [latex]\left(1,0\right)[/latex]

For the following exercises, write the equation of the line satisfying the given conditions in slope-intercept form.

Slope [latex]=-6,[/latex] passes through [latex]\left(1,3\right)[/latex]

[latex]y=-6x+9[/latex]

Slope [latex]=3,[/latex] passes through [latex]\left(-3,2\right)[/latex]

Slope [latex]=\frac{1}{3},[/latex] passes through [latex]\left(0,4\right)[/latex]

[latex]y=\frac{1}{3}x+4[/latex]

Slope [latex]=\frac{2}{5},\phantom{\rule{0.2em}{0ex}}x[/latex]-intercept [latex]=8[/latex]

Passing through [latex]\left(2,1\right)[/latex] and [latex]\left(-2,-1\right)[/latex]

[latex]y=\frac{1}{2}x[/latex]

Passing through [latex]\left(-3,7\right)[/latex] and [latex]\left(1,2\right)[/latex]

[latex]x[/latex]-intercept [latex]=5[/latex] and [latex]y[/latex]-intercept [latex]=-3[/latex]

[latex]y=\frac{3}{5}x-3[/latex]

[latex]x[/latex]-Intercept [latex]=-6[/latex] and [latex]y[/latex]-intercept [latex]=9[/latex]

For the following exercises, for each linear equation, a. give the slope [latex]m[/latex] and [latex]y[/latex]-intercept b, if any, and b. graph the line.

[latex]y=2x-3[/latex]

a. [latex]\left(m=2,b=-3\right)[/latex] b.


An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph shows an increasing straight line function with a y intercept at (0, -3) and a x intercept at (1.5, 0).

[latex]y=-\frac{1}{7}x+1[/latex]

[latex]f\left(x\right)=-6x[/latex]

a. [latex]\left(m=-6,b=0\right)[/latex] b.


An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph shows a decreasing straight line function with a y intercept and x intercept both at the origin. There is an unlabeled point on the function at (0.5, -3).

[latex]f\left(x\right)=-5x+4[/latex]

[latex]4y+24=0[/latex]

a. [latex]\left(m=0,b=-6\right)[/latex] b.


An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -7 to 1. The graph shows a horizontal straight line function with a y intercept at (0, -6) and no x intercept.

[latex]8x-4=0[/latex]

[latex]2x+3y=6[/latex]

a. [latex]\left(m=-\frac{2}{3},b=2\right)[/latex] b.


An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -4 to 4. The graph shows a decreasing straight line function with a y intercept at (0, 2) and a x intercept at (3, 0).

[latex]6x-5y+15=0[/latex]

For the following exercises, for each polynomial, a. find the degree; b. find the zeros, if any; c. find the [latex]y[/latex]-intercept(s), if any; d. use the leading coefficient to determine the graph’s end behavior; and e. determine algebraically whether the polynomial is even, odd, or neither.

[latex]f\left(x\right)=2{x}^{2}-3x-5[/latex]

a. 2 b. [latex]\frac{5}{2},-1;[/latex] c. −5 d. Both ends rise e. Neither

[latex]f\left(x\right)=-3{x}^{2}+6x[/latex]

[latex]f\left(x\right)=\frac{1}{2}{x}^{2}-1[/latex]

a. 2 b. [latex]±\sqrt{2}[/latex] c. −1 d. Both ends rise e. Even

[latex]f\left(x\right)={x}^{3}+3{x}^{2}-x-3[/latex]

[latex]f\left(x\right)=3x-{x}^{3}[/latex]

a. 3 b. 0, [latex]±\sqrt{3}[/latex] c. 0 d. Left end rises, right end falls e. Odd

For the following exercises, use the graph of [latex]f\left(x\right)={x}^{2}[/latex] to graph each transformed function [latex]g.[/latex]

[latex]g\left(x\right)={x}^{2}-1[/latex]

[latex]g\left(x\right)={\left(x+3\right)}^{2}+1[/latex]


An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph shows a parabolic function that decreases until the point (-3, 1), then begins increasing. The y intercept is not shown and there are no x intercepts. There are two unplotted points at (-4, 2) and (-2, 2).

For the following exercises, use the graph of [latex]f\left(x\right)=\sqrt{x}[/latex] to graph each transformed function [latex]g.[/latex]

[latex]g\left(x\right)=\sqrt{x+2}[/latex]

[latex]g\left(x\right)=\text{−}\sqrt{x}-1[/latex]


An image of a graph. The x axis runs from -5 to 20 and the y axis runs from -8 to 2. The graph shows a curved function that begins at the point (0, -1), then begins decreasing. The y intercept is at (0, -1) and there is no x intercept. There is an unplotted point at (9, -4).

For the following exercises, use the graph of [latex]y=f\left(x\right)[/latex] to graph each transformed function [latex]g.[/latex]

An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph shows a function that starts at point (-3, 0), where it begins to increase until the point (-1, 2). After the point (-1, 2), the function becomes a horizontal line and stays that way until the point (1, 2). After the point (1, 2), the function begins to decrease until the point (3, 0), where the function ends.

[latex]g\left(x\right)=f\left(x\right)+1[/latex]

[latex]g\left(x\right)=f\left(x-1\right)+2[/latex]


An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph shows a function that starts at point (-2, 2), where it begins to increase until the point (0, 4). After the point (0, 4), the function becomes a horizontal line and stays that way until the point (2, 4). After the point (2, 4), the function begins to decrease until the point (4, 2), where the function ends.

For the following exercises, for each of the piecewise-defined functions, a. evaluate at the given values of the independent variable and b. sketch the graph.

[latex]f\left(x\right)=\left\{\begin{array}{c}4x+3,x\le 0\\ \text{−}x+1,x>0\end{array};\phantom{\rule{0.2em}{0ex}}f\left(-3\right);f\left(0\right);f\left(2\right)[/latex]

[latex]f\left(x\right)=\left\{\begin{array}{c}{x}^{2}-3,x<0\\ 4x-3,x\ge 0\end{array};\phantom{\rule{0.2em}{0ex}}f\left(-4\right);f\left(0\right);f\left(2\right)[/latex]

a. [latex]13,-3,5[/latex] b.


An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a function that has two pieces. The first piece is a decreasing curve that ends at the point (0, -3). The second piece is an increasing line that begins at the point (0, -3). The function has a x intercepts at the approximate point (1.7, 0) and the point (0.75, 0) and a y intercept at (0, -3).

[latex]h\left(x\right)=\left\{\begin{array}{c}x+1,x\le 5\\ 4,x>5\end{array};\phantom{\rule{0.2em}{0ex}}h\left(0\right);h\left(\pi \right);h\left(5\right)[/latex]

[latex]g\left(x\right)=\left\{\begin{array}{l}\frac{3}{x-2},x\ne 2\\ 4,x=2\end{array};g\left(0\right);g\left(-4\right);g\left(2\right)[/latex]

a. [latex]\frac{-3}{2},\frac{-1}{2},4[/latex] b.


An image of a graph. The x axis runs from -10 to 10 and the y axis runs from -10 to 10. The graph is of a function that begins slightly below the x axis and begins to decrease. As the function approaches the unplotted vertical line of “x = 2”, it decreases at a faster rate but never reaches the line “x = 2”. On the right side of the unplotted line “x = 2”, the function starts at the top of graph and begins decreasing and approaches the unplotted horizontal line “y = 0”, but never reaches “y = 0”. There function also includes a plotted point at (2, 4). There is a y intercept at (0, -1.5) and no x intercept.

For the following exercises, determine whether the statement is true or false. Explain why.

[latex]f\left(x\right)=\left(4x+1\right)\text{/}\left(7x-2\right)[/latex] is a transcendental function.

[latex]g\left(x\right)=\sqrt[3]{x}[/latex] is an odd root function

True; [latex]n=3[/latex]

A logarithmic function is an algebraic function.

A function of the form [latex]f\left(x\right)={x}^{b},[/latex] where [latex]b[/latex] is a real valued constant, is an exponential function.

False; [latex]f\left(x\right)={x}^{b},[/latex] where [latex]b[/latex] is a real-valued constant, is a power function

The domain of an even root function is all real numbers.

[T] A company purchases some computer equipment for 💲20,500. At the end of a 3-year period, the value of the equipment has decreased linearly to 💲12,300.

  1. Find a function [latex]y=V\left(t\right)[/latex] that determines the value V of the equipment at the end of t years.
  2. Find and interpret the meaning of the [latex]x[/latex]- and [latex]y[/latex]-intercepts for this situation.
  3. What is the value of the equipment at the end of 5 years?
  4. When will the value of the equipment be 💲3000?

a. [latex]V\left(t\right)=-2733t+20500[/latex] b. [latex]\left(0,20,500\right)[/latex] means that the initial purchase price of the equipment is 💲20,500; [latex]\left(7.5,0\right)[/latex] means that in 7.5 years the computer equipment has no value. c. 💲6835 d. In approximately 6.4 years

[T] Total online shopping during the Christmas holidays has increased dramatically during the past 5 years. In 2012 [latex]\text{(}t=0\text{),}[/latex] total online holiday sales were 💲42.3 billion, whereas in 2013 they were 💲48.1 billion.

  1. Find a linear function S that estimates the total online holiday sales in the year t.
  2. Interpret the slope of the graph of S.
  3. Use part a. to predict the year when online shopping during Christmas will reach 💲60 billion.

[T] A family bakery makes cupcakes and sells them at local outdoor festivals. For a music festival, there is a fixed cost of 💲125 to set up a cupcake stand. The owner estimates that it costs 💲0.75 to make each cupcake. The owner is interested in determining the total cost [latex]C[/latex] as a function of number of cupcakes made.

  1. Find a linear function that relates cost C to x, the number of cupcakes made.
  2. Find the cost to bake 160 cupcakes.
  3. If the owner sells the cupcakes for 💲1.50 apiece, how many cupcakes does she need to sell to start making profit? (Hint: Use the INTERSECTION function on a calculator to find this number.)

a. [latex]C=0.75x+125[/latex] b. 💲245 c. 167 cupcakes

[T] A house purchased for 💲250,000 is expected to be worth twice its purchase price in 18 years.

  1. Find a linear function that models the price P of the house versus the number of years t since the original purchase.
  2. Interpret the slope of the graph of P.
  3. Find the price of the house 15 years from when it was originally purchased.

[T] A car was purchased for 💲26,000. The value of the car depreciates by 💲1500 per year.

  1. Find a linear function that models the value V of the car after t years.
  2. Find and interpret [latex]V\left(4\right).[/latex]

a. [latex]V\left(t\right)=-1500t+26,000[/latex] b. In 4 years, the value of the car is 💲20,000.

[T] A condominium in an upscale part of the city was purchased for 💲432,000. In 35 years it is worth 💲60,500. Find the rate of depreciation.

[T] The total cost C (in thousands of dollars) to produce a certain item is modeled by the function [latex]C\left(x\right)=10.50x+28,500,[/latex] where x is the number of items produced. Determine the cost to produce 175 items.

💲30,337.50

[T] A professor asks her class to report the amount of time t they spent writing two assignments. Most students report that it takes them about 45 minutes to type a four-page assignment and about 1.5 hours to type a nine-page assignment.

  1. Find the linear function [latex]y=N\left(t\right)[/latex] that models this situation, where [latex]N[/latex] is the number of pages typed and t is the time in minutes.
  2. Use part a. to determine how many pages can be typed in 2 hours.
  3. Use part a. to determine how long it takes to type a 20-page assignment.

[T] The output (as a percent of total capacity) of nuclear power plants in the United States can be modeled by the function [latex]P\left(t\right)=1.8576t+68.052,[/latex] where t is time in years and [latex]t=0[/latex] corresponds to the beginning of 2000. Use the model to predict the percentage output in 2015.

96% of the total capacity

[T] The admissions office at a public university estimates that 65% of the students offered admission to the class of 2019 will actually enroll.

  1. Find the linear function [latex]y=N\left(x\right),[/latex] where [latex]N[/latex] is the number of students that actually enroll and [latex]x[/latex] is the number of all students offered admission to the class of 2019.
  2. If the university wants the 2019 freshman class size to be 1350, determine how many students should be admitted.

Glossary

algebraic function
a function involving any combination of only the basic operations of addition, subtraction, multiplication, division, powers, and roots applied to an input variable [latex]x[/latex]
cubic function
a polynomial of degree 3; that is, a function of the form [latex]f\left(x\right)=a{x}^{3}+b{x}^{2}+cx+d,[/latex] where [latex]a\ne 0[/latex]
degree
for a polynomial function, the value of the largest exponent of any term
linear function
a function that can be written in the form [latex]f\left(x\right)=mx+b[/latex]
logarithmic function
a function of the form [latex]f\left(x\right)={\mathrm{log}}_{b}\left(x\right)[/latex] for some base [latex]b>0,b\ne 1[/latex] such that [latex]y={\mathrm{log}}_{b}\left(x\right)[/latex] if and only if [latex]{b}^{y}=x[/latex]
mathematical model
A method of simulating real-life situations with mathematical equations
piecewise-defined function
a function that is defined differently on different parts of its domain
point-slope equation
equation of a linear function indicating its slope and a point on the graph of the function
polynomial function
a function of the form [latex]f\left(x\right)={a}_{n}{x}^{n}+{a}_{n-1}{x}^{n-1}+\text{…}+{a}_{1}x+{a}_{0}[/latex]
power function
a function of the form [latex]f\left(x\right)={x}^{n}[/latex] for any positive integer [latex]n\ge 1[/latex]
quadratic function
a polynomial of degree 2; that is, a function of the form [latex]f\left(x\right)=a{x}^{2}+bx+c[/latex] where [latex]a\ne 0[/latex]
rational function
a function of the form [latex]f\left(x\right)=p\left(x\right)\text{/}q\left(x\right),[/latex] where [latex]p\left(x\right)[/latex] and [latex]q\left(x\right)[/latex] are polynomials
root function
a function of the form [latex]f\left(x\right)={x}^{1\text{/}n}[/latex] for any integer [latex]n\ge 2[/latex]
slope
the change in y for each unit change in x
slope-intercept form
equation of a linear function indicating its slope and y-intercept
transcendental function
a function that cannot be expressed by a combination of basic arithmetic operations
transformation of a function
a shift, scaling, or reflection of a function