Skip to main content

Applied Precalculus MTH 103

Section 1.1 The Concept of a Function

One of the main concepts in mathematics and in the mathematical modeling of applied processes is that of a function. The formal mathematical definition of a function is abstract and general, but in applied precalculus we can think of a function as a special kind of dependence between two numerical variables.

Example 1.1.1.

Suppose you are in Rhode Island and intend to buy a gift from an online store. The amount of money, \(C\text{,}\) that you will have to spend (that is, the total cost to purchase the gift) depends on the list price, \(p\text{,}\) of the item you select. The cost is equal to the list price plus the state of Rhode Island’s \(7\%\) sales tax plus the rate the store charges for shipping and handling. Assuming that the online store charges a flat rate of \(\$4.95\) for shipping and handling, give a formula for the cost \(C\) to purchase a gift of list price \(p\) dollars.
Solution.
Given the list price \(p\text{,}\) you can calculate the cost \(C\text{,}\) in dollars, as
\begin{equation*} C=p+0.07p+4.95. \end{equation*}
Here, \(0.07p\) represents \(7\%\) of the list priceβ€”that is, the sales tax on the item.
In the above formula, \(C\) and \(p\) are variablesβ€”their values vary based on the item you select. They are both numerical variables as their possible values are numbers. The cost \(C\) depends on \(p\) and, moreover, the cost is uniquely determined by the item’s list price \(p\text{.}\) We say in this case that \(C\) β€œis a function of \(p\text{.}\)” Using function notation, we write
\begin{equation*} C=f(p). \end{equation*}
The notation \(C=f(p)\) is read as β€œ\(C\) equals \(f\) of \(p\text{.}\)” Note that \(f\) does not stand for the word β€œfunction” here; it is merely a letter used to name the function and another letter could be used instead. The notation \(f(p)\) represents the value of the function \(f\) at a given list price \(p\text{;}\) that is, \(f(p)\) is the cost corresponding to a list price \(p\text{:}\)
\begin{equation*} f(p)=p+0.07p+4.95. \end{equation*}
For every \(p\text{,}\) the value of the function \(f(p)\) gives the cost \(C\) for a list price \(p\text{.}\) For example, \(f(50)\)β€”the value of the function at \(p=50\)β€”gives the cost corresponding to the list price \(50\) dollars. Similarly, \(f(60)\) gives the cost corresponding to the list price \(60\) dollars.

Example 1.1.2.

Use the function
\begin{equation*} C=f(p)=p+0.07p+4.95 \end{equation*}
whose formula was found in ExampleΒ 1.1.1 to determine the total amount you will spend to purchase a gift with a list price of \(p=80\) dollars from the online store.
Solution.
We are looking for the cost \(C\) when \(p = 80\text{.}\) In other words, we are looking for \(f(80)\)β€”read aloud as β€œ\(f\) of \(80\text{.}\)” Using the formula for \(f(p)\) with \(p=80\text{,}\) we obtain
\begin{equation*} f(80)=80+0.07\cdot 80+4.95=90.55. \end{equation*}
If you select an item listed at \(p=80\) dollars, you will pay \(C=90.55\) dollars. In function notation we could write \(90.55=f(80)\) or, equivalently, \(f(80)=90.55\text{.}\)
Above, the cost variable, \(C\text{,}\) is called the dependent variable or the output variable. The list price, \(p\text{,}\) is the independent variable or the input variable. For each list price or input valueβ€”input for shortβ€”we have exactly one cost value. So we have exactly one output valueβ€”output for shortβ€”for each input. The formula for the function \(f\) gives the rule of how to obtain the output corresponding to each possible input \(p\text{.}\)
In general, we define a function as follows.

Definition 1.1.3. Informal Definition of a Function.

A function is a correspondence between two numerical variables, the input variable and the output variable, that takes input numbers from a certain subset of the real numbers called the domain of the function and prescribes to each exactly one output.
From the mathematical point of view, the domain of the formula for the function \(f(p)=p+0.07p+4.95\) consists of all real numbers \(p\text{.}\) This is because \(f(p)\) is unique and defined for each individual real number inputted for \(p\text{.}\) When we consider the applied context of this formula as presented in ExampleΒ 1.1.1 and ExampleΒ 1.1.2, however, the input \(p\) is a list price and therefore cannot be negative. For practical reasons, we would restrict the domain of \(f\) to positive inputs \(p\text{.}\)

Subsection Functions in General

In an abstract setting, when variables are not associated any specific real-life meaning, we commonly denote the independent variable by \(x\text{,}\) the dependent variable by \(y\text{,}\) and a function by \(f\text{:}\)
\begin{equation*} y=f(x). \end{equation*}

Example 1.1.4.

Let \(y=f(x)\) where \(f(x)=0.2x+1\text{.}\)
  1. What is the domain of \(f\text{?}\)
  2. Find \(f(2)\) and \(f(3)\text{.}\)
  3. Find all inputs \(x\) for which the output \(y\) is equal to \(0\text{.}\)
Solution.
  1. For every input number \(x\text{,}\) we can multiply \(x\) by \(0.2\) and add \(1\text{.}\) So the output \(f(x)=0.2x+1\) is defined and is a single number for each \(x\text{.}\) Hence, the domain of \(f\) consists of all real numbers \(x\text{.}\)
  2. The quantity \(f(2)\) is the value of the function or the output corresponding to the input \(x=2\text{.}\) Substituting \(x=2\) into the formula for \(f\text{,}\) we find
    \begin{equation*} f(2)=0.2\cdot2+1=1.4. \end{equation*}
    Hence, the value of \(y\) corresponding to \(x=2\) is \(y=1.4\text{.}\) Similarly,
    \begin{equation*} f(3)=0.2\cdot3+1=1.6 . \end{equation*}
  3. We are looking for inputs \(x\) for which the output \(y=0\text{.}\) In other words, we are looking for the value (or the values) of \(x\) which are solutions to the equation \(0=0.2x+1\) or equivalently \(0.2x+1=0.\) To find \(x\text{,}\) we use the standard techniques of solving equations: we subtract \(1\) from both sides of the equation and then we divide both sides of the equation by \(0.2\text{.}\) These steps are shown below.
    \begin{align*} 0.2x+1 \amp \; = \; 0\\ 0.2x+1 \textcolor{blue}{-1} \amp \;=\; 0\, \textcolor{blue}{- 1}\\ \frac{0.2x}{\textcolor{red}{0.2}} \amp \;=\; \frac{-1}{\textcolor{red}{0.2}}\\ x \amp \;=\; -\dfrac{1}{0.2}\\ x \amp \;=\; -5 \end{align*}

Subsection Functions in Applied Settings

The previous example illustrates that a function need not be associated with an applied scenario. When an application is involved, it is important to be able to interpret the practical meaning.

Example 1.1.5.

The amount of nicotine in a person’s bloodstream, \(N=f(t)\text{,}\) in milligrams, is a function of time \(t\text{,}\) in hours, that have passed since the person finished smoking a single cigarette.
  1. Identify the independent variable and the dependent variable of this function.
  2. In the statement \(f(3)=0.71\text{,}\) what is the meaning of 3 and 0.71 in terms of time and nicotine? Include units in the answer.
  3. Explain the meaning of the statement \(f(4)=0.5\) in practical terms.
Solution.
  1. Here, \(N\) depends on \(t\text{,}\) making \(N\) a function of \(t\text{.}\) Thus \(N\) is the dependent variable and \(t\) is the independent variable.
  2. The number \(3\) is a value of \(t\text{,}\) so its units are hours; \(0.71\) is a value of \(N\text{,}\) so its units are milligrams. In practical terms, \(f(3)=0.71\) means that \(3\) hours after a person finishes smoking a single cigarette there will be \(0.71\) milligrams of nicotine left in their bloodstream.
  3. Similarly to the prior solution, \(f(4)=0.5\) means that \(4\) hours after a person finishes smoking a single cigarette there will be \(0.5\) milligrams of nicotine left in their bloodstream.

Example 1.1.6.

In cases of strep throat, a daily pediatric dose of Amoxicillin, \(D\text{,}\) in milligrams, depends on the weight of a child, \(w\text{,}\) in kilograms; that is, \(D\) is a function of \(w\text{.}\) Denoting the function by \(g\) results in
\begin{equation*} D=g(w). \end{equation*}
As a general rule, the daily dose should be 50 milligrams for each kilogram of weight.
  1. Write a formula for the function \(g(w)\text{.}\)
  2. Calculate the daily dose for a child who weighs 8 kilograms.
  3. What does \(g(11)=550\) represent in practical terms?
Solution.
  1. The value \(g(w)\) represents the dose for the weight of \(w\) kilograms. Since the dose is 50 milligrams for each kilogram, the dose \(g(w)\) is given by
    \begin{equation*} 50 \, \dfrac{\text{milligrams}}{\text{kilogram}}\times w \, \text{kilograms}. \end{equation*}
    Multiplying and simplifying units results in \(g(w)=50w\) milligrams.
  2. We calculate
    \begin{equation*} g(8)=50\cdot 8=400 \end{equation*}
    and arrive at the conclusion that the dose for a child who weighs 8 kilograms is 400 milligrams.
  3. To answer questions like this, it can be useful to assign the appropriate units to each number. Since \(11\) is a value for \(w\text{,}\) it is measured in kilograms. \(550\) is a value for \(g(w)\) or \(D\text{,}\) so it is measured in milligrams. Combining this information with the fact that \(g(w)\) gives the dose for a child who weighs \(w\) kilograms, we conclude that the practical meaning of the statement \(g(11)=550\) is that a child weighing \(11\) kilograms should receive a daily dose of \(550\) milligrams of Amoxicillin when being treated for strep throat.

Example 1.1.7.

A man leaves home and drives at \(40\) miles per hour toward a hospital located \(150\) miles away from his home. At time \(t\) hours after he began driving, his distance from the hospital, \(d\text{,}\) in miles, is given by
\begin{equation*} d=150-40t. \end{equation*}
  1. Let \(d=f(t)\text{.}\) What is the formula for the function \(f(t)\text{?}\)
  2. How far from the hospital is the man after 1.5 hours?
  3. When will the man arrive at the hospital?
Solution.
  1. Since \(d=f(t)\) and the formula for \(d\) was given, \(f(t)=150-40t\text{.}\)
  2. The man’s distance from the hospital at \(t=1.5\) is given by
    \begin{equation*} f(1.5)=150-40\cdot 1.5=90. \end{equation*}
    After \(1.5\) hours, the man is \(90\) miles from the hospital.
  3. The man will arrive at the hospital when his distance \(d\) from the hospital is 0 miles. We are looking for \(t\) such that \(0=150-40t\) or equivalently \(150-40t=0\text{.}\) Solving for \(t\text{:}\)
    \begin{align*} 150-40t \textcolor{blue}{+40t} \amp \; =\; 0 \textcolor{blue}{+40t} \\ 150 \amp \; =\; 40t \\ \dfrac{150}{40} \amp \; =\; t \\ t \amp \; = \; 3.75. \end{align*}
    The man will arrive at the hospital \(3\) hours and \(45\) minutes after he left home.

Subsection Increasing and Decreasing Functions

In ExampleΒ 1.1.6 we considered the function \(D=g(w)\) that gives the daily dose \(D\) of Amoxicillin for a child weighing \(w\) kilograms. Notice that \(g(w)\) increases as the weight \(w\) increases. In ExampleΒ 1.1.7, the distance \(d=f(t)\) from the hospital decreases as the number of hours \(t\) spent driving toward the hospital increases.

Definition 1.1.8. Increasing and Decreasing Functions.

  • A function \(f(x)\) is increasing if the values of \(f(x)\) increase as \(x\) increases.
  • A function \(f(x)\) is decreasing if the values of \(f(x)\) decrease as \(x\) increases.
Above, the dose of Amoxicillin would be an illustration of an increasing function of weight while the distance from the hospital would be an illustration of a decreasing function of time. We will see later that many functions are neither increasing nor decreasing through their domain; they may increase on some intervals and decrease on other intervals.

Subsection Functions as a Sequence of Operations

A function that is presented as a formula can be thought of as sequence of operations performed on an input in order to obtain the corresponding output. For example, the function \(f(x)=0.2x+1\) of ExampleΒ 1.1.4 takes an input, multiplies the input by \(0.2\text{,}\) and then adds \(1\) to the result. The function performs this sequence of operations no matter what the input is. We can write this symbolically as
\begin{equation*} f(\Box)=0.2\cdot\Box+1. \end{equation*}
Whatever input we feed into the function \(f\text{,}\) a number, an expression, whatever we like, the function will multiply the input by \(0.2\) and add \(1\text{.}\)

By the way...

Example 1.1.9.

Let \(g(x)=3-4x\text{.}\) Evaluate and simplify each of the following.
  1. \(\displaystyle g(2+h)\)
  2. \(\displaystyle g(1-h)+g(1)\)
Solution.
The function \(g(x)\) takes any input \(\Box\)β€”whatever it might beβ€”multiplies the input by 4, and subtracts the result from 3:
\begin{equation*} g(\Box)=3-4\cdot\Box. \end{equation*}
  1. In \(g(2+h)\text{,}\) the input is an algebraic expression: \(2+h\text{.}\) In any given context, \(h\) may stand for a number or for a numerical variable. No matter what \(h\) represents here, the function \(g\) takes the input \(2+h\text{,}\) multiplies it by 4, and then subtracts the result from 3. Thus,
    \begin{equation*} g(2+h)=3-4(2+h). \end{equation*}
    To simplify, we use the distributive law to expand \(4(2+h)\text{:}\)
    \begin{equation*} g(2+h)=3-8-4h=-5-4h. \end{equation*}
    We cannot simplify further. The final answer is \(g(2+h)=-5-4h\text{.}\)
  2. We consider the whole expression all at once below, though you may find it helpful to separately find each of \(g(1-h)\) and \(g(1)\) and then subtract the two results.
    \begin{align*} g(1-h)+g(1) \amp \; =\; \bigg(3-4(1-h)\bigg)+\bigg(3-4\cdot1\bigg) \\ \amp \; =\; \bigg(3-4-4(-h)\bigg)+\bigg(-1\bigg) \\ \amp \; =\; -1+4h-1\\ \amp \; =\; -2+4h \end{align*}
    Whatever \(h\) might be, \(g(1-h)+g(1)=-2+4h\text{.}\)

Example 1.1.10.

Find a formula for \(f(x)\) if...
  1. ...\(f\) takes the square root of the input, multiplies the result by 3, and subtracts 1.
  2. ...\(f\) squares the input, adds 2, and takes the reciprocal of the result.
Solution.
  1. We begin with an input \(x\text{.}\) Taking the square root of this input results in \(\sqrt{x}\text{.}\) Multiplying the result by 3 results in \(3\sqrt{x}\text{.}\) Finally, subtracting 1 results in \(3\sqrt{x}-1\text{.}\) Therefore, the formula for \(f\) is
    \begin{equation*} f(x)=3\sqrt{x}-1. \end{equation*}
  2. We begin with an input \(x\text{.}\) Squaring the input first results in \(x^{2}\text{.}\) Adding \(2\) next results in \(x^{2}+2\text{.}\) Now, we take the reciprocal of \(x^{2}+2\text{,}\) which is \(\dfrac{1}{x^2+2}\text{.}\) Therefore, the formula for \(f\) is
    \begin{equation*} f(x)=\dfrac{1}{x^2+2}. \end{equation*}

Example 1.1.11.

Find the domain of each of the following functions.
  1. \(\displaystyle \displaystyle f(x)=\frac{1}{x^{2}-1}\)
  2. \(\displaystyle \displaystyle g(x)=\sqrt{x-3}\)
Solution.
Note that neither \(f(x)\) and \(g(x)\) are assigned any specific practical applied meaning. This means that the domain of each function will be all inputs \(x\) for which the output is defined.
  1. The function \(f(x)=\dfrac{1}{x^2-1}\) is defined at any input that does not lead to division by zero and undefined at any input that does lead to division by zero. To find the value(s) of \(x\) for which \(f(x)\) is undefined, we set its denominator equal to zero and solve for \(x\text{:}\)
    \begin{align*} x^{2} -1 \amp \; = \; 0\\ x^{2} -1 \textcolor{blue}{+1} \amp \; = \; 0 \textcolor{blue}{+ 1}\\ x^{2} \amp \; = \; 1 \end{align*}
    We can now see that \(f(x)\) is undefined when \(x=1\) and when \(x=-1\text{.}\) The domain of \(f(x)\) is all real numbers except for these two values. This can be written in a variety of different ways.
    • Domain of \(\displaystyle f(x)=\frac{1}{x^{2}-1}\) in words:
      \begin{equation*} \text{all real numbers }x\neq\pm1 \end{equation*}
    • Domain of \(\displaystyle f(x)=\frac{1}{x^{2}-1}\) in set-builder notation:
      \begin{equation*} \{ x\in \R \; \colon \; x\neq \pm 1 \} \end{equation*}
    • Domain of \(\displaystyle f(x)=\frac{1}{x^{2}-1}\) in interval notation:
      By the way...
      \begin{equation*} (-\infty,-1)\cup(-1,1)\cup(1,\infty) \end{equation*}
  2. The function \(g(x)=\sqrt{x-3}\) is defined provided the number under the radical is not negative. That is, it is defined for those values of \(x\) satisfying that \(x-3\geq 0\text{.}\) We can isolate \(x\) on one side of the inequality
    \begin{align*} x-3 \amp \; \geq \; 0\\ x-3 \textcolor{blue}{+3} \amp \; \geq \; 0 \textcolor{blue}{+3}\\ x \amp \; \geq \; 3 \end{align*}
    which allows us to conclude that the domain of \(g(x)\) is all real numbers \(x\) that are greater than or equal to \(3\text{.}\) As before, this can be written in a variety of different ways.
    • Domain of \(g(x)=\sqrt{x-3}\) in words:
      \begin{equation*} \text{all real numbers }x\geq 3 \end{equation*}
    • Domain of \(g(x)=\sqrt{x-3}\) in set-builder notation:
      \begin{equation*} \{x \in \R \; \colon \; x\geq 3\} \end{equation*}
    • Domain of \(g(x)=\sqrt{x-3}\) in interval notation:
      By the way...
      \begin{equation*} [3,\infty) \end{equation*}

Exercises Practice Problems

2.

The value of a car, \(V\text{,}\) in dollars, is a function of the number of years, \(t\text{,}\) since it was purchased; that is, \(V=g(t)\text{.}\)
The independent variable is
with units
.
The dependent variable is
with units
.
Solution.
The independent variable is \(t\) and has units of years. The dependent variable is \(V\) and has units of dollars.

Exercises Exercises

1.

The amount of caffeine, \(C\text{,}\) measured in milligrams, in a person’s body \(t\) hours after drinking a cup of coffee is given by the function \(C=f(t)\text{.}\) What do each of the following statements tell you in practical terms; that is, in terms of time and caffeine? Answer in complete sentences and include units with each number.
  1. \(\displaystyle f(0)=96\)
  2. \(\displaystyle f(5)=48\)
  3. \(\displaystyle f(24)\approx 0\)
Solution.
  1. The amount of caffeine in a person’s body \(0\) hours after drinking a cup of coffee is 96 mg.
  2. The amount of caffeine in a person’s body \(5\) hours after drinking a cup of coffee is 48 mg.
  3. The amount of caffeine in a person’s body \(24\) hours after drinking a cup of coffee is approximately 0 mg.

2.

The total number of units, \(P\text{,}\) produced after \(t\) hours of production is given by the function \(P=h(t)\text{.}\) What do each of the following statements tell you in practical terms; that is, in terms of units of product produced and time? Answer in complete sentences and include units with each number.
  1. \(\displaystyle h(1)=10\)
  2. \(\displaystyle 0=h(0)\)
  3. \(\displaystyle h(3) \approx 29 \)
Solution.
  1. A total of 10 units of the product are produced in 1 hour.
  2. A total of 0 units of the product are produced in 0 hours.
  3. A total of approximately 29 units of the product are produced in 3 hours.

3.

The total cost of a meal in a restaurant, \(C\text{,}\) in dollars, as a function of the menu price of the meal, \(p\text{,}\) also in dollars, is given by
\begin{equation*} C=p+0.20p \end{equation*}
where the term \(0.20p\) corresponds to a \(20\%\) tip.
  1. What is the input variable and what units is it measured in?
  2. What is the output variable and what units is it measured in?
  3. Calculate the total cost of a meal whose menu price is \(\$25\text{.}\)
Solution.
  1. \(p\text{;}\) dollars
  2. \(C\text{;}\) dollars
  3. \(\displaystyle \$30\)

4.

A bakery makes 6 batches of cookies an hour, with a batch typically consisting of 12 cookies. The total number of batches baked, \(B\text{,}\) is measured as function of time \(t\text{,}\) in hours, so that \(B=f(t)=6t\text{.}\)
  1. What is the independent variable?
  2. What is the dependent variable?
  3. Evaluate \(f(3)\text{.}\) What is the practical meaning of \(f(3)\) in the applied context of this problem?
Solution.
  1. The independent variable is \(t\text{,}\) which represents the time spent baking in hours.
  2. The dependent variable is \(B\text{,}\) which represents the number of batches of cookies made by the bakery after \(t\) hours have passed.
  3. \(f(3)=18\text{;}\) The bakery makes 18 batches of cookies (or approximately 216 cookies) in 3 hours.

5.

A driver is heading to a faraway town. The amount of fuel, \(G\text{,}\) in gallons, left in the fuel tank is a function of the number of miles \(m\) driven during the trip; that is, \(G=f(m)\text{.}\)
  1. What does the statement \(f(70)=6\) tell you in practical terms? What are units of the numbers 70 and 6?
  2. What does the statement \(f(200)=1\) tell you in practical terms?
Solution.
  1. The amount of fuel left in the fuel tank 70 miles into the drive is 6 gallons.
  2. The amount of fuel left in the fuel tank 200 miles into the drive is 1 gallon.

13.

A URI student tutors for MTH 103. The cost of each session in terms of hours, \(t\text{,}\) is given by the function \(c(t)=10t+15\text{.}\)
  1. What is the cost of a 3 hour session?
  2. If \(c(t)=\$60\text{,}\) how many hours was the session?
Solution.
  1. \(\displaystyle \$45\)
  2. \(4.5\) hours

14.

The value of a car, \(V\text{,}\) in dollars, \(t\) years after purchase is given by the function \(V=g(t)\text{,}\) where \(g(t)=16500-1500t\text{.}\)
  1. What is the value of the car at the time of purchase?
  2. What is the value of the car \(5\) years after purchase?
  3. After how many years is the car worth nothing?
Solution.
  1. \(\displaystyle \$16500\)
  2. \(\displaystyle \$9000\)
  3. \(11\) years

15.

Since you see lightning immediately and it takes the sound of thunder about 5 seconds to travel a mile, you can calculate the distance between you and the lightning. Count the number of seconds, \(S\text{,}\) between the flash of lightning and the sound of thunder. Then the distance, \(D\text{,}\) in miles, between you and the lightning is given by the function:
\begin{equation*} D=\frac{S}{5} \end{equation*}
  1. Identify the independent and the dependent variable.
  2. How far is the lightning if you counted 4 seconds between the flash and the thunder?
Solution.
  1. \(S\) is the independent variable; \(D\) is the dependent variable
  2. \(\frac{4}{5}\) of a mile

16.

The cost of a medium pizza is \(\$10\) plus \(\$1.75\) per topping. Write a function \(f(x)\) to describe the cost of a medium pizza with \(x\) number of toppings.
Solution.
\(f(x)=1.75x+10\)

17.

Find a formula for a function \(h(x)\) for each of the following scenarios:
  1. \(h\) multiplies the input by 7 then adds \(5\) to the result.
  2. \(h\) adds \(5\) to the input and then multiplies the result by 7.
Solution.
  1. \(\displaystyle 7x+5\)
  2. \(\displaystyle 7(x+5)\)

18.

Find a formula for a function \(f(x)\) for each of the following scenarios:
  1. \(f\) takes the square of the input, multiplies the result by 5, then subtracts 8.
  2. \(f\) multiplies the input by 5, takes the square of the result, then subtracts 8.
  3. \(f\) subtracts 8 from the input, takes the square of the result, then multiplies by 5.
Solution.
  1. \(\displaystyle 5x^2-8\)
  2. \(\displaystyle (5x)^2-8 = 25x^2-8\)
  3. \(\displaystyle 5(x-8)^2\)

19.

Find a formula for a function \(g(x)\) for each of the following scenarios:
  1. \(g\) takes the input, divides it by 3, then adds this to the square root of the input times 4.
  2. \(g\) takes the reciprocal of the square root of the input, adds \(1\) to this, and then adds the input squared.
Solution.
  1. \(\displaystyle \frac{x}{3} + \sqrt{x}\cdot 4\)
  2. \(\displaystyle \frac{1}{\sqrt{x}}+1+x^2\)

20.

Find the domain of each of the following functions.
  1. \(\displaystyle \displaystyle f(x)=x-1\)
  2. \(\displaystyle \displaystyle f(x)=\frac{1}{x-1}\)
  3. \(\displaystyle \displaystyle f(x)=\frac{2}{x^2-4}\)
  4. \(\displaystyle \displaystyle f(x)=\sqrt{x}\)
  5. \(\displaystyle \displaystyle f(x)=x^2-4\)
Solution.
  1. all real numbers or \((-\infty,\infty)\) in interval notation
  2. all real numbers \(x\neq1\) or \((-\infty,1)\cup(1,\infty)\) in interval notation
  3. all real numbers \(x\neq-2\text{,}\) \(x\neq2\) or \((-\infty,-2)\cup(-2,2)\cup(2,\infty)\) in interval notation
  4. all real numbers \(x\geq0\) or \([0,\infty)\) in interval notation
  5. all real numbers or \((-\infty,\infty)\) in interval notation

21.

Find the domain of each of the following functions.
  1. \(f(x)=x^n\text{,}\) where \(n\) is a positive integer
  2. \(\displaystyle f(x)=x^2+x+\frac{2}{x}\)
  3. \(\displaystyle f(x)=\frac{1}{\sqrt{x}}\)
Solution.
  1. all real numbers or \((-\infty,\infty)\) in interval notation
  2. all real numbers \(x\neq0\) or \((-\infty,0)\cup(0,\infty)\) in interval notation
  3. all real numbers \(x\gt 0\) or \((0,\infty)\) in interval notation

Worksheet Practice Worksheet

1.

A caffeine addict has \(\$20\) and buys \(c\) cups of coffee at \(\$1.25\) per cup. The amount of money that he has left depends on the number of cups that he buys.
(a)
Why is this scenario an example of a function? What is the input? What is the output?
Solution.
This is a function because if they purchase a specific number of cups of coffee, there is exactly one amount of money left. The input is the number of cups of coffee purchased, the output is the amount of money left.
(b)
Write an equation/formula expressing the amount of money \(D\) that the caffeine addict will have left after purchasing \(c\) cups of coffee.
Solution.
\(D = 20 - 1.25 c\text{.}\) (They lose \(\$1.25\) from their \(\$20\) for each cup of coffee \(c\) they buy)
(c)
What is the domain? What is the range?
Solution.
The domain is the set of all possible numbers of cups of coffee they could purchase, which are integers (whole numbers) and specifically must be between \(0\) and \(16\text{.}\) The \(16\) is there because it is the maximum number of cups of coffee they can purchase with \(\$20\). The range is the set of all possible amounts of money they could have left from the initial \(\$20\text{.}\) So numbers from \(0\) to \(20\) spaced by \(1.25\text{.}\)

2.

Let \(f(r)\) be the weight of an astronaut in pounds at a distance \(r\) (in thousands of miles) from the earth’s center. Explain the meaning of each of the following. Write a complete sentence explaining the meaning of \(f(4)=180\text{,}\) including units.
Solution.
At a distance of \(4\) thousand miles from the Earth’s center, the astronaut weighs \(180\) pounds.

3.

Write an expression for the total cost of an item of sticker price \(\$p\) that is on sale for \(\$5\) off given that the sales tax is \(7\%\text{.}\)
Solution.
The total cost is equal to the sale price plus the sales tax on the sale price. That is,
\begin{equation*} \text{total cost } \quad=\quad \underbrace{p-5}_\text{sale price} \;+\; \underbrace{0.07(p-5)}_\text{tax on sale price} . \end{equation*}

4.

Write an expression for the sequence of operations.
(b)
Subtract \(x\) from 7 and then divide the result by 6.
Solution.
\(\dfrac{7-x}{6} \text{,}\) or equivalently \(\frac{1}{6}(7-x)\)
(c)
Divide \(x\) by 3, subtract 4, and triple the result.
Solution.
First we have \(\frac{x}{3}\text{,}\) and then subtracting \(4\) yields \(\frac{x}{3}-4\text{.}\) Finally, this is tripled (multiplied by \(3\)) to obtain \(3\pbr{\frac{x}{3}-4} \text{.}\)

5.

Given that \(f(x)=x^2+3x\text{,}\) \(g(x)=\sqrt{x^2-2}\text{,}\) and \(p(t)=10-3(t+1)\text{,}\) find each of the following.
(c)
\(p(-\frac{1}{2})\)
Solution.
\(p\pbr{-\frac{1}{2}} = 10 - 3 \pbr{-\frac{1}{2}+1} = 10 - 3 \pbr{\frac{1}{2}} = 10-1.5 = 8.5\)
(f)
\(f(3+h)-f(3)\)
Solution.
We advise that you compute \(f(3+h)\) and \(f(3)\) separately. First,
\begin{equation*} f(3+h) = (3+h)^2+3(3+h) = (3+h)(3+h) + 9 + 3h = 9+3h+3h+h^2+9+3h = h^2+9h+18. \end{equation*}
Second,
\begin{equation*} f(3) = 3^2 + 3(3) = 18. \end{equation*}
Therefore
\begin{equation*} f(3+h) - f(3) = h^2 + 9h + 18 - 18 = h^2 + 9h. \end{equation*}

6.

Find the domain of each function.
(c)
\(y=\sqrt{2x+5}\)
Solution.
Because \(2x+5\) must be nonnegative, we require that \(2x+5\ge 0\text{.}\) Thus \(2x\ge -5\) and so \(x\ge -\frac{5}{2}\text{.}\) That is, the domain is all numbers greater than or equal to \(-\frac{5}{2}\text{.}\)
(d)
\(y=\dfrac{3}{7-2x}\)
Solution.
Because \(7-2x\) cannot be zero (we cannot divide by zero), then \(7-2x\neq 0\) means that \(7\neq 2x\) and so \(x\neq \frac{7}{2}\text{.}\) That is, the domain is all numbers except for \(\frac{7}{2}\text{.}\)