What is the equation of the line that goes through #(2,6),(-4,-6)# in the slope intercept form?

1 Answer
Mar 13, 2018

#y=2x+2#

Explanation:

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

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

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

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

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

#"let "(x_1,y_1)=(2,6)" and "(x_2,y_2)=(-4,-6)#

#rArrm=(-6-6)/(-4-2)=(-12)/(-6)=2#

#rArry=2x+blarrcolor(blue)"is the partial equation"#

#"to find b substitute either of the 2 points into the"#
#"partial equation"#

#"using "(2,6)" then"#

#6=4+brArrb=6-4=2#

#rArry=2x+2larrcolor(red)"in slope-intercept form"#