y = -3x +2
The general equation for a linear line is y = mx + b
Where:
- m = the slope of the line
- b = the y-intercept
To find the slope of a line we can use the formula
![(rise)/(run)](https://img.qammunity.org/2023/formulas/mathematics/high-school/no39b2f0w2gzubxdiqxvyh2etnpl71kc06.png)
Rise over run can be found suing two different points on the line.
in this case: (-1,5) and (1,-1)
The rise is the difference in y values:
![y_2 -y_1](https://img.qammunity.org/2023/formulas/mathematics/high-school/ycezux0an013xcxhhx3bcrkba2f3ibt2hc.png)
rise = (-1) - 5
rise = -6
run =
![x_2 - x_1](https://img.qammunity.org/2023/formulas/mathematics/high-school/1f1gzgga0as8kpvsoeyyvugf749g1s8u82.png)
run = 1 - (-1)
run = 2
rise/run =
![(-6)/(2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/qprlbvehg2f0ao0mqek0llkdkfweqw7r0k.png)
rise/ run = -3
We now have y = -3x + b
To find b we just look at the graph and locate a what point x = 0
- this occurs at (0,2)
- b = 2