MLF - Modeling Linear Functions (Lesson)
Modeling Linear Functions
We use functions to tell us about relationships between values. For instance, let's say your cell phone plan charges you $0.15 per MB of data used. So we can write a function for the cost (C) in terms of the amount of data used. We would say C(m)=0.15m.
Let's take a look at a table of values for this function.
Data Used (MBs) Independent Variable: m |
Cost of Plan Dependent Variable: C(m) = 0.15m |
Coordinates (m, C(m)) |
---|---|---|
1 |
|
(1, 0.15) |
10 |
|
(10, 1.50) |
25 |
|
(25, 3.75) |
100 |
|
(100, 15) |
180 |
|
(180, 27) |
And let's look at the graphical representation of these points:
But, what if we used 50 MB of data? Or 121.5 MB of data? We need to consider this function as a continuous line so that we know the relationship between each amount of data used and the cost of our bill.
But first, we need to know how to graph lines!
Understanding Slope
Slope is the average rate of change of a function. For a line, the slope is considered the: rise/run. Slope = riserun=changeinychangeinx=ΔyΔx=y2−y1x2−x1
Note: The Greek symbol Δ (delta) stands for "change in" so
Δy would be interpreted as "change in y."
We can also calculate slope algebraically using the formula: m=y2−y1x2−x1
Example: Calculate the slope of the line that contains the points (1, -2) and (3, -5).
- Let the first coordinate be x1 and y1. And let the second coordinate be x2 and y2. (x1, y1) = (1, -2) and (x2, y2) = (3, -5)
- Substitute into the equation:
m=y2−y1x2−x1=−5−(−2)3−1=−5+22=−32
This line has a negative slope which means it decreases (goes down from left to right). Since we also know two points on our line, we can graph it:
Plot both points and use the slope (right 2 and down 3) to plot more points.
Connect the points to graph the line!
Watch this video to practice a few more:
Slope Practice
What is the slope of each graph?
1. 2.
3. 4.
Find the slope of the line containing the given points.
5. (-2, 3) and (4, -1)
6. (3, -4) and (3, 5)
7. (5, -7) and (-5, -7)
8. (-1,-4) and (-4, 5)
TO VIEW THE SOLUTIONS ONCE YOU HAVE PRACTICED, CLICK HERE. Links to an external site.
IMAGES CREATED BY GAVS