# How do you write an equation of a line given point (0,1) and (5,3)?

##### 2 Answers

#### 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 the slope use the "color(blue)"gradient formula"#

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

#"let "(x_1,y_1)=(0,1)" and "(x_2,y_2)=(5,3)#

#rArrm=(3-1)/(5-0)=2/5#

#"using "m=2/5" and "b=1to(0,color(red)(1))#

#rArry=2/5x+1larrcolor(red)"equation of line"#

#### Explanation:

The general line through

Can you see why? When

Substituting,

Check: