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

##### 1 Answer

Jun 7, 2018

#### Explanation:

#"the equation of a line in "color(blue)"slope-intercept form"# is.

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

#"where m is the slope and b the y-intercept"#

#"to calculate m use the "color(blue)"gradient formula"#

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

#"let "(x_1,y_1)=(4,0)" amd "(x_2,y_2)=(0,-4)#

#m=(-4-0)/(0-4)=(-4)/(-4)=1#

#"here "b=-4to(0,color(red)(-4))" is y-intercept"#

#y=x-4larrcolor(red)"in slope-intercept form"#