we have two points (x, y): (0,1) and (1,3)
We can use the point-slope form
(y - y1) = m (x -x1)
The slope = m= (y2-y1)/ (x2-x1)
or
The slope-intercept form.
y = mx + b
m= (y2-y1)/ (x2-x1)
y-intercept is (0, b)
__________________________
Using The slope-intercept form,
y = mx + b
b = 1
point (0,1)
Replacing
y = mx + 1
finding the slope
point 1 (0, 1), x1= 0; y1= 1
point 2 (1, 3); x2= 1; y2= 3
m= (y2-y1)/ (x2-x1)
Replacing
m= ( 3- 2)/ (1 - 0) = 2/1 = 2
___________________
Replacing the slope
y = 2x + 1
__________________
Answer
y = 2x + 1