Mehdi R. answered 09/05/20
My Mission is to Simplify the most Complex Concepts for You
You can suppose:
x1=1, x2=2, x3=3, x4=4, x5=5
y1=1.7, y2=1.1, y3=0.5, y4= -0.1, y5= -0.7
As we know: slope = m = (y2 - y1) / (x2 - x1) → m = (1.1-1.7) / (2 - 1) = - 0.6
We can also use other pairs of x and y to find slope:
For example: m = (y4 - y2) / (x4 - x2) → m = (- 0.1 - 1.1) / (4 - 2 ) = (-1.2) / 2 = - 0.6
Line equation when we know its slope and a point is:
y - y1 = m (x - x1) → y - 1.7 = (-0.6) (x - 1) → y = (-0.6) (x - 1) + 1.7 → y = - 0.6 x + 2.3
We can also use other points to find line equation:
y - y3 = m (x - x3) → y - 0.5 = (-0.6) (x - 3) → y = (-0.6) (x - 3) + 0.5 → y = - 0.6 x + 2.3
We can find y intercept when x=0:
y = - 0.6 (0) + 2.3 → y = 2.3
All of pairs (x,y) satisfy the line equation (y = - 0.6 x + 2.3)
For example (4, - 0.1) → y = - 0.6 (4) + 2.3 → y = - 0.1