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).
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
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
This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Transformations & Constructions
7Drawing on Squared Paper
Lengths by PythagorasPerpendicular StepsSquares by AreaRight Triangles by AreaMidpoints on the GridRecap: Squared Paper10Perpendiculars and Parallels
Perpendicular From a PointPerpendicular at a PointParallel Through a PointTools You Have EarnedRecap: Parallels5Dilations
Scaling From a CenterShrinking a ShapeDilating About a PointNegative Scale FactorsRecap: Dilations8Compass and Straightedge
Circles Keep DistancesWhy the Sides MatchAngles You BuiltA 60° AngleRecap: Equilateral Triangle