# 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.

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.

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

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

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

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

this linear function can be expressed by writing

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

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

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

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

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

The **standard form of a line** is given by the equation

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]

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

- Find the slope of the line.
- Find an equation for this linear function in point-slope form.
- Find an equation for this linear function in slope-intercept form.

- 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]
- 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]
- 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]

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.

- Describe the distance [latex]D[/latex] (in miles) Jessica runs as a linear function of her run time [latex]t[/latex] (in minutes).
- Sketch a graph of [latex]D.[/latex]
- Interpret the meaning of the slope.

- 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]
- To graph [latex]D,[/latex] use the fact that the graph passes through the origin and has slope [latex]m=3\text{/}26.[/latex]
- 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

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]).

## 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).)

## 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.

Consider the quadratic equation

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

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.

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]

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

- The function [latex]f\left(x\right)=-2{x}^{2}+4x-1[/latex] is a quadratic function.
- Because [latex]a=-2<0,\text{as}\phantom{\rule{0.2em}{0ex}}x\to \text{±}\infty ,f\left(x\right)\to \text{−∞.}[/latex]
- 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]
- 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.

- The function [latex]f\left(x\right)={x}^{3}-3{x}^{2}-4x[/latex] is a cubic function.
- 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]
- 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]
- Combining the results from parts i. and ii., draw a rough sketch of [latex]f.[/latex]

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.

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.

[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

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]

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]

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

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

- 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]
- 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.
- 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]
- 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,

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.

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

- [latex]f\left(x\right)=\frac{3x-1}{5x+2}[/latex]
- [latex]f\left(x\right)=\sqrt{4-{x}^{2}}[/latex]

- 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] - 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]

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].

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

- [latex]f\left(x\right)=\frac{3}{{x}^{2}-1}[/latex]
- [latex]f\left(x\right)=\frac{2x+5}{3{x}^{2}+4}[/latex]
- [latex]f\left(x\right)=\sqrt{4-3x}[/latex]
- [latex]f\left(x\right)=\sqrt[3]{2x-1}[/latex]

- 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]
- 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]
- 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]
- 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]

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.)

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

- [latex]f\left(x\right)=\frac{\sqrt{{x}^{3}+1}}{4x+2}[/latex]
- [latex]f\left(x\right)={2}^{{x}^{2}}[/latex]
- [latex]f\left(x\right)=\text{sin}\left(2x\right)[/latex]

- Since this function involves basic algebraic operations only, it is an algebraic function.
- 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.)
- 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]

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.

Sketch a graph of the following piecewise-defined function:

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]

Sketch a graph of the function

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

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.

- 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]
- Sketch a graph of this function [latex]C\left(x\right).[/latex]

- 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]
- The graph of the function consists of several horizontal line segments.

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]

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 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 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]).

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]).

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]).

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.

- 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.
- 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.
- 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.
- 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.

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] |

[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 |

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

- [latex]f\left(x\right)=\text{−}|x+2|-3[/latex]
- [latex]f\left(x\right)=3\sqrt{\text{−}\mathit{\text{x}}}+1[/latex]

- 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.
- 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.

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.

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.

[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.

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

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

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

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

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

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

[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]

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]

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

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

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

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.

[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.

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.

- Find a function [latex]y=V\left(t\right)[/latex] that determines the value
*V*of the equipment at the end of*t*years. - Find and interpret the meaning of the [latex]x[/latex]- and [latex]y[/latex]-intercepts for this situation.
- What is the value of the equipment at the end of 5 years?
- 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.

- Find a linear function
*S*that estimates the total online holiday sales in the year*t*. - Interpret the slope of the graph of
*S*. - 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.

- Find a linear function that relates cost
*C*to*x*, the number of cupcakes made. - Find the cost to bake 160 cupcakes.
- 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.

- Find a linear function that models the price
*P*of the house versus the number of years*t*since the original purchase. - Interpret the slope of the graph of
*P*. - 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.

- Find a linear function that models the value
*V*of the car after*t*years. - 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.

- 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. - Use part a. to determine how many pages can be typed in 2 hours.
- 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.

- 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.
- 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

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