Source codeVideos

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 = x is a geometric transformation that maps every point of an object to a new position with the line y=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 = x.

Rule for Reflection over the Line y = x

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

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

Thus, the image of point P(x,y)P(x, y) is 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). If point A is reflected over the line y=xy = x, its image, AA', 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).

Let's visualize this along with some other points:

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

Reflecting a Triangle

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

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

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

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

Triangle ABCABC and its Image ABCA'B'C' over y=xy=x
Visualization of the reflection of triangle ABCABC over the line y=xy=x.

Reflecting a Line Equation

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

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

Original equation:

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

Substitute xyx \rightarrow y and yxy \rightarrow x (using xx and yy for the new variables for simplicity):

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

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

x3=2yx - 3 = 2y
y=12x32y = \frac{1}{2}x - \frac{3}{2}

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

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

Exercises

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

Key Answers

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

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

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

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

    Explanation: Substitute xyx \rightarrow y and yxy \rightarrow x into the original equation:

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

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

    3y=x+53y = -x + 5
    y=13x+53y = -\frac{1}{3}x + \frac{5}{3}