4.7: Applications of Linear Functions
Joe’s Warehouse has banquet facilities to accommodate a maximum of 250 people. When the manager quotes a price for a banquet she is including the cost of renting the room plus the cost of the meal. A banquet for 70 people costs $1300. For 120 people, the price is $2200.
(a) Plot a graph of cost versus the number of people.
(b) From the graph, estimate the cost of a banquet for 150 people.
(c) Determine the slope of the line. What quantity does the slope of the line represent?
(d) Write an equation to model this reallife situation.
Watch This
Khan Academy Basic Linear Function
Guidance
Linear relationships are often used to model reallife situations. In order to create an equation and graph to model the reallife situation, you need at least two data values related to the reallife situation. When the data values have been represented graphically and the equation of the line has been determined, questions relating to the reallife situation can be presented and answered.
When equations and graphs are used to model reallife situations, the domain of the graph is sometimes \begin{align*}x \epsilon N\end{align*}
Example A
A cab company charges $2.00 for the first 0.6 miles and $0.50 for each additional 0.2 miles.
(a) Draw the graph of cost versus distance.
(b) Determine the equations that model this situation.
(c) What is the cost to travel 16 miles by cab?
Solution: This example demonstrates a reallife situation that cannot be modeled with just one equation.
(a) On the \begin{align*}x\end{align*}
(b) The equation that models the second graph can be determined by using the data points (0.6, 2.00) and (1, 3.00)
\begin{align*}m &= \frac{y_2y_1}{x_2x_1} && \text{Use the data points to calculate the slope.}\\
m &= \frac{3.002.00}{10.6}\\
m &= \frac{3.002.00}{10.6}\\
m &= \frac{1.00}{0.4}\\
m &= 2.5\\
\\
yy_1 &= m(xx_1) && \text{Use the slope and one point to determine the equation.}\\
y {\color{red}2} &= {\color{red}2.5} (x {\color{red}0.6})\\
y2 &= 2.5x1.5\\
y2 {\color{red}+2} &= 2.5x1.5 {\color{red}+2}\\
y &= 2.5x+0.5\\
c &= 2.5d+0.5\end{align*}
Therefore, the equations that model this situation are:
\begin{align*}c=\begin{Bmatrix} 2.00 & 0<d \le 0.6 \\ 2.5d+0.5 & d>0.6 \end{Bmatrix}\end{align*}
(c) The cost to travel 16 miles in the cab is:
The distance is greater than 0.6 miles. The cost must be calculated using the equation \begin{align*}c=2.5d+0.5\end{align*}. Substitute 16 in for ‘\begin{align*}d\end{align*}’.
\begin{align*}&c = 2.5d+0.5\\ &c = 2.5 ({\color{red}16})+0.5\\ &c = 2.5({\color{red}16})+0.5\\ &\boxed{c = \$ 40.50}\end{align*}
Example B
When a 40 gram mass was suspended from a coil spring, the length of the spring was 24 inches. When an 80 gram mass was suspended from the same coil spring, the length of the spring was 36 inches.
(a) Plot a graph of length versus mass.
(b) From the graph, estimate the length of the spring for a mass of 70 grams.
(c) Determine an equation that models this situation. Write the equation in slopeintercept form.
(d) Use the equation to determine the length of the spring for a mass of 60 grams.
(e) What is the \begin{align*}y\end{align*}intercept? What does the \begin{align*}y\end{align*}intercept represent?
Solution:
(a) On the \begin{align*}x\end{align*}axis is the mass in grams and on the \begin{align*}y\end{align*}axis is the length of the spring in inches.
(b) The length of the coil spring for a mass of 70 grams is approximately 33 inches.
(c) The equation of the line can be determined by using the two data values (40, 24) and (80, 36).
\begin{align*}m &= \frac{y_2y_1}{x_2x_1}\\ m &= \frac{3624}{8040}\\ m &= \frac{12}{40}\\\ m &= \frac{3}{10}\\ \\ y &= mx+b\\ {\color{red}24} &= {\color{red}\frac{3}{10}}({\color{red}40})+b\\ 24 &= \frac{3}{\cancel{10}} \left(\overset{{\color{red}4}}{\cancel{40}}\right)+b\\ 24 &= 12+b\\ 24 {\color{red}12} &= 12 {\color{red}12}+b\\ 12 &= b\end{align*}
The \begin{align*}y\end{align*}intercept is (0, 12). The equation that models the situation is
\begin{align*}y=\frac{3}{10}x+12\end{align*}
\begin{align*}\boxed{l=\frac{3}{10} m+12}\end{align*}
where ‘\begin{align*}l\end{align*}’ is the length of the spring in inches and ‘\begin{align*}m\end{align*}’ is the mass in grams.
(d) \begin{align*}&l = \frac{3}{10}m+12 && \text{Use the equation and substitute} \ 60 \ \text{in for} \ m.\\ & l = \frac{3}{10}({\color{red}60})+12\\ & l = \frac{3}{\cancel{10}} \left(\overset{{\color{red}6}}{\cancel{60}}\right)+12\\ & l = 18+12\\ & \boxed{l = 30 \ inches}\end{align*}
(e) The \begin{align*}y\end{align*}intercept is (0, 12). The \begin{align*}y\end{align*}intercept represents the length of the coil spring before a mass was suspended from it. The length of the coil spring was 12 inches.
Example C
Juan drove from his mother’s home to his sister’s home. After driving for 20 minutes he was 62 miles away from his sister’s home and after driving for 32 minutes he was only 38 miles away. The time driving and the distance away from his sister’s home form a linear relationship.
(a) What is the independent variable? What is the dependent variable?
(b) What are the two data values?
(c) Draw a graph to represent this problem. Label the axis appropriately.
(d) Write an equation expressing distance in terms of time driving.
(e) What is the slope and what is its meaning in this problem?
(f) What is the timeintercept and what does it represent?
(g) What is the distanceintercept and what does it represent?
(h) How far is Juan from his sister’s home after he had been driving for 35 minutes?
Solution:
(a) The independent variable is the time driving. The dependent variable is the distance.
(b) The two data values are (20, 62) and (32, 38).
(c) On the \begin{align*}x\end{align*}axis is the time in minutes and on the \begin{align*}y\end{align*}axis is the distance in miles.
(d) (20, 62) and (32, 38) are the coordinates that will be used to calculate the slope of the line.
\begin{align*}m &= \frac{y_2y_1}{x_2x_1}\\ m &= \frac{3862}{3220}\\ m &= \frac{24}{12}\\ m &= 2\\ \\ y &= mx+b\\ {\color{red}62} &= {\color{red}2} ({\color{red}20})+b\\ 62 &= 40+b\\ 62 {\color{red}+40} &= 40 {\color{red}+40}+b\\ 102 &= b \qquad \text{The} \ y \text{intercept is} \ (0, 102)\end{align*}
\begin{align*}y &= mx+b\\ y &= 2x+102\\ d &= 2t+102\end{align*}
(e) The slope is \begin{align*}2=\frac{2}{1}=\frac{2(miles)}{1(minute)}\end{align*}. The slope means that for each minute of driving, the distance that Juan has to drive to his sister’s home is reduced by 2 miles.
(f) The timeintercept is actually the \begin{align*}x\end{align*}intercept. This value is:
\begin{align*}d &= 2t+102 && \text{Set} \ d=0 \ \text{and solve for} \ t.\\ {\color{red}0} &= 2t+102\\ 0 {\color{red}+2t} &= 2t {\color{red}+2t}+102\\ 2t &= 102\\ \frac{2t}{{\color{red}2}} &= \frac{102}{{\color{red}2}}\\ \frac{\cancel{2}t}{\cancel{2}} &= \frac{102}{2}\\ t &= 51 \ minutes\end{align*}
The timeintercept is 51 minutes and this represents the time it took Juan to drive from his mother’s home to his sister’s home.
(g) The distanceintercept is the \begin{align*}y\end{align*}intercept. This value has been calculated as (0, 102). The distanceintercept represents the distance between his mother’s home and his sister’s home. The distance is 102 miles.
(h)\begin{align*}d &= 2t+102 && \text{Substitute} \ 35 \ \text{into the equation for} \ t \ \text{and solve for} \ d.\\ d &= 2 ({\color{red}35})+102\\ d &= 70+102\\ d &= 32 \ miles\end{align*}
After driving for 35 minutes, Juan is 32 miles from his sister’s home.
Concept Problem Revisited
Joe’s Warehouse has banquet facilities to accommodate a maximum of 250 people. When the manager quotes a price for a banquet she is including the cost of renting the room plus the cost of the meal. A banquet for 70 people costs $1300. For 120 people, the price is $2200.
(a) Plot a graph of cost versus the number of people.
(b) From the graph, estimate the cost of a banquet for 150 people.
(c) Determine the slope of the line. What quantity does the slope of the line represent?
(d) Write an equation to model this reallife situation.
Solution:
(a) On the \begin{align*}x\end{align*}axis is the number of people and on the \begin{align*}y\end{align*}axis is the cost of the banquet.
(b) The approximate cost of a banquet for 150 people is $2700.
(c) The two data points (70, 1300) and (120, 2200) will be used to calculate the slope of the line.
\begin{align*}m &= \frac{y_2y_1}{x_2x_1}\\ m &= \frac{22001300}{12070}\\ m &= \frac{900}{50}\\ m &= \frac{18}{1}\end{align*}
The slope represents the cost of the banquet for each person. The cost is $18 per person.
When a linear function is used to model the real life situation, the equation can be written in the form or in the form \begin{align*}y=mx+b\end{align*} or in the form \begin{align*}Ax+By+C=0\end{align*}.
(d) \begin{align*}y &= mx+b\\ {\color{red}1300} &= {\color{red}18}({\color{red}70})+b\\ 1300 &= 1260+b\\ 1300 {\color{red}1260} &= 1260 {\color{red}1260}+b\\ 40 &=b\end{align*}
The \begin{align*}y\end{align*}intercept is (0, 40)
The equation to model the reallife situation is \begin{align*}y=18x+40\end{align*}. The variables should be changed to match the labels on the axes. The equation that best models the situation is \begin{align*}c=18n+40\end{align*} where ‘\begin{align*}c\end{align*}’ represents the cost and ‘\begin{align*}n\end{align*}’ represents the number of people.
Vocabulary
 Slope – Intercept Form
 The slopeintercept form is one method for writing the equation of a line. The slopeintercept form is \begin{align*}y = mx + b\end{align*} where \begin{align*}m\end{align*} refers to the slope and \begin{align*}b\end{align*} identifies the \begin{align*}y\end{align*}intercept.
 Standard Form
 The standard form is another method for writing the equation of a line. The standard form is \begin{align*}Ax + By + C = 0\end{align*} where \begin{align*}A\end{align*} is the coefficient of \begin{align*}x\end{align*}, \begin{align*}B\end{align*} is the coefficient of \begin{align*}y\end{align*} and \begin{align*}C\end{align*} is a constant.
Guided Practice
1. Some college students who plan on becoming math teachers decide to set up a tutoring service for high school math students. One student was charged $25 for 3 hours of tutoring. Another student was charged $55 for 7 hours of tutoring. The relationship between the cost and time is linear.
 (a) What is the independent variable?
 (b) What is the dependent variable?
 (c) What are two data values for this relationship?
 (d) Draw a graph of cost versus time.
 (e) Determine an equation to model the situation.
 (f) What is the significance of the slope?
 (g) What is the costintercept? What does the costintercept represent?
2. A Glace Bay developer has produced a new handheld computer called the Blueberry. He sold 10 computers in one location for $1950 and 15 in another for $2850. The number of computers and cost forms a linear relationship
 (a) State the dependent and independent variables.
 (b) Sketch a graph.
 (c) Find an equation expressing cost in terms of the number of computers.
 (d) State the slope of the line and tell what the slope means to the problem.
 (e) State the costintercept and tell what it means to this problem.
 (f) Using your equation, calculate the number of computers you could get for $6000.
3. Handy Andy sells one quart can of paint thinner for $7.65 and a two quart can for $13.95. Assume there is a linear relationship between the volume of paint thinner and the price.
 (a) What is the independent variable?
 (b) What is the dependent variable?
 (c) Write two data values for this relationship.
 (d) Draw a graph to represent this relationship.
 (e) What is the slope of the line?
 (f) What does the slope represent in this problem?
 (g) Write an equation to model this problem.
 (h) What is the costintercept?
 (i) What does the costintercept represent in this problem?
 (j) How much would you pay for 6 quarts of paint thinner?
Answers:
1. (a) The cost for tutoring depends upon the amount of time. The independent variable is the time.
 (b) The dependent variable is the cost.
 (c) Two data values for this relationship are (3, 25) and (7, 55).
 (d) On the \begin{align*}x\end{align*}axis is the time in hours and on the \begin{align*}y\end{align*}axis is the cost in dollars.
 (e) Use the two data values (3, 25) and (7, 55) to calculate the slope of the line. \begin{align*}m = \frac{15}{2}\end{align*}. Determine the \begin{align*}y\end{align*}intercept of the graph.

 \begin{align*}y&=mx+b\\ {\color{red}25}&= {\color{red}\frac{15}{2}}( {\color{red}3})+b && \text{Use the slope and one of the data values to determine the value of} \ b.\\ 25 &= \frac{45}{2}+b\\ 25 {\color{red}\frac{45}{2}} &= \frac{45}{2} {\color{red}\frac{45}{2}}+b\\ {\color{red}\frac{50}{2}}\frac{45}{2} &= b\\ \frac{5}{2} &= b\end{align*}

 The equation to model the relationship is \begin{align*}y=\frac{15}{2}x+\frac{5}{2}\end{align*}. To match the variables of the equation with the graph the equation is \begin{align*}\boxed{c=\frac{15}{2}t+\frac{5}{2}}\end{align*}. The relationship is cost in dollars versus time in hours. The equation could also be written as \begin{align*}\boxed{c=7.50t+2.50}\end{align*}.
 (f) The slope of \begin{align*}\frac{15}{2}\end{align*} means that it costs $15.00 for 2 hours of tutoring. If the slope is expressed as a decimal, it means that it costs $7.50 for 1 hour of tutoring.
 (g) The costintercept is the \begin{align*}y\end{align*}intercept. The \begin{align*}y\end{align*}intercept is (0, 2.50). This value could represent the cost of having a scheduled time or the cost that must be paid for cancelling the appointment. In a problem like this, the \begin{align*}y\end{align*}intercept must be represent a meaningful quantity for the problem.
2. (a) The number of dollars in sales from the computers depends upon the number of computers sold. The dependent variable is the dollars in sales and the independent variable is the number of computers sold.
 (b) On the \begin{align*}x\end{align*}axis is the number of computers and on the \begin{align*}y\end{align*}axis is the cost of the computers.
 (c) Use the data values (10, 1950) and (15, 2850) to calculate the slope of the line. \begin{align*}m=180\end{align*}. Next determine the \begin{align*}y\end{align*}intercept of the graph.

 \begin{align*}y &= mx+b\\ 1950 &= 180(10)+b\\ 1950 &= 1800+b\\ 19501800 &= 18001800+b\\ 150 &= b\end{align*}

 The equation of the line that models the relationship is \begin{align*}\boxed{y=180x+150}\end{align*}. To make the equation match the variables of the graph the equation is \begin{align*}\boxed{c=180n+150}\end{align*}.
 (d) The slope is \begin{align*}\frac{180}{1}\end{align*}. This means that the cost of one computer is $180.00.
 (e) The cost intercept is the \begin{align*}y\end{align*}intercept. The \begin{align*}y\end{align*}intercept is (0, 150). This could represent the cost of renting the location where the sales are being made or perhaps the salary for the sales person.
 (f)

 \begin{align*}c &= 180n+150\\ 6000 &= 180n+150\\ 6000150 &= 180n+150150\\ 5850 &= 180n\\ \frac{5850}{180} &= \frac{180n}{180}\\ \frac{5850}{180} &= \frac{\cancel{180} n}{\cancel{180}}\\ 32.5 &= n\end{align*}

 With $6000 you could get 32 computers.
3. (a) The independent variable is the volume of paint thinner.
 (b) The dependent variable is the cost of the paint thinner.
 (c) Two data values are (1, 7.65) and (2, 13.95).
 (d) On the \begin{align*}x\end{align*}axis is the volume in quarts and on the \begin{align*}y\end{align*}axis is the cost in dollars.
 (e) Use the two data values (1, 7.65) and (2, 13.95) to calculate the slope of the line. The slope is \begin{align*}m=6.30\end{align*}.
 (f) The slope represents the cost of one quart of paint thinner. The cost is $6.30.
 (g)

 \begin{align*}y &= mx+b\\ 7.65 &= 6.30(1)+b\\ 7.65 &= 6.30+b\\ 7.656.30 &= 6.306.30+b\\ 1.35 &= b\end{align*}

 The equation to model the relationship is \begin{align*}y=6.30x+1.35\end{align*}. The equation that matches the variables of the graph is \begin{align*}\boxed{c=6.30v+1.35}\end{align*}.
 (h) The costintercept is (0, 1.35).
 (i) This could represent the cost of the can that holds the paint thinner.
 (j)

 \begin{align*}c &= 6.30v+1.35\\ c &= 6.30(6)+1.35\\ c &= 37.80+1.35\\ c &= \$39.15\end{align*}

 The cost of 6 quarts of paint thinner is $39.15.
Practice
Players on the school soccer team are selling candles to raise money for an upcoming trip. Each player has 24 candles to sell. If a player sells 4 candles a profit of $30 is made. If he sells 12 candles a profit of $70 is made. The profit and the number of candles sold form a linear relation.
 State the dependent and the independent variables.
 What are the two data values for this relation?
 Draw a graph and label the axis.
 Determine an equation to model this situation.
 What is the slope and what does it mean in this problem?
 Find the profitintercept and explain what it represents.
 Calculate the maximum profit that a player can make.
 Write a suitable domain and range.
 If a player makes a profit of $90, how many candles did he sell?
 Is this data continuous or discrete? Justify your answer.
Jacob leaves his summer cottage and drives home. After driving for 5 hours, he is 112 km from home, and after 7 hours, he is 15 km from home. Assume that the distance from home and the number of hours driving form a linear relationship.
 State the dependent and the independent variables.
 What are the two data values for this relationship?
 Represent this linear relationship graphically.
 Determine the equation to model this situation.
 What is the slope and what does it represent?
 Find the distanceintercept and its reallife meaning in this problem.
 How long did it take Jacob to drive from his summer cottage to home?
 Write a suitable domain and range.
 How far was Jacob from home after driving 4 hours?
 How long had Jacob been driving when he was 209 km from home?
Notes/Highlights Having trouble? Report an issue.
Color  Highlighted Text  Notes  

Please Sign In to create your own Highlights / Notes  
Show More 
Image Attributions
Here you will learn how to use what you know about the equations and graphs of lines to help you to solve reallife problems.
We need you!
At the moment, we do not have exercises for Applications of Linear Functions.
To add resources, you must be the owner of the Modality. Click Customize to make your own copy.