Given the points : ( 4 , 0 ) and ( 0 , 4 )
The general slope - intercept form is :
![y=m\cdot x+b](https://img.qammunity.org/2023/formulas/mathematics/college/3vdit4cyikmz0crw73cnwv4b8bte4f6lad.png)
Where m is the slope and b is y- intercept
The slope is :
![slope=m=(rise)/(run)=(y_2-y_1)/(x_2-x_1)=(4-0)/(0-4)=(4)/(-4)=-1](https://img.qammunity.org/2023/formulas/mathematics/college/w75k4evt3f7781u3xsq0fo9uu9uxxiugf9.png)
Y- intercept is the value of y when x = 0 , which is the given point ( 0 , 4 )
So,
![b=4](https://img.qammunity.org/2023/formulas/mathematics/high-school/jqbjioup74un7uzvgylyhqztsylsjc0tr4.png)
Substitute with m and b
so, the equation of the line is :
![\begin{gathered} y=-1\cdot x+4 \\ \\ y=-x+4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qj4x9dekf2ns9fjwxo8y4fcdqq9gsapzza.png)