• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Geometric Transformation

Reflection over Line y = x

Understanding Reflection over the Line y = x

Reflection over the line y=xy = xy=x is a geometric transformation that maps every point of an object to a new position with the line y=xy = xy=x acting as a mirror.

The distance from the original point to the mirror line is equal to the distance from the image point to the mirror line, and the line connecting the original point to its image will be perpendicular to the line y=xy = xy=x.

Rule for Reflection over the Line y = x

If a point P(x,y)P(x, y)P(x,y) is reflected over the line y=xy = xy=x, its image's coordinates, P′(x′,y′)P'(x', y')P′(x′,y′), will follow a simple rule:

x′=yx' = yx′=y
y′=xy' = xy′=x

Thus, the image of point P(x,y)P(x, y)P(x,y) is P′(y,x)P'(y, x)P′(y,x). Notice that the x and y coordinates swap positions.

Reflecting a Point

Suppose we have point A(1,4)A(1, 4)A(1,4). If point A is reflected over the line y=xy = xy=x, its image, A′A'A′, can be determined by swapping its coordinates:

The original x-coordinate is 1, becoming the new y-coordinate.

The original y-coordinate is 4, becoming the new x-coordinate.

Thus, the image of point A is A′(4,1)A'(4, 1)A′(4,1).

Let's visualize this along with some other points:

Image of Points over the Line y=xy=xy=x
Visualization of the reflection of several points over the line y=xy=xy=x.

Reflecting a Triangle

Determine the image of triangle ABC with vertices A(−2,4)A(-2,4)A(−2,4), B(3,1)B(3,1)B(3,1), and C(−3,−1)C(-3,-1)C(−3,−1) reflected over the line y=xy=xy=x.

To reflect the triangle, we reflect each of its vertices over the line y=xy=xy=x:

  1. Point A(−2,4)A(-2, 4)A(−2,4): Its image is A′(4,−2)A'(4, -2)A′(4,−2).
  2. Point B(3,1)B(3, 1)B(3,1): Its image is B′(1,3)B'(1, 3)B′(1,3).
  3. Point C(−3,−1)C(-3, -1)C(−3,−1): Its image is C′(−1,−3)C'(-1, -3)C′(−1,−3).

The image triangle A′B′C′A'B'C'A′B′C′ is formed by connecting the points A′(4,−2)A'(4, -2)A′(4,−2), B′(1,3)B'(1, 3)B′(1,3), and C′(−1,−3)C'(-1, -3)C′(−1,−3).

Triangle ABCABCABC and its Image A′B′C′A'B'C'A′B′C′ over y=xy=xy=x
Visualization of the reflection of triangle ABCABCABC over the line y=xy=xy=x.

Reflecting a Line Equation

If a line has the equation y=2x+3y = 2x + 3y=2x+3 is reflected over the line y=xy=xy=x, determine the equation of its image.

To find the equation of the image, we use the rule x′=yx' = yx′=y and y′=xy' = xy′=x. This means we replace every xxx in the original equation with yyy (or y′y'y′) and every yyy with xxx (or x′x'x′).

Original equation:

y=2x+3y = 2x + 3y=2x+3

Substitute x→yx \rightarrow yx→y and y→xy \rightarrow xy→x (using xxx and yyy for the new variables for simplicity):

x=2y+3x = 2y + 3x=2y+3

This is the equation of the image line. Usually, we rewrite this equation in the form yyy as a function of xxx:

x−3=2yx - 3 = 2yx−3=2y
y=12x−32y = \frac{1}{2}x - \frac{3}{2}y=21​x−23​

So, the equation of the image of the line y=2x+3y = 2x + 3y=2x+3 after reflection over y=xy=xy=x is y=12x−32y = \frac{1}{2}x - \frac{3}{2}y=21​x−23​.

Line y=2x+3y=2x+3y=2x+3 and its Image over y=xy=xy=x
Reflection of the line y=2x+3y=2x+3y=2x+3 over the line y=xy=xy=x.

Exercises

  1. Determine the coordinates of the image of point M(−4,7)M(-4, 7)M(−4,7) if it is reflected over the line y=xy = xy=x!
  2. Determine the image of triangle ABC with vertices A(1,−2)A(1, -2)A(1,−2), B(2,3)B(2, 3)B(2,3), and C(−2,0)C(-2, 0)C(−2,0) reflected over the line y=xy = xy=x.
  3. If a line has the equation y=−3x+5y = -3x + 5y=−3x+5 is reflected over the line y=xy = xy=x, determine the equation of its image.

Key Answers

  1. The image of point M(−4,7)M(-4, 7)M(−4,7) is M′(7,−4)M'(7, -4)M′(7,−4).

    Explanation: The x and y coordinates are swapped: x′=7x' = 7x′=7, y′=−4y' = -4y′=−4.

  2. The coordinates of the image triangle A′B′C′A'B'C'A′B′C′ are:

    • A′(−2,1)A'(-2, 1)A′(−2,1) (from A(1,−2)A(1, -2)A(1,−2))
    • B′(3,2)B'(3, 2)B′(3,2) (from B(2,3)B(2, 3)B(2,3))
    • C′(0,−2)C'(0, -2)C′(0,−2) (from C(−2,0)C(-2, 0)C(−2,0))
  3. The equation of the image of the line y=−3x+5y = -3x + 5y=−3x+5 is x=−3y+5x = -3y + 5x=−3y+5.

    Explanation: Substitute x→yx \rightarrow yx→y and y→xy \rightarrow xy→x into the original equation:

    x=−3y+5x = -3y + 5x=−3y+5

    If converted to the form y=mx+cy = mx+cy=mx+c:

    3y=−x+53y = -x + 53y=−x+5
    y=−13x+53y = -\frac{1}{3}x + \frac{5}{3}y=−31​x+35​
Previous

Reflection over Y Axis

Next

Reflection over Line y = -x

  • Reflection over Line y = xDiscover coordinate exchange in y = x reflections with clear tutorials. Learn the P'(y, x) transformation for points, triangles, and equations.
On this page
  • Understanding Reflection over the Line y = x
    • Rule for Reflection over the Line y = x
  • Reflecting a Point
  • Reflecting a Triangle
  • Reflecting a Line Equation
  • Exercises
    • Key Answers
  • Comments
  • Report
  • Source code