The slope of a line that passes through points (x1, y1) and (x2, y2) is computed as follows:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Replacing with (0, -2) and (1, 1):
[tex]m=\frac{1-(-2)}{1-0}=3[/tex]the y-intercept is the coordinate of the point at which the x-coordinate is equal to zero. From the table, this point is (0,-2)
Slope-intercept form of a line:
y = mx + b
where m is the slope and b is the y-intercept. Replacing with m = 3 and b = -2:
y = 3x - 2
Summarising:
• slope: 3
,• y-intercept: (0,-2)
,• equation: y = 3x - 2