Consider that we and our friend begin to run along a path at different constant speeds. After 1 minute our friend is 45 meters ahead of us and after 3 minutes, 105 meters in front of us. We want to write an for the distance y our friend is ahead of us after x minutes. To do so, let's rewrite the given information as .
(Distance,Time) → (1,45) and (3,105)
Here, (1,45) represents the distance after 1 minute and (3,105) represents the distance after 3 minutes. Now, remember that equations written in follow a specific format.
y- y_1= m(x- x_1)
In this form, m is the of the and ( x_1, y_1) is a point on the line. We will determine the slope with the and using the obtained ordered pairs.
m = y_2-y_1/x_2-x_1
m=105- 45/3- 1
m=30
Now that we know the slope is 30, we can write the equation of the line in point-slope form. We can use either of the obtained points as (x_1,y_1) in our equation. Let's use ( 1, 45).
y-y_1=m(x-x_1)
y- 45= 30(x- 1)
y-45=30x-30* 1
y-45=30x-30
y-45+45=30x-30+45
y=30x+15
To graph this function, let's plot the ordered points in a and connect them with a line.