How do you write the equation of a line given (5,1), (8,-2)?
Use the formula for slope to calculate the slope then use the point-slope formula to obtain the equation for the line.
See full explanation below:
First, use the two points to determine the slope of the line:
The slope can be found by using the formula:
Substituting the values from the problem gives:
We can now use the point-slope formula using either point from the problem and the slope we calculated to determine the equation of the line.
The point-slope formula states:
We can solve for