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 [latex]A[/latex] and [latex]B,[/latex] a set with elements that are ordered pairs [latex]\left(x,y\right),[/latex] where [latex]x[/latex] is an element of [latex]A[/latex] and [latex]y[/latex] is an element of [latex]B,[/latex] is a relation from [latex]A[/latex] to [latex]B.[/latex] A relation from [latex]A[/latex] to [latex]B[/latex] 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.
A function [latex]f[/latex] 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 [latex]f,[/latex] where the domain is the set of all real numbers and the rule is to square the input. Then, the input [latex]x=3[/latex] is assigned to the output [latex]{3}^{2}=9.[/latex] 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 [latex]f[/latex] with domain [latex]D,[/latex] we often use [latex]x[/latex] to denote the input and [latex]y[/latex] to denote the output associated with [latex]x.[/latex] When doing so, we refer to [latex]x[/latex] as the independent variable and [latex]y[/latex] as the dependent variable, because it depends on [latex]x.[/latex] Using function notation, we write [latex]y=f\left(x\right),[/latex] and we read this equation as [latex]\text{“}y[/latex] equals [latex]f[/latex] of [latex]x.\text{”}[/latex] For the squaring function described earlier, we write [latex]f\left(x\right)={x}^{2}.[/latex]
The concept of a function can be visualized using [link], [link], and [link].
Visit this applet link to see more about graphs of functions.
We can also visualize a function by plotting points [latex]\left(x,y\right)[/latex] in the coordinate plane where [latex]y=f\left(x\right).[/latex] The graph of a function is the set of all these points. For example, consider the function [latex]f,[/latex] where the domain is the set [latex]D=\left\{1,2,3\right\}[/latex] and the rule is [latex]f\left(x\right)=3-x.[/latex] In [link], we plot a graph of this function.
Every function has a domain. However, sometimes a function is described by an equation, as in [latex]f\left(x\right)={x}^{2},[/latex] with no specific domain given. In this case, the domain is taken to be the set of all real numbers [latex]x[/latex] for which [latex]f\left(x\right)[/latex] is a real number. For example, since any real number can be squared, if no other domain is specified, we consider the domain of [latex]f\left(x\right)={x}^{2}[/latex] to be the set of all real numbers. On the other hand, the square root function [latex]f\left(x\right)=\sqrt{x}[/latex] only gives a real output if [latex]x[/latex] is nonnegative. Therefore, the domain of the function [latex]f\left(x\right)=\sqrt{x}[/latex] is the set of nonnegative real numbers, sometimes called the natural domain.
For the functions [latex]f\left(x\right)={x}^{2}[/latex] and [latex]f\left(x\right)=\sqrt{x},[/latex] 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 [latex]ℝ,[/latex] we write
We read this as the set of real numbers [latex]x[/latex] such that [latex]x[/latex] 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
A set such as this, which contains all numbers greater than [latex]a[/latex] and less than [latex]b,[/latex] can also be denoted using the interval notation [latex]\left(a,b\right).[/latex] Therefore,
The numbers [latex]1[/latex] and [latex]5[/latex] 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
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
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 [latex]\infty ,[/latex] which refers to positive infinity, and we would write the set as
It is important to note that [latex]\infty [/latex] 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
Here, the notation [latex]\text{−}\infty [/latex] 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
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 [latex]f[/latex] with a domain that is the set of all real numbers such that [latex]f\left(x\right)=3x+1[/latex] for [latex]x\ge 2[/latex] and [latex]f\left(x\right)={x}^{2}[/latex] for [latex]x<2.[/latex] We denote this function by writing
When evaluating this function for an input [latex]x,[/latex] the equation to use depends on whether [latex]x\ge 2[/latex] or [latex]x<2.[/latex] For example, since [latex]5>2,[/latex] we use the fact that [latex]f\left(x\right)=3x+1[/latex] for [latex]x\ge 2[/latex] and see that [latex]f\left(5\right)=3\left(5\right)+1=16.[/latex] On the other hand, for [latex]x=-1,[/latex] we use the fact that [latex]f\left(x\right)={x}^{2}[/latex] for [latex]x<2[/latex] and see that [latex]f\left(-1\right)=1.[/latex]
For the function [latex]f\left(x\right)=3{x}^{2}+2x-1,[/latex] evaluate
- [latex]f\left(-2\right)[/latex]
- [latex]f\left(\sqrt{2}\right)[/latex]
- [latex]f\left(a+h\right)[/latex]
Substitute the given value for x in the formula for [latex]f\left(x\right).[/latex]
- [latex]f\left(-2\right)=3{\left(-2\right)}^{2}+2\left(-2\right)-1=12-4-1=7[/latex]
- [latex]f\left(\sqrt{2}\right)=3{\left(\sqrt{2}\right)}^{2}+2\sqrt{2}-1=6+2\sqrt{2}-1=5+2\sqrt{2}[/latex]
- [latex]\begin{array}{cc}\hfill f\left(a+h\right)=3{\left(a+h\right)}^{2}+2\left(a+h\right)-1& =3\left({a}^{2}+2ah+{h}^{2}\right)+2a+2h-1\hfill \\ & =3{a}^{2}+6ah+3{h}^{2}+2a+2h-1\hfill \end{array}[/latex]
For [latex]f\left(x\right)={x}^{2}-3x+5,[/latex] evaluate [latex]f\left(1\right)[/latex] and [latex]f\left(a+h\right).[/latex]
[latex]f\left(1\right)=3[/latex] and [latex]f\left(a+h\right)={a}^{2}+2ah+{h}^{2}-3a-3h+5[/latex]
For each of the following functions, determine the i. domain and ii. range.
- [latex]f\left(x\right)={\left(x-4\right)}^{2}+5[/latex]
- [latex]f\left(x\right)=\sqrt{3x+2}-1[/latex]
- [latex]f\left(x\right)=\frac{3}{x-2}[/latex]
- Consider [latex]f\left(x\right)={\left(x-4\right)}^{2}+5.[/latex]
- Since [latex]f\left(x\right)={\left(x-4\right)}^{2}+5[/latex] is a real number for any real number [latex]x,[/latex] the domain of [latex]f[/latex] is the interval [latex]\left(\text{−}\infty ,\infty \right).[/latex]
- Since [latex]{\left(x-4\right)}^{2}\ge 0,[/latex] we know [latex]f\left(x\right)={\left(x-4\right)}^{2}+5\ge 5.[/latex] Therefore, the range must be a subset of [latex]\left\{y|y\ge 5\right\}.[/latex] To show that every element in this set is in the range, we need to show that for a given [latex]y[/latex] in that set, there is a real number [latex]x[/latex] such that [latex]f\left(x\right)={\left(x-4\right)}^{2}+5=y.[/latex] Solving this equation for [latex]x,[/latex] we see that we need [latex]x[/latex] such that
[latex]{\left(x-4\right)}^{2}=y-5.[/latex]This equation is satisfied as long as there exists a real number [latex]x[/latex] such that[latex]x-4=±\sqrt{y-5}.[/latex]Since [latex]y\ge 5,[/latex] the square root is well-defined. We conclude that for [latex]x=4±\sqrt{y-5},f\left(x\right)=y,[/latex] and therefore the range is [latex]\left\{y|y\ge 5\right\}.[/latex]
- Consider [latex]f\left(x\right)=\sqrt{3x+2}-1.[/latex]
- To find the domain of [latex]f,[/latex] we need the expression [latex]3x+2\ge 0.[/latex] Solving this inequality, we conclude that the domain is [latex]\left\{x|x\ge -2\text{/}3\right\}.[/latex]
- To find the range of [latex]f,[/latex] we note that since [latex]\sqrt{3x+2}\ge 0,f\left(x\right)=\sqrt{3x+2}-1\ge -1.[/latex] Therefore, the range of [latex]f[/latex] must be a subset of the set [latex]\left\{y|y\ge -1\right\}.[/latex] To show that every element in this set is in the range of [latex]f,[/latex] we need to show that for all [latex]y[/latex] in this set, there exists a real number [latex]x[/latex] in the domain such that [latex]f\left(x\right)=y.[/latex] Let [latex]y\ge -1.[/latex] Then, [latex]f\left(x\right)=y[/latex] if and only if
[latex]\sqrt{3x+2}-1=y.[/latex]Solving this equation for [latex]x,[/latex] we see that [latex]x[/latex] must solve the equation[latex]\sqrt{3x+2}=y+1.[/latex]Since [latex]y\ge -1,[/latex] such an [latex]x[/latex] could exist. Squaring both sides of this equation, we have [latex]3x+2={\left(y+1\right)}^{2}.[/latex]Therefore, we need[latex]3x={\left(y+1\right)}^{2}-2,[/latex]which implies[latex]x=\frac{1}{3}{\left(y+1\right)}^{2}-\frac{2}{3}.[/latex]We just need to verify that [latex]x[/latex] is in the domain of [latex]f.[/latex] Since the domain of [latex]f[/latex] consists of all real numbers greater than or equal to [latex]-2\text{/}3,[/latex] and[latex]\frac{1}{3}{\left(y+1\right)}^{2}-\frac{2}{3}\ge -\frac{2}{3},[/latex]there does exist an [latex]x[/latex] in the domain of [latex]f.[/latex] We conclude that the range of [latex]f[/latex] is [latex]\left\{y|y\ge -1\right\}.[/latex]
- Consider [latex]f\left(x\right)=3\text{/}\left(x-2\right).[/latex]
- Since [latex]3\text{/}\left(x-2\right)[/latex] is defined when the denominator is nonzero, the domain is [latex]\left\{x|x\ne 2\right\}.[/latex]
- To find the range of [latex]f,[/latex] we need to find the values of [latex]y[/latex] such that there exists a real number [latex]x[/latex] in the domain with the property that
[latex]\frac{3}{x-2}=y.[/latex]Solving this equation for [latex]x,[/latex] we find that[latex]x=\frac{3}{y}+2.[/latex]Therefore, as long as [latex]y\ne 0,[/latex] there exists a real number [latex]x[/latex] in the domain such that [latex]f\left(x\right)=y.[/latex] Thus, the range is [latex]\left\{y|y\ne 0\right\}.[/latex]
Find the domain and range for [latex]f\left(x\right)=\sqrt{4-2x}+5.[/latex]
Domain = [latex]\left\{x|x\le 2\right\},[/latex] range = [latex]\left\{y|y\ge 5\right\}[/latex]
Use [latex]4-2x\ge 0\text{.}[/latex]
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 [latex]x[/latex] be the time after midnight, measured in hours, and the output variable [latex]y[/latex] be the temperature [latex]x[/latex] hours after midnight, measured in degrees Fahrenheit. We record our data in [link].
Hours after Midnight | Temperature [latex]\left(\text{°}F\right)[/latex] | Hours after Midnight | Temperature [latex]\left(\text{°}F\right)[/latex] |
---|---|---|---|
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 [latex]f[/latex] described by a table, we can provide a visual picture of the function in the form of a graph. Graphing the temperatures listed in [link] can give us a better idea of their fluctuation throughout the day. [link] shows the plot of the temperature function.
From the points plotted on the graph in [link], 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 [link].
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 [latex]r[/latex] is given by the formula [latex]A\left(r\right)=\pi {r}^{2}.[/latex] When an object is thrown upward from the ground with an initial velocity [latex]{v}_{0}[/latex] ft/s, its height above the ground from the time it is thrown until it hits the ground is given by the formula [latex]s\left(t\right)=-16{t}^{2}+{v}_{0}t.[/latex] When [latex]P[/latex] dollars are invested in an account at an annual interest rate [latex]r[/latex] compounded continuously, the amount of money after [latex]t[/latex] years is given by the formula [latex]A\left(t\right)=P{e}^{rt}.[/latex] 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 [latex]f,[/latex] the graph of [latex]f[/latex] is the set of points [latex]\left(x,f\left(x\right)\right),[/latex] where [latex]x[/latex] is in the domain of [latex]f[/latex] and [latex]f\left(x\right)[/latex] 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 [latex]f[/latex] 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 [latex]x[/latex] where [latex]f\left(x\right)=0[/latex] are called the zeros of a function. For example, the zeros of [latex]f\left(x\right)={x}^{2}-4[/latex] are [latex]x=±2.[/latex] The zeros determine where the graph of [latex]f[/latex] intersects the [latex]x[/latex]-axis, which gives us more information about the shape of the graph of the function. The graph of a function may never intersect the x-axis, or it may intersect multiple (or even infinitely many) times.
Another point of interest is the [latex]y[/latex]-intercept, if it exists. The [latex]y[/latex]-intercept is given by [latex]\left(0,f\left(0\right)\right).[/latex]
Since a function has exactly one output for each input, the graph of a function can have, at most, one [latex]y[/latex]-intercept. If [latex]x=0[/latex] is in the domain of a function [latex]f,[/latex] then [latex]f[/latex] has exactly one [latex]y[/latex]-intercept. If [latex]x=0[/latex] is not in the domain of [latex]f,[/latex] then [latex]f[/latex] has no [latex]y[/latex]-intercept. Similarly, for any real number [latex]c,[/latex] if [latex]c[/latex] is in the domain of [latex]f,[/latex] there is exactly one output [latex]f\left(c\right),[/latex] and the line [latex]x=c[/latex] intersects the graph of [latex]f[/latex] exactly once. On the other hand, if [latex]c[/latex] is not in the domain of [latex]f,f\left(c\right)[/latex] is not defined and the line [latex]x=c[/latex] does not intersect the graph of [latex]f.[/latex] This property is summarized in the vertical line test.
Given a function [latex]f,[/latex] every vertical line that may be drawn intersects the graph of [latex]f[/latex] 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 ([link]).
Consider the function [latex]f\left(x\right)=-4x+2.[/latex]
- Find all zeros of [latex]f.[/latex]
- Find the [latex]y[/latex]-intercept (if any).
- Sketch a graph of [latex]f.[/latex]
- To find the zeros, solve [latex]f\left(x\right)=-4x+2=0.[/latex] We discover that [latex]f[/latex] has one zero at [latex]x=1\text{/}2.[/latex]
- The [latex]y[/latex]-intercept is given by [latex]\left(0,f\left(0\right)\right)=\left(0,2\right).[/latex]
- Given that [latex]f[/latex] is a linear function of the form [latex]f\left(x\right)=mx+b[/latex] that passes through the points [latex]\left(1\text{/}2,0\right)[/latex] and [latex]\left(0,2\right),[/latex] we can sketch the graph of [latex]f[/latex] ([link]).
Consider the function [latex]f\left(x\right)=\sqrt{x+3}+1.[/latex]
- Find all zeros of [latex]f.[/latex]
- Find the [latex]y[/latex]-intercept (if any).
- Sketch a graph of [latex]f.[/latex]
- To find the zeros, solve [latex]\sqrt{x+3}+1=0.[/latex] This equation implies [latex]\sqrt{x+3}=-1.[/latex] Since [latex]\sqrt{x+3}\ge 0[/latex] for all [latex]x,[/latex] this equation has no solutions, and therefore [latex]f[/latex] has no zeros.
- The [latex]y[/latex]-intercept is given by [latex]\left(0,f\left(0\right)\right)=\left(0,\sqrt{3}+1\right).[/latex]
- To graph this function, we make a table of values. Since we need [latex]x+3\ge 0,[/latex] we need to choose values of [latex]x\ge -3.[/latex] We choose values that make the square-root function easy to evaluate.
[latex]\mathbit{\text{x}}[/latex] [latex]-3[/latex] [latex]-2[/latex] [latex]1[/latex] [latex]\mathbit{\text{f}}\mathbf{\left(}\mathbit{\text{x}}\mathbf{\right)}[/latex] [latex]1[/latex] [latex]2[/latex] [latex]3[/latex]
Making use of the table and knowing that, since the function is a square root, the graph of [latex]f[/latex] should be similar to the graph of [latex]y=\sqrt{x},[/latex] we sketch the graph ([link]).
Find the zeros of [latex]f\left(x\right)={x}^{3}-5{x}^{2}+6x.[/latex]
[latex]x=0,2,3[/latex]
Factor the polynomial.
If a ball is dropped from a height of [latex]100[/latex] ft, its height [latex]s[/latex] at time [latex]t[/latex] is given by the function [latex]s\left(t\right)=-16{t}^{2}+100,[/latex] where [latex]s[/latex] is measured in feet and [latex]t[/latex] is measured in seconds. The domain is restricted to the interval [latex]\left[0,c\right],[/latex] where [latex]t=0[/latex] is the time when the ball is dropped and [latex]t=c[/latex] is the time when the ball hits the ground.
- Create a table showing the height [latex]s\left(t\right)[/latex] when [latex]t=0,0.5,1,1.5,2,\text{and}\phantom{\rule{0.2em}{0ex}}2.5.[/latex] Using the data from the table, determine the domain for this function. That is, find the time [latex]c[/latex] when the ball hits the ground.
- Sketch a graph of [latex]s.[/latex]
Height [latex]s[/latex] as a Function of Time [latex]t[/latex] [latex]\mathbit{\text{t}}[/latex] [latex]0[/latex] [latex]0.5[/latex] [latex]1[/latex] [latex]1.5[/latex] [latex]2[/latex] [latex]2.5[/latex] [latex]\mathbit{\text{s}}\mathbf{\left(}\mathbit{\text{t}}\mathbf{\right)}[/latex] [latex]100[/latex] [latex]96[/latex] [latex]84[/latex] [latex]64[/latex] [latex]36[/latex] [latex]0[/latex] Since the ball hits the ground when [latex]t=2.5,[/latex] the domain of this function is the interval [latex]\left[0,2.5\right].[/latex]
Note that for this function and the function [latex]f\left(x\right)=-4x+2[/latex] graphed in [link], the values of [latex]f\left(x\right)[/latex] are getting smaller as [latex]x[/latex] is getting larger. A function with this property is said to be decreasing. On the other hand, for the function [latex]f\left(x\right)=\sqrt{x+3}+1[/latex] graphed in [link], the values of [latex]f\left(x\right)[/latex] are getting larger as the values of [latex]x[/latex] 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 [link], we can see that the function is decreasing on the interval [latex]\left(0,4\right),[/latex] increasing on the interval [latex]\left(4,14\right),[/latex] and then decreasing on the interval [latex]\left(14,23\right).[/latex] We make the idea of a function increasing or decreasing over a particular interval more precise in the next definition.
We say that a function [latex]f[/latex] is increasing on the interval [latex]I[/latex] if for all [latex]{x}_{1},{x}_{2}\in I,[/latex]
We say [latex]f[/latex] is strictly increasing on the interval [latex]I[/latex] if for all [latex]{x}_{1},{x}_{2}\in I,[/latex]
We say that a function [latex]f[/latex] is decreasing on the interval [latex]I[/latex] if for all [latex]{x}_{1},{x}_{2}\in I,[/latex]
We say that a function [latex]f[/latex] is strictly decreasing on the interval [latex]I[/latex] if for all [latex]{x}_{1},{x}_{2}\in I,[/latex]
For example, the function [latex]f\left(x\right)=3x[/latex] is increasing on the interval [latex]\left(\text{−}\infty ,\infty \right)[/latex] because [latex]3{x}_{1}<3{x}_{2}[/latex] whenever [latex]{x}_{1}<{x}_{2}.[/latex] On the other hand, the function [latex]f\left(x\right)=\text{−}{x}^{3}[/latex] is decreasing on the interval [latex]\left(\text{−}\infty ,\infty \right)[/latex] because [latex]\text{−}{x}_{1}^{3}>-{x}_{2}^{3}[/latex] whenever [latex]{x}_{1}<{x}_{2}[/latex] ([link]).
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 [latex]x[/latex] items is described by the function [latex]C\left(x\right)[/latex] and the revenue created by the sale of [latex]x[/latex] items is described by the function [latex]R\left(x\right),[/latex] then the profit on the manufacture and sale of [latex]x[/latex] items is defined as [latex]P\left(x\right)=R\left(x\right)-C\left(x\right).[/latex] 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 [latex]f\left(x\right)={x}^{2}[/latex] and [latex]g\left(x\right)=3x+1,[/latex] the composite function [latex]f\circ g[/latex] is defined such that
The composite function [latex]g\circ f[/latex] is defined such that
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 [latex]f[/latex] and [latex]g,[/latex] we can define four new functions:
Given the functions [latex]f\left(x\right)=2x-3[/latex] and [latex]g\left(x\right)={x}^{2}-1,[/latex] find each of the following functions and state its domain.
- [latex]\left(f+g\right)\left(x\right)[/latex]
- [latex]\left(f-g\right)\left(x\right)[/latex]
- [latex]\left(f·g\right)\left(x\right)[/latex]
- [latex]\left(\frac{f}{g}\right)\left(x\right)[/latex]
- [latex]\left(f+g\right)\left(x\right)=\left(2x-3\right)+\left({x}^{2}-1\right)={x}^{2}+2x-4.[/latex] The domain of this function is the interval [latex]\left(\text{−}\infty ,\infty \right).[/latex]
- [latex]\left(f-g\right)\left(x\right)=\left(2x-3\right)-\left({x}^{2}-1\right)=\text{−}{x}^{2}+2x-2.[/latex] The domain of this function is the interval [latex]\left(\text{−}\infty ,\infty \right).[/latex]
- [latex]\left(f·g\right)\left(x\right)=\left(2x-3\right)\left({x}^{2}-1\right)=2{x}^{3}-3{x}^{2}-2x+3.[/latex] The domain of this function is the interval [latex]\left(\text{−}\infty ,\infty \right).[/latex]
- [latex]\left(\frac{f}{g}\right)\left(x\right)=\frac{2x-3}{{x}^{2}-1}.[/latex] The domain of this function is [latex]\left\{x|x\ne \text{±}1\right\}.[/latex]
For [latex]f\left(x\right)={x}^{2}+3[/latex] and [latex]g\left(x\right)=2x-5,[/latex] find [latex]\left(f\text{/}g\right)\left(x\right)[/latex] and state its domain.
[latex]\left(\frac{f}{g}\right)\left(x\right)=\frac{{x}^{2}+3}{2x-5}.[/latex] The domain is [latex]\left\{x|x\ne \frac{5}{2}\right\}.[/latex]
The new function [latex]\left(f\text{/}g\right)\left(x\right)[/latex] is a quotient of two functions. For what values of [latex]x[/latex] is the denominator zero?
Function Composition
When we compose functions, we take a function of a function. For example, suppose the temperature [latex]T[/latex] on a given day is described as a function of time [latex]t[/latex] (measured in hours after midnight) as in [link]. Suppose the cost [latex]C,[/latex] to heat or cool a building for 1 hour, can be described as a function of the temperature [latex]T.[/latex] Combining these two functions, we can describe the cost of heating or cooling a building as a function of time by evaluating [latex]C\left(T\left(t\right)\right).[/latex] We have defined a new function, denoted [latex]C\circ T,[/latex] which is defined such that [latex]\left(C\circ T\right)\left(t\right)=C\left(T\left(t\right)\right)[/latex] for all [latex]t[/latex] in the domain of [latex]T.[/latex] 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 [latex]\left(C\circ T\right)\left(t\right).[/latex] It does not make sense to consider [latex]\left(T\circ C\right)\left(t\right),[/latex] because temperature is not a function of cost.
Consider the function [latex]f[/latex] with domain [latex]A[/latex] and range [latex]B,[/latex] and the function [latex]g[/latex] with domain [latex]D[/latex] and range [latex]E.[/latex] If [latex]B[/latex] is a subset of [latex]D,[/latex] then the composite function [latex]\left(g\circ f\right)\left(x\right)[/latex] is the function with domain [latex]A[/latex] such that
A composite function [latex]g\circ f[/latex] can be viewed in two steps. First, the function [latex]f[/latex] maps each input [latex]x[/latex] in the domain of [latex]f[/latex] to its output [latex]f\left(x\right)[/latex] in the range of [latex]f.[/latex] Second, since the range of [latex]f[/latex] is a subset of the domain of [latex]g,[/latex] the output [latex]f\left(x\right)[/latex] is an element in the domain of [latex]g,[/latex] and therefore it is mapped to an output [latex]g\left(f\left(x\right)\right)[/latex] in the range of [latex]g.[/latex] In [link], we see a visual image of a composite function.
Consider the functions [latex]f\left(x\right)={x}^{2}+1[/latex] and [latex]g\left(x\right)=1\text{/}x.[/latex]
- Find [latex]\left(g\circ f\right)\left(x\right)[/latex] and state its domain and range.
- Evaluate [latex]\left(g\circ f\right)\left(4\right),\left(g\circ f\right)\left(-1\text{/}2\right).[/latex]
- Find [latex]\left(f\circ g\right)\left(x\right)[/latex] and state its domain and range.
- Evaluate [latex]\left(f\circ g\right)\left(4\right),\left(f\circ g\right)\left(-1\text{/}2\right).[/latex]
- We can find the formula for [latex]\left(g\circ f\right)\left(x\right)[/latex] in two different ways. We could write
[latex]\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)=g\left({x}^{2}+1\right)=\frac{1}{{x}^{2}+1}.[/latex]Alternatively, we could write[latex]\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)=\frac{1}{f\left(x\right)}=\frac{1}{{x}^{2}+1}.[/latex]Since [latex]{x}^{2}+1\ne 0[/latex] for all real numbers [latex]x,[/latex] the domain of [latex]\left(g\circ f\right)\left(x\right)[/latex] is the set of all real numbers. Since [latex]0<1\text{/}\left({x}^{2}+1\right)\le 1,[/latex] the range is, at most, the interval [latex]\left(0,1\right].[/latex] To show that the range is this entire interval, we let [latex]y=1\text{/}\left({x}^{2}+1\right)[/latex] and solve this equation for [latex]x[/latex] to show that for all [latex]y[/latex] in the interval [latex]\left(0,1\right],[/latex] there exists a real number [latex]x[/latex] such that [latex]y=1\text{/}\left({x}^{2}+1\right).[/latex] Solving this equation for [latex]x,[/latex] we see that [latex]{x}^{2}+1=1\text{/}y,[/latex] which implies that[latex]x=±\sqrt{\frac{1}{y}-1}.[/latex]If [latex]y[/latex] is in the interval [latex]\left(0,1\right],[/latex] the expression under the radical is nonnegative, and therefore there exists a real number [latex]x[/latex] such that [latex]1\text{/}\left({x}^{2}+1\right)=y.[/latex] We conclude that the range of [latex]g\circ f[/latex] is the interval [latex]\left(0,1\right].[/latex]
- [latex]\left(g\circ f\right)\left(4\right)=g\left(f\left(4\right)\right)=g\left({4}^{2}+1\right)=g\left(17\right)=\frac{1}{17}[/latex][latex]\left(g\circ f\right)\left(-\frac{1}{2}\right)=g\left(f\left(-\frac{1}{2}\right)\right)=g\left({\left(-\frac{1}{2}\right)}^{2}+1\right)=g\left(\frac{5}{4}\right)=\frac{4}{5}[/latex]
- We can find a formula for [latex]\left(f\circ g\right)\left(x\right)[/latex] in two ways. First, we could write
[latex]\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)=f\left(\frac{1}{x}\right)={\left(\frac{1}{x}\right)}^{2}+1.[/latex]Alternatively, we could write[latex]\left(f\circ g\right)\left(x\right)=f\left(g\left(x\right)\right)={\left(g\left(x\right)\right)}^{2}+1={\left(\frac{1}{x}\right)}^{2}+1.[/latex]The domain of [latex]f\circ g[/latex] is the set of all real numbers [latex]x[/latex] such that [latex]x\ne 0.[/latex] To find the range of [latex]f,[/latex] we need to find all values [latex]y[/latex] for which there exists a real number [latex]x\ne 0[/latex] such that[latex]{\left(\frac{1}{x}\right)}^{2}+1=y.[/latex]Solving this equation for [latex]x,[/latex] we see that we need [latex]x[/latex] to satisfy[latex]{\left(\frac{1}{x}\right)}^{2}=y-1,[/latex]which simplifies to[latex]\frac{1}{x}=±\sqrt{y-1}.[/latex]Finally, we obtain[latex]x=±\frac{1}{\sqrt{y-1}}.[/latex]Since [latex]1\text{/}\sqrt{y-1}[/latex] is a real number if and only if [latex]y>1,[/latex] the range of [latex]f[/latex] is the set [latex]\left\{y|y\ge 1\right\}.[/latex]
- [latex]\left(f\circ g\right)\left(4\right)=f\left(g\left(4\right)\right)=f\left(\frac{1}{4}\right)={\left(\frac{1}{4}\right)}^{2}+1=\frac{17}{16}[/latex][latex]\left(f\circ g\right)\left(-\frac{1}{2}\right)=f\left(g\left(-\frac{1}{2}\right)\right)=f\left(-2\right)={\left(-2\right)}^{2}+1=5[/latex]
In [link], we can see that [latex]\left(f\circ g\right)\left(x\right)\ne \left(g\circ f\right)\left(x\right).[/latex] This tells us, in general terms, that the order in which we compose functions matters.
Let [latex]f\left(x\right)=2-5x.[/latex] Let [latex]g\left(x\right)=\sqrt{x}.[/latex] Find [latex]\left(f\circ g\right)\left(x\right).[/latex]
[latex]\left(f\circ g\right)\left(x\right)=2-5\sqrt{x}.[/latex]
Consider the functions [latex]f[/latex] and [latex]g[/latex] described by [link] and [link].
[latex]\mathbit{\text{x}}[/latex] | [latex]-3[/latex] | [latex]-2[/latex] | [latex]-1[/latex] | 0 | 1 | 2 | 3 | 4 |
[latex]\mathbit{\text{f}}\mathbf{\left(}\mathbit{\text{x}}\mathbf{\right)}[/latex] | 0 | 4 | 2 | 4 | [latex]-2[/latex] | 0 | [latex]-2[/latex] | 4 |
[latex]\mathbit{\text{x}}[/latex] | [latex]-4[/latex] | [latex]-2[/latex] | 0 | 2 | 4 |
[latex]\mathbit{\text{g}}\mathbf{\left(}\mathbit{\text{x}}\mathbf{\right)}[/latex] | 1 | 0 | 3 | 0 | 5 |
- Evaluate [latex]\left(g\circ f\right)\left(3\right),\left(g\circ f\right)\left(0\right).[/latex]
- State the domain and range of [latex]\left(g\circ f\right)\left(x\right).[/latex]
- Evaluate [latex]\left(f\circ f\right)\left(3\right),\left(f\circ f\right)\left(1\right).[/latex]
- State the domain and range of [latex]\left(f\circ f\right)\left(x\right).[/latex]
- [latex]\left(g\circ f\right)\left(3\right)=g\left(f\left(3\right)\right)=g\left(-2\right)=0[/latex][latex]\phantom{\rule{0.2em}{0ex}}\text{}\left(g\circ f\right)\left(0\right)=g\left(4\right)=5[/latex]
- The domain of [latex]g\circ f[/latex] is the set [latex]\left\{-3,-2,-1,0,1,2,3,4\right\}.[/latex] Since the range of [latex]f[/latex] is the set [latex]\left\{-2,0,2,4\right\},[/latex] the range of [latex]g\circ f[/latex] is the set [latex]\left\{0,3,5\right\}.[/latex]
- [latex]\left(f\circ f\right)\left(3\right)=f\left(f\left(3\right)\right)=f\left(-2\right)=4[/latex][latex]\left(f\circ f\right)\left(1\right)=f\left(f\left(1\right)\right)=f\left(-2\right)=4[/latex]
- The domain of [latex]f\circ f[/latex] is the set [latex]\left\{-3,-2,-1,0,1,2,3,4\right\}.[/latex] Since the range of [latex]f[/latex] is the set [latex]\left\{-2,0,2,4\right\},[/latex] the range of [latex]f\circ f[/latex] is the set [latex]\left\{0,4\right\}.[/latex]
A store is advertising a sale of [latex]20%[/latex] off all merchandise. Caroline has a coupon that entitles her to an additional [latex]15%[/latex] off any item, including sale merchandise. If Caroline decides to purchase an item with an original price of [latex]x[/latex] 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.
Since the sale price is [latex]20%[/latex] off the original price, if an item is [latex]x[/latex] dollars, its sale price is given by [latex]f\left(x\right)=0.80x.[/latex] Since the coupon entitles an individual to [latex]15%[/latex] off the price of any item, if an item is [latex]y[/latex] dollars, the price, after applying the coupon, is given by [latex]g\left(y\right)=0.85y.[/latex] Therefore, if the price is originally [latex]x[/latex] dollars, its sale price will be [latex]f\left(x\right)=0.80x[/latex] and then its final price after the coupon will be [latex]g\left(f\left(x\right)\right)=0.85\left(0.80x\right)=0.68x.[/latex]
If items are on sale for [latex]10%[/latex] off their original price, and a customer has a coupon for an additional [latex]30%[/latex] off, what will be the final price for an item that is originally [latex]x[/latex] dollars, after applying the coupon to the sale price?
[latex]\left(g\circ f\right)\left(x\right)=0.63x[/latex]
The sale price of an item with an original price of [latex]x[/latex] dollars is [latex]f\left(x\right)=0.90x.[/latex] The coupon price for an item that is [latex]y[/latex] dollars is [latex]g\left(y\right)=0.70y\text{.}[/latex]
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 [latex]f\left(x\right)={x}^{4}-2{x}^{2}-3[/latex] shown in [link](a). If we take the part of the curve that lies to the right of the y-axis and flip it over the y-axis, it lays exactly on top of the curve to the left of the y-axis. In this case, we say the function has symmetry about the y-axis. On the other hand, consider the function [latex]f\left(x\right)={x}^{3}-4x[/latex] shown in [link](b). If we take the graph and rotate it [latex]180\text{°}[/latex] about the origin, the new graph will look exactly the same. In this case, we say the function has symmetry 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 [latex]f[/latex] has symmetry? Looking at [link] again, we see that since [latex]f[/latex] is symmetric about the [latex]y[/latex]-axis, if the point [latex]\left(x,y\right)[/latex] is on the graph, the point [latex]\left(\text{−}x,y\right)[/latex] is on the graph. In other words, [latex]f\left(\text{−}x\right)=f\left(x\right).[/latex] If a function [latex]f[/latex] has this property, we say [latex]f[/latex] is an even function, which has symmetry about the y-axis. For example, [latex]f\left(x\right)={x}^{2}[/latex] is even because
In contrast, looking at [link] again, if a function [latex]f[/latex] is symmetric about the origin, then whenever the point [latex]\left(x,y\right)[/latex] is on the graph, the point [latex]\left(\text{−}x,\text{−}y\right)[/latex] is also on the graph. In other words, [latex]f\left(\text{−}x\right)=\text{−}f\left(x\right).[/latex] If [latex]f[/latex] has this property, we say [latex]f[/latex] is an odd function, which has symmetry about the origin. For example, [latex]f\left(x\right)={x}^{3}[/latex] is odd because
If [latex]f\left(x\right)=f\left(\text{−}x\right)[/latex] for all [latex]x[/latex] in the domain of [latex]f,[/latex] then [latex]f[/latex] is an even function. An even function is symmetric about the y-axis.
If [latex]f\left(\text{−}x\right)=\text{−}f\left(x\right)[/latex] for all [latex]x[/latex] in the domain of [latex]f,[/latex] then [latex]f[/latex] is an odd function. An odd function is symmetric about the origin.
Determine whether each of the following functions is even, odd, or neither.
- [latex]f\left(x\right)=-5{x}^{4}+7{x}^{2}-2[/latex]
- [latex]f\left(x\right)=2{x}^{5}-4x+5[/latex]
- [latex]f\left(x\right)=\frac{3x}{{x}^{2}+1}[/latex]
To determine whether a function is even or odd, we evaluate [latex]f\left(\text{−}x\right)[/latex] and compare it to f(x) and [latex]\text{−}f\left(x\right).[/latex]
- [latex]f\left(\text{−}x\right)=-5{\left(\text{−}x\right)}^{4}+7{\left(\text{−}x\right)}^{2}-2=-5{x}^{4}+7{x}^{2}-2=f\left(x\right).[/latex] Therefore, [latex]f[/latex] is even.
- [latex]f\left(\text{−}x\right)=2{\left(\text{−}x\right)}^{5}-4\left(\text{−}x\right)+5=-2{x}^{5}+4x+5.[/latex] Now, [latex]f\left(\text{−}x\right)\ne f\left(x\right).[/latex] Furthermore, noting that [latex]\text{−}f\left(x\right)=-2{x}^{5}+4x-5,[/latex] we see that [latex]f\left(\text{−}x\right)\ne \text{−}f\left(x\right).[/latex] Therefore, [latex]f[/latex] is neither even nor odd.
- [latex]f\left(\text{−}x\right)=3\left(\text{−}x\right)\text{/}\left({\left(\text{−}x\right)}^{2}+1\right\}=-3x\text{/}\left({x}^{2}+1\right)=\text{−}\left[3x\text{/}\left({x}^{2}+1\right)\right]=\text{−}f\left(x\right).[/latex] Therefore, [latex]f[/latex] is odd.
Determine whether [latex]f\left(x\right)=4{x}^{3}-5x[/latex] is even, odd, or neither.
[latex]f\left(x\right)[/latex] is odd.
Compare [latex]f\left(\text{−}x\right)[/latex] with [latex]f\left(x\right)[/latex] and [latex]\text{−}f\left(x\right)\text{.}[/latex]
One symmetric function that arises frequently is the absolute value function, written as [latex]|x|.[/latex] The absolute value function is defined as
Some students describe this function by stating that it “makes everything positive.” By the definition of the absolute value function, we see that if [latex]x<0,[/latex] then [latex]|x|=\text{−}x>0,[/latex] and if [latex]x>0,[/latex] then [latex]|x|=x>0.[/latex] However, for [latex]x=0,|x|=0.[/latex] Therefore, it is more accurate to say that for all nonzero inputs, the output is positive, but if [latex]x=0,[/latex] the output [latex]|x|=0.[/latex] We conclude that the range of the absolute value function is [latex]\left\{y|y\ge 0\right\}.[/latex] In [link], we see that the absolute value function is symmetric about the y-axis and is therefore an even function.
Find the domain and range of the function [latex]f\left(x\right)=2|x-3|+4.[/latex]
Since the absolute value function is defined for all real numbers, the domain of this function is [latex]\left(\text{−}\infty ,\infty \right).[/latex] Since [latex]|x-3|\ge 0[/latex] for all [latex]x,[/latex] the function [latex]f\left(x\right)=2|x-3|+4\ge 4.[/latex] Therefore, the range is, at most, the set [latex]\left\{y|y\ge 4\right\}.[/latex] To see that the range is, in fact, this whole set, we need to show that for [latex]y\ge 4[/latex] there exists a real number [latex]x[/latex] such that
A real number [latex]x[/latex] satisfies this equation as long as
Since [latex]y\ge 4,[/latex] we know [latex]y-4\ge 0,[/latex] and thus the right-hand side of the equation is nonnegative, so it is possible that there is a solution. Furthermore,
Therefore, we see there are two solutions:
The range of this function is [latex]\left\{y|y\ge 4\right\}.[/latex]
For the function [latex]f\left(x\right)=|x+2|-4,[/latex] find the domain and range.
Domain = [latex]\left(\text{−}\infty ,\infty \right),[/latex] range = [latex]\left\{y|y\ge -4\right\}.[/latex]
[latex]|x+2|\ge 0[/latex] for all real numbers [latex]x\text{.}[/latex]
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 [latex]y=f\left(x\right),[/latex] the domain is considered to be the set of all real numbers [latex]x[/latex] for which the function is defined.
- When sketching the graph of a function [latex]f,[/latex] each vertical line may intersect the graph, at most, once.
- A function may have any number of zeros, but it has, at most, one y-intercept.
- To define the composition [latex]g\circ f,[/latex] the range of [latex]f[/latex] must be contained in the domain of [latex]g.[/latex]
- Even functions are symmetric about the [latex]y[/latex]-axis whereas odd functions are symmetric about the origin.
Key Equations
- Composition of two functions[latex]\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)[/latex]
- Absolute value function[latex]f\left(x\right)=\left\{\begin{array}{c}\text{−}x,x<0\\ x,x\ge 0\end{array}[/latex]
For the following exercises, (a) determine the domain and the range of each relation, and (b) state whether the relation is a function.
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | 9 | 1 | 1 |
−2 | 4 | 2 | 4 |
−1 | 1 | 3 | 9 |
0 | 0 |
a. Domain = [latex]\left\{-3,-2,-1,0,1,2,3\right\},[/latex] range = [latex]\left\{0,1,4,9\right\}[/latex] b. Yes, a function
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | −2 | 1 | 1 |
−2 | −8 | 2 | 8 |
−1 | −1 | 3 | −2 |
0 | 0 |
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
1 | −3 | 1 | 1 |
2 | −2 | 2 | 2 |
3 | −1 | 3 | 3 |
0 | 0 |
a. Domain = [latex]\left\{0,1,2,3\right\},[/latex] range = [latex]\left\{-3,-2,-1,0,1,2,3\right\}[/latex] b. No, not a function
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
1 | 1 | 5 | 1 |
2 | 1 | 6 | 1 |
3 | 1 | 7 | 1 |
4 | 1 |
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
3 | 3 | 15 | 1 |
5 | 2 | 21 | 2 |
8 | 1 | 33 | 3 |
10 | 0 |
a. Domain = [latex]\left\{3,5,8,10,15,21,33\right\},[/latex] range = [latex]\left\{0,1,2,3\right\}[/latex] b. Yes, a function
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−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. [latex]f\left(0\right)[/latex] b. [latex]f\left(1\right)[/latex] c. [latex]f\left(3\right)[/latex] d. [latex]f\left(\text{−}x\right)[/latex] e. [latex]f\left(a\right)[/latex] f. [latex]f\left(a+h\right)[/latex]
[latex]f\left(x\right)=5x-2[/latex]
a. [latex]-2[/latex] b. 3 c. 13 d. [latex]-5x-2[/latex] e. [latex]5a-2[/latex] f. [latex]5a+5h-2[/latex]
[latex]f\left(x\right)=4{x}^{2}-3x+1[/latex]
[latex]f\left(x\right)=\frac{2}{x}[/latex]
a. Undefined b. 2 c. [latex]\frac{2}{3}[/latex] d. [latex]-\frac{2}{x}[/latex] e [latex]\frac{2}{a}[/latex] f. [latex]\frac{2}{a+h}[/latex]
[latex]f\left(x\right)=|x-7|+8[/latex]
[latex]f\left(x\right)=\sqrt{6x+5}[/latex]
a. [latex]\sqrt{5}[/latex] b. [latex]\sqrt{11}[/latex] c. [latex]\sqrt{23}[/latex] d. [latex]\sqrt{-6x+5}[/latex] e. [latex]\sqrt{6a+5}[/latex] f. [latex]\sqrt{6a+6h+5}[/latex]
[latex]f\left(x\right)=\frac{x-2}{3x+7}[/latex]
[latex]f\left(x\right)=9[/latex]
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.
[latex]f\left(x\right)=\frac{x}{{x}^{2}-16}[/latex]
[latex]g\left(x\right)=\sqrt{8x-1}[/latex]
[latex]x\ge \frac{1}{8};y\ge 0;x=\frac{1}{8};[/latex] no y-intercept
[latex]h\left(x\right)=\frac{3}{{x}^{2}+4}[/latex]
[latex]f\left(x\right)=-1+\sqrt{x+2}[/latex]
[latex]x\ge -2;y\ge -1;x=-1;y=-1+\sqrt{2}[/latex]
[latex]f\left(x\right)=\frac{1}{\sqrt{x-9}}[/latex]
[latex]g\left(x\right)=\frac{3}{x-4}[/latex]
[latex]x\ne 4;y\ne 0;[/latex] no x-intercept; [latex]y=-\frac{3}{4}[/latex]
[latex]f\left(x\right)=4|x+5|[/latex]
[latex]g\left(x\right)=\sqrt{\frac{7}{x-5}}[/latex]
[latex]x>5;y>0;[/latex] no intercepts
For the following exercises, set up a table to sketch the graph of each function using the following values: [latex]x=-3,-2,-1,0,1,2,3.[/latex]
[latex]f\left(x\right)={x}^{2}+1[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | 10 | 1 | 2 |
−2 | 5 | 2 | 5 |
−1 | 2 | 3 | 10 |
0 | 1 |
[latex]f\left(x\right)=3x-6[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | −15 | 1 | −3 |
−2 | −12 | 2 | 0 |
−1 | −9 | 3 | 3 |
0 | −6 |
[latex]f\left(x\right)=\frac{1}{2}x+1[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | [latex]-\frac{1}{2}[/latex] | 1 | [latex]\frac{3}{2}[/latex] |
−2 | 0 | 2 | 2 |
−1 | [latex]\frac{1}{2}[/latex] | 3 | [latex]\frac{5}{2}[/latex] |
0 | 1 |
[latex]f\left(x\right)=2|x|[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | 6 | 1 | 2 |
−2 | 4 | 2 | 4 |
−1 | 2 | 3 | 6 |
0 | 0 |
[latex]f\left(x\right)=\text{−}{x}^{2}[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | −9 | 1 | −1 |
−2 | −4 | 2 | −4 |
−1 | −1 | 3 | −9 |
0 | 0 |
[latex]f\left(x\right)={x}^{3}[/latex]
[latex]x[/latex] | [latex]y[/latex] | [latex]x[/latex] | [latex]y[/latex] |
---|---|---|---|
−3 | −27 | 1 | 1 |
−2 | −8 | 2 | 8 |
−1 | −1 | 3 | 27 |
0 | 0 |
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:
- Domain and range
- [latex]x[/latex]-intercept, if any (estimate where necessary)
- [latex]y[/latex]-Intercept, if any (estimate where necessary)
- The intervals for which the function is increasing
- The intervals for which the function is decreasing
- The intervals for which the function is constant
- Symmetry about any axis and/or the origin
- Whether the function is even, odd, or neither
Function; a. Domain: all real numbers, range: [latex]y\ge 0[/latex] b. [latex]x=±1[/latex] c. [latex]y=1[/latex] d. [latex]-1<x<0[/latex] and [latex]1<x<\infty [/latex] e. [latex]\text{−}\infty <x<-1[/latex] and [latex]0<x<1[/latex] f. Not constant g. y-axis h. Even
Function; a. Domain: all real numbers, range: [latex]-1.5\le y\le 1.5[/latex] b. [latex]x=0[/latex] c. [latex]y=0[/latex] d. [latex]\text{all real numbers}[/latex] e. None f. Not constant g. Origin h. Odd
Function; a. Domain: [latex]\text{−}\infty <x<\infty ,[/latex] range: [latex]-2\le y\le 2[/latex] b. [latex]x=0[/latex] c. [latex]y=0[/latex] d. [latex]-2<x<2[/latex] e. Not decreasing f. [latex]\text{−}\infty <x<-2[/latex] and [latex]2<x<\infty [/latex] g. Origin h. Odd
Function; a. Domain: [latex]-4\le x\le 4,[/latex] range: [latex]-4\le y\le 4[/latex] b. [latex]x=1.2[/latex] c. [latex]y=4[/latex] d. Not increasing e. [latex]0<x<4[/latex] f. [latex]-4<x<0[/latex] g. No Symmetry h. Neither
For the following exercises, for each pair of functions, find a. [latex]f+g[/latex] b. [latex]f-g[/latex] c. [latex]f·g[/latex] d. [latex]f\text{/}g.[/latex] Determine the domain of each of these new functions.
[latex]f\left(x\right)=3x+4,g\left(x\right)=x-2[/latex]
[latex]f\left(x\right)=x-8,g\left(x\right)=5{x}^{2}[/latex]
a. [latex]5{x}^{2}+x-8;[/latex] all real numbers b. [latex]-5{x}^{2}+x-8;[/latex] all real numbers c. [latex]5{x}^{3}-40{x}^{2};[/latex] all real numbers d. [latex]\frac{x-8}{5{x}^{2}};\phantom{\rule{0.2em}{0ex}}x\ne 0[/latex]
[latex]f\left(x\right)=3{x}^{2}+4x+1,g\left(x\right)=x+1[/latex]
[latex]f\left(x\right)=9-{x}^{2},g\left(x\right)={x}^{2}-2x-3[/latex]
a. [latex]-2x+6;[/latex] all real numbers b. [latex]-2{x}^{2}+2x+12;[/latex] all real numbers c. [latex]\text{−}{x}^{4}+2{x}^{3}+12{x}^{2}-18x-27;[/latex] all real numbers d. [latex]-\frac{x+3}{x+1};\phantom{\rule{0.2em}{0ex}}x\ne \text{−}1,3[/latex]
[latex]f\left(x\right)=\sqrt{x},g\left(x\right)=x-2[/latex]
[latex]f\left(x\right)=6+\frac{1}{x},g\left(x\right)=\frac{1}{x}[/latex]
a. [latex]6+\frac{2}{x};\phantom{\rule{0.2em}{0ex}}x\ne 0[/latex] b. 6; [latex]x\ne 0[/latex] c. [latex]\frac{6}{x}+\frac{1}{{x}^{2}};\phantom{\rule{0.2em}{0ex}}x\ne 0[/latex] d. [latex]6x+1;\phantom{\rule{0.2em}{0ex}}x\ne 0[/latex]
For the following exercises, for each pair of functions, find a. [latex]\left(f\circ g\right)\left(x\right)[/latex] and b. [latex]\left(g\circ f\right)\left(x\right)[/latex] Simplify the results. Find the domain of each of the results.
[latex]f\left(x\right)=3x,g\left(x\right)=x+5[/latex]
[latex]f\left(x\right)=x+4,g\left(x\right)=4x-1[/latex]
a. [latex]4x+3;[/latex] all real numbers b. [latex]4x+15;[/latex] all real numbers
[latex]f\left(x\right)=2x+4,g\left(x\right)={x}^{2}-2[/latex]
[latex]f\left(x\right)={x}^{2}+7,g\left(x\right)={x}^{2}-3[/latex]
a. [latex]{x}^{4}-6{x}^{2}+16;[/latex] all real numbers b. [latex]{x}^{4}+14{x}^{2}+46;[/latex] all real numbers
[latex]f\left(x\right)=\sqrt{x},g\left(x\right)=x+9[/latex]
[latex]f\left(x\right)=\frac{3}{2x+1},g\left(x\right)=\frac{2}{x}[/latex]
a. [latex]\frac{3x}{4+x};x\ne 0,-4[/latex] b. [latex]\frac{4x+2}{3};\phantom{\rule{0.2em}{0ex}}x\ne -\frac{1}{2}[/latex]
[latex]f\left(x\right)=|x+1|,g\left(x\right)={x}^{2}+x-4[/latex]
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 |
- 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.
- 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.
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.
[T] The area [latex]A[/latex] of a square depends on the length of the side [latex]s.[/latex]
- Write a function [latex]A\left(s\right)[/latex] for the area of a square.
- Find and interpret [latex]A\left(6.5\right).[/latex]
- Find the exact and the two-significant-digit approximation to the length of the sides of a square with area 56 square units.
[T] The volume of a cube depends on the length of the sides [latex]s.[/latex]
- Write a function [latex]V\left(s\right)[/latex] for the area of a square.
- Find and interpret [latex]V\left(11.8\right).[/latex]
a. [latex]V\left(s\right)={s}^{3}[/latex] b. [latex]V\left(11.8\right)\approx 1643;[/latex] a cube of side length 11.8 each has a volume of approximately 1643 cubic units.
[T] A rental car company rents cars for a flat fee of 💲20 and an hourly charge of 💲10.25. Therefore, the total cost [latex]C[/latex] to rent a car is a function of the hours [latex]t[/latex] the car is rented plus the flat fee.
- Write the formula for the function that models this situation.
- Find the total cost to rent a car for 2 days and 7 hours.
- Determine how long the car was rented if the bill is 💲432.73.
[T] A vehicle has a 20-gal tank and gets 15 mpg. The number of miles N that can be driven depends on the amount of gas x in the tank.
- Write a formula that models this situation.
- 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.
- Determine the domain and range of the function.
- Determine how many times the driver had to stop for gas if she has driven a total of 578 mi.
a. [latex]N\left(x\right)=15x[/latex] b. i. [latex]N\left(20\right)=15\left(20\right)=300;[/latex] therefore, the vehicle can travel 300 mi on a full tank of gas. Ii. [latex]N\left(15\right)=225;[/latex] therefore, the vehicle can travel 225 mi on 3/4 of a tank of gas. c. Domain: [latex]0\le x\le 20;[/latex] range: [latex]\left[0,300\right][/latex] 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.
[T] The volume V of a sphere depends on the length of its radius as [latex]V=\left(4\text{/}3\right)\pi {r}^{3}.[/latex] 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 [latex]6.371\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{6}[/latex] m.
[T] A certain bacterium grows in culture in a circular region. The radius of the circle, measured in centimeters, is given by [latex]r\left(t\right)=6-\left[5\text{/}\left({t}^{2}+1\right)\right],[/latex] where t is time measured in hours since a circle of a 1-cm radius of the bacterium was put into the culture.
- Express the area of the bacteria as a function of time.
- Find the exact and approximate area of the bacterial culture in 3 hours.
- Express the circumference of the bacteria as a function of time.
- Find the exact and approximate circumference of the bacteria in 3 hours.
a. [latex]A\left(t\right)=A\left(r\left(t\right)\right)=\pi ·{\left(6-\frac{5}{{t}^{2}+1}\right)}^{2}[/latex] b. Exact: [latex]\frac{121\pi }{4};[/latex] approximately 95 cm2 c. [latex]C\left(t\right)=C\left(r\left(t\right)\right)=2\pi \left(6-\frac{5}{{t}^{2}+1}\right)[/latex] d. Exact: [latex]11\pi ;[/latex] approximately 35 cm
[T] An American tourist visits Paris and must convert U.S. dollars to Euros, which can be done using the function [latex]E\left(x\right)=0.79x,[/latex] where x is the number of U.S. dollars and [latex]E\left(x\right)[/latex] 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 [latex]D\left(x\right)=1.245x,[/latex] where x is the number of Euros and [latex]D\left(x\right)[/latex] is the equivalent number of U.S. dollars.
- 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?
- 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.
[T] The manager at a skateboard shop pays his workers a monthly salary S of 💲750 plus a commission of 💲8.50 for each skateboard they sell.
- Write a function [latex]y=S\left(x\right)[/latex] that models a worker’s monthly salary based on the number of skateboards x he or she sells.
- Find the approximate monthly salary when a worker sells 25, 40, or 55 skateboards.
- 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 [latex]y=1400\text{.)}[/latex]
a. [latex]S\left(x\right)=8.5x+750[/latex] b. 💲962.50, 💲1090, 💲1217.50 c. 77 skateboards
[T] Use a graphing calculator to graph the half-circle [latex]y=\sqrt{25-{\left(x-4\right)}^{2}}.[/latex] Then, use the INTERCEPT feature to find the value of both the [latex]x[/latex]- and [latex]y[/latex]-intercepts.
Glossary
- absolute value function
- [latex]f\left(x\right)=\left\{\begin{array}{c}\text{−}x,x<0\\ x,x\ge 0\end{array}[/latex]
- composite function
- given two functions [latex]f[/latex] and [latex]g,[/latex] a new function, denoted [latex]g\circ f,[/latex] such that [latex]\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)[/latex]
- decreasing on the interval [latex]I[/latex]
- a function decreasing on the interval [latex]I[/latex] if, for all [latex]{x}_{1},{x}_{2}\in I,f\left({x}_{1}\right)\ge f\left({x}_{2}\right)[/latex] if [latex]{x}_{1}<{x}_{2}[/latex]
- dependent variable
- the output variable for a function
- domain
- the set of inputs for a function
- even function
- a function is even if [latex]f\left(\text{−}x\right)=f\left(x\right)[/latex] for all [latex]x[/latex] in the domain of [latex]f[/latex]
- 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 [latex]\left(x,y\right)[/latex] such that [latex]x[/latex] is in the domain of [latex]f[/latex] and [latex]y=f\left(x\right)[/latex]
- increasing on the interval [latex]I[/latex]
- a function increasing on the interval [latex]I[/latex] if for all [latex]{x}_{1},{x}_{2}\in I,f\left({x}_{1}\right)\le f\left({x}_{2}\right)[/latex] if [latex]{x}_{1}<{x}_{2}[/latex]
- independent variable
- the input variable for a function
- odd function
- a function is odd if [latex]f\left(\text{−}x\right)=\text{−}f\left(x\right)[/latex] for all [latex]x[/latex] in the domain of [latex]f[/latex]
- range
- the set of outputs for a function
- symmetry about the origin
- the graph of a function [latex]f[/latex] is symmetric about the origin if [latex]\left(\text{−}x,\text{−}y\right)[/latex] is on the graph of [latex]f[/latex] whenever [latex]\left(x,y\right)[/latex] is on the graph
- symmetry about the y-axis
- the graph of a function [latex]f[/latex] is symmetric about the [latex]y[/latex]-axis if [latex]\left(\text{−}x,y\right)[/latex] is on the graph of [latex]f[/latex] whenever [latex]\left(x,y\right)[/latex] 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 [latex]x[/latex] is a zero of a function [latex]f,f\left(x\right)=0[/latex]
Substitute [latex]1[/latex] and [latex]a+h[/latex] for [latex]x[/latex] in the formula for [latex]f\left(x\right)\text{.}[/latex]