How do you write an equation of a line with points (3,5), (2,-2)?

1 Answer
Jul 28, 2018

#y=7x-16#

Explanation:

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

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

#"where m is the slope and c 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)=(3,5)" and "(x_2,y_2)=(2,-2)#

#m=(-2-5)/(2-3)=(-7)/(-1)=7#

#y=7x+clarrcolor(blue)"is the partial equation"#

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

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

#5=21+crArrc=5-21=-16#

#y=7x-16larrcolor(red)"equation in slope-intercept form"#