<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 4.7: Applications of Linear Functions

Difficulty Level: Advanced Created by: CK-12
Estimated9 minsto complete
%
Progress
Practice Applications of Linear Graphs
Progress
Estimated9 minsto complete
%

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 real-life situation.

### Watch This

Khan Academy Basic Linear Function

### Guidance

Linear relationships are often used to model real-life situations. In order to create an equation and graph to model the real-life situation, you need at least two data values related to the real-life situation. When the data values have been represented graphically and the equation of the line has been determined, questions relating to the real-life situation can be presented and answered.

When equations and graphs are used to model real-life situations, the domain of the graph is sometimes xϵN\begin{align*}x \epsilon N\end{align*}. However, it is often more convenient to sketch the graph as though xϵR\begin{align*}x \epsilon R\end{align*} instead of showing the function as a series of points in the plane.

#### 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 real-life situation that cannot be modeled with just one equation.

(a) On the x\begin{align*}x\end{align*}-axis is the distance in miles and on the y\begin{align*}y\end{align*}-axis is the cost in dollars. The first line from A\begin{align*}A\end{align*} to B\begin{align*}B\end{align*} extends horizontally across the distance from 0 to 0.6 miles. The cost is constant at 2.00. The equation for this constant function is y=2.00\begin{align*}y=2.00\end{align*} or c=2.00\begin{align*}c=2.00\end{align*}. The second line from B\begin{align*}B\end{align*} to C\begin{align*}C\end{align*} and upward is not constant. (b) The equation that models the second graph can be determined by using the data points (0.6, 2.00) and (1, 3.00) mmmmmyy1y2y2y2+2yc=y2y1x2x1=3.002.0010.6=3.002.0010.6=1.000.4=2.5=m(xx1)=2.5(x0.6)=2.5x1.5=2.5x1.5+2=2.5x+0.5=2.5d+0.5Use the data points to calculate the slope.Use the slope and one point to determine the equation.\begin{align*}m &= \frac{y_2-y_1}{x_2-x_1} && \text{Use the data points to calculate the slope.}\\ m &= \frac{3.00-2.00}{1-0.6}\\ m &= \frac{3.00-2.00}{1-0.6}\\ m &= \frac{1.00}{0.4}\\ m &= 2.5\\ \\ y-y_1 &= m(x-x_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})\\ y-2 &= 2.5x-1.5\\ y-2 {\color{red}+2} &= 2.5x-1.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 & 00.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 = 40+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 slope-intercept 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_2-y_1}{x_2-x_1}\\ m &= \frac{36-24}{80-40}\\ 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 time-intercept and what does it represent? (g) What is the distance-intercept 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_2-y_1}{x_2-x_1}\\ m &= \frac{38-62}{32-20}\\ 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 time-intercept 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 time-intercept 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 distance-intercept is the \begin{align*}y\end{align*}-intercept. This value has been calculated as (0, 102). The distance-intercept 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 costs1300. 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 real-life 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 is2700.

(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_2-y_1}{x_2-x_1}\\ m &= \frac{2200-1300}{120-70}\\ 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 real-life 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 slope-intercept form is one method for writing the equation of a line. The slope-intercept 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 charged25 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 cost-intercept? What does the cost-intercept 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 cost-intercept 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 cost-intercept?
(i) What does the cost-intercept represent in this problem?
(j) How much would you pay for 6 quarts of paint thinner?

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 cost-intercept 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 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\\ 1950-1800 &= 1800-1800+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\\ 6000-150 &= 180n+150-150\\ 5850 &= 180n\\ \frac{5850}{180} &= \frac{180n}{180}\\ \frac{5850}{180} &= \frac{\cancel{180} n}{\cancel{180}}\\ 32.5 &= n\end{align*} With6000 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.65-6.30 &= 6.30-6.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 cost-intercept 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 is39.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.

1. State the dependent and the independent variables.
2. What are the two data values for this relation?
3. Draw a graph and label the axis.
4. Determine an equation to model this situation.
5. What is the slope and what does it mean in this problem?
6. Find the profit-intercept and explain what it represents.
7. Calculate the maximum profit that a player can make.
8. Write a suitable domain and range.
9. If a player makes a profit of \$90, how many candles did he sell?
10. Is this data continuous, discrete, or neither? 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.

1. State the dependent and the independent variables.
2. What are the two data values for this relationship?
3. Represent this linear relationship graphically.
4. Determine the equation to model this situation.
5. What is the slope and what does it represent?
6. Find the distance-intercept and its real-life meaning in this problem.
7. How long did it take Jacob to drive from his summer cottage to home?
8. Write a suitable domain and range.
9. How far was Jacob from home after driving 4 hours?
10. How long had Jacob been driving when he was 209 km from home?

### Answers for Explore More Problems

To view the Explore More answers, open this PDF file and look for section 4.7.

### Vocabulary Language: English

Linear Function

Linear Function

A linear function is a relation between two variables that produces a straight line when graphed.
Slope

Slope

Slope is a measure of the steepness of a line. A line can have positive, negative, zero (horizontal), or undefined (vertical) slope. The slope of a line can be found by calculating “rise over run” or “the change in the $y$ over the change in the $x$.” The symbol for slope is $m$

Show Hide Details
Description
Difficulty Level:
Authors:
Tags:
Subjects:
Search Keywords:

Date Created:
Apr 30, 2013