Find the slope and the y-intercept for the line that passes through (-7,-12) (3,12)
Given the two points on the line (-7, -12) and (3, 12). We can find both the slope and the y-int using the equation of a line
y = mx + b
Step 1:
Find the Slope
m = (y_{2 }- y_{1}) / (x_{2} - x_{1}) - pick your points (I will say (3, 12) is point 1 and (-7,-12) is point 2)
= ((-12) - 12) / ((-7) - 3) = -24/-10
which can be reduced to 12/5
Step 2:
Find y-int
(Using the equation of the line y = mx +b)
- pick a point (I picked (3,12) )
- plug in x,y, and m value
we get... 12 = (12/5)*(3) + b
Lets solve for b
12 - (36/5) = b (subtract (12/5)*3 from both sides to get b alone)
60/5 - 36/5 = b (convert to common denominator by multiplying by 5)
24/5 = b
Now we have the equation of the line
y = m x + b
y = (12/5)x + (24/5)