Formula Defining rotations, reflections and translations
Reflection over the line y = x
When to use it
The line y = x makes a 45° angle with both axes, and reflecting across it swaps the coordinates of every point. This is also the picture of inverse functions: the graph of f and its inverse are reflections of each other across y = x. Points that already lie on the line, where x = y, stay fixed.
Last checked Source: Defining rotations, reflections and translations Source: Defining rotations, reflections and translations www.corestandards.org (opens in a new tab)
Reflection over the line y = x in the Geometry Regents exam, set out with its source.
Worked case: Reflect D(2, −5) over the line y = x.
Related pages include Rotation of 270 degrees counterclockwise about the origin, Reflection over the y-axis, Rotation of 180 degrees about the origin and Reflection over the x-axis.
Result: D'(−5, 2)
Application 1: Rotate point P(4, −3) 90° counterclockwise about the origin. Step 1: For a 90° counterclockwise rotation the rule is (x, y) → (−y, x). (These rules come from turning the axes through quarter turns.) Step 2: Substitute x = 4, y = −3: (3, 4). (Apply the rule to the coordinates.) Step 3: Check: 4² + (−3)² = 25 = 3² + 4². (A rotation about the origin keeps the distance from the origin.) Result: (3, 4).
Application 2: Rotate P(7, 4) 90° counterclockwise about the point C(3, 1). Step 1: Translate so C is the origin: (7 − (3), 4 − (1)) = (4, 3). (Rotation rules for the origin only work after moving the centre there.) Step 2: Rotate 90°: (4, 3) → (−3, 4). (Use (x, y) → (−y, x).) Step 3: Translate back: (0, 5). (Add C to undo the first shift.) Result: (0, 5).
Application 3: Rotate P(0, 6) 90° counterclockwise about the point C(−2, 2). Step 1: Translate so C is the origin: (0 − (−2), 6 − (2)) = (2, 4). (Rotation rules for the origin only work after moving the centre there.) Step 2: Rotate 90°: (2, 4) → (−4, 2). (Use (x, y) → (−y, x).) Step 3: Translate back: (−6, 4). (Add C to undo the first shift.) Result: (−6, 4).
Practice for free
Test yourself with exam-style questions and see why each answer is right or wrong.
Related formulas
-
Reflection over a horizontal line y = k
Reflection over a horizontal line y = k: (x, y) → (x, 2k − y).
-
Reflection over a vertical line x = h
Reflection over a vertical line x = h: (x, y) → (2h − x, y).
-
Reflection over the line y equals negative x
Reflection over the line y equals negative x: (x, y) → (−y, −x).
-
Reflection over the x-axis
Reflection over the x-axis: (x, y) → (x, −y).
-
Reflection over the y-axis
Reflection over the y-axis: (x, y) → (−x, y).
-
Rotation of 180 degrees about the origin
Rotation of 180 degrees about the origin: (x, y) → (−x, −y).
-
Rotation of 270 degrees counterclockwise about the origin
Rotation of 270 degrees counterclockwise about the origin: (x, y) → (y, −x).
-
Rotation of 90 degrees about a point other than the origin
Rotation of 90 degrees about a point other than the origin: (x, y) → (h − (y − k), k + (x − h)).