In this section, we study the graphs of some important basic functions. Many functions fall into families or classes of similar functions, and recognizing the appropriate family for a given situation is an important part of modeling.
The absolute value is used to discuss problems involving distance. For example, consider the number line shown below. Starting at the origin, we travel in opposite directions to reach the two numbers \(6\) and \(-6\text{,}\) but the distance we travel in each case is the same.
The distance from a number \(c\) to the origin is called the absolute value of \(c\text{,}\) denoted by \(\abs{c}\text{.}\) Because distance is never negative, the absolute value of a number is always positive (or zero). Thus, \(\abs{6}= 6\) and \(\abs{-6} = 6\text{.}\) In general, we define the absolute value of a number \(x\) as follows.
This definition says that the absolute value of a positive number (or zero) is the same as the number. To find the absolute value of a negative number, we take the opposite of the number, which results in a positive number. For instance,
Absolute value bars act like grouping devices in the order of operations: You should complete any operations that appear inside absolute value bars before you compute the absolute value.
The contractor for a new hotel is estimating the cost of the marble tile for a circular lobby. The cost is a function of the square of the diameter of the lobby.
The manager of an appliance store must decide how many coffee-makers to order every quarter. The optimal order size is a function of the square root of the annual demand for coffeemakers.
Investors are deciding whether to support a windmill farm. The wind speed needed to generate a given amount of power is a function of the cube root of the power.
We will consider each of these functions and their applications in more detail in later sections. For now, you should become familiar with the properties of each graph and be able to sketch them easily from memory.
Complete the table of values for the squaring function, \(f(x) = x^2\text{,}\) and the cubing function, \(g(x) = x^3\text{.}\) Then sketch each function on graph paper, using the table values to help you scale the axes.
Complete the tables for the square root function, \(f(x) = \sqrt{x}\text{,}\) and the cube root function, \(g(x) = \sqrt[3]{x} \text{.}\) (Round your answers to two decimal places.) Then sketch each function on graph paper, using the table values to help you scale the axes.
What happens to \(f (x)\) as \(x\) decreases through larger and larger negative values (that is, for \(x = -5,-6,-7, \ldots \))? Extend your graph for these \(x\)-values.
As the values of \(x\) get larger in absolute value, the graph approaches the \(x\)-axis. However, because \(\dfrac{1}{x}\) never equals zero for any \(x\)-value, the graph never actually touches the \(x\)-axis. We say that the \(x\)-axis is a horizontal asymptote for the graph.
As \(x\) approaches zero from the left (through negative values), the function values decrease toward \(-\infty\text{.}\) As \(x\) approaches zero from the right (through positive values), the function values increase toward \(\infty\text{.}\) The graph approaches but never touches the vertical line \(x = 0\) (the \(y\)-axis.)We say that the graph of \(f\) has a vertical asymptote at \(x = 0\text{.}\)
The functions \(f(x) = \dfrac{1}{x}\) and \(g(x) = \dfrac{1}{x^2}\) are examples of rational functions, so called because they are fractions, or ratios. Verify both graphs with your graphing calculator. Use the window
Complete the table for the two functions \(f (x) = x\) and \(g(x) = \abs{x}\text{.}\) Then sketch each function on graph paper, using the table values to help you scale the axes.
Verify both graphs with your graphing calculator. Your calculator uses the notation \(abs (x)\) instead of \(\abs{x}\) for the absolute value of \(x\text{.}\) First, position the cursor after \(Y_1 =\) in the graphing window. Now access the absolute value function by pressing 2nd\(0\) for CATALOG; then ENTER for abs(. Don’t forget to press \(X\) if you want to graph \(y = \abs{x}\text{.}\)
The graphs of the eight basic functions considered in Investigation 2.30 are shown below. Once you know the shape of each graph, you can sketch an accurate picture by plotting a few guidepoints and drawing the curve through those points. Usually, points (or vertical asymptotes!) at \(x = -1\text{,}\)\(0\text{,}\) and \(1\) make good guidepoints.
In Section 1.2, we saw that for most functions, \(f (a + b)\) is not equal to \(f (a) + f (b)\text{.}\) We may be able to find some values of \(a\) and \(b\) for which \(f (a + b) = f (a) + f (b)\) is true, but if it is not true for all values of \(a\) and \(b\text{,}\) we cannot claim that \(f (a + b) = f (a) + f (b)\) for that function.
For example, for the function \(f (x) = x^2\text{,}\) if we choose \(a = 3\) and \(b = 4\text{,}\) then
\begin{align*}
f (3 + 4) \amp = f (7) = 7^2 = 49\\
\text{but }~~~~~ f (3) + f (4) \amp = 3^2 + 4^2 = 9 + 16 = 25
\end{align*}
so we have proved that \(f (a + b) \ne f (a) + f (b)\) for the squaring function. (In fact, we already knew this because \((a + b)^2 \ne a^2 + b^2\) as long as neither \(a\) nor \(b\) is \(0\text{.}\))
What about multiplication? Which of the basic functions have the property that \(f (ab) = f (a) f (b)\) for all \(a\) and \(b\text{?}\) You will consider this question in the homework problems, but in particular you will need to recall the following properties of absolute value.
Verify the triangle inequality for three cases: \(a\) and \(b\) are both positive, \(a\) and \(b\) are both negative, and \(a\) and \(b\) have opposite signs.
Note that verifying a statement for one or two values of the variables does not prove the statement is true for all values of the variables. However, working with examples can help us understand the meaning and significance of mathematical properties.
A function may be defined by different formulas on different portions of the \(x\)-axis. Such a function is said to be defined piecewise. To graph a function defined piecewise, we consider each piece of the \(x\)-axis separately.
Think of the plane as divided into two regions by the vertical line \(x = 1\text{,}\) as shown below. In the left-hand region (\(x \le 1\)), we graph the line \(y = x + 1\text{.}\) (The fastest way to graph the line is to plot its intercepts, \((-1, 0)\) and \((0, 1)\text{.}\))
The value \(x = 1\) is not included in the second region, so the point \((1, 3)\) is not part of the graph. We indicate this with an open circle at the point \((1, 3)\text{.}\)
In the first region, \(x \ge 3\text{,}\) we graph the line \(y = x - 3\text{.}\) Because \(x = 3\) is included in this region, the endpoint of this portion of the graph, \((3, 0)\text{,}\) is included, too.
In the second region, \(x \lt 3\text{,}\) we graph the line \(y = -x + 3\text{.}\) Note that the two pieces of the graph meet at the point \((0, 3)\text{,}\) as shown below.
What relationship do you see between the graphs of \(f(x)=x^3\) and \(g(x)=\sqrt[3]{x}\text{?}\) Between the graphs of \(f(x)=x^2\) and \(g(x)=\sqrt{x}\text{?}\)
In Problems 11–14, show how to use the graphs to find the values. Estimate your answers to one decimal point. Compare your estimates to values obtained with a calculator.
In Problems 27–30, use the graph to estimate the solution to the equation or inequality. Show the solution or solutions on the graph. Then check your answers algebraically.
For Problems 31–34, graph the function with the ZInteger setting. Use the graph to solve each equation or inequality. Check your solutions algebraically.
In Problems 59–64, decide whether each statement is true for all values of \(a\) and \(b\text{.}\) If the statement is true, give an algebraic justification. If it is false, find values of \(a\) and \(b\) to disprove it.