Reflection Across the Line y = x
Problem
Reflect a shape across the line y = x. Show the original and the reflected image.
Explanation
A reflection flips the plane over a line called the mirror. Every point and its image are equidistant from the mirror, on opposite sides — like a real mirror reflection.
The Formula for Reflection Across
To reflect a point across the line , simply swap the coordinates:
That's it. The line contains all points where the two coordinates are equal, and reflecting across it interchanges the role of and .
Other Common Reflection Lines
- Across the -axis ():
- Across the -axis ():
- Across the origin (point reflection):
- Across :
- Across :
For an arbitrary line, the formula is more complex — but the idea is the same: drop a perpendicular from the point to the line, then continue an equal distance on the other side.
Step-by-Step Solution
Given: A triangle with vertices , , . Reflect across .
Find: The image vertices.
Step 1 — Apply to each vertex.
Step 2 — Verify the reflected points are equidistant from the line .
For point , the closest point on is found by perpendicular projection. The perpendicular to has slope , so the line through perpendicular to is , or . Intersecting with :
So the foot of the perpendicular is , which is exactly the midpoint of and . ✓ The original and reflected points are symmetric about this midpoint.
Step 3 — Verify the triangle's shape is preserved.
Compute side lengths of the original:
For the reflected triangle:
All match. ✓
Step 4 — Reflections reverse orientation.
Reflections are unique among rigid motions in that they flip the orientation of figures. If the original triangle has vertices ordered counterclockwise , the reflected triangle has them ordered clockwise — like looking in a mirror. This is why your reflection in a mirror is "left-right reversed" but not "up-down reversed."
Answer: Reflecting , , across the line :
The triangle is preserved in size and shape but flipped — the orientation reverses. Each vertex is the same distance from as its image, on the opposite side.
Try It
- The original triangle is shown faintly; the reflected triangle is bright.
- Watch the triangles flip across the cyan diagonal line .
- Notice that the points exactly on the line (, , etc.) stay fixed.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.