Menu

The Line y = x

Part of the Transformations & Constructions section of Coddy's Geometry journey. Lesson 8 of 61.

The line y = x runs diagonally through (0, 0), (1, 1), (2, 2) and so on. Reflecting in it swaps the coordinates: (x, y) → (y, x).

Triangle KLM reflected in the diagonal line y = x

Why does a swap work? Take K(1, 4) and K'(4, 1). The segment between them goes 3 right and 3 down, so it crosses the mirror at right angles. Its midpoint is (5/2, 5/2), which is on y = x. Both conditions of a reflection hold: straight across, and the same distance on each side.

So to draw a reflection in y = x, swap each corner's coordinates and place the image corner there.

challenge icon

Challenge

Draw the image of triangle ABC after the reflection in the line y = x. Drag A', B' and C' into place, then press Check.

Try it yourself

Move the shape onto its target

Move the shape onto its target

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Transformations & Constructions