How do you write an equation in slope intercept form given that the line passes through the points (4,0) and (0,-4)?

Jun 7, 2018

$y = x - 4$

Explanation:

$\text{the equation of a line in "color(blue)"slope-intercept form}$ is.

•color(white)(x)y=mx+b

$\text{where m is the slope and b the y-intercept}$

$\text{to calculate m use the "color(blue)"gradient formula}$

•color(white)(x)m=(y_2-y_1)/(x_2-x_1)

$\text{let "(x_1,y_1)=(4,0)" amd } \left({x}_{2} , {y}_{2}\right) = \left(0 , - 4\right)$

$m = \frac{- 4 - 0}{0 - 4} = \frac{- 4}{- 4} = 1$

$\text{here "b=-4to(0,color(red)(-4))" is y-intercept}$

$y = x - 4 \leftarrow \textcolor{red}{\text{in slope-intercept form}}$