Write the equation of the line in slope-intercept form.

0,2 1,-1

1 answer

To find the equation of the line in slope-intercept form, we first need to find the slope of the line using the two points given (0,2) and (1,-1).

The slope formula is:
m = (y2 - y1) / (x2 - x1)

Using the points (0,2) and (1,-1):
m = (-1 - 2) / (1 - 0)
m = -3 / 1
m = -3

Now that we have the slope, we can use the point-slope form of a linear equation (y - y1 = m(x - x1)) to find the equation of the line using one of the points:

Using the point (0,2):
y - 2 = -3(x - 0)
y - 2 = -3x
y = -3x + 2

Therefore, the equation of the line in slope-intercept form is:
y = -3x + 2