Equation of a line
The slope-intercept of the equation of a line is given by:
y = mx + b
Where m is the slope and b is the y-intercept
The slope can be calculated with the formula:
![\displaystyle m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/college/zkw1rebg6qix1w4pvkuol78hb2zfucnx6e.png)
Where (x1,y1) (x2,y2) are the points through which the line passes. We are given the points (5,-1) and (0,-5), thus:
![m=(-5+1)/(0-5)=(-4)/(-5)=(4)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/zrz79ftoov47zizjjsu8ja2ttuykgjzou9.png)
The equation of the line is:
![y=(4)/(5)x+b](https://img.qammunity.org/2023/formulas/mathematics/college/jfnep6ks6z2635h2mp2dyho4rl1n42dpsn.png)
To determine the value of b, we use any of the given points, for example, (0,-5):
![-5=(4)/(5)\cdot0+b=b](https://img.qammunity.org/2023/formulas/mathematics/college/32otmbn9eru8eg4mltv94mmgkxay4x6im6.png)
Thus, b=-5
The equation of the line is now fully determined:
![y=(4)/(5)x-5](https://img.qammunity.org/2023/formulas/mathematics/college/ubksdyk025wwckjuczzbctr40i2r4bb159.png)
intercept