# Intermediate Algebra: Functions and Graphs

## Section1.1Linear Models

### Investigation1.1.1.Sales on Commission.

Delbert is offered a part-time job selling restaurant equipment. He will be paid $1000 per month plus a 6% commission on his sales. The sales manager tells Delbert he can expect to sell about$8000 worth of equipment per month. To help him decide whether to accept the job, Delbert does a few calculations.
1. Based on the sales manager’s estimate, what monthly income can Delbert expect from this job? What annual salary would that provide?
2. What would Delbert’s monthly salary be if he sold only $5000 of equipment per month? What would his salary be if he sold$10,000 worth per month? Compute the monthly incomes for each sales totals shown in the table.
 Sales Income $$5000$$ $$\hphantom{0000}$$ $$10,000$$ $$\hphantom{0000}$$ $$15,000$$ $$\hphantom{0000}$$ $$20,000$$ $$\hphantom{0000}$$ $$25,000$$ $$\hphantom{0000}$$ $$30,000$$ $$\hphantom{0000}$$ $$\hphantom{0000}$$ $$\hphantom{0000}$$ $$\hphantom{0000}$$ $$\hphantom{0000}$$
3. Plot your data points on a graph, using sales, $$S\text{,}$$ on the horizontal axis and income, $$I\text{,}$$ on the vertical axis, as shown in the figure. Connect the data points to show Delbert’s monthly income for all possible monthly sales totals.
5. Write an algebraic expression for Delbert’s monthly income, $$I\text{,}$$ in terms of his monthly sales, $$S\text{.}$$ Use the description in the problem to help you:
He will be paid: $1000 plus a 6% commission on his sales. Income $$= ~~\fillinmath{XXXXXXXXXXXXXXXX}$$ 6. Test your formula from part (5) to see if it gives the same results as those you recorded in the table. 7. Use your formula to find out what monthly sales total Delbert would need in order to have a monthly income of$2500.
8. Each increase of $1000 in monthly sales increases Delbert’s monthly income by $$\fillinmath{XXXXXX}$$ 9. Summarize the results of your work: In your own words, describe the relationship between Delbert’s monthly sales and his monthly income. Include in your discussion a description of your graph. ### Subsection1.1.1Tables, Graphs, and Equations #### Mathematical Model. A mathematical model is a simplified description of reality that uses mathematics to help us understand a system or process. We can use a model to analyze data, identify trends, and predict the effects of change. The first step in creating a model is to describe relationships between the variables involved. #### Checkpoint1.1.1.QuickCheck 1. What is the first step in creating a mathematical model? • A) Solve the equation. • B) Analyze data, identify trends, and predict the effects of change. • C) Describe the relationships between the variables involved. • D) Make a table of values. Answer. $$\text{C) Describe ... variables involved.}$$ Solution. Describe the relationships between the variables involved. Starting from a description in words, we can represent the relationship by: • a table of values • a graph, or by • an algebraic equation Each of these mathematical tools is useful in a different way. 1. A table of values lists specific data points with precise numerical values. 2. A graph is a visual display of the data. It is easier to spot trends and describe the overall behavior of the variables from a graph. 3. An algebraic equation is a compact summary of the model. It can be used to analyze the model and to make predictions. #### Checkpoint1.1.2.QuickCheck 2. Name three ways to represent a relationship between variables. • A) By inputs, outputs, or evaluation • B) By tables, equations, or graphs • C) By the intercepts, the slope, or the vertex • D) By numbers, letters, or diagrams Answer. $$\text{B) By ... , or graphs}$$ Solution. By tables, equations, or graphs In the examples that follow, observe the interplay among the three modeling tools and how each contributes to the model. #### Example1.1.3. In May 2005, the city of Lyons, France, started a bicycle rental program. Over 3,000 bicycles are available at 350 computerized stations around the city. Each of the 52,000 subscribers pays an annual 5 euro fee (about$7.20) and gets a PIN to access the bicycles. The bicycles rent for 1 euro per hour and can be returned to any station.
Your community decides to set up a similar program, charging a $5 subscription fee and$3 an hour for rental. (A fraction of an hour is charged as the corresponding fraction of $3). 1. Make a table of values showing the cost, $$C\text{,}$$ of renting a bike for various lengths of time, $$t\text{.}$$ 2. Plot the points on a graph. Draw a curve through the data points. 3. Write an equation for $$C$$ in terms of $$t\text{.}$$ Solution. 1. There is an initial fee of$5, and a rental fee of $3 per hour. To find the cost, we multiply the time by$3 per hour, and add the result to the 5 subscription fee. For example, the cost of a one-hour bike ride is \begin{align*} \text{Cost}\amp=(\5\text{ insurance fee})+(\3\text{ per hour})\times(\alert{\text{one hour}})\\ C\amp=5+3(\alert{1})=8 \end{align*} A one-hour bike ride costs8.
We calculate the cost for the other values of $$t$$ and record the results in a table as shown below.
 Length of rental(hours) Cost of rental(dollars) $$(t,C)$$ $$0$$ $$5$$ $$\quad C=5+3(\alert{0})\quad$$ $$(0,5)$$ $$1$$ $$8$$ $$\quad C=5+3(\alert{1})\quad$$ $$(1,8)$$ $$2$$ $$11$$ $$C=5+3(\alert{2})$$ $$(2,11)$$ $$3$$ $$14$$ $$C=5+3(\alert{3})$$ $$(3,14)$$
2. Each pair of values represents a point on the graph. The first value gives the horizontal coordinate of the point, and the second value gives the vertical coordinate.
The points lie on a straight line, as shown in the figure. The line extends infinitely in only one direction, because negative values of $$t$$ do not make sense here.
3. To write an equation, we let $$C$$ represent the cost of the rental, and we use $$t$$ for the number of hours:
\begin{align*} \text{Cost}\amp=(\$5\text{ subscription})+\$3\cdot\text{(number of hours)}\\ C\amp=5+3\cdot t \end{align*}

#### Checkpoint1.1.4.Practice 1.

Write an equation for the cost $$C$$ of renting a bicycle for $$t$$ hours if the subscription fee is $7 and the rental fee is$2.50 per hour.
\begin{equation*} \begin{gathered} \text{Cost} = (\text{subscription fee})+(\text{hourly rate})\cdot(\text{number of hours}) \end{gathered} \end{equation*}
$$C={}$$$${} + {}$$ $$\cdot ~ t$$
Hint.
Fill in the correct numbers.
$$7$$
$$2.5$$
Solution.
$$C=7+2.50t$$

### Subsection1.1.2Equations for Linear Models

The equation we wrote in the first Example is an example of a linear model, which describes a variable that increases or decreases at a constant rate.

#### Definition1.1.5.Linear Model.

A linear model describes a variable that increases or decreases at a constant rate. It has the form
\begin{gather*} \blert{y=(\text{starting value})+(\text{rate})\times t } \end{gather*}

#### Checkpoint1.1.6.QuickCheck 3.

What sort of variables can be described by a linear model?
• A) Increasing variables
• B) Variables that change at a constant rate
• C) Variables that describe time
• D) Variables that can be graphed
$$\text{B) ... constant rate}$$
Solution.
Variables that change at a constant rate
In the next example we see how a graph and its equation are related.

#### Example1.1.7.

Use the equation $$~ C=5+3\cdot t ~$$ you found in Example 1.1.3 to answer the following questions. Then show how to find the answers by using the graph.
1. How much will it cost to rent a bicycle for 6 hours?
2. How long can you bicycle for $18.50? Solution. 1. We substitute $$t=\alert{6}$$ into the equation to find \begin{equation*} C=5+3(\alert{6})=23 \end{equation*} A 6-hour bike ride will cost$23. The point $$P$$ on the graph in the figure represents the cost of a 6-hour bike ride. The value on the $$C$$-axis at the same height as point $$P$$ is 23, so a 6-hour bike ride costs 23. 2. We substitute $$C=\alert{18.50}$$ into the equation and solve for $$t\text{.}$$ \begin{align*} \alert{18.50}\amp=5+3t\\ 13.50\amp=3t\\ t\amp=4.5 \end{align*} For18.50 you can bicycle for $$4\frac{1}{2}$$ hours. The point $$Q$$ on the graph represents an $18.50 bike ride. The value on the $$t$$-axis below point $$Q$$ is 4.5, so$18.50 will buy a 4.5 hour bike ride.

#### Checkpoint1.1.8.Practice 2.

In the preceding Example, how long can you bicycle for $9.50? Answer: hr. Show this on the graph. Hint. Start by finding$9.50 on the Cost (vertical axis). Then find the point on the graph with $$C$$-coordinate 9.50. Finally, find the $$t$$-coordinate of that point. Answer. $$1.5$$ Solution. 1.5 hours A figure is below. In Example 1.1.7, note the different algebraic techniques we used in parts (a) and (b): • In part (a) we were given a value of $$t$$ and we evaluated the expression $$5 + 3t$$ to find $$C\text{.}$$ • In part (b) we were given a value of $$C$$ and we solved the equation $$C = 5 + 3t$$ to find $$t\text{.}$$ #### Checkpoint1.1.9.QuickCheck 4. Consider the expression $$C = 5 + 3t\text{.}$$ Finding a value of $$C$$ when we know $$t$$ is called • solving • evaluating the expression. Finding a value of $$t$$ when we know $$C$$ is called • solving • evaluating the equation. Answer 1. $$\text{evaluating}$$ Answer 2. $$\text{solving}$$ Solution. evaluating; solving In the examples above, the graph is increasing as $$t$$ increases. In the next Example we consider a decreasing graph. #### Example1.1.10. Leon’s camper has a 20-gallon gas tank, and he gets 12 miles to the gallon. (Note that getting 12 miles to the gallon is the same as using ​ $$\frac{1}{12}$$ gallon of gas per mile.) 1. Write an equation for the amount of gasoline, $$g\text{,}$$ left in Leon’s tank after he has driven for $$d$$ miles. 2. Make a table of values for the equation. 3. Graph the equation. 4. If Leon has less than 5 gallons of gas left, how many miles has he driven since his last fill-up? Illustrate on the graph. Solution. 1. We use the form for a linear model, \begin{gather*} y=(\text{starting value})+(\text{rate})\times t \end{gather*} However, in this problem, instead of variables $$y$$ and $$t\text{,}$$ we use $$g$$ and $$d\text{.}$$ Leon’s fuel tank started with 20 gallons, and the amount of gasoline is decreasing at a rate of $$\frac{1}{12}$$ gallon for every mile that he drives. Thus, \begin{gather*} g=20-\frac{1}{12}d \end{gather*} 2. Every time Leon drives 12 miles, he uses another gallon of gasoline. So, to make the calculations easier, we choose values that are divisible by 12.  $$d$$ (miles) 0 48 96 144 $$g$$ (gallons) 20 16 12 8 3. We scale the values of $$d$$ along the horizontal axis, and the values of $$g$$ along the vertical axis. Then we plot the points from the table and connect with a line, as shown in the figure below. 4. If Leon has less than 5 gallons of gasoline left, then $$g\lt 5\text{,}$$ as shown on the $$g$$-axis. Using our model from part (a), we solve the inequality. \begin{align*} 20-\frac{1}{12}d \amp \lt 5 \amp\amp\blert{\text{Subtract } 20 \text{ from both sides.}}\\ -\frac{1}{12}d \amp \lt -15 \amp\amp\blert{\text{Multiply by } {-12} \text{ on both sides.}} \\ d \amp\gt 180\amp\amp \begin{array}{l} \blert{\text{Note that we reversed the direction of the}}\\ \blert{\text{the inequality when we multiplied by }{-12}. } \end{array} \end{align*} Leon has driven at least 180 miles. The solution is shown on the graph below. #### Note1.1.11. In part (d) of the previous Example we used an inequality to answer the question. We use inequalities to model English phrases such as "less than," "more than," "at least," and "at most." #### Checkpoint1.1.12.Practice 3. Leon forgot to reset his odometer after his last fill-up, but he thinks he has driven at least 150 miles. How much gas does he have left? • At least 7.5 gallons • At most 7.5 gallons • At least 20 gallons. • At most 240 gallons Show this on the graph. Hint. Locate 150 miles on the $$d$$-axis. What part of the axis represents “at least” 150 miles? Find the points on the graph with $$d$$-coordinates at least 150. What are the $$g$$-coordinates of those points? Answer. $$\text{At most 7.5 gallons}$$ Solution. At most 7.5 gallon ### Exercises1.1.3Problem Set 1.1 #### Warm Up ##### 1. Solve the equation. 1. $$\displaystyle 8x-18=26$$ 2. $$\displaystyle 14-\dfrac{3}{4}x=5$$ Answer. 1. $$\displaystyle 5.5$$ 2. $$\displaystyle 12$$ ##### 2. Solve the inequality. 1. $$\displaystyle 8x-18\lt 16$$ 2. $$\displaystyle 14-\dfrac{3}{4}x \ge 5$$ ##### 3. April sells environmentally friendly cleaning products. Her income consists of200 per week plus a commission of 9% of her sales. Write an algebraic expression for April’s weekly income, $$I\text{,}$$ in terms of her sales, $$S\text{.}$$
$$I=200+0.09 S$$
##### 4.
Trinh is bicycling down a mountain road that loses 500 feet in elevation for each 1 mile of road. She started at an elevation of 6300 feet. Write an expression for Trinh’s elevation, $$h\text{,}$$ in terms of the distance she has cycled, $$d\text{.}$$

#### Skills Practice

##### Exercise Group.
For problems 5 and 6, solve the equation.
###### 5.
$$3y+2y=12-5y$$
$$\dfrac{6}{5}$$
###### 6.
$$0.8w - 2.6 = 1.4w + 0.3$$
##### Exercise Group.
For problems 7 and 8, solve the inequality.
###### 7.
$$3y+2y\gt 12-5y$$
$$y \gt \dfrac{6}{5}$$
$$0.8w - 2.6 \le 1.4w + 0.3$$
Bruce buys a 50-pound bag of rice and consumes about 0.4 pounds per week. Write an expression for the amount of rice, $$R\text{,}$$ Bruce has left in terms of the number of weeks, $$w\text{,}$$ since he bought the bag.
$$R = 50- 0.4 w$$