Answer:
y = 3x + 2
Step-by-step explanation:
Slope-intercept form: y = mx + b
Slope formula: [tex]\frac{y2-y1}{x2-x1}[/tex]
Given points: (-1, -1), (1, 5)
(-1, -1) = (x1, y1)
(1, 5) = (x2, y2)
To write the equation in slope-intercept form, we need to find the slope(m) and the y-intercept(b) of the equation.
First, let's find the slope. To do this, input the given points into the slope formula:
[tex]\frac{5-(-1)}{1-(-1)}[/tex]
Simplify:
5 - (-1) = 5 + 1 = 6
1 - (-1) = 1 + 1 = 2
[tex]\frac{6}{2}=3[/tex]
The slope is 3.
To find the y-intercept, input the slope and one of the given points(in this example I'll use point (1, 5)) into the equation and solve for b:
5 = 3(1) + b
5 = 3 + b
2 = b
The y-intercept is 2.
Now that we know the slope and the y-intercept, we can write the equation:
y = 3x + 2