01 · Learn the idea
Slopes describe direction
Parallel nonvertical lines have equal slopes. A line parallel to y=2x−5 through (3,4) satisfies y−4=2(x−3), or y=2x−2. Distinct intercepts show the lines do not coincide.
Perpendicular nonvertical lines have slopes whose product is −1. Perpendicular to slope 2 is slope −1/2. Through (3,4), y−4=−(1/2)(x−3), giving y=−x/2+11/2. Use a graph with equal axis scales to check the right angle visually.
02 · Build understanding
The axis cases need their own explanation
A horizontal line through (−3,5) is y=5, with slope 0 because the vertical change is zero. A vertical line through that point is x=−3, with undefined slope because its horizontal change is zero. Undefined does not mean zero.
A line parallel to the x-axis is horizontal; one perpendicular to it is vertical. A line parallel to the y-axis is vertical; one perpendicular to it is horizontal. Do not try to write a vertical line as y=mx+b with a numerical slope.
03 · Build understanding
Worked example: parallel to a line in standard form
Write the line through (−4, 7) that is parallel to 5x + 2y = 8.
Step 1: Find the slope of the given line by solving for y. Subtract 5x to get 2y = −5x + 8, then divide by 2 to get y = −(5/2)x + 4. The slope is −5/2.
Step 2: Keep that slope, because parallel lines have equal slopes, and put the new point into point-slope form: y − 7 = −(5/2)(x + 4).
Step 3: Simplify. Distribute to get y − 7 = −(5/2)x − 10, then add 7 to both sides: y = −(5/2)x − 3.
Step 4: Write standard form if you need it. Multiply by 2 and add 5x to both sides: 5x + 2y = −6. The left side matches the given line and only the constant changed. That happens every time with parallel lines.
Step 5: Check the point in the new equation: 5(−4) + 2(7) = −20 + 14 = −6. The point is on the new line. It is not on the given line, where the right side is 8, so the two lines are different and never meet. The graph shows them side by side, with (−4, 7) on the lower line.
- 5x + 2y = 8
- 5x + 2y = −6
04 · Build understanding
Worked example: a boardwalk at a right angle
On a park map marked in meters, a path follows the line y = (3/4)x + 1. A boardwalk must start at the fountain at (6, −5) and cross the path at a right angle. Write the equation of the boardwalk.
Step 1: Read the slope of the path from its equation: 3/4.
Step 2: Find the perpendicular slope. Flip the fraction and change its sign: −4/3. Test it: (3/4)(−4/3) = −1, the product that perpendicular slopes must have.
Step 3: Put the fountain into point-slope form: y − (−5) = −(4/3)(x − 6), which is y + 5 = −(4/3)(x − 6).
Step 4: Simplify. Distribute to get y + 5 = −(4/3)x + 8, then subtract 5 from both sides: y = −(4/3)x + 3.
Step 5: Check the fountain: −(4/3)(6) + 3 = −8 + 3 = −5. The boardwalk passes through (6, −5). For every 3 meters it moves to the right on the map, it moves 4 meters down the map, in the negative y direction. The graph shows the path, the boardwalk and the fountain.
- path
- boardwalk
05 · Build understanding
Worked example: lines along the axis directions
Write the lines through (7, −2) that are parallel to the y-axis and perpendicular to the y-axis. Give the slope of each.
Step 1: Decide the direction. The y-axis is vertical. A line parallel to it is vertical too, and a line perpendicular to it is horizontal.
Step 2: Write the vertical line. Every point on it has the same x-value as (7, −2), so its equation is x = 7. Two of its points are (7, −2) and (7, 9). The slope formula gives (9 − (−2))/(7 − 7) = 11/0, and you cannot divide by zero. The slope is undefined.
Step 3: Write the horizontal line. Every point on it has the same y-value, so its equation is y = −2. Two of its points are (7, −2) and (1, −2). The slope is (−2 − (−2))/(1 − 7) = 0/(−6) = 0.
Step 4: Check. The point (7, −2) has x = 7, so it is on x = 7. It has y = −2, so it is on y = −2. The two lines cross there at a right angle, as the graph shows.
- x = 7
- y = −2
06 · Build understanding
Three mistakes to watch for
Changing only half of a perpendicular slope. For a line with slope 2/5, the perpendicular slope is −5/2. Using −2/5 changes the sign only, and (2/5)(−2/5) = −4/25. Using 5/2 flips only, and (2/5)(5/2) = 1. Only −5/2 gives a product of −1.
Keeping the old y-intercept. The line parallel to y = 3x + 1 through (2, 10) has slope 3, but its intercept is new: 10 = 3(2) + b gives b = 4, so y = 3x + 4. The original line gives 3(2) + 1 = 7 at x = 2, so it misses the point.
Mixing up zero and undefined. The line y = 4 is horizontal with slope 0. The line x = 4 is vertical with undefined slope. A slope of 0 is a real number and describes a flat line. An undefined slope means no number works at all.
Apply and explain
Your turn
Through (4,−1), write lines parallel and perpendicular to 3x+y=6. Also write the horizontal and vertical lines through (4,−1). Graph all four on equal scales and justify their slopes without relying only on appearance.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
The given slope is −3. Parallel: y=−3x+11. Perpendicular: y=(1/3)x−7/3. Horizontal: y=−1, slope 0. Vertical: x=4, slope undefined. Each equation contains the given point.
- Given slope extracted correctly
- Negative reciprocal used for oblique perpendicular
- Axis cases distinguished
- Point substitution checks all lines
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Parallel, perpendicular, and axis lines practice →