
Johnny T. answered 12/04/20
Mathematics, Computer Science & Electrical Engineering Tutor
The standard form for a linear equation is:
y = mx + b
Where:
- m = the slope
- b = the y-intercept (the point where the line intercepts the y-axis)
- x = the independent variable
- y = the dependent variable
First, one must find the slope. To do this, one must first remember that the slope is defined as:
"rise over run"
Therefore, one must find the differences between the x coordinates and y coordinates of the two points as follows:
- P1 = ( x1, y1 ) = ( -2, 5 )
- P2 = ( x2, y2 ) = ( -4, -5 )
- It does not matter from which point one subtracts the other, the slope will come-out to be the same:
- Method A:
- Δx = x1 - x2 = -2 - ( -4 ) = -2 + 4 = 2
- Δy = y1 - y2 = 5 - ( -5 ) = 5 + 5 = 10
- m = Δy / Δx = 10 / 2 = 5
- Method B:
- Δx = x2 - x1 = -4 - ( -2 ) = -4 + 2 = -2
- Δy = y2 - y1 = -5 - 5 = - 10
- m = Δy / Δx = -10 / -2 = 5
Now that the slope has been found, the equation becomes:
- y = mx + b
- y = 5x + b; using the value of the slope found in the previous step
The next thing to do is to find the value of b, which is the y-intercept. To do this, one can use either one of the two points provided in the problem:
- Method A (Using P1)
- P1 = ( x1, y1 ) = ( -2, 5 )
- x = -2
- y = 5
- y = 5x + b
- 5 = (5) ( -2 ) + b
- -10 + b = 5
- b = 15
- Method B (Using P2):
- P2 = ( x2, y2 ) = ( -4, -5 )
- x = -4
- y = -5
- y = 5x + b
- -5 = (5) ( -4 ) + b
- -20 + b = -5
- b = 15
Using both P1 and P2, it was found that the y-intercept of the line is b = 15. Using this last value, and substituting it for b in the equation, this equation now becomes:
- y = mx + b
- y = 5x + b
- y = 5x + 15
FINAL ANSWER:
y = 5x + 15