Course contentsShow
← Mathematics
Lesson 926 of 3,12122. Coordinate Geometry and TransformationsFree lesson

Reflections Across y = x and y = -x

Apply reflections across the lines y = x and y = -x by swapping and negating coordinates.

Reflections Across y = x and y = -x

What you'll learn: You'll discover how to reflect points across the diagonal lines y = x and y = -x by swapping and negating coordinates.

The Core Idea

When you reflect a point across the line y = x, you're flipping it over that diagonal line that runs from the bottom-left to the top-right at a 45° angle. The rule is simple: swap the x and y coordinates.

For example, the point (3, 5) becomes (5, 3) when reflected across y = x. Think of it like switching roles—what was horizontal becomes vertical, and vice versa.

When you reflect across the line y = -x (the diagonal running from top-left to bottom-right), you both swap AND negate the coordinates.

For example, (3, 5) becomes (-5, -3) when reflected across y = -x.

Why This Makes Sense

Imagine folding your coordinate plane along the line y = x like a piece of paper. Points trade places symmetrically across that fold. Since y = x means "x and y are equal," swapping them maintains that relationship.

For y = -x, the line represents where x and y are opposites. The reflection must preserve this opposite relationship, which is why you negate after swapping.

The Rules in Action

Reflection across y = x:

  • Point (a, b) → (b, a)
  • Example: (2, -4) → (-4, 2)

Reflection across y = -x:

  • Point (a, b) → (-b, -a)
  • Example: (2, -4) → (4, -2)

Notice that both transformations preserve distance from the origin—the point stays the same distance away, just in a different direction.

Key Takeaway: Reflecting across y = x swaps coordinates (x, y) → (y, x); reflecting across y = -x swaps and negates them (x, y) → (-y, -x).