Chapter 2.3: 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 , where
and
are constants. In (Figure), we see examples of linear functions when
is positive, negative, and zero. Note that if
, the graph of the line rises as
increases. In other words,
is increasing on
. If
, the graph of the line falls as
increases. In this case,
is decreasing on
. If
, the line is horizontal.
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202222/CNX_Calc_Figure_01_02_001.jpg)
![Rendered by QuickLaTeX.com (-\infty, \infty)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-e6c2d7c712f0a49c26add919d929469f_l3.png)
As suggested by (Figure), 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 for each unit change in
. 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
versus the change in
. To do so, we choose any two points
and
on the line and calculate
. In (Figure), we see this ratio is independent of the points chosen.
![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”.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202225/CNX_Calc_Figure_01_02_021.jpg)
![Rendered by QuickLaTeX.com (y_2-y_1)/(x_2-x_1)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-e7224e1ac630556c91b50a948835ed14_l3.png)
![Rendered by QuickLaTeX.com (x_1,y_1)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-2f141bd277ab284b919f9b859dcd4ad1_l3.png)
![Rendered by QuickLaTeX.com (x_2,y_2)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-3416f3e947f03065a2a4de3b6ffc249c_l3.png)
Definition
Consider line passing through points
and
. Let
and
denote the changes in
and
, respectively. The slope of the line is
![Rendered by QuickLaTeX.com m=\frac{y_2-y_1}{x_2-x_1}=\frac{\Delta y}{\Delta x}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-5c1d48e9d4e5376015afeb4393d27798_l3.png)
We now examine the relationship between slope and the formula for a linear function. Consider the linear function given by the formula . 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
for any points
and
on the line. Evaluating the function
at
, we see that
is a point on this line. Evaluating this function at
, we see that
is also a point on this line. Therefore, the slope of this line is
![Rendered by QuickLaTeX.com \frac{(a+b)-b}{1-0}=a](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-24cb836201ac60038b9d97a6515366c3_l3.png)
We have shown that the coefficient is the slope of the line. We can conclude that the formula
describes a line with slope
. Furthermore, because this line intersects the
-axis at the point
, we see that the
-intercept for this linear function is
. We conclude that the formula
tells us the slope,
, and the
-intercept,
, for this line. Since we often use the symbol
to denote the slope of a line, we can write
![Rendered by QuickLaTeX.com f(x)=mx+b](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-014dc9d66b344b90acb22baeae0046fc_l3.png)
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 and the slope of the line is
. Since any other point
on the graph of
must satisfy the equation
![Rendered by QuickLaTeX.com m=\frac{f(x)-y_1}{x-x_1}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-2fcd43288a5ed27f6c113209bf54e3ab_l3.png)
this linear function can be expressed by writing
![Rendered by QuickLaTeX.com f(x)-y_1=m(x-x_1)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-74ad33778569b1919d734c07aa0ec713_l3.png)
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 for some constant
. Since neither the slope-intercept form nor the point-slope form allows for vertical lines, we use the notation
![Rendered by QuickLaTeX.com ax+by=c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-bcb05143893f7dbec1884c654e572397_l3.png)
where are both not zero, to denote the standard form of a line.
Definition
Consider a line passing through the point with slope
. The equation
![Rendered by QuickLaTeX.com y-y_1=m(x-x_1)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-0b3db4f774754ce3424bdf5c29d9a5e4_l3.png)
is the point-slope equation for that line.
Consider a line with slope and
-intercept
. The equation
![Rendered by QuickLaTeX.com y=mx+b](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec94fd0d8ebcb10f78d886544058548e_l3.png)
is an equation for that line in slope-intercept form.
The standard form of a line is given by the equation
![Rendered by QuickLaTeX.com ax+by=c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-bcb05143893f7dbec1884c654e572397_l3.png)
where and
are both not zero. This form is more general because it allows for a vertical line,
.
Finding the Slope and Equations of Lines
Consider the line passing through the points and
, as shown in (Figure).
![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).](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202228/CNX_Calc_Figure_01_02_002.jpg)
- 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.
Solution
- The slope of the line is
.
- To find an equation for the linear function in point-slope form, use the slope
and choose any point on the line. If we choose the point
, we get the equation
.
- To find an equation for the linear function in slope-intercept form, solve the equation in part b. for
. When we do this, we get the equation
.
Consider the line passing through points and
. 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.
Solution
. The point-slope form is
.
The slope-intercept form is
.
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.
- Describe the distance
(in miles) Jessica runs as a linear function of her run time
(in minutes).
- Sketch a graph of
.
- Interpret the meaning of the slope.
Solution
- At time
, Jessica is at her house, so
. At time
minutes, Jessica has finished running 9 mi, so
. The slope of the linear function is
.
The
-intercept is
, so the equation for this linear function is
.
- To graph
, use the fact that the graph passes through the origin and has slope
.
- The slope
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
![Rendered by QuickLaTeX.com f(x)=a_nx^n+a_{n-1}x^{n-1}+\cdots+a_1x+a_0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-4cc957ecc456ae932cf3ace1ed3d6a65_l3.png)
for some integer and constants
, where
. In the case when
, we allow for
; if
, the function
is called the zero function. The value
is called the degree of the polynomial; the constant
is called the leading coefficient. A linear function of the form
is a polynomial of degree 1 if
and degree 0 if
. 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
, where
. A polynomial function of degree 3 is called a cubic function.
Power Functions
Some polynomial functions are power functions. A power function is any function of the form , where
and
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
is a polynomial. If
is even, then
is an even function because
if
is even. If
is odd, then
is an odd function because
if
is odd ((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202234/CNX_Calc_Figure_01_02_004.jpg)
![Rendered by QuickLaTeX.com n,f(x)=ax^n](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-8a6611d82a427f854a3a8fd19028357e_l3.png)
![Rendered by QuickLaTeX.com n,f(x)=ax^n](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-8a6611d82a427f854a3a8fd19028357e_l3.png)
Behavior at Infinity
To determine the behavior of a function as the inputs approach infinity, we look at the values
as the inputs,
, become larger. For some functions, the values of
approach a finite number. For example, for the function
, the values
become closer and closer to zero for all values of
as they get larger and larger. For this function, we say ”
approaches two as
goes to infinity,” and we write
as
. The line
is a horizontal asymptote for the function
because the graph of the function gets closer to the line as
gets larger.
For other functions, the values may not approach a finite number but instead may become larger for all values of
as they get larger. In that case, we say ”
approaches infinity as
approaches infinity,” and we write
as
. For example, for the function
, the outputs
become larger as the inputs
get larger. We can conclude that the function
approaches infinity as
approaches infinity, and we write
as
. The behavior as
and the meaning of
as
or
can be defined similarly. We can describe what happens to the values of
as
and as
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 . If
, the values
as
. If
, the values
as
. Since the graph of a quadratic function is a parabola, the parabola opens upward if
; the parabola opens downward if
. (See (Figure)(a).)
Now consider a cubic function . If
, then
as
and
as
. If
, then
as
and
as
. As we can see from both of these graphs, the leading term of the polynomial determines the end behavior. (See (Figure)(b).)
![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).](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202237/CNX_Calc_Figure_01_02_005.jpg)
![Rendered by QuickLaTeX.com a>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-fee5d58cd9baf2f82bb3669852be05fa_l3.png)
![Rendered by QuickLaTeX.com a<0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-1c2f9a17945ee163942aad7a36538cf2_l3.png)
![Rendered by QuickLaTeX.com f](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-9c09a708375fde2676da319bcdfe8b24_l3.png)
![Rendered by QuickLaTeX.com a>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-fee5d58cd9baf2f82bb3669852be05fa_l3.png)
![Rendered by QuickLaTeX.com f(x) \to \infty](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-a2dccde399be2f2db607903be436b2f4_l3.png)
![Rendered by QuickLaTeX.com x\to \infty](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-e4d987761c1df32218d7e2eb21c8346a_l3.png)
![Rendered by QuickLaTeX.com f(x)\to −\infty](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-08e8de20e4ed8bdb66de70bd255723bf_l3.png)
![Rendered by QuickLaTeX.com x \to −\infty](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-01d8ddec5f5dfe38e65b9f73f0c57186_l3.png)
![Rendered by QuickLaTeX.com a<0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-1c2f9a17945ee163942aad7a36538cf2_l3.png)
Zeros of Polynomial Functions
Another characteristic of the graph of a polynomial function is where it intersects the -axis. To determine where a function
intersects the
-axis, we need to solve the equation
for
. In the case of the linear function
, the
-intercept is given by solving the equation
. In this case, we see that the
-intercept is given by
. In the case of a quadratic function, finding the
-intercept(s) requires finding the zeros of a quadratic equation:
. In some cases, it is easy to factor the polynomial
to find the zeros. If not, we make use of the quadratic formula.
Rule: The Quadratic Formula
Consider the quadratic equation
![Rendered by QuickLaTeX.com ax^2+bx+c=0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-fa907821a9aced835d381510935a2c24_l3.png)
where . The solutions of this equation are given by the quadratic formula
![Rendered by QuickLaTeX.com x=\frac{−b \pm \sqrt{b^2-4ac}}{2a}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-5cdf17f0a4893491f9e1063b7916fcb5_l3.png)
If the discriminant , this formula tells us there are two real numbers that satisfy the quadratic equation. If
, this formula tells us there is only one solution, and it is a real number. If
, 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 -axis. In some instances, it is possible to find the
-intercepts by factoring the polynomial to find its zeros. In other cases, it is impossible to calculate the exact values of the
-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
-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 as
, ii. find all zeros of
, and iii. sketch a graph of
.
Solution
- The function
is a quadratic function.
- Because
, as
.
- To find the zeros of
, use the quadratic formula. The zeros are
.
- To sketch the graph of
, use the information from your previous answers and combine it with the fact that the graph is a parabola opening downward.
- Because
- The function
is a cubic function.
- Because
, as
. As
.
- To find the zeros of
, we need to factor the polynomial. First, when we factor
out of all the terms, we find
.
Then, when we factor the quadratic function
, we find
.
Therefore, the zeros of
are
.
- Combining the results from parts i. and ii., draw a rough sketch of
.
- Because
Consider the quadratic function . Find the zeros of
. Does the parabola open upward or downward?
Solution
The zeros are . 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 a company receives for the sale of
items sold at a price of
dollars per item is described by the equation
. The company is interested in how the sales change as the price of the item changes. Suppose the data in (Figure) show the number of units a company sells as a function of the price per item.
![]() |
6 | 8 | 10 | 12 | 14 |
![]() |
19.4 | 18.5 | 16.2 | 13.8 | 12.2 |
In (Figure), 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 for
, where
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
![Rendered by QuickLaTeX.com R(p)=p\cdot (-1.04p+26)=-1.04p^2+26p](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-eb11efb8eb75fd09ef615a18203cbeff_l3.png)
for . In Example, 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
, 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
dollars may be close to the values predicted by the linear 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).](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202245/CNX_Calc_Figure_01_02_008.jpg)
![Rendered by QuickLaTeX.com n=-1.04p+26](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-8d7d206d2c13e2c582aa5324cdd3941b_l3.png)
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 (Figure), the company arrives at the following quadratic function to model revenue as a function of price per item
:
![Rendered by QuickLaTeX.com R(p)=p\cdot (-1.04p+26)=-1.04p^2+26p](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-eb11efb8eb75fd09ef615a18203cbeff_l3.png)
for .
- Predict the revenue if the company sells the item at a price of
and
.
- Find the zeros of this function and interpret the meaning of the zeros.
- Sketch a graph of
.
- Use the graph to determine the value of
that maximizes revenue. Find the maximum revenue.
Solution
- Evaluating the revenue function at
and
, we can conclude that
.
- The zeros of this function can be found by solving the equation
. When we factor the quadratic expression, we get
. The solutions to this equation are given by
. For these values of
, the revenue is zero. When
, the revenue is zero because the company is giving away its merchandise for free. When
, 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 of symmetry, located at the middle of its graph, so since the zeros are at
and
, the parabola must be symmetric about the line halfway between them, or
.
- The function is a parabola with zeros at
and
, and it is symmetric about the line
, so the maximum revenue occurs at a price of
per item. At that price, the revenue is
.
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 , where
and
are polynomials. For example,
![Rendered by QuickLaTeX.com f(x)=\frac{3x-1}{5x+2}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-7935bdc89137af4bedac2f1fafa29d08_l3.png)
![Rendered by QuickLaTeX.com g(x)=\frac{4}{x^2+1}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-4f936dab52a7d1ec8f60b52055f875ce_l3.png)
are rational functions. A root function is a power function of the form , where
is a positive integer greater than one. For example,
is the square-root function and
is the cube-root function. By allowing for compositions of root functions and rational functions, we can create other algebraic functions. For example,
is an algebraic function.
Finding Domain and Range for Algebraic Functions
For each of the following functions, find the domain and range.
Solution
- It is not possible to divide by zero, so the domain is the set of real numbers
such that
. To find the range, we need to find the values
for which there exists a real number
such that
.
When we multiply both sides of this equation by
, we see that
must satisfy the equation
.
From this equation, we can see that
must satisfy
.
If
, this equation has no solution. On the other hand, as long as
,
satisfies this equation. We can conclude that the range of
is
.
- To find the domain of
, we need
. When we factor, we write
. 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
such that
and
.
These two inequalities reduce to
and
. Therefore, the set
must be part of the domain. For both terms to be negative, we need
and
.
These two inequalities also reduce to
and
. There are no values of
that satisfy both of these inequalities. Thus, we can conclude the domain of this function is
.
If, then
. Therefore,
, and the range of
is
.
Find the domain and range for the function .
Solution
The domain is the set of real numbers such that
. The range is the set
.
Hint
The denominator cannot be zero. Solve the equation for
to find the range.
The root functions have defining characteristics depending on whether
is odd or even. For all even integers
, the domain of
is the interval
. For all odd integers
, the domain of
is the set of all real numbers. Since
for odd integers
is an odd function if
is odd. See the graphs of root functions for different values of
in (Figure).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202252/CNX_Calc_Figure_01_02_022.jpg)
![Rendered by QuickLaTeX.com n](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-b170995d512c659d8668b4e42e1fef6b_l3.png)
![Rendered by QuickLaTeX.com f(x)=\sqrt[n]{x}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ca6c3302aac609e9214e62444cfec2bb_l3.png)
![Rendered by QuickLaTeX.com [0,\infty)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-e0e26e8c3f43a80b61740406805e6ffc_l3.png)
![Rendered by QuickLaTeX.com n](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-b170995d512c659d8668b4e42e1fef6b_l3.png)
![Rendered by QuickLaTeX.com f(x)=\sqrt[n]{x}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ca6c3302aac609e9214e62444cfec2bb_l3.png)
![Rendered by QuickLaTeX.com (-\infty,\infty )](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-8d295056821bbd6e867c5099677e95cb_l3.png)
![Rendered by QuickLaTeX.com f(x)=\sqrt[n]{x}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ca6c3302aac609e9214e62444cfec2bb_l3.png)
Finding Domains for Algebraic Functions
For each of the following functions, determine the domain of the function.
Solution
- You cannot divide by zero, so the domain is the set of values
such that
. Therefore, the domain is
.
- You need to determine the values of
for which the denominator is zero. Since
for all real numbers
, the denominator is never zero. Therefore, the domain is
.
- Since the square root of a negative number is not a real number, the domain is the set of values
for which
. Therefore, the domain is
.
- The cube root is defined for all real numbers, so the domain is the interval
.
Find the domain for each of the following functions: and
.
Solution
The domain of is
The domain of
is
.
Hint
Determine the values of when the expression in the denominator of
is nonzero, and find the values of
when the expression inside the radical of
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 , and
. (We discuss trigonometric functions later in the chapter.) An exponential function is a function of the form
, where the base
. A logarithmic function is a function of the form
for some constant
, where
if and only if
. (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.
Solution
- 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 an algebraic or a transcendental function?
Solution
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 :
![Rendered by QuickLaTeX.com f(x)=\begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-914fcdb7a3d616e1ed58d9cc2c190751_l3.png)
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 and
, we need to pay special attention to what happens at
when we graph the function. Sometimes the graph needs to include an open or closed circle to indicate the value of the function at
. We examine this in the next example.
Graphing a Piecewise-Defined Function
Sketch a graph of the following piecewise-defined function:
![Rendered by QuickLaTeX.com f(x)=\begin{cases} x+3, & x < 1 \\ (x-2)^2 & x \ge 1 \end{cases}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-3402dc858cf5bc23d263e259787ad4dc_l3.png)
Solution
Graph the linear function on the interval
and graph the quadratic function
on the interval
. Since the value of the function at
is given by the formula
, we see that
. To indicate this on the graph, we draw a closed circle at the point
. The value of the function is given by
for all
, but not at
. To indicate this on the graph, we draw an open circle at
.
![Rendered by QuickLaTeX.com x<1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-8d3a7fbf9050927058699ad1e292c281_l3.png)
![Rendered by QuickLaTeX.com x \ge 1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ecfa9a1dcb9de9e4b3d9175f144053be_l3.png)
Sketch a graph of the function
![Rendered by QuickLaTeX.com f(x)=\begin{cases} 2-x, & x \le 2 \\ x+2, & x>2 \end{cases}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-379400c53598d97e288c1d99cd082408_l3.png)
Solution
Hint
Graph one linear function for and then graph a different linear function for
.
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.
- Write a piecewise-defined function that describes the cost
to park in the parking garage as a function of hours parked
.
- Sketch a graph of this function
.
Solution
- Since the parking garage is open 18 hours each day, the domain for this function is
. The cost to park a car at this parking garage can be described piecewise by the function
- 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 for the first ounce and
for each additional ounce. Write a piecewise-defined function describing the cost
as a function of the weight
for
, where
is measured in cents and
is measured in ounces.
Solution
Hint
The piecewise-defined function is constant on the intervals
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 to get the function
. This subtraction represents a shift of the function
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 . For
, the graph of
is a shift of the graph of
up
units, whereas the graph of
is a shift of the graph of
down
units. For example, the graph of the function
is the graph of
shifted up 4 units; the graph of the function
is the graph of
shifted down 4 units ((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202303/CNX_Calc_Figure_01_02_023.jpg)
![Rendered by QuickLaTeX.com c>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-a9a2e3deee1502de96c7da18814b6dc6_l3.png)
![Rendered by QuickLaTeX.com y=f(x)+c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-d96c95a15bf9a650197733a434543fd6_l3.png)
![Rendered by QuickLaTeX.com c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-41a04eeea923a1a0c28094a8a4680525_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com c>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-a9a2e3deee1502de96c7da18814b6dc6_l3.png)
![Rendered by QuickLaTeX.com y=f(x)-c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-517f143f82347b37ca668ce2293bac49_l3.png)
![Rendered by QuickLaTeX.com c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-41a04eeea923a1a0c28094a8a4680525_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
A horizontal shift of a function occurs if we add or subtract the same constant to each input . For
, the graph of
is a shift of the graph of
to the left
units; the graph of
is a shift of the graph of
to the right
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 and evaluate this function at
Since
and
, the graph of
is the graph of
shifted left 3 units. Similarly, the graph of
is the graph of
shifted right 3 units ((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202307/CNX_Calc_Figure_01_02_015.jpg)
![Rendered by QuickLaTeX.com c>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-a9a2e3deee1502de96c7da18814b6dc6_l3.png)
![Rendered by QuickLaTeX.com y=f(x+c)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-69b4045db339d22f1b9038b7dcbbfc4d_l3.png)
![Rendered by QuickLaTeX.com c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-41a04eeea923a1a0c28094a8a4680525_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com c>0](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-a9a2e3deee1502de96c7da18814b6dc6_l3.png)
![Rendered by QuickLaTeX.com y=f(x-c)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-b10841874fccaf8b103c1abd89f49bb8_l3.png)
![Rendered by QuickLaTeX.com c](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-41a04eeea923a1a0c28094a8a4680525_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
A vertical scaling of a graph occurs if we multiply all outputs of a function by the same positive constant. For
, the graph of the function
is the graph of
scaled vertically by a factor of
. If
, the values of the outputs for the function
are larger than the values of the outputs for the function
; therefore, the graph has been stretched vertically. If
, then the outputs of the function
are smaller, so the graph has been compressed. For example, the graph of the function
is the graph of
stretched vertically by a factor of 3, whereas the graph of
is the graph of
compressed vertically by a factor of 3 ((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202311/CNX_Calc_Figure_01_02_024.jpg)
![Rendered by QuickLaTeX.com c>1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-085fd6843dfdb853809339f57424aab4_l3.png)
![Rendered by QuickLaTeX.com y=cf(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-78ebf237deefa2334b441d4ef7aee759_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com 0<c<1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-06db224601429c015c5cc449c9bc2e36_l3.png)
![Rendered by QuickLaTeX.com y=cf(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-78ebf237deefa2334b441d4ef7aee759_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
The horizontal scaling of a function occurs if we multiply the inputs by the same positive constant. For
, the graph of the function
is the graph of
scaled horizontally by a factor of
. If
, the graph of
is the graph of
compressed horizontally. If
, the graph of
is the graph of
stretched horizontally. For example, consider the function
and evaluate
at
Since
, the graph of
is the graph of
compressed horizontally. The graph of
is a horizontal stretch of the graph of
((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202314/CNX_Calc_Figure_01_02_017.jpg)
![Rendered by QuickLaTeX.com c>1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-085fd6843dfdb853809339f57424aab4_l3.png)
![Rendered by QuickLaTeX.com y=f(cx)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-30048db5388b2b5ee222bbf13452c043_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com 0<c<1](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-06db224601429c015c5cc449c9bc2e36_l3.png)
![Rendered by QuickLaTeX.com y=f(cx)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-30048db5388b2b5ee222bbf13452c043_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
We have explored what happens to the graph of a function when we multiply
by a constant
to get a new function
. We have also discussed what happens to the graph of a function
when we multiply the independent variable
by
to get a new function
. However, we have not addressed what happens to the graph of the function if the constant
is negative. If we have a constant
, we can write
as a positive number multiplied by -1; but, what kind of transformation do we get when we multiply the function or its argument by -1? When we multiply all the outputs by -1, we get a reflection about the
-axis. When we multiply all inputs by -1, we get a reflection about the
-axis. For example, the graph of
is the graph of
reflected about the
-axis. The graph of
is the graph of
reflected about the
-axis ((Figure)).
![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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/2332/2018/01/11202317/CNX_Calc_Figure_01_02_018.jpg)
![Rendered by QuickLaTeX.com y=−f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-c7cce99ace9ed659936e48dd3ba554ca_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com x](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ede05c264bba0eda080918aaa09c4658_l3.png)
![Rendered by QuickLaTeX.com y=f(−x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-cd150b6bc57300f11e36e77aea921796_l3.png)
![Rendered by QuickLaTeX.com y=f(x)](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-ec88996bf6548406fe4b6cb46d054581_l3.png)
![Rendered by QuickLaTeX.com y](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-0af556714940c351c933bba8cf840796_l3.png)
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 , the graph of the related function
can be obtained from the graph of
by performing the transformations in the following order.
- Horizontal shift of the graph of
. If
, shift left. If
, shift right.
- Horizontal scaling of the graph of
by a factor of
. If
, reflect the graph about the
-axis.
- Vertical scaling of the graph of
by a factor of
. If
, reflect the graph about the
-axis.
- Vertical shift of the graph of
. If
, shift up. If
, shift down.
We can summarize the different transformations and their related effects on the graph of a function in the following table.
0)” and has the values “f(x) +c; f(x) -c; f(x + c); f(x – c); cf(x); f(cx); -f(x); f(-x)”. The second column is labeled “Effect on the graph of f” and the values are “Vertical shift up c units; Vertical shift down c units; Shift left by c units; Shift right by c units; ‘Vertical stretch if c > 1, Vertical compression is 0 < c < 1′; ‘Horizontal stretch if 0 < c 1′; reflection about the x-axis; reflection about the y-axis”.”>
Transformation of ![]() |
Effect on the graph of ![]() |
---|---|
![]() |
Vertical shift up ![]() |
![]() |
Vertical shift down ![]() |
![]() |
Shift left by ![]() |
![]() |
Shift right by ![]() |
![]() |
Vertical stretch if ![]() vertical compression if ![]() |
![]() |
Horizontal stretch if ![]() ![]() |
![]() |
Reflection about the ![]() |
![]() |
Reflection about the ![]() |
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.
Solution
- Starting with the graph of
, shift 2 units to the left, reflect about the
-axis, and then shift down 3 units.
Figure 13. The function can be viewed as a sequence of three transformations of the function
.
- Starting with the graph of
, reflect about the
-axis, stretch the graph vertically by a factor of 3, and move up 1 unit.
Figure 14. The function can be viewed as a sequence of three transformations of the function
.
Describe how the function can be graphed using the graph of
and a sequence of transformations.
Solution
Shift the graph of to the left 1 unit, reflect about the
-axis, then shift down 4 units.
Hint
Use (Table).
Key Concepts
- The power function
is an even function if
is even and
, and it is an odd function if
is odd.
- The root function
has the domain
if
is even and the domain
if
is odd. If
is odd, then
is an odd function.
- The domain of the rational function
, where
and
are polynomial functions, is the set of
such that
.
- 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
with degree
satisfies
as
. The sign of the output as
depends on the sign of the leading coefficient only and on whether
is even or odd.
- Vertical and horizontal shifts, vertical and horizontal scalings, and reflections about the
– and
-axes are examples of transformations of functions.
Key Equations
- Point-slope equation of a line
- Slope-intercept form of a line
- Standard form of a line
- Polynomial function
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.
1. and
Solution
a. −1 b. Decreasing
2. and
3. and
Solution
a. 3/4 b. Increasing
4. and
5. and
Solution
a. 4/3 b. Increasing
6. and
7. and
Solution
a. 0 b. Horizontal
8. and
For the following exercises, write the equation of the line satisfying the given conditions in slope-intercept form.
9. Slope , passes through
Solution
10. Slope , passes through
11. Slope , passes through
Solution
12. Slope ,
-intercept
13. Passing through and
Solution
14. Passing through and
15. -intercept
and
-intercept
Solution
16. -Intercept
and
-intercept
For the following exercises, for each linear equation, a. give the slope and
-intercept
, if any, and b. graph the line.
17.
Solution
a. b.
18.
19.
Solution
a. b.
20.
21.
Solution
a. b.
22.
23.
Solution
a. b.
24.
For the following exercises, for each polynomial, a. find the degree; b. find the zeros, if any; c. find the -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.
25.
Solution
a. 2; b. ; c. −5; d. Both ends rise; e. Neither
26.
27.
Solution
a. 2; b. ; c. −1; d. Both ends rise; e. Even
28.
29.
Solution
a. 3; b. 0, ; c. 0; d. Left end rises, right end falls; e. Odd
For the following exercises, use the graph of to graph each transformed function
.
30.
31.
Solution
For the following exercises, use the graph of to graph each transformed function
.
32.
33.
Solution
For the following exercises, use the graph of to graph each transformed function
34.
35.
Solution
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.
36. ;
37. ;
Solution
a. b.
38. ;
39. ;
Solution
a. b.
For the following exercises, determine whether the statement is true or false. Explain why.
40. is a transcendental function.
41. is an odd root function
Solution
True, because
42. A logarithmic function is an algebraic function.
43. A function of the form , where
is a real valued constant, is an exponential function.
Solution
False, because – where
is a real-valued constant – is a power function. Exponential functions are of the form
, where
is a real-valued constant.
44. The domain of an even root function is all real numbers.
45. [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
that determines the value
of the equipment at the end of
years.
- Find and interpret the meaning of the
– and
-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?
Solution
a. b.
means that the initial purchase price of the equipment is $20,500;
means that in 7.5 years the computer equipment has no value. c. $6835 d. In approximately 6.4 years
46. [T] Total online shopping during the Christmas holidays has increased dramatically during the past 5 years. In 2012 , total online holiday sales were $42.3 billion, whereas in 2013 they were $48.1 billion.
- Find a linear function
that estimates the total online holiday sales in the year
.
- Interpret the slope of the graph of
.
- Use part a. to predict the year when online shopping during Christmas will reach $60 billion.
47. [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 as a function of number of cupcakes made.
- Find a linear function that relates cost
to
, 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.)
Solution
a. b. $245 c. 167 cupcakes
48. [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
of the house versus the number of years
since the original purchase.
- Interpret the slope of the graph of
.
- Find the price of the house 15 years from when it was originally purchased.
49. [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
of the car after
years.
- Find and interpret
.
Solution
a. b. In 4 years, the value of the car is $20,000.
50. [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.
51. [T] The total cost (in thousands of dollars) to produce a certain item is modeled by the function
, where
is the number of items produced. Determine the cost to produce 175 items.
Solution
$30,337.50
52. [T] A professor asks her class to report the amount of time 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
that models this situation, where
is the number of pages typed and
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.
53. [T] The output (as a percent of total capacity) of nuclear power plants in the United States can be modeled by the function , where
is time in years and
corresponds to the beginning of 2000. Use the model to predict the percentage output in 2015.
Solution
96% of the total capacity
54. [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
, where
is the number of students that actually enroll and
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
- cubic function
- a polynomial of degree 3; that is, a function of the form
, where
- 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
- logarithmic function
- a function of the form
for some base
such that
if and only if
- 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
- power function
- a function of the form
for any positive integer
- quadratic function
- a polynomial of degree 2; that is, a function of the form
where
- rational function
- a function of the form
, where
and
are polynomials
- root function
- a function of the form
for any integer
- slope
- the change in
for each unit change in
- slope-intercept form
- equation of a linear function indicating its slope and
-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
Hint
The slope
.