Linear equations can be applied to many real world applications. They are useful to solve practical problems we face everyday.
First, we need to identify if a scenario is linear by checking if the change in variables is constant.
Here are a couple examples:
- A car drives 60 km/h. Every hour, the distance of the car changes by 60 km.
- The cost of a soccer ball is $29.99. The total cost changes by $29.99 for every ball you purchase.
- A tub is filled with water at a rate of 5 L/s. The volume of the tub increases by 5 L every second.
If you are given a table of values, you can always check that the first difference is constant meaning the relationship is linear.
After you confirm the scenario is linear, we will need to write a linear equation in the form:
\( y = mx + b\)
where
- \(y\) is the dependent variable
- \(x\) is the independent variable
- \(m\) is the slope or rate of change
- \(b\) is the y-int or starting point (when \(x = 0 \))
It is a good idea to use varibles that match the scenario (for example, \(t\) for time). It is also good practice to write out what each variable represents and also the units. For example,
't represents the time in hours'.
The cost of a rental car is $22 plus $12 per day. Write an equation to model the relationship.
Show Answer
Since the cost per day is constant ($12/day) this is a linear equation.
The dependent variable is the cost which depends on the independent variable the number of days of the rental.
Next, we need to write an equation in the form \(y=mx+b\). The slope is the rate of change. Every day the cost increases by $12 (\(m=12\)).
The y-int is the starting point (a rental of 0 days). The rental car is going to cost $22 even if you don't drive it for a full day (\(b = 22\)).
The equation is:
\( C = 12d + 22\)
where \(C\) is the cost of the rental in dollars and \(d\) is the number of days.
The cost of a rental car is $22 plus $12 per day. Calcualte the cost of a one week car rental.
Show Answer
From above, the equation is:
\( C = 12d + 22\)
We need to calcualte the cost which means we need to plug-in a value for \(d\) and solve for \(C\). The rental is one week, however, \(d\) is the number of days!
Let's set \(d=7\) and solve:
\( C = 12d + 22\)
\( C = 12(7) + 22\)
\( C = 84 + 22\)
\( C = 106\)
A one week car rental will cost $106.
Throughout the week starting Monday, there were 12 sodas in Mei's fridge.
Mei would drink them everyday and by Tuesday there were only 10 sodas left and only 8 on Wednesday. This pattern countinued until Mei drank all the remaining of sodas.
Create an equation and a graph to show the relationship between the the amount of sodas left each day.
Show Answer
Mei seems to be drinking two sodas each day (yikes!). Since it is the same each day, this is a linear equation.
The dependent variable is the number of sodas which depends on the independent variable the number of days.
Next, we need to write an equation in the form \(y=mx+b\). The slope is the rate of change. Every day the number of soda decreases by 2 (\(m=-2\)).
The y-int is the starting point. We can say Monday is the starting points which represents \(d=0\). There were 12 sodas in the fridge on Monday (\(b = 12\)).
The equation is:
\( S = -2d + 12\)
where \(S\) is the number of soda and \(d\) is the number of days with Monday representing \(d=0\).
In order to graph this relation, let's write out a table of values. Remember, \(d=0\) is Monday.
d |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
S
| 12 |
10 |
8 |
6 |
4 |
2 |
0 |
The graph is shown below: