CHAPTER 6: LINEAR GROWTH

6-4: Linear Modeling – Linear Equations in Two Variables

Introduction

Using linear reasoning we have seen that linear patterns can be seen as a constant rate and initial value, paired data in a table, or coordinates on a graph that lie on a line. We can also use linear reasoning in any of the three formats to transform the data into an equation. Such an equation shows the relationship between the independent and dependent values, and since that relationship is linear, we call the equation a linear equation.

Explore Icon Constructing an Equation using Linear Reasoning

We have already seen that linear reasoning starts with an initial value, and adds a constant rate of change multiple times. To simplify the multiple additions, we used multiplication of the constant rate of change by a given independent value to obtain the dependent value we are trying to find. For example, suppose the drop fee of a taxi ride is $10, and you are charged an additional mileage fee of $1.50 per mile traveled. If you travel 5 miles, the cost would be $10 + ($1.50/mile)(5 miles). So, if you travel x miles the cost would be \$10 + (\$1.50/\text{mile})(x\;\text{miles}). So, we can generate an equation that will allow us to determine the cost of the taxi ride for any number of miles. That is, we take a specific example of traveling 5 miles to a general equation of traveling any number of miles.

 

Explore 1 – Identify independent and dependent values and their units

Determine the independent and dependent values for each rate below. Explain how the independent value determines the dependent value. Give an example of a possible real-life scenario for each rate.

  1. $6.25 per kg.

Solution

The independent value is 1 kg. The dependent value is $6.25. The money increases by $6.25 as the weight increases by 1 kg. A possible scenario for the rate is the money you get by selling aluminum cans in kilograms to a recycler.

  1. 65 miles per hour

Solution

The independent value is 1 hour. The dependent value is 65 miles. The distance increases 65 miles as the time increases by 1 hour. A possible scenario for the rate is the speed of a car traveling at 65 mph.

  1. \dfrac{\$8}{3\;\;\text{items}}

Solution

The independent value is 3 items. The dependent value is $8. The money increases by $8 as the number of items increases by 3. A possible scenario for the rate is the price of goods in a supermarket.

  1. \dfrac{-3\;\;\text{inches}}{2\;\;\text{hours}}

Solution

The independent value is 2 hours. The dependent value is –3 inches. It decreases by 3 inches as the time increases by 2 hours. A possible scenario for the rate is the decrease of water level in a child’s wading pool.

 

Explore 2 – Identify the independent variable and dependent variable

  1. If a movie ticket costs $8.50, the total cost, C, of buying t tickets is \$8.50t. Is t the independent variable or the dependent variable? Is C the independent variable or the dependent variable? Explain your reasoning.

Solution

t is the independent variable and C is the dependent variable. Knowing that the rate is $8.50 per ticket, the independent value is one ticket. Therefore, the independent variable is the number of tickets, t. Since the dependent value is $8.50, the dependent variable is the cost that has the unit dollars. Therefore, C is the dependent variable. In other words, the total cost, Cdepends upon the number of tickets purchased, t.

  1. Kelsey is a part-time student worker at UVU. She gets paid $15.50 per hour and works up to 28 hours per week. She gets paid every two weeks. Her gross pay, G, can be found by multiplying the number of hours she works, h, by \$15.50. What is the independent variable and what is the dependent variable? Explain your reasoning.

Solution

h is the independent variable and G is the dependent variable. Knowing that the rate is $15.50 per hour, the independent value is one hour and the dependent value is $15.50. Therefore, the independent variable is the number of hours, h, and the dependent variable is the gross pay, G. In other words, the gross pay, G, depends upon the number of hours worked, h.

 

Explore 3 – Write the equation for a positive linear rate

A gym charges a signup fee of $50. It then charges $40 per month to use the facilities.

  1. Does this represent a linear pattern? Explain your reasoning.

Solution

Yes. It has an initial value of $50 and a constant rate of change of $40 per month.

  1. How much would it cost to sign up and use the gym for 1 month?

Solution

The total cost = signup fee + monthly charge = $50 + $40/month · 1 month = $50 + $40 = $90

  1. How much would it cost to sign up and use the gym for 6 months?

Solution

The total cost = signup fee + monthly charges = $50 + $40/month · 6 months = $50 + $240 = $290

  1. How much would it cost to sign up and use the gym for 9 months?

Solution

The total cost = signup fee + monthly charges = $50 + $40/month · 9 months = $50 + $360 = $410

  1. Explain in words how to determine the total cost of signing up and using the gym.

Solution

The total cost equals the signup fee plus the monthly rate times the number of months.

  1. If C = the total cost, and m = the number of months, write an equation that shows the total cost to sign up and use the gym for m months.

Solution

C=50+40m

  1. Use your equation to determine the total cost of signing up and using the gym for 2 years.

Solution

Since 2 years = 24 months, m=24. So, C=50+40m=50+40(24)=1010. The total cost os $1010.

 

Linear Patterns as Equations

An equation can be written to represent a linear pattern. The equation will take the form:
Dependent variable = Initial value + Rate of change · Independent variable

 

Explore 4 – Write the equation for a positive linear rate

Use linear reasoning to write the equation for each of the following linear patterns. Use the variable x for the independent variable and y for the dependent variable. After writing the equation, substitute a value for x that makes sense to the situation to determine the value of y. Then explain what the values of x and y mean.

  1. John purchases some bananas that cost $0.49 per pound.

Solution

The initial value is $0 since it costs nothing to buy nothing. Therefore, the equation is y=0.49x

If x=10, then y=0.49x=0.49(10)=4.9This means if John purchases 10 pounds of bananas, the cost will be $4.90.

 

  1. A car travels at 65 miles per hour towards Las Vegas, with 100 miles already completed.

Solution

The initial value = 100 miles and the rate of change = 65 mph. Therefore, the equation is y=100+65x

If x=3y=100+65x=100+65(3)=295. This means the car traveled a total of 295 miles in three hours toward Las Vegas.

 

  1. Kaye rents a truck that charges a $29.99 base fee and a mileage fee of $0.75 per mile.

Solution

The initial value is $29.99 and the rate of change is $0.75 per mile. Therefore, the equation is y=29.99+0.75x

If x=20y=29.99+0.75x=29.99+0.75(20)=44.99. This means Kaye’s total rental charge will be $44.99 if she travels 20 miles.

 

  1. A nurse gives a patient the first dose of 10mg of medicine followed by the rate \dfrac{3mg}{12\;hours}.

Solution

The initial value is 10mg and the rate of change is \dfrac{3mg}{12\;hours}, which simplifies to 0.25mg per hour.

Therefore, the equation is y=10+0.25x

If x=36, y=10+0.25x=10+0.25(36)=19. This means the total amount of medicine the patient receives is 19 milligrams over 36 hours.

 

Explore 5 – Write the equation for a negative linear rate

Use linear reasoning to write the equation for each of the following linear patterns. Use the variable x for the independent variable and y for the dependent variable. After writing the equation, substitute a value for x that makes sense to the situation to determine the value of y. Then explain what the values of x and y mean.

  1. The water level of a lake is dropping 2 inches per day due to evaporation and a recent drought. The current water level is 120 inches.

Solution

The initial value is 120 inches. The rate of change is –2 inches per day. The rate is negative because the water level is dropping.

Therefore the equation is y=120-2x

If x=30, then y=120-2(30)=60. This means the depth of the lake will be 60 inches after 30 days if the drought continues.

 

  1. A car depreciates at an average rate of $2000 per year. The current value of a car is $32,000.

Solution

The initial value is $32,000 and the rate of change = –$2000 per year. Therefore, the equation is y=32,000-2000x.

If x=10, then y=32,000-2000(10)=12,000. This means the value of the car will drop to $12,000 after 10 years.

When we use a linear pattern to identify the initial value and the rate of change, then write an equation of the form Dependent variable = Initial value + Rate of change · Independent variable, we are writing a linear equation.

 

Writing a Linear Equation

If y = Dependent variable, b = Initial value, and m = Rate of change, the linear equation is:

y=b+mx      or      y=mx+b

Notice that y=b+mx and y=mx+b are equivalent. However, in math it is common practice to write the variable term before the constant term, so y=mx+b is more likely to be seen in math textbooks or in online help videos.

 

Example

A MacBook Pro battery has a 100Wh capacity. A fully charged laptop battery loses 5% of its maximum capacity every hour when Ian searches the Internet. Suppose y represents the percent of battery power remaining after x hours of searching the Internet.

  1. What is the initial value of y? Explain what this value means.
  2. What is the constant rate of change?
  3. Write an equation that represents y in terms of x.
  4. Use the equation to determine the battery power after 3 hours.
  5. Use the equation to determine the battery power after 10 hours.
  6. Use the equation to determine when the battery power is at zero
Show/Hide Answer
  1. 100%. The battery is fully charged.
  2. –5% per hour
  3. y=-5x+100
  4. 85%
  5. 50%
  6. 20 hours

 

Reflect Icon

  • The equation for a linear pattern is y=mx+b where m is the rate of change and b is the initial value. Additionally, x is the independent variable and y is the dependent variable. Explain the meaning of mx, mx+b, and y=mx+b.
Show/Hide Answer

The term mx represents the rate m times the independent variable x. It tells us the change in the dependent variable y given a change in the independent variable x. It is the amount that is added to the initial value.

The combination of the two terms mx+b adds the change in the value of y given a change in x to the initial value. It tells us the total value of the dependent variable given any value of the independent variable.

The equation y=mx+b shows the relationship between the independent variable x and the dependent variable y. It allows us to calculate the value of y given any value of x.

 

Explore Icon Construct a Linear Equation from a Table

 

Explore 6 – Write a linear equation from a table showing a constant rate of change

The table shows the salary of a person.

Hours Worked Salary ($)
0 200
1 210
2 220
3 230
4 240
  1. What is the rate of change? Does this show a linear pattern?

Solution

The rate is $10 per hour because the salary increases $10 as the number of hours increases by 1. Yes this is a linear pattern since the rate of change is constant at $10/hour.

  1. Identify the independent and dependent variables along with their units, and the initial value.

Solution

The independent variable is hours worked measured in hours and the dependent variable is salary measured in dollars. The initial value is $200.

  1. Write an equation for the linear pattern in the table.

Solution

Let x = hours worked and y = salary. Then, y=10x+200

  1. What could the initial value represents in this scenario?

Solution

The initial value of $200 could be a transportation stipend, a meal stipend, or a base wage.

 

Explore 7 – Write a linear equation from a table with a negative rate of change

 The table shows the air temperature over time.

Time passed (Hours) Temperature (° Fahrenheit)
0 56
1 52
2 48
3 44
4 40
  1. What is the rate of change? Does this show a linear pattern?

Solution

The rate is –4 degrees Fahrenheit per hour because the temperature drops 6 degrees Fahrenheit every hour. Yes this is a linear pattern since the rate of change is constant at –4°F/hour.

  1. Identify the independent and dependent variables along with their units, and the initial value.

Solution

The independent variable is time passed measured in hours and the dependent variable is temperature measured in degrees Fahrenheit. The initial temperature is 56°F.

  1. Write an equation for the linear pattern in the table.

Solution

Let x = time passed and y = temperature. Then, y=-4x+56

  1. What do you think the initial value represents in this temperature scenario?

Solution

The initial value of 56 degrees Fahrenheit is the starting temperature, so could be the high temperature of the day before the sun goes down and the temperatures start to fall.

 

Examples

  1. The table shows the cost to play video games at a Game Shop.
Number of Games 0 1 2 3 4
Cost ($) 2.50 2.60 2.70 2.80 2.90

a) What is the initial value and what does it represent?     b) What is the rate of change and what does it tell us?     c) If x = the number of games and y = the cost, write an equation that represents this data.     d) What are the restrictions on the values of x?     e) Use your equation to determine the cost to play 10 games.     f) Use your equation to determine the cost to play 25 games.

  1. The table shows the weight of a person on a diet over time.
Time (Weeks) 0 1 2 3 4 5 6 7 8
Weight (lb.) 254 251 248 245 242 239 236 233 230

a) What is the initial value and what does it represent?     b) What is the rate of change and what does it tell us?     c) How long will it take the person to reach their first goal of weighing 200 lb?     d) How long will it take this person to lose 90 lb. and hit their target weight?     e) If x = time and y = weight, write an equation that represents this data.     f) Use your equation to determine the person’s weight after 20 weeks.    

 

Show/Hide Answer
  1. a) $2.50.  The cost to enter the Game Shop.     b) $0.10 per game = 10¢ per game.  The increase in cost to play 1 more game.     c) y=0.1x+2.5     d) x must be a whole number     e) $3.50     f) $5
  2. a) 254 lb. The person’s starting weight.     b) –3 lb. per week. The person is losing 3 pounds per week.    c) 18 weeks     d) 30 weeks      e) y=-3x+254     f) 194 lb.

 

 

Reflect Icon

  • A linear equation takes the form y=mx+b where m is the rate of change and b is the initial value. Explain how to identify m and b from a table showing a linear pattern.
Show/Hide Answer

You determine the rate of change m by calculating the change in the value of the dependent variable per the change in the value of the independent variable. The fraction will have the numerator as the change in the dependent variable values and the denominator the change in the independent variable values. If x_1, y_1 and x_2, y_2 are two pairs of values in a table, y_2-y_1 is the change in the value of the dependent variable and x_2-x_1 is the change in the value of the independent variable. Therefore, the rate m=\dfrac{y_2-y_1}{x_2-x_1}. The initial value is the value of the dependent variable when the independent variable equals zero.

Independent values (x) Dependent values (y)
x_1 y_1
x_2 y_2

 

Explore Icon Constructing a Linear Equation from a Graph

 

Explore 8 – Write the equation of a linear graph with a positive slope

The graph shows the total charge for an online purchase of a number of items with a set shipping fee.

  1. Identify the independent and dependent variables.

Solution

The independent variable is the number of items (shown on the x-axis). The dependent variable is the total charge (shown on the y-axis).

  1. Find the rate of change by using two points on the line.

Solution

The rate of change = the slope of the line.

Using the two points (0, 5) and (1, 7) on the line, the difference in y-coordinates (7 – 5 = 2) shows the increase in total charge of $2 (the rise). The difference in x-coordinates (1 – 0 = 1) shows an increase of 1 in the number of items (the run).

Therefore, the slope is \dfrac{\text{rise}}{\text{run}}=\dfrac{2}{1}, and the rate of change is $2 per item. 

  1. Find the shipping fee.

Solution

The shipping fee is the initial value. On the graph the initial value is found at the y-intercept. The y-intercept = (0, 5) so the initial value is $5. Therefore, the shipping fee is $5.

  1. Write an equation that represents the linear graph.

Solution

The rate of change is 2 and the initial value is 5, so the equation is y=2x+5.

 

The rate of change of a linear pattern = the slope of the line formed by graphing the data pairs on a coordinate system. If the points (x_1,y_1) and (x_2,y_2) lie on a line, the slope of the line is found by first determining the rise and the run. The rise = y_2-y_1 and the run = x_2-x_1. Therefore, the slope = \dfrac{y_2-y_1}{x_2-x_1}.

Slope of a Line

If (x_1,y_1) and (x_2,y_2) are points that lie on a line, and m = the slope of the line,

m=\dfrac{y_2-y_1}{x_2-x_1}

 

Explore 9 – Write the equation of a linear graph with a negative slope

The graph shows a temperature drop in degrees Celsius over time.

 

  1. Identify the independent and dependent variables along with their units.

Solution

The independent variable is time, shown on the x-axis and measured in hours. The dependent variable is temperature, shown on the y-axis and measured in degrees Celsius.

  1. Find the rate of change and initial value.

Solution

The rate of change = the slope of the line: m=\dfrac{y_2-y_1}{x_2-x_1}

Using the points (0, 20) and (20, 0), m=\dfrac{y_2-y_1}{x_2-x_1}=\dfrac{20-0}{0-20}=-1. Therefore, the rate of change = –1°C per hour.

The initial value is found at the y-intercept which is (0, 20). Therefore, the initial value is 20°C.

  1. Write an equation that represents the linear graph.

Solution

Since the rate of change = –1 and the initial value = 20, the equation is y=-x+20.

 

Reflect Icon

  • The linear equation  y=mx+b where m is the rate of change (or slope of the line) and b is the initial value (or y-intercept (0,b)). Explain how determine m and b from a linear graph (a line) on the coordinate plane.
Show/Hide Answer

The rate or slope m can be obtained by determining the rise over the run where the rise is the change in the values of the dependent variable between two points and the run is the change in the corresponding values of the independent variable. If the points (x_1,y_1) and (x_2,y_2) lie on the line, the slope of the line is found by first determining the rise and the run. The rise = y_2-y_1 and the run = x_2-x_1. Therefore, the slope = \dfrac{y_2-y_1}{x_2-x_1}.

The initial value b is the y-coordinate of the y-intercept.

 

Practice Exercises

  1. In 1995, 41 grey wolves were relocated to Yellowstone National Park in an effort to regain a native wolf population. Researchers estimate that the wolf population has been growing by approximately 12 wolves every year.  a) What are the independent and dependent variables?    b) What is the initial value?     c) What is the rate of change?     d) If W = the number of wolves and t = the number of years since 1995, write an equation that represents the number of wolves over time.     e) How many wolves were in the park in 1998?     f) How many wolves were in the park in 2000?     g) According to the equation, how many wolves were in the park in 2022?     h) Will the population continue to grow at 12 wolves every year? What could affect that number?
  2. Rebekah deposits $20,000 in a high interest savings account that pays 5% annual simple interest. a) What is the rate of change?     b) Write an equation that represents the account’s value over time in years.     c) How much will be in the account after 1 year?     d) How much will be in the account after 5 years?     e) How long will it take for Rebekah to have $50,000 in the account?
Show/Hide Answer
  1. a) Independent = time in years since 1995, dependent = number of wolves in Yellowstone     b) 41 wolves    c) 12 wolves per year     d) W=41+12t or W=12t+41     e) 77     f) 101     g) 365     h) No. The more wolves there are the more likely there are to be more pups born. Wolves also die every year, which would reduce the numbers. Wolves will leave the park and may be shot by ranchers. As of January 2023, there are at least 108 wolves in the park spread between 10 packs.[1]
  2. a) $1000 per year     b) Let x = number of years and y = value of the account, then y=1000x+20,000     c) $21,000     d) $25,000     e) 30 years

 

In this section, we will take what we have learned and apply the concepts to new situations.

Perspectives

  1. A gym charges a membership fee of $75 to join, and $35 per month to use the facility. a) Define the variables and write an equation that represents the total cost of joining and using the gym.     b) Use the equation to determine the total cost of joining and using the gym for 1 year.     c) Use the equation to determine how long Harry can belong to the gym if she pays $705.
  2. It is snowing outside. There are currently 5 inches of snow on the ground. Suppose the snow is accumulating at 2 inches every hour.  a) If x = the time it has been snowing in hours, and y=the depth of snow on the ground, write an equation that represents the depth of snow over time.     b) What is the snow depth after 5 hours?     c) If it keeps snowing at the same rate of accumulation, how long will it take till there are 2 feet of snow on the ground?
  3. The water level of Utah Lake is dropping at 0.1 inches every day. It’s current average depth is 9 feet 2 inches. a) If x = time in days from now, and y = the average depth of the lake in inches, write an equation that represents the average depth of the lake over time.     b) Use your equation to determine the average depth of the lake in 30 days.     c) Use your equation to determine the average depth of the lake in one year.     d) Use your equation to determine when the average depth of the lake will be dry.
  4. Heather needs to order official transcripts to apply to graduate schools. The university charges $5 per transcript and a processing fee of $2.50. a) Write an equation that represents the cost of ordering transcripts.     b) How much will it cost to order 4 transcripts?     c) How much will it cost to order 9 transcripts?
  5. The temperature decreases by 3.3°F for every 1000 feet gain in elevation. Suppose you are at the trailhead of Timpanogos Mountain at Sundance. Timpanogos Mountain has an elevation of 11,752 feet, while Sundance has an elevation of 4738 feet. a) Write an equation to represent the temperature, y, after climbing x thousand feet up Timpanogos Mountain if the temperature at Sundance is 75°F.     b) What is the temperature at the top of the mountain?
  6. A strong thunderstorm flooded Tobin’s basement. He uses a pump to extract the water. The water depth drops 0.25 inches per minute. The current water depth is 1.5 feet.  a) What is the rate of change to the depth of water?     b) What is the initial value?     c) Write an equation that represents the depth of water, y, if the pump has been running for x minutes.    d) What will be the depth of water after 30 minutes of pumping?     e) How long will it take to pump out all the water?
  7. Jason graduated from college and got a job in 2012. His salary has been raised by a constant amount every year since 2014. Jason’s salary was $58,500 in 2016 and $78,500 in 2020.  a) What was Jason’s annual pay raise since 2014?     b) Make a table or use linear reasoning to determine Jason’s annual salary in 2015.     c) What is the initial value of the linear pattern for salary?     d) Why does the linear pattern not start in 2012?     e) Write an equation that represents Jason’s salary over time.     f) If the pattern continued at the same rate of change, how much did Jason earn in 2020?     g) If the pattern continues at the same rate of change, how much is Jason earning now?
Show/Hide Answer
  1. a) Let x = number of months and y = total cost,  then y=35x+75     b) $495     c) 18 months
  2. a) y=5+2x or y=2x+5     b) 10 inches     c) 9.5 hours
  3. a) y=110-0.1x or y=-0.1x+110     b) 107 inches = 8 feet 11 inches     c) 73.5 inches = 6 feet 1.5 inches.    d) 1100 days = 3 years 5 days (assuming no leap year)
  4. a) Let x = the number of transcripts and y = the cost, then y=5x+2.5     b) $22.50     c) $47.50
  5. a) y=75-3.3x or -3.3x+75     b) 36.2°F
  6. a) –0.25 inches per minute     b) 18 inches.    c) y=18-0.25x or -0.25x+18     d) 10.5 inches.    e) 72 minutes = 1 hour 12 minutes
  7. a) $10,000 per year.    b) $68,500     c) $38,500     d) The raises started in 2014.     e) Let x = time since 2014 and y = salary in thousands of dollars, then y=10x+38.5     f) $98,500     g) Answers vary: x=current year – 2014. Substitute x-value into equation and solve for y.

 

 

Skills IconIn this section, we will use what we have learned so far to practice skill problems.

Skill Exercises

Write an equation in x and y that represents the information:

  1. Slope = 3; y-intercept = (0, 5)
  2. Slope = –4; y-intercept = (0, –1)
  3. Slope = 3/4; y-intercept = (0, 1)
  4. Slope = –5/2; y-intercept = (0, 3)
  5. Slope = 0.2; y-intercept = (0, –7)

Determine the slope of the line that passes through the two points:

  1. (0, 3) and (1, 7)
  2. (0, –5) and (1, 5)
  3. (0, –2) and (2, 0)
  4. (2, 3) and (4, 6)
  5. (–1, 4) and (3, 8)
  6. (–2, –3) and (4, 5)
  7. (2, 4) and (4, –4)
  8. (4, 9) and (6, –1)
  9. (0, 0) and (4, –5)
  10. (0, –3) and (–5, –3)
Show/Hide Answer
  1. y=3x+5
  2. y=-4x-1
  3. y=\frac{3}{4}x+1
  4. y=-\frac{5}{2}x+3
  5. y=0.2x-7
  6. 4
  7. 10
  8. 1
  9. 3/2
  10. 1
  11. 4/3
  12. –4
  13. –5
  14. –5/4
  15. 0

  1. https://www.nps.gov/yell/learn/nature/wolves.htm

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Numeracy Copyright © 2023 by Utah Valley University is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.