How do you write an equation in slope intercept form given (5, 7) and (8, 22)?

1 Answer
Apr 8, 2018

#y=5x-18#

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)=(5,7)" and "(x_2,y_2)=(8,22)#

#rArrm=(22-7)/(8-5)=15/3=5#

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

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

#"using "(5,7)" then"#

#7=25+brArrb=7-25=-18#

#rArry=5x-18larrcolor(red)"in slope-intercept form"#