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

Study Guides > Calculus Volume 1

Review of Functions

Learning Objectives

  • Use functional notation to evaluate a function.
  • Determine the domain and range of a function.
  • Draw the graph of a function.
  • Find the zeros of a function.
  • Recognize a function from a table of values.
  • Make new functions from two or more given functions.
  • Describe the symmetry properties of a function.

In this section, we provide a formal definition of a function and examine several ways in which functions are represented—namely, through tables, formulas, and graphs. We study formal notation and terms related to functions. We also define composition of functions and symmetry properties. Most of this material will be a review for you, but it serves as a handy reference to remind you of some of the algebraic techniques useful for working with functions.

Functions

Given two sets AA and BB, a set with elements that are ordered pairs (x,y)(x,y), where xx is an element of AA and yy is an element of BB, is a relation from AA to BB. A relation from AA to BB defines a relationship between those two sets. A function is a special type of relation in which each element of the first set is related to exactly one element of the second set. The element of the first set is called the input; the element of the second set is called the output. Functions are used all the time in mathematics to describe relationships between two sets. For any function, when we know the input, the output is determined, so we say that the output is a function of the input. For example, the area of a square is determined by its side length, so we say that the area (the output) is a function of its side length (the input). The velocity of a ball thrown in the air can be described as a function of the amount of time the ball is in the air. The cost of mailing a package is a function of the weight of the package. Since functions have so many uses, it is important to have precise definitions and terminology to study them.

Definition

A function ff consists of a set of inputs, a set of outputs, and a rule for assigning each input to exactly one output. The set of inputs is called the domain of the function. The set of outputs is called the range of the function.

For example, consider the function ff, where the domain is the set of all real numbers and the rule is to square the input. Then, the input x=3x=3 is assigned to the output 32=93^2=9. Since every nonnegative real number has a real-value square root, every nonnegative number is an element of the range of this function. Since there is no real number with a square that is negative, the negative real numbers are not elements of the range. We conclude that the range is the set of nonnegative real numbers.

For a general function ff with domain DD, we often use xx to denote the input and yy to denote the output associated with xx. When doing so, we refer to xx as the independent variable and yy as the dependent variable, because it depends on xx. Using function notation, we write y=f(x)y=f(x), and we read this equation as "yy equals ff of xx." For the squaring function described earlier, we write f(x)=x2f(x)=x^2.

The concept of a function can be visualized using (Figure), (Figure), and (Figure).

An image with three items. The first item is text that reads “Input, x”. An arrow points from the first item to the second item, which is a box with the label “function”. An arrow points from the second item to the third item, which is text that reads “Output, f(x)”. Figure 1. A function can be visualized as an input/output device.
An image with two items. The first item is a bubble labeled domain. Within the bubble are the numbers 1, 2, 3, and 4. An arrow with the label “f” points from the first item to the second item, which is a bubble labeled “range”. Within this bubble are the numbers 2, 4, and 6. An arrow points from the 1 in the domain bubble to the 6 in the range bubble. An arrow points from the 1 in the domain bubble to the 6 in the range bubble. An arrow points from the 2 in the domain bubble to the 4 in the range bubble. An arrow points from the 3 in the domain bubble to the 2 in the range bubble. An arrow points from the 4 in the domain bubble to the 2 in the range bubble. Figure 2. A function maps every element in the domain to exactly one element in the range. Although each input can be sent to only one output, two different inputs can be sent to the same output.
An image of a graph. The y axis runs from 0 to 3 and has the label “dependent variable, y = f(x)”. The x axis runs from 0 to 5 and has the label “independent variable, x”. There are three points on the graph. The first point is at (1, 2) and has the label “(1, f(1)) = (1, 2)”. The second point is at (2, 1) and has the label “(2, f(2))=(2,1)”. The third point is at (3, 2) and has the label “(3, f(3)) = (3,2)”. There is text along the y axis that reads “range = {1, 2}” and text along the x axis that reads “domain = {1,2,3}”. Figure 3. In this case, a graph of a function ff has a domain of {1,2,3}\{1,2,3\} and a range of {1,2}\{1,2\}. The independent variable is xx and the dependent variable is yy.

Visit this applet link to see more about graphs of functions.

We can also visualize a function by plotting points (x,y)(x,y) in the coordinate plane where y=f(x)y=f(x). The graph of a function is the set of all these points. For example, consider the function ff, where the domain is the set D={1,2,3}D=\{1,2,3\} and the rule is f(x)=3xf(x)=3-x. In (Figure), we plot a graph of this function.

An image of a graph. The y axis runs from 0 to 5. The x axis runs from 0 to 5. There are three points on the graph at (1, 2), (2, 1), and (3, 0). There is text along the y axis that reads “range = {0,1,2}” and text along the x axis that reads “domain = {1,2,3}”. Figure 4. Here we see a graph of the function ff with domain {1,2,3}\{1,2,3\} and rule f(x)=3xf(x)=3-x. The graph consists of the points (x,f(x))(x,f(x)) for all xx in the domain.

Every function has a domain. However, sometimes a function is described by an equation, as in f(x)=x2f(x)=x^2, with no specific domain given. In this case, the domain is taken to be the set of all real numbers xx for which f(x)f(x) is a real number. For example, since any real number can be squared, if no other domain is specified, we consider the domain of f(x)=x2f(x)=x^2 to be the set of all real numbers. On the other hand, the square root function f(x)=xf(x)=\sqrt{x} only gives a real output if xx is nonnegative. Therefore, the domain of the function f(x)=xf(x)=\sqrt{x} is the set of nonnegative real numbers, sometimes called the natural domain.

For the functions f(x)=x2f(x)=x^2 and f(x)=xf(x)=\sqrt{x}, the domains are sets with an infinite number of elements. Clearly we cannot list all these elements. When describing a set with an infinite number of elements, it is often helpful to use set-builder or interval notation. When using set-builder notation to describe a subset of all real numbers, denoted R, we write

{xxhas some property}\{x|x \, \text{has some property}\}.

We read this as the set of real numbers xx such that xx has some property. For example, if we were interested in the set of real numbers that are greater than one but less than five, we could denote this set using set-builder notation by writing

{x1<x<5}\{x|1<x<5\}.

A set such as this, which contains all numbers greater than aa and less than bb, can also be denoted using the interval notation (a,b)(a,b). Therefore,

(1,5)={x1<x<5}(1,5)=\{x|1<x<5\}.

The numbers 1 and 5 are called the endpoints of this set. If we want to consider the set that includes the endpoints, we would denote this set by writing

[1,5]={x1x5}[1,5]=\{x|1\le x\le 5\}.

We can use similar notation if we want to include one of the endpoints, but not the other. To denote the set of nonnegative real numbers, we would use the set-builder notation

{x0x}\{x|0\le x\}.

The smallest number in this set is zero, but this set does not have a largest number. Using interval notation, we would use the symbol \infty, which refers to positive infinity, and we would write the set as

[0,)={x0x}[0,\infty)=\{x|0\le x\}.

It is important to note that \infty is not a real number. It is used symbolically here to indicate that this set includes all real numbers greater than or equal to zero. Similarly, if we wanted to describe the set of all nonpositive numbers, we could write

(,0]={xx0}(−\infty ,0]=\{x|x\le 0\}.

Here, the notation −\infty refers to negative infinity, and it indicates that we are including all numbers less than or equal to zero, no matter how small. The set

(,)={xxis any real number}(−\infty ,\infty)=\{x|x \, \text{is any real number}\}

refers to the set of all real numbers.

Some functions are defined using different equations for different parts of their domain. These types of functions are known as piecewise-defined functions. For example, suppose we want to define a function ff with a domain that is the set of all real numbers such that f(x)=3x+1f(x)=3x+1 for x2x\ge 2 and f(x)=x2f(x)=x^2 for x<2x<2. We denote this function by writing

f(x)={3x+1,x2x2,x<2f(x)=\begin{cases} 3x+1, & x \ge 2 \\ x^2, & x < 2 \end{cases}.

When evaluating this function for an input xx, the equation to use depends on whether x2x\ge 2 or x<2x<2. For example, since 5>25>2, we use the fact that f(x)=3x+1f(x)=3x+1 for x2x\ge 2 and see that f(5)=3(5)+1=16f(5)=3(5)+1=16. On the other hand, for x=1x=-1, we use the fact that f(x)=x2f(x)=x^2 for x<2x<2 and see that f(1)=1f(-1)=1.

Evaluating Functions

For the function f(x)=3x2+2x1f(x)=3x^2+2x-1, evaluate

  1. f(2)f(-2)
  2. f(2)f(\sqrt{2})
  3. f(a+h)f(a+h)

Answer:

Substitute the given value for xx in the formula for f(x)f(x).

  1. f(2)=3(2)2+2(2)1=1241=7f(-2)=3(-2)^2+2(-2)-1=12-4-1=7
  2. f(2)=3(2)2+221=6+221=5+22f(\sqrt{2})=3(\sqrt{2})^2+2\sqrt{2}-1=6+2\sqrt{2}-1=5+2\sqrt{2}
  3. f(a+h)=3(a+h)2+2(a+h)1=3(a2+2ah+h2)+2a+2h1=3a2+6ah+3h2+2a+2h1\begin{array}{cc}\hfill f(a+h)=3(a+h)^2+2(a+h)-1& =3(a^2+2ah+h^2)+2a+2h-1\hfill \\ & =3a^2+6ah+3h^2+2a+2h-1\hfill \end{array}

For f(x)=x23x+5f(x)=x^2-3x+5, evaluate f(1)f(1) and f(a+h)f(a+h).

Answer:

f(1)=3f(1)=3 and f(a+h)=a2+2ah+h23a3h+5f(a+h)=a^2+2ah+h^2-3a-3h+5

Hint

Substitute 1 and a+ha+h for xx in the formula for f(x)f(x).

Finding Domain and Range

For each of the following functions, determine the i. domain and ii. range.

  1. f(x)=(x4)2+5f(x)=(x-4)^2+5
  2. f(x)=3x+21f(x)=\sqrt{3x+2}-1
  3. f(x)=3x2f(x)=\frac{3}{x-2}

Answer:

  1. Consider f(x)=(x4)2+5f(x)=(x-4)^2+5.
    1. Since f(x)=(x4)2+5f(x)=(x-4)^2+5 is a real number for any real number xx, the domain of ff is the interval (,)(−\infty ,\infty).
    2. Since (x4)20(x-4)^2\ge 0, we know f(x)=(x4)2+55f(x)=(x-4)^2+5\ge 5. Therefore, the range must be a subset of {yy5}\{y|y\ge 5\}. To show that every element in this set is in the range, we need to show that for a given yy in that set, there is a real number xx such that f(x)=(x4)2+5=yf(x)=(x-4)^2+5=y. Solving this equation for xx, we see that we need xx such that
      (x4)2=y5(x-4)^2=y-5.
      This equation is satisfied as long as there exists a real number xx such that
      x4=±y5x-4=±\sqrt{y-5}.
      Since y5y\ge 5, the square root is well-defined. We conclude that for x=4±y5x=4±\sqrt{y-5}, f(x)=yf(x)=y, and therefore the range is {yy5}\{y|y\ge 5\}.
  2. Consider f(x)=3x+21f(x)=\sqrt{3x+2}-1.
    1. To find the domain of ff, we need the expression 3x+203x+2\ge 0. Solving this inequality, we conclude that the domain is {xx2/3}\{x|x\ge -2/3\}.
    2. To find the range of ff, we note that since 3x+20\sqrt{3x+2}\ge 0, f(x)=3x+211f(x)=\sqrt{3x+2}-1\ge -1. Therefore, the range of ff must be a subset of the set {yy1}\{y|y\ge -1\}. To show that every element in this set is in the range of ff, we need to show that for all yy in this set, there exists a real number xx in the domain such that f(x)=yf(x)=y. Let y1y\ge -1. Then, f(x)=yf(x)=y if and only if
      3x+21=y\sqrt{3x+2}-1=y.
      Solving this equation for xx, we see that xx must solve the equation
      3x+2=y+1\sqrt{3x+2}=y+1.
      Since y1y\ge -1, such an xx could exist. Squaring both sides of this equation, we have 3x+2=(y+1)23x+2=(y+1)^2. Therefore, we need
      3x=(y+1)223x=(y+1)^2-2,
      which implies
      x=13(y+1)223x=\frac{1}{3}(y+1)^2-\frac{2}{3}.
      We just need to verify that xx is in the domain of ff. Since the domain of ff consists of all real numbers greater than or equal to 2/3-2/3, and
      13(y+1)22323\frac{1}{3}(y+1)^2-\frac{2}{3}\ge -\frac{2}{3},
      there does exist an xx in the domain of ff. We conclude that the range of ff is {yy1}\{y|y\ge -1\}.
  3. Consider f(x)=3/(x2)f(x)=3/(x-2).
    1. Since 3/(x2)3/(x-2) is defined when the denominator is nonzero, the domain is {xx2}\{x|x\ne 2\}.
    2. To find the range of ff, we need to find the values of yy such that there exists a real number xx in the domain with the property that
      3x2=y\frac{3}{x-2}=y.
      Solving this equation for xx, we find that
      x=3y+2x=\frac{3}{y}+2.
      Therefore, as long as y0y\ne 0, there exists a real number xx in the domain such that f(x)=yf(x)=y. Thus, the range is {yy0}\{y|y\ne 0\}.

Find the domain and range for f(x)=42x+5f(x)=\sqrt{4-2x}+5.

Answer:

Domain = {xx2}\{x|x\le 2\}, range = {yy5}\{y|y\ge 5\}

Hint

Use 42x04-2x\ge 0.

Representing Functions

Typically, a function is represented using one or more of the following tools:

  • A table
  • A graph
  • A formula

We can identify a function in each form, but we can also use them together. For instance, we can plot on a graph the values from a table or create a table from a formula.

Tables

Functions described using a table of values arise frequently in real-world applications. Consider the following simple example. We can describe temperature on a given day as a function of time of day. Suppose we record the temperature every hour for a 24-hour period starting at midnight. We let our input variable xx be the time after midnight, measured in hours, and the output variable yy be the temperature xx hours after midnight, measured in degrees Fahrenheit. We record our data in (Figure).

Temperature as a Function of Time of Day
Hours after Midnight Temperature (°F)(\text{°}F) Hours after Midnight Temperature (°F)(\text{°}F)
0 58 12 84
1 54 13 85
2 53 14 85
3 52 15 83
4 52 16 82
5 55 17 80
6 60 18 77
7 64 19 74
8 72 20 69
9 75 21 65
10 78 22 60
11 80 23 58

We can see from the table that temperature is a function of time, and the temperature decreases, then increases, and then decreases again. However, we cannot get a clear picture of the behavior of the function without graphing it.

Graphs

Given a function ff described by a table, we can provide a visual picture of the function in the form of a graph. Graphing the temperatures listed in (Figure) can give us a better idea of their fluctuation throughout the day. (Figure) shows the plot of the temperature function.

An image of a graph. The y axis runs from 0 to 90 and has the label “Temperature in Fahrenheit”. The x axis runs from 0 to 24 and has the label “hours after midnight”. There are 24 points on the graph, one at each increment of 1 on the x-axis. The first point is at (0, 58) and the function decreases until x = 4, where the point is (4, 52) and is the minimum value of the function. After x=4, the function increases until x = 13, where the point is (13, 85) and is the maximum of the function along with the point (14, 85). After x = 14, the function decreases until the last point on the graph, which is (23, 58). Figure 5. The graph of the data from (Table) shows temperature as a function of time.

From the points plotted on the graph in (Figure), we can visualize the general shape of the graph. It is often useful to connect the dots in the graph, which represent the data from the table. In this example, although we cannot make any definitive conclusion regarding what the temperature was at any time for which the temperature was not recorded, given the number of data points collected and the pattern in these points, it is reasonable to suspect that the temperatures at other times followed a similar pattern, as we can see in (Figure).

An image of a graph. The y axis runs from 0 to 90 and has the label “Temperature in Fahrenheit”. The x axis runs from 0 to 24 and has the label “hours after midnight”. There are 24 points on the graph, one at each increment of 1 on the x-axis. The first point is at (0, 58) and the function decreases until x = 4, where the point is (4, 52) and is the minimum value of the function. After x=4, the function increases until x = 13, where the point is (13, 85) and is the maximum of the function along with the point (14, 85). After x = 14, the function decreases until the last point on the graph, which is (23, 58). A line connects all the points on the graph. Figure 6. Connecting the dots in (Figure) shows the general pattern of the data.

Algebraic Formulas

Sometimes we are not given the values of a function in table form, rather we are given the values in an explicit formula. Formulas arise in many applications. For example, the area of a circle of radius rr is given by the formula A(r)=πr2A(r)=\pi r^2. When an object is thrown upward from the ground with an initial velocity v0v_0 ft/s, its height above the ground from the time it is thrown until it hits the ground is given by the formula s(t)=16t2+v0ts(t)=-16t^2+v_0t. When PP dollars are invested in an account at an annual interest rate rr compounded continuously, the amount of money after tt years is given by the formula A(t)=PertA(t)=Pe^{rt}. Algebraic formulas are important tools to calculate function values. Often we also represent these functions visually in graph form.

Given an algebraic formula for a function ff, the graph of ff is the set of points (x,f(x))(x,f(x)), where xx is in the domain of ff and f(x)f(x) is in the range. To graph a function given by a formula, it is helpful to begin by using the formula to create a table of inputs and outputs. If the domain of ff consists of an infinite number of values, we cannot list all of them, but because listing some of the inputs and outputs can be very useful, it is often a good way to begin.

When creating a table of inputs and outputs, we typically check to determine whether zero is an output. Those values of xx where f(x)=0f(x)=0 are called the zeros of a function. For example, the zeros of f(x)=x24f(x)=x^2-4 are x=±2x=±2. The zeros determine where the graph of ff intersects the xx-axis, which gives us more information about the shape of the graph of the function. The graph of a function may never intersect the xx-axis, or it may intersect multiple (or even infinitely many) times.

Another point of interest is the yy-intercept, if it exists. The yy-intercept is given by (0,f(0))(0,f(0)).

Since a function has exactly one output for each input, the graph of a function can have, at most, one yy-intercept. If x=0x=0 is in the domain of a function ff, then ff has exactly one yy-intercept. If x=0x=0 is not in the domain of ff, then ff has no yy-intercept. Similarly, for any real number cc, if cc is in the domain of ff, there is exactly one output f(c)f(c), and the line x=cx=c intersects the graph of ff exactly once. On the other hand, if cc is not in the domain of ff, f(c)f(c) is not defined and the line x=cx=c does not intersect the graph of ff. This property is summarized in the vertical line test.

Rule: Vertical Line Test

Given a function ff, every vertical line that may be drawn intersects the graph of ff no more than once. If any vertical line intersects a set of points more than once, the set of points does not represent a function.

We can use this test to determine whether a set of plotted points represents the graph of a function ((Figure)).

An image of two graphs. The first graph is labeled “a” and is of the function “y = f(x)”. Three vertical lines run through 3 points on the function, each vertical line only passing through the function once. The second graph is labeled “b” and is of the relation “y not equal to f(x)”. Two vertical lines run through the relation, one line intercepting the relation at 3 points and the other line intercepting the relation at 3 different points. Figure 7. (a) The set of plotted points represents the graph of a function because every vertical line intersects the set of points, at most, once. (b) The set of plotted points does not represent the graph of a function because some vertical lines intersect the set of points more than once.

Finding Zeros and yy-Intercepts of a Function

Consider the function f(x)=4x+2f(x)=-4x+2.

  1. Find all zeros of ff.
  2. Find the yy-intercept (if any).
  3. Sketch a graph of ff.

Answer:

  1. To find the zeros, solve f(x)=4x+2=0f(x)=-4x+2=0. We discover that ff has one zero at x=1/2x=1/2.
  2. The yy-intercept is given by (0,f(0))=(0,2)(0,f(0))=(0,2).
  3. Given that ff is a linear function of the form f(x)=mx+bf(x)=mx+b that passes through the points (1/2,0)(1/2,0) and (0,2)(0,2), we can sketch the graph of ff ((Figure)).
    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 function “f(x) = -4x + 2”, which is a decreasing straight line. There are two points plotted on the function at (0, 2) and (1/2, 0). Figure 8. The function f(x)=4x+2f(x)=-4x+2 is a line with xx-intercept (1/2,0)(1/2,0) and yy-intercept (0,2)(0,2).

Using Zeros and yy-Intercepts to Sketch a Graph

Consider the function f(x)=x+3+1f(x)=\sqrt{x+3}+1.

  1. Find all zeros of ff.
  2. Find the yy-intercept (if any).
  3. Sketch a graph of ff.

Answer:

  1. To find the zeros, solve x+3+1=0\sqrt{x+3}+1=0. This equation implies x+3=1\sqrt{x+3}=-1. Since x+30\sqrt{x+3}\ge 0 for all xx, this equation has no solutions, and therefore ff has no zeros.
  2. The yy-intercept is given by (0,f(0))=(0,3+1)(0,f(0))=(0,\sqrt{3}+1).
  3. To graph this function, we make a table of values. Since we need x+30x+3\ge 0, we need to choose values of x3x\ge -3. We choose values that make the square-root function easy to evaluate.
    x\mathbf{x} -3 -2 1
    f(x)\mathbf{f(x)} 1 2 3

Making use of the table and knowing that, since the function is a square root, the graph of ff should be similar to the graph of y=xy=\sqrt{x}, we sketch the graph ((Figure)).

An image of a graph. The y axis runs from -2 to 4 and the x axis runs from -3 to 2. The graph is of the function “f(x) = (square root of x + 3) + 1”, which is an increasing curved function that starts at the point (-3, 1). There are 3 points plotted on the function at (-3, 1), (-2, 2), and (1, 3). The function has a y intercept at (0, 1 + square root of 3). Figure 9. The graph of f(x)=x+3+1f(x)=\sqrt{x+3}+1 has a yy-intercept but no xx-intercepts.

Find the zeros of f(x)=x35x2+6xf(x)=x^3-5x^2+6x.

Answer:

x=0,2,3x=0,2,3

Hint

Factor the polynomial.

Finding the Height of a Free-Falling Object

If a ball is dropped from a height of 100 ft, its height ss at time tt is given by the function s(t)=16t2+100s(t)=-16t^2+100, where ss is measured in feet and tt is measured in seconds. The domain is restricted to the interval [0,c][0,c], where t=0t=0 is the time when the ball is dropped and t=ct=c is the time when the ball hits the ground.

  1. Create a table showing the height s(t)s(t) when t=0,0.5,1,1.5,2,t=0,0.5,1,1.5,2, and 2.52.5. Using the data from the table, determine the domain for this function. That is, find the time cc when the ball hits the ground.
  2. Sketch a graph of ss.

Answer:

  1. Height ss as a Function of Time tt
    t\mathbf{t} 0 0.5 1 1.5 2 2.5
    s(t)\mathbf{s(t)} 100 96 84 64 36 0

    Since the ball hits the ground when t=2.5t=2.5, the domain of this function is the interval [0,2.5][0,2.5].

  2. An image of a graph. The y axis runs from 0 to 100 and is labeled “s(t), height in feet”. The x axis runs from 0 to 3 and is labeled “t, time in seconds”. The graph is of the function “s(t) = -16 t squared + 100”, which is a decreasing curved function that starts at the y intercept point (0, 100). There are 6 points plotted on the function at (0, 100), (0.5, 96), (1, 84), (1.5, 64), (2, 36), and (2.5, 0). The function has a x intercept at the last point (2.5, 0).

Note that for this function and the function f(x)=4x+2f(x)=-4x+2 graphed in (Figure), the values of f(x)f(x) are getting smaller as xx is getting larger. A function with this property is said to be decreasing. On the other hand, for the function f(x)=x+3+1f(x)=\sqrt{x+3}+1 graphed in (Figure), the values of f(x)f(x) are getting larger as the values of xx are getting larger. A function with this property is said to be increasing. It is important to note, however, that a function can be increasing on some interval or intervals and decreasing over a different interval or intervals. For example, using our temperature function in (Figure), we can see that the function is decreasing on the interval (0,4)(0,4), increasing on the interval (4,14)(4,14), and then decreasing on the interval (14,23)(14,23). We make the idea of a function increasing or decreasing over a particular interval more precise in the next definition.

Definition

We say that a function ff is increasing on the interval II if for all x1,x2Ix_1, x_2\in I,

f(x1)f(x2)whenx1<x2f(x_1)\le f(x_2) \, \text{when} \, x_1<x_2.

We say ff is strictly increasing on the interval II if for all x1,x2Ix_1,x_2\in I,

f(x1)<f(x2)whenx1<x2f(x_1)<f(x_2) \, \text{when} \, x_1<x_2.

We say that a function ff is decreasing on the interval II if for all x1,x2Ix_1, x_2\in I,

f(x1)f(x2)ifx1<x2f(x_1)\ge f(x_2) \, \text{if} \, x_1<x_2.

We say that a function ff is strictly decreasing on the interval II if for all x1,x2Ix_1, x_2 \in I,

f(x1)>f(x2)ifx1<x2f(x_1)>f(x_2) \, \text{if} \, x_1<x_2.

For example, the function f(x)=3xf(x)=3x is increasing on the interval (,)(−\infty ,\infty) because 3x1<3x23x_1<3x_2 whenever x1<x2x_1<x_2. On the other hand, the function f(x)=x3f(x)=−x^3 is decreasing on the interval (,)(−\infty ,\infty) because (x1)3>(x2)3−(x_1)^3>-(x_2)^3 whenever x1<x2x_1<x_2 ((Figure)).

An image of two graphs. The first graph is labeled “a” and is of the function “f(x) = 3x”, which is an increasing straight line that passes through the origin. The second graph is labeled “b” and is of the function “f(x) = -x cubed”, which is curved function that decreases until the function hits the origin where it becomes level, then decreases again after the origin. Figure 10. (a) The function f(x)=3xf(x)=3x is increasing on the interval (,)(−\infty ,\infty). (b) The function f(x)=x3f(x)=−x^3 is decreasing on the interval (,)(−\infty ,\infty).

Combining Functions

Now that we have reviewed the basic characteristics of functions, we can see what happens to these properties when we combine functions in different ways, using basic mathematical operations to create new functions. For example, if the cost for a company to manufacture xx items is described by the function C(x)C(x) and the revenue created by the sale of xx items is described by the function R(x)R(x), then the profit on the manufacture and sale of xx items is defined as P(x)=R(x)C(x)P(x)=R(x)-C(x). Using the difference between two functions, we created a new function.

Alternatively, we can create a new function by composing two functions. For example, given the functions f(x)=x2f(x)=x^2 and g(x)=3x+1g(x)=3x+1, the composite function fgf\circ g is defined such that

(fg)(x)=f(g(x))=(g(x))2=(3x+1)2(f\circ g)(x)=f(g(x))=(g(x))^2=(3x+1)^2.

The composite function gfg\circ f is defined such that

(gf)(x)=g(f(x))=3f(x)+1=3x2+1(g\circ f)(x)=g(f(x))=3f(x)+1=3x^2+1.

Note that these two new functions are different from each other.

Combining Functions with Mathematical Operators

To combine functions using mathematical operators, we simply write the functions with the operator and simplify. Given two functions ff and g,g, we can define four new functions:

(f+g)(x)=f(x)+g(x)Sum(fg)(x)=f(x)g(x)Difference(fg)(x)=f(x)g(x)Product(fg)(x)=f(x)g(x)forg(x)0Quotient\begin{array}{cccc}(f+g)(x)=f(x)+g(x)\hfill & & & \text{Sum}\hfill \\ (f-g)(x)=f(x)-g(x)\hfill & & & \text{Difference}\hfill \\ (f·g)(x)=f(x)g(x)\hfill & & & \text{Product}\hfill \\ \Big(\frac{f}{g}\Big)(x)=\frac{f(x)}{g(x)} \, \text{for} \, g(x)\ne 0\hfill & & & \text{Quotient}\hfill \end{array}

Combining Functions Using Mathematical Operations

Given the functions f(x)=2x3f(x)=2x-3 and g(x)=x21g(x)=x^2-1, find each of the following functions and state its domain.

  1. (f+g)(x)(f+g)(x)
  2. (fg)(x)(f-g)(x)
  3. (fg)(x)(f·g)(x)
  4. (fg)(x)\Big(\frac{f}{g}\Big)(x)

Answer:

  1. (f+g)(x)=(2x3)+(x21)=x2+2x4(f+g)(x)=(2x-3)+(x^2-1)=x^2+2x-4. The domain of this function is the interval (,)(−\infty ,\infty ).
  2. (fg)(x)=(2x3)(x21)=x2+2x2(f-g)(x)=(2x-3)-(x^2-1)=−x^2+2x-2. The domain of this function is the interval (,)(−\infty ,\infty).
  3. (fg)(x)=(2x3)(x21)=2x33x22x+3(f·g)(x)=(2x-3)(x^2-1)=2x^3-3x^2-2x+3. The domain of this function is the interval (,)(−\infty ,\infty ).
  4. (fg)(x)=2x3x21\Big(\frac{f}{g}\Big)(x)=\frac{2x-3}{x^2-1}. The domain of this function is {xx±1}\{x|x\ne \text{±}1\}.

For f(x)=x2+3f(x)=x^2+3 and g(x)=2x5g(x)=2x-5, find (f/g)(x)(f/g)(x) and state its domain.

Answer:

(fg)(x)=x2+32x5\Big(\frac{f}{g}\Big)(x)=\frac{x^2+3}{2x-5}. The domain is {xx52}\{x|x\ne \frac{5}{2}\}.

Hint

The new function (f/g)(x)(f/g)(x) is a quotient of two functions. For what values of xx is the denominator zero?

Function Composition

When we compose functions, we take a function of a function. For example, suppose the temperature TT on a given day is described as a function of time tt (measured in hours after midnight) as in (Figure). Suppose the cost CC, to heat or cool a building for 1 hour, can be described as a function of the temperature TT. Combining these two functions, we can describe the cost of heating or cooling a building as a function of time by evaluating C(T(t))C(T(t)). We have defined a new function, denoted CTC\circ T, which is defined such that (CT)(t)=C(T(t))(C\circ T)(t)=C(T(t)) for all tt in the domain of TT. This new function is called a composite function. We note that since cost is a function of temperature and temperature is a function of time, it makes sense to define this new function (CT)(t)(C\circ T)(t). It does not make sense to consider (TC)(t)(T\circ C)(t), because temperature is not a function of cost.

Definition

Consider the function ff with domain AA and range BB, and the function gg with domain DD and range EE. If BB is a subset of DD, then the composite function (gf)(x)(g\circ f)(x) is the function with domain AA such that

(gf)(x)=g(f(x))(g\circ f)(x)=g(f(x)).

A composite function gfg\circ f can be viewed in two steps. First, the function ff maps each input xx in the domain of ff to its output f(x)f(x) in the range of ff. Second, since the range of ff is a subset of the domain of gg, the output f(x)f(x) is an element in the domain of gg, and therefore it is mapped to an output g(f(x))g(f(x)) in the range of gg. In (Figure), we see a visual image of a composite function.

An image with three items. The first item is a blue bubble that has two labels: “domain of f” and “domain of g of f”. This item contains the numbers 1, 2, and 3. The second item is two bubbles: an orange bubble labeled “domain of g” and a blue bubble that is completely contained within the orange bubble and is labeled “range of f”. The blue bubble contains the numbers 0 and 1, which are thus also contained within the larger orange bubble. The orange bubble contains two numbers not contained within the smaller blue bubble, which are 2 and 3. The third item is two bubbles: an orange bubble labeled “range of g” and a blue bubble that is completely contained within the orange bubble and is labeled “range of g of f”. The blue bubble contains the numbers 4 and 5, which are thus also contained within the larger orange bubble. The orange bubble contains one number not contained within the smaller blue bubble, which is the number 3. The first item points has a blue arrow with the label “f” that points to the blue bubble in the second item. The orange bubble in the second item has an orange arrow labeled “g” that points the orange bubble in the third item. The first item has a blue arrow labeled “g of f” which points to the blue bubble in the third item. There are three blue arrows pointing from numbers in the first item to the numbers contained in the blue bubble of the second item. The first blue arrow points from the 1 to the 0, the second blue arrow points from the 2 to the 1, and the third blue arrow points from the 3 to the 0. There are 4 orange arrows pointing from the numbers contained in the orange bubble in the second item, including those also contained in the blue bubble of the second item, to the numbers contained in the orange bubble of the third item, including the numbers in the blue bubble of the third item. The first orange arrow points from 2 to 3, the second orange arrow points from 3 to 5, the third orange arrow points from 0 to 4, and the fourth orange arrow points from 1 to 5. Figure 11. For the composite function gfg\circ f, we have (gf)(1)=4,(gf)(2)=5,(g\circ f)(1)=4, \, (g\circ f)(2)=5, and (gf)(3)=4(g\circ f)(3)=4.

Compositions of Functions Defined by Formulas

Consider the functions f(x)=x2+1f(x)=x^2+1 and g(x)=1/xg(x)=1/x.

  1. Find (gf)(x)(g\circ f)(x) and state its domain and range.
  2. Evaluate (gf)(4)(g\circ f)(4) and (gf)(1/2)(g\circ f)(-1/2).
  3. Find (fg)(x)(f\circ g)(x) and state its domain and range.
  4. Evaluate (fg)(4)(f\circ g)(4) and (fg)(1/2)(f\circ g)(-1/2).

Answer:

  1. We can find the formula for (gf)(x)(g\circ f)(x) in two different ways. We could write
    (gf)(x)=g(f(x))=g(x2+1)=1x2+1(g\circ f)(x)=g(f(x))=g(x^2+1)=\frac{1}{x^2+1}.
    Alternatively, we could write
    (gf)(x)=g(f(x))=1f(x)=1x2+1(g\circ f)(x)=g(f(x))=\frac{1}{f(x)}=\frac{1}{x^2+1}.
    Since x2+10x^2+1\ne 0 for all real numbers xx, the domain of (gf)(x)(g\circ f)(x) is the set of all real numbers. Since 0<1/(x2+1)10<1/(x^2+1)\le 1, the range is, at most, the interval (0,1](0,1]. To show that the range is this entire interval, we let y=1/(x2+1)y=1/(x^2+1) and solve this equation for xx to show that for all yy in the interval (0,1](0,1], there exists a real number xx such that y=1/(x2+1)y=1/(x^2+1). Solving this equation for xx, we see that x2+1=1/yx^2+1=1/y, which implies that
    x=±1y1x=±\sqrt{\frac{1}{y}-1}.
    If yy is in the interval (0,1](0,1], the expression under the radical is nonnegative, and therefore there exists a real number xx such that 1/(x2+1)=y1/(x^2+1)=y. We conclude that the range of gfg\circ f is the interval (0,1](0,1].
  2. (gf)(4)=g(f(4))=g(42+1)=g(17)=117(g\circ f)(4)=g(f(4))=g(4^2+1)=g(17)=\frac{1}{17} (gf)(12)=g(f(12))=g((12)2+1)=g(54)=45(g\circ f)(-\frac{1}{2})=g(f(-\frac{1}{2}))=g((-\frac{1}{2})^2+1)=g(\frac{5}{4})=\frac{4}{5}
  3. We can find a formula for (fg)(x)(f\circ g)(x) in two ways. First, we could write
    (fg)(x)=f(g(x))=f(1x)=(1x)2+1(f\circ g)(x)=f(g(x))=f(\frac{1}{x})=(\frac{1}{x})^2+1.
    Alternatively, we could write
    (fg)(x)=f(g(x))=(g(x))2+1=(1x)2+1(f\circ g)(x)=f(g(x))=(g(x))^2+1=(\frac{1}{x})^2+1.
    The domain of fgf\circ g is the set of all real numbers xx such that x0x\ne 0. To find the range of ff, we need to find all values yy for which there exists a real number x0x\ne 0 such that
    (1x)2+1=y(\frac{1}{x})^2+1=y.
    Solving this equation for xx, we see that we need xx to satisfy
    (1x)2=y1(\frac{1}{x})^2=y-1,
    which simplifies to
    1x=±y1\frac{1}{x}=±\sqrt{y-1}.
    Finally, we obtain
    x=±1y1x=±\frac{1}{\sqrt{y-1}}.
    Since 1/y11/\sqrt{y-1} is a real number if and only if y>1y>1, the range of ff is the set {yy1}\{y|y\ge 1\}.
  4. (fg)(4)=f(g(4))=f(14)=(14)2+1=1716(f\circ g)(4)=f(g(4))=f(\frac{1}{4})=(\frac{1}{4})^2+1=\frac{17}{16} (fg)(12)=f(g(12))=f(2)=(2)2+1=5(f\circ g)(-\frac{1}{2})=f(g(-\frac{1}{2}))=f(-2)=(-2)^2+1=5

In (Figure), we can see that (fg)(x)(gf)(x)(f\circ g)(x)\ne (g\circ f)(x). This tells us, in general terms, that the order in which we compose functions matters.

Let f(x)=25x.f(x)=2-5x. Let g(x)=x.g(x)=\sqrt{x}. Find (fg)(x)(f\circ g)(x).

Answer:

(fg)(x)=25x(f\circ g)(x)=2-5\sqrt{x}.

Composition of Functions Defined by Tables

Consider the functions ff and gg described by (Figure) and (Figure).

x\mathbf{x} -3 -2 -1 0 1 2 3 4
f(x)\mathbf{f(x)} 0 4 2 4 -2 0 -2 4
x\mathbf{x} -4 -2 0 2 4
g(x)\mathbf{g(x)} 1 0 3 0 5
  1. Evaluate (gf)(3)(g\circ f)(3) and (gf)(0)(g\circ f)(0).
  2. State the domain and range of (gf)(x)(g\circ f)(x).
  3. Evaluate (ff)(3)(f\circ f)(3) and (ff)(1)(f\circ f)(1).
  4. State the domain and range of (ff)(x)(f\circ f)(x).

Answer:

  1. (gf)(3)=g(f(3))=g(2)=0(g\circ f)(3)=g(f(3))=g(-2)=0 (gf)(0)=g(4)=5(g\circ f)(0)=g(4)=5
  2. The domain of gfg\circ f is the set {3,2,1,0,1,2,3,4}\{-3,-2,-1,0,1,2,3,4\}. Since the range of ff is the set {2,0,2,4}\{-2,0,2,4\}, the range of gfg\circ f is the set {0,3,5}\{0,3,5\}.
  3. (ff)(3)=f(f(3))=f(2)=4(f\circ f)(3)=f(f(3))=f(-2)=4 (ff)(1)=f(f(1))=f(2)=4(f\circ f)(1)=f(f(1))=f(-2)=4
  4. The domain of fff\circ f is the set {3,2,1,0,1,2,3,4}\{-3,-2,-1,0,1,2,3,4\}. Since the range of ff is the set {2,0,2,4}\{-2,0,2,4\}, the range of fff\circ f is the set {0,4}\{0,4\}.

Application Involving a Composite Function

A store is advertising a sale of 20%20\% off all merchandise. Caroline has a coupon that entitles her to an additional 15%15\% off any item, including sale merchandise. If Caroline decides to purchase an item with an original price of xx dollars, how much will she end up paying if she applies her coupon to the sale price? Solve this problem by using a composite function.

Answer:

Since the sale price is 20%20\% off the original price, if an item is xx dollars, its sale price is given by f(x)=0.80xf(x)=0.80x. Since the coupon entitles an individual to 15%15\% off the price of any item, if an item is yy dollars, the price, after applying the coupon, is given by g(y)=0.85yg(y)=0.85y. Therefore, if the price is originally xx dollars, its sale price will be f(x)=0.80xf(x)=0.80x and then its final price after the coupon will be g(f(x))=0.85(0.80x)=0.68xg(f(x))=0.85(0.80x)=0.68x.

If items are on sale for 10%10\% off their original price, and a customer has a coupon for an additional 30%30\% off, what will be the final price for an item that is originally xx dollars, after applying the coupon to the sale price?

Answer:

(gf)(x)=0.63x(g\circ f)(x)=0.63x

Hint

The sale price of an item with an original price of xx dollars is f(x)=0.90xf(x)=0.90x. The coupon price for an item that is yy dollars is g(y)=0.70yg(y)=0.70y.

Symmetry of Functions

The graphs of certain functions have symmetry properties that help us understand the function and the shape of its graph. For example, consider the function f(x)=x42x23f(x)=x^4-2x^2-3 shown in (Figure)(a). If we take the part of the curve that lies to the right of the yy-axis and flip it over the yy-axis, it lays exactly on top of the curve to the left of the yy-axis. In this case, we say the function has symmetry about the yy-axis. On the other hand, consider the function f(x)=x34xf(x)=x^3-4x shown in (Figure)(b). If we take the graph and rotate it 180° about the origin, the new graph will look exactly the same. In this case, we say the function has symmetry about the origin.

An image of two graphs. The first graph is labeled “(a), symmetry about the y-axis” and is of the curved function “f(x) = (x to the 4th) - 2(x squared) - 3”. The x axis runs from -3 to 4 and the y axis runs from -4 to 5. This function decreases until it hits the point (-1, -4), which is minimum of the function. Then the graph increases to the point (0,3), which is a local maximum. Then the the graph decreases until it hits the point (1, -4), before it increases again. The second graph is labeled “(b), symmetry about the origin” and is of the curved function “f(x) = x cubed - 4x”. The x axis runs from -3 to 4 and the y axis runs from -4 to 5. The graph of the function starts at the x intercept at (-2, 0) and increases until the approximate point of (-1.2, 3.1). The function then decreases, passing through the origin, until it hits the approximate point of (1.2, -3.1). The function then begins to increase again and has another x intercept at (2, 0). Figure 12. (a) A graph that is symmetric about the yy-axis. (b) A graph that is symmetric about the origin.

If we are given the graph of a function, it is easy to see whether the graph has one of these symmetry properties. But without a graph, how can we determine algebraically whether a function ff has symmetry? Looking at (Figure) again, we see that since ff is symmetric about the yy-axis, if the point (x,y)(x,y) is on the graph, the point (x,y)(−x,y) is on the graph. In other words, f(x)=f(x)f(−x)=f(x). If a function ff has this property, we say ff is an even function, which has symmetry about the yy-axis. For example, f(x)=x2f(x)=x^2 is even because

f(x)=(x)2=x2=f(x)f(−x)=(−x)^2=x^2=f(x).

In contrast, looking at (Figure) again, if a function ff is symmetric about the origin, then whenever the point (x,y)(x,y) is on the graph, the point (x,y)(−x,−y) is also on the graph. In other words, f(x)=f(x)f(−x)=−f(x). If ff has this property, we say ff is an odd function, which has symmetry about the origin. For example, f(x)=x3f(x)=x^3 is odd because

f(x)=(x)3=x3=f(x)f(−x)=(−x)^3=−x^3=−f(x).

Definition

If f(x)=f(x)f(-x)=f(x) for all xx in the domain of ff, then ff is an even function. An even function is symmetric about the yy-axis.

If f(x)=f(x)f(−x)=−f(x) for all xx in the domain of ff, then ff is an odd function. An odd function is symmetric about the origin.

Even and Odd Functions

Determine whether each of the following functions is even, odd, or neither.

  1. f(x)=5x4+7x22f(x)=-5x^4+7x^2-2
  2. f(x)=2x54x+5f(x)=2x^5-4x+5
  3. f(x)=3xx2+1f(x)=\large{\frac{3x}{x^2+1}}

Answer:

To determine whether a function is even or odd, we evaluate f(x)f(−x) and compare it to f(x)f(x) and f(x)−f(x).

  1. f(x)=5(x)4+7(x)22=5x4+7x22=f(x)f(−x)=-5(−x)^4+7(−x)^2-2=-5x^4+7x^2-2=f(x). Therefore, ff is even.
  2. f(x)=2(x)54(x)+5=2x5+4x+5f(−x)=2(−x)^5-4(−x)+5=-2x^5+4x+5. Now, f(x)f(x)f(−x)\ne f(x). Furthermore, noting that f(x)=2x5+4x5−f(x)=-2x^5+4x-5, we see that f(x)f(x)f(−x)\ne −f(x). Therefore, ff is neither even nor odd.
  3. f(x)=3(x)/((x)2+1)=3x/(x2+1)=[3x/(x2+1)]=f(x)f(−x)=3(−x)/((−x)^2+1)=-3x/(x^2+1)=−[3x/(x^2+1)]=−f(x). Therefore, ff is odd.

Determine whether f(x)=4x35xf(x)=4x^3-5x is even, odd, or neither.

Answer:

f(x)f(x) is odd.

Hint

Compare f(x)f(−x) with f(x)f(x) and f(x)−f(x).

One symmetric function that arises frequently is the absolute value function, written as x|x|. The absolute value function is defined as

f(x)={x,x0x,x<0f(x)=\begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}

Some students describe this function by stating that it “makes everything positive.” By the definition of the absolute value function, we see that if x<0x<0, then x=x>0|x|=−x>0, and if x>0x>0, then x=x>0|x|=x>0. However, for x=0,x=0x=0, \, |x|=0. Therefore, it is more accurate to say that for all nonzero inputs, the output is positive, but if x=0x=0, the output x=0|x|=0. We conclude that the range of the absolute value function is {yy0}\{y|y\ge 0\}. In (Figure), we see that the absolute value function is symmetric about the yy-axis and is therefore an even function.

An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -4 to 4. The graph is of the function “f(x) = absolute value of x”. The graph starts at the point (-3, 3) and decreases in a straight line until it hits the origin. Then the graph increases in a straight line until it hits the point (3, 3). Figure 13. The graph of f(x)=xf(x)=|x| is symmetric about the yy-axis.

Working with the Absolute Value Function

Find the domain and range of the function f(x)=2x3+4f(x)=2|x-3|+4.

Answer:

Since the absolute value function is defined for all real numbers, the domain of this function is (,)(−\infty ,\infty ). Since x30|x-3|\ge 0 for all xx, the function f(x)=2x3+44f(x)=2|x-3|+4\ge 4. Therefore, the range is, at most, the set {yy4}\{y|y\ge 4\}. To see that the range is, in fact, this whole set, we need to show that for y4y\ge 4 there exists a real number xx such that

2x3+4=y2|x-3|+4=y.

A real number xx satisfies this equation as long as

x3=12(y4)|x-3|=\frac{1}{2}(y-4).

Since y4y\ge 4, we know y40y-4\ge 0, and thus the right-hand side of the equation is nonnegative, so it is possible that there is a solution. Furthermore,

x3={x3,ifx3(x3),ifx<3|x-3|= \begin{cases} x-3, & \text{if} \, x \ge 3 \\ -(x-3), & \text{if} \, x < 3 \end{cases}.

Therefore, we see there are two solutions:

x=±12(y4)+3x=±\frac{1}{2}(y-4)+3.

The range of this function is {yy4}\{y|y\ge 4\}.

For the function f(x)=x+24f(x)=|x+2|-4, find the domain and range.

Answer:

Domain = (,)(−\infty ,\infty ), range = {yy4}\{y|y\ge -4\}.

Hint

x+20|x+2|\ge 0 for all real numbers xx.

Key Concepts

  • A function is a mapping from a set of inputs to a set of outputs with exactly one output for each input.
  • If no domain is stated for a function y=f(x)y=f(x), the domain is considered to be the set of all real numbers xx for which the function is defined.
  • When sketching the graph of a function ff, each vertical line may intersect the graph, at most, once.
  • A function may have any number of zeros, but it has, at most, one yy-intercept.
  • To define the composition gfg\circ f, the range of ff must be contained in the domain of gg.
  • Even functions are symmetric about the yy-axis whereas odd functions are symmetric about the origin.

Key Equations

  • Composition of two functions (gf)(x)=g(f(x))(g\circ f)(x)=g(f(x))
  • Absolute value function f(x)=x={x,x0x,x<0f(x) = |x| = \begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}

For the following exercises, (a) determine the domain and the range of each relation, and (b) state whether the relation is a function.

1.
xx yy xx yy
−3 9 1 1
−2 4 2 4
−1 1 3 9
0 0

Answer:

a. Domain = {3,2,1,0,1,2,3}\{-3,-2,-1,0,1,2,3\}, range = {0,1,4,9}\{0,1,4,9\} b. Yes, a function

2.
xx yy xx yy
−3 −2 1 1
−2 −8 2 8
−1 −1 3 −2
0 0
3.
xx yy xx yy
1 −3 1 1
2 −2 2 2
3 −1 3 3
0 0

Answer:

a. Domain = {0,1,2,3}\{0,1,2,3\}, range = {3,2,1,0,1,2,3}\{-3,-2,-1,0,1,2,3\} b. No, not a function

4.
xx yy xx yy
1 1 5 1
2 1 6 1
3 1 7 1
4 1
5.
xx yy xx yy
3 3 15 1
5 2 21 2
8 1 33 3
10 0

Answer:

a. Domain = {3,5,8,10,15,21,33}\{3,5,8,10,15,21,33\}, range = {0,1,2,3}\{0,1,2,3\} b. Yes, a function

6.
xx yy xx yy
−7 11 1 −2
−2 5 3 4
−2 1 6 11
0 −1

For the following exercises, find the values for each function, if they exist, then simplify.

a. f(0)f(0) b. f(1)f(1) c. f(3)f(3) d. f(x)f(−x) e. f(a)f(a) f. f(a+h)f(a+h)

7. f(x)=5x2f(x)=5x-2

Answer:

a. -2 b. 3 c. 13 d. 5x2-5x-2 e. 5a25a-2 f. 5a+5h25a+5h-2

8. f(x)=4x23x+1f(x)=4x^2-3x+1

9. f(x)=2xf(x)=\frac{2}{x}

Answer:

a. Undefined b. 2 c. 23\frac{2}{3} d. 2x-\frac{2}{x} e 2a\frac{2}{a} f. 2a+h\frac{2}{a+h}

10. f(x)=x7+8f(x)=|x-7|+8

11. f(x)=6x+5f(x)=\sqrt{6x+5}

Answer:

a. 5\sqrt{5} b. 11\sqrt{11} c. 23\sqrt{23} d. 6x+5\sqrt{-6x+5} e. 6a+5\sqrt{6a+5} f. 6a+6h+5\sqrt{6a+6h+5}

12. f(x)=x23x+7f(x)=\frac{x-2}{3x+7}

13. f(x)=9f(x)=9

Answer:

a. 9 b. 9 c. 9 d. 9 e. 9 f. 9

For the following exercises, find the domain, range, and all zeros/intercepts, if any, of the functions.

14. f(x)=xx216f(x)=\frac{x}{x^2-16}

15. g(x)=8x1g(x)=\sqrt{8x-1}

Answer:

Domain: x18x\ge \frac{1}{8}; Range: y0y\ge 0; Zeros: x=18x=\frac{1}{8}; no yy-intercepts

16. h(x)=3x2+4h(x)=\frac{3}{x^2+4}

17. f(x)=1+x+2f(x)=-1+\sqrt{x+2}

Answer:

Domain: x2x\ge -2; Range: y1y\ge -1; Zeros: x=1x=-1; yy-intercepts: y=1+2y=-1+\sqrt{2}

18. f(x)=1x9f(x)=\frac{1}{\sqrt{x-9}}

19. g(x)=3x4g(x)=\frac{3}{x-4}

Answer:

Domain: x4x\ne 4; Range: y0y\ne 0; no xx-intercept; yy-intercept: y=34y=-\frac{3}{4}

20. f(x)=4x+5f(x)=4|x+5|

21. g(x)=7x5g(x)=\sqrt{\frac{7}{x-5}}

Answer:

Domain: x>5x>5; Range: y>0y>0; no intercepts

For the following exercises, set up a table to sketch the graph of each function using the following values: x=3,2,1,0,1,2,3x=-3,-2,-1,0,1,2,3.

22. f(x)=x2+1f(x)=x^2+1

xx yy xx yy
−3 10 1 2
−2 5 2 5
−1 2 3 10
0 1

23. f(x)=3x6f(x)=3x-6

xx yy xx yy
−3 −15 1 −3
−2 −12 2 0
−1 −9 3 3
0 −6

Answer: An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -3 to 3. The graph is of the function “f(x) = 3x - 6”, which is an increasing straight line. The function has an x intercept at (2, 0) and the y intercept is not shown.

24. f(x)=12x+1f(x)=\frac{1}{2}x+1

xx yy xx yy
−3 12-\frac{1}{2} 1 32\frac{3}{2}
−2 0 2 2
−1 12\frac{1}{2} 3 52\frac{5}{2}
0 1

25. f(x)=2xf(x)=2|x|

xx yy xx yy
−3 6 1 2
−2 4 2 4
−1 2 3 6
0 0

Answer: An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -2 to 6. The graph is of the function “f(x) = 2 times the absolute value of x”. The function decreases in a straight line until it hits the origin, then begins to increase in a straight line. The function x intercept and y intercept are at the origin.

26. f(x)=x2f(x)=−x^2

xx yy xx yy
−3 −9 1 −1
−2 −4 2 −4
−1 −1 3 −9
0 0

27. f(x)=x3f(x)=x^3

xx yy xx yy
−3 −27 1 1
−2 −8 2 8
−1 −1 3 27
0 0

Answer: An image of a graph. The x axis runs from -3 to 3 and the y axis runs from -27 to 27. The graph is of the function “f(x) = x cubed”. The curved function increases until it hits the origin, where it levels out and then becomes even. After the origin the graph begins to increase again. The x intercept and y intercept are both at the origin.

For the following exercises, use the vertical line test to determine whether each of the given graphs represents a function. Assume that a graph continues at both ends if it extends beyond the given grid. If the graph represents a function, then determine the following for each graph:

  1. Domain and range
  2. xx-intercept, if any (estimate where necessary)
  3. yy-Intercept, if any (estimate where necessary)
  4. The intervals for which the function is increasing
  5. The intervals for which the function is decreasing
  6. The intervals for which the function is constant
  7. Symmetry about any axis and/or the origin
  8. Whether the function is even, odd, or neither
28. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is circle, with x intercepts at (-1, 0) and (1, 0) and y intercepts at (0, 1) and (0, -1).
29. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is curved. The relation decreases until it hits the point (-1, 0), then increases until it hits the point (0, 1), then decreases until it hits the point (1, 0), then increases again.

Answer:

Function; a. Domain: all real numbers, Range: y0y\ge 0 b. x=±1x=±1 c. y=1y=1 d. 1<x<0-1<x<0 and 1<x<1<x<\infty e. <x<1−\infty <x<-1 and 0<x<10<x<1 f. Not constant g. yy-axis h. Even

30. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is a parabola. The curved relation increases until it hits the point (2, 3), then begins to decrease. The approximate x intercepts are at (0.3, 0) and (3.7, 0) and the y intercept is is (-1, 0).
31. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is curved. The curved relation increases the entire time. The x intercept and y intercept are both at the origin.

Answer:

Function; a. Domain: all real numbers, Range: 1.5y1.5-1.5\le y\le 1.5 b. x=0x=0 c. y=0y=0 d. All real numbers e. None f. Not constant g. Origin h. Odd

32. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is a sideways parabola, opening up to the right. The x intercept and y intercept are both at the origin and the relation has no points to the left of the y axis. The relation includes the points (1, -1) and (1, 1)
33. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is a horizontal line until the point (-2, -2), then it begins increasing in a straight line until the point (2, 2). After these points, the relation becomes a horizontal line again. The x intercept and y intercept are both at the origin.

Answer:

Function; a. Domain: <x<−\infty <x<\infty , Range: 2y2-2\le y\le 2 b. x=0x=0 c. y=0y=0 d. 2<x<2-2<x<2 e. Not decreasing f. <x<2−\infty <x<-2 and 2<x<2<x<\infty g. Origin h. Odd

34. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that is a horizontal line until the origin, then it begins increasing in a straight line. The x intercept and y intercept are both at the origin and there are no points below the x axis.
35. An image of a graph. The x axis runs from -5 to 5 and the y axis runs from -5 to 5. The graph is of a relation that starts at the point (-4, 4) and is a horizontal line until the point (0, 4), then it begins decreasing in a curved line until it hits the point (4, -4), where the graph ends. The x intercept is approximately at the point (1.2, 0) and y intercept is at the point (0, 4).

Answer:

Function; a. Domain: 4x4-4\le x\le 4, Range: 4y4-4\le y\le 4 b. x=1.2x=1.2 c. y=4y=4 d. Not increasing e. 0<x<40<x<4 f. 4<x<0-4<x<0 g. No Symmetry h. Neither

For the following exercises, for each pair of functions, find a. f+gf+g b. fgf-g c. fgf·g d. f/gf/g. Determine the domain of each of these new functions.

36. f(x)=3x+4,g(x)=x2f(x)=3x+4, \, g(x)=x-2

37. f(x)=x8,g(x)=5x2f(x)=x-8, \, g(x)=5x^2

Answer:

a. 5x2+x85x^2+x-8; all real numbers b. 5x2+x8-5x^2+x-8; all real numbers c. 5x340x25x^3-40x^2; all real numbers d. x85x2;x0\frac{x-8}{5x^2}; \, x\ne 0

38. f(x)=3x2+4x+1,g(x)=x+1f(x)=3x^2+4x+1, \, g(x)=x+1

39. f(x)=9x2,g(x)=x22x3f(x)=9-x^2, \, g(x)=x^2-2x-3

Answer:

a. 2x+6-2x+6; all real numbers b. 2x2+2x+12-2x^2+2x+12; all real numbers c. x4+2x3+12x218x27−x^4+2x^3+12x^2-18x-27; all real numbers d. x+3x+1;x1,3-\frac{x+3}{x+1}; \, x\ne −1,3

40. f(x)=x,g(x)=x2f(x)=\sqrt{x}, \, g(x)=x-2

41. f(x)=6+1x,g(x)=1xf(x)=6+\frac{1}{x},g(x)=\frac{1}{x}

Answer:

a. 6+2x;x06+\frac{2}{x}; \, x\ne 0 b. 6; x0x\ne 0 c. 6x+1x2;x0\frac{6}{x}+\frac{1}{x^2}; \, x\ne 0 d. 6x+1;x06x+1; \, x\ne 0

For the following exercises, for each pair of functions, find a. (fg)(x)(f\circ g)(x) and b. (gf)(x)(g\circ f)(x) Simplify the results. Find the domain of each of the results.

42. f(x)=3x,g(x)=x+5f(x)=3x, \, g(x)=x+5

43. f(x)=x+4,g(x)=4x1f(x)=x+4, \, g(x)=4x-1

Answer:

a. 4x+34x+3; all real numbers b. 4x+154x+15; all real numbers

44. f(x)=2x+4,g(x)=x22f(x)=2x+4, \, g(x)=x^2-2

45. f(x)=x2+7,g(x)=x23f(x)=x^2+7, \, g(x)=x^2-3

Answer:

a. x46x2+16x^4-6x^2+16; all real numbers b. x4+14x2+46x^4+14x^2+46; all real numbers

46. f(x)=x,g(x)=x+9f(x)=\sqrt{x}, \, g(x)=x+9

47. f(x)=32x+1,g(x)=2xf(x)=\frac{3}{2x+1}, \, g(x)=\frac{2}{x}

Answer:

a. 3x4+x;x0,4\frac{3x}{4+x}; \, x\ne 0,-4 b. 4x+23;x12\frac{4x+2}{3}; \, x\ne -\frac{1}{2}

48. f(x)=x+1,g(x)=x2+x4f(x)=|x+1|, \, g(x)=x^2+x-4

49. The table below lists the NBA championship winners for the years 2001 to 2012.

Year Winner
2001 LA Lakers
2002 LA Lakers
2003 San Antonio Spurs
2004 Detroit Pistons
2005 San Antonio Spurs
2006 Miami Heat
2007 San Antonio Spurs
2008 Boston Celtics
2009 LA Lakers
2010 LA Lakers
2011 Dallas Mavericks
2012 Miami Heat
  1. Consider the relation in which the domain values are the years 2001 to 2012 and the range is the corresponding winner. Is this relation a function? Explain why or why not.
  2. Consider the relation where the domain values are the winners and the range is the corresponding years. Is this relation a function? Explain why or why not.

Answer:

a. Yes, because there is only one winner for each year. b. No, because there are three teams that won more than once during the years 2001 to 2012.

50. [T] The area AA of a square depends on the length of the side ss.

  1. Write a function A(s)A(s) for the area of a square.
  2. Find and interpret A(6.5)A(6.5).
  3. Find the exact and the two-significant-digit approximation to the length of the sides of a square with area 56 square units.

51. [T] The volume of a cube depends on the length of the sides ss.

  1. Write a function V(s)V(s) for the area of a square.
  2. Find and interpret V(11.8)V(11.8).

Answer:

a. V(s)=s3V(s)=s^3 b. V(11.8)1643V(11.8)\approx 1643; a cube of side length 11.8 each has a volume of approximately 1643 cubic units.

52. [T] A rental car company rents cars for a flat fee of $20 and an hourly charge of $10.25. Therefore, the total cost CC to rent a car is a function of the hours tt the car is rented plus the flat fee.

  1. Write the formula for the function that models this situation.
  2. Find the total cost to rent a car for 2 days and 7 hours.
  3. Determine how long the car was rented if the bill is $432.73.

53. [T] A vehicle has a 20-gal tank and gets 15 mpg. The number of miles NN that can be driven depends on the amount of gas xx in the tank.

  1. Write a formula that models this situation.
  2. Determine the number of miles the vehicle can travel on (i) a full tank of gas and (ii) 3/4 of a tank of gas.
  3. Determine the domain and range of the function.
  4. Determine how many times the driver had to stop for gas if she has driven a total of 578 mi.

Answer:

a. N(x)=15xN(x)=15x b. i. N(20)=15(20)=300N(20)=15(20)=300; therefore, the vehicle can travel 300 mi on a full tank of gas. ii. N(15)=225N(15)=225; therefore, the vehicle can travel 225 mi on 3/4 of a tank of gas. c. Domain: 0x200\le x\le 20; Range: [0,300][0,300] d. The driver had to stop at least once, given that it takes approximately 39 gal of gas to drive a total of 578 mi.

54. [T] The volume VV of a sphere depends on the length of its radius as V=(4/3)πr3V=(4/3)\pi r^3. Because Earth is not a perfect sphere, we can use the mean radius when measuring from the center to its surface. The mean radius is the average distance from the physical center to the surface, based on a large number of samples. Find the volume of Earth with mean radius 6.371×1066.371×10^6 m.

55. [T] A certain bacterium grows in culture in a circular region. The radius of the circle, measured in centimeters, is given by r(t)=6[5/(t2+1)]r(t)=6-[5/(t^2+1)], where tt is time measured in hours since a circle of a 1 cm radius of the bacterium was put into the culture.

  1. Express the area of the bacteria as a function of time.
  2. Find the exact and approximate area of the bacterial culture in 3 hours.
  3. Express the circumference of the bacteria as a function of time.
  4. Find the exact and approximate circumference of the bacteria in 3 hours.

Answer:

a. A(t)=A(r(t))=π(65t2+1)2A(t)=A(r(t))=\pi ·(6-\frac{5}{t^2+1})^2 b. Exact: 121π4\frac{121\pi }{4}; approximately 95 cm2 c. C(t)=C(r(t))=2π(65t2+1)C(t)=C(r(t))=2\pi (6-\frac{5}{t^2+1}) d. Exact: 11π11\pi ; approximately 35 cm

56. [T] An American tourist visits Paris and must convert U.S. dollars to Euros, which can be done using the function E(x)=0.79xE(x)=0.79x, where xx is the number of U.S. dollars and E(x)E(x) is the equivalent number of Euros. Since conversion rates fluctuate, when the tourist returns to the United States 2 weeks later, the conversion from Euros to U.S. dollars is D(x)=1.245xD(x)=1.245x, where xx is the number of Euros and D(x)D(x) is the equivalent number of U.S. dollars.

  1. Find the composite function that converts directly from U.S. dollars to U.S. dollars via Euros. Did this tourist lose value in the conversion process?
  2. Use (a) to determine how many U.S. dollars the tourist would get back at the end of her trip if she converted an extra $200 when she arrived in Paris.

57. [T] The manager at a skateboard shop pays his workers a monthly salary SS of $750 plus a commission of $8.50 for each skateboard they sell.

  1. Write a function y=S(x)y=S(x) that models a worker’s monthly salary based on the number of skateboards xx he or she sells.
  2. Find the approximate monthly salary when a worker sells 25, 40, or 55 skateboards.
  3. Use the INTERSECT feature on a graphing calculator to determine the number of skateboards that must be sold for a worker to earn a monthly income of $1400. (Hint: Find the intersection of the function and the line y=1400y=1400.)
An image of a graph. The y axis runs from 0 to 1800 and the x axis runs from 0 to 100. The graph is of the function “S(x) = 8.5x + 750”, which is a increasing straight line. The function has a y intercept at (0, 750) and the x intercept is not shown.

Answer:

a. S(x)=8.5x+750S(x)=8.5x+750 b. $962.50, $1090, $1217.50 c. 77 skateboards

58. [T] Use a graphing calculator to graph the half-circle y=25(x4)2y=\sqrt{25-(x-4)^2}. Then, use the INTERCEPT feature to find the value of both the xx- and yy-intercepts.

An image of a graph. The y axis runs from -6 to 6 and the x axis runs from -1 to 10. The graph is of the function that is a semi-circle (the top half of a circle). The function has the begins at the point (-1, 0), runs through the point (0, 3), has maximum at the point (4, 5), and ends at the point (9, 0). None of these points are labeled, they are just for reference.

Glossary

absolute value function
f(x)=x={x,x0x,x<0f(x) = |x| = \begin{cases} x, & x \ge 0 \\ -x, & x < 0 \end{cases}
composite function
given two functions ff and gg, a new function, denoted gfg\circ f, such that (gf)(x)=g(f(x))(g\circ f)(x)=g(f(x))
decreasing on the interval II
a function decreasing on the interval II if, for all x1,x2I,f(x1)f(x2)x_1, \, x_2\in I, \, f(x_1)\ge f(x_2) if x1<x2x_1<x_2
dependent variable
the output variable for a function
domain
the set of inputs for a function
even function
a function is even if f(x)=f(x)f(−x)=f(x) for all xx in the domain of ff
function
a set of inputs, a set of outputs, and a rule for mapping each input to exactly one output
graph of a function
the set of points (x,y)(x,y) such that xx is in the domain of ff and y=f(x)y=f(x)
increasing on the interval II
a function increasing on the interval II if for all x1,x2I,f(x1)f(x2)x_1, \, x_2\in I, \, f(x_1)\le f(x_2) if x1<x2x_1<x_2
independent variable
the input variable for a function
odd function
a function is odd if f(x)=f(x)f(−x)=−f(x) for all xx in the domain of ff
range
the set of outputs for a function
symmetry about the origin
the graph of a function ff is symmetric about the origin if (x,y)(−x,−y) is on the graph of ff whenever (x,y)(x,y) is on the graph
symmetry about the yy-axis
the graph of a function ff is symmetric about the yy-axis if (x,y)(−x,y) is on the graph of ff whenever (x,y)(x,y) is on the graph
table of values
a table containing a list of inputs and their corresponding outputs
vertical line test
given the graph of a function, every vertical line intersects the graph, at most, once
zeros of a function
when a real number xx is a zero of a function ff, f(x)=0f(x)=0

Licenses & Attributions