I’m struggling with reflections when the mirror line is slanted or doesn’t pass through the origin. I understand that a reflection should fix the mirror line and flip perpendicular distances, but I keep mixing up the perpendicular direction and the shift when the line isn’t at the origin.
For a concrete example: how do I reflect the point (2, 5) across the line y = x + 1? I’d also like to know how to reflect (4, 1) across the line y = -1/2 x + 2.
What is a reliable method here? I’m looking for a clear, step-by-step way (either a coordinate formula or a geometric construction) that works for any line y = mx + b. I also want a quick check I can use to verify that the reflected point is correct (e.g., something about perpendicularity and equal distances). I keep getting answers that don’t sit on the right perpendicular, so I think I’m missing a simple rule.
Please don’t derive anything heavy; I just want the method I should apply in these simple number cases and how to sanity-check the result.
















One Response
A clean, reliable recipe is this: first rewrite your mirror line as Ax + By + C = 0 (just move everything to one side). Then for a point P = (x0, y0), compute d = (A x0 + B y0 + C) / (A^2 + B^2). The reflected point is P’ = (x0 − 2 A d, y0 − 2 B d). Think of it like bouncing a ball off a wall: you go straight into the wall (perpendicularly), touch the wall, then head out the same distance on the other side.
Example 1: reflect (2, 5) across y = x + 1. That line is x − y + 1 = 0, so A = 1, B = −1, C = 1. d = (1·2 + (−1)·5 + 1)/(1^2 + (−1)^2) = (2 − 5 + 1)/2 = −1. Then P’ = (2 − 2·1·(−1), 5 − 2·(−1)·(−1)) = (4, 3). Quick checks: the midpoint of (2,5) and (4,3) is (3,4), which lies on y = x + 1; and the segment from (2,5) to (4,3) has slope −1, which is perpendicular to the mirror’s slope 1.
Example 2: reflect (4, 1) across y = −(1/2)x + 2. Write it as −x − 2y + 4 = 0 (any nonzero multiple is fine), so A = −1, B = −2, C = 4. d = (−1·4 + (−2)·1 + 4)/(1 + 4) = (−4 − 2 + 4)/5 = −2/5. Then P’ = (4 − 2·(−1)·(−2/5), 1 − 2·(−2)·(−2/5)) = (3.2, −0.6). Checks: midpoint is (3.6, 0.2), which satisfies y = −(1/2)·3.6 + 2 = 0.2; and the segment’s slope is 2, the negative reciprocal of −1/2.