Given coordinates (1,3) and (0,1).
In order to find the equation of line, we need to find the slope between given coordinates.
We know slope formula,
m= ![\frac{y2-y1}{x2-x1}](https://tex.z-dn.net/?f=%5Cfrac%7By2-y1%7D%7Bx2-x1%7D)
We have (x1,y1) = (1,3) and (x2,y2) = (0,1).
Plugging values of x1,y1,x2 and y2 in slope formula, we get
![m=\frac{1-3}{0-1}](https://tex.z-dn.net/?f=m%3D%5Cfrac%7B1-3%7D%7B0-1%7D)
Simplifying top and bottom of the fraction we got for slope
![m=\frac{-2}{-1}=2](https://tex.z-dn.net/?f=m%3D%5Cfrac%7B-2%7D%7B-1%7D%3D2)
We got slope m=2.
We are given second point (0,1), where x-coordinate is 0 and y-coordinate is 1.
y-intercept is a point on y-axis, where x=0.
Therefore, y-intercept = 1.
Now, applying slope-intercept form of the linear equation
y=mx+b, where m is the slope and b is y-intercept.
m=2 and b=1.
Plugging values of m and b in slope-intercept form, we get
y=2x+1.
Therefore, point-slope form for the line is y=2x+1.