Write an equation for the line through the point with slope .
Choose the form that uses a point and a slope directly. Point-slope form is built for exactly this data:
where is the known point and the slope. Nothing has to be solved for first.
Substitute, and handle the negative x-coordinate carefully. With and :
The subtraction of a negative coordinate turns into addition. Writing here is the most common slip and would give the wrong intercept.
Distribute the slope.
Isolate y to reach slope-intercept form. Adding to both sides:
So the slope is (as required) and the y-intercept is .
Check that the original point satisfies the equation. Substituting :
The point lies on the line and the coefficient of is the given slope, so both conditions hold. In standard form the same line is .
Need to solve a different problem like this? Open the solver →