Math Core

Lesson 4.2 · Transformations

Reflections

A reflection is the transformation you see in a mirror or a still pond: the figure flips over a line and lands on the other side, the same distance away. On the coordinate plane, reflections over the axes and the lines y=xy = x and y=−xy = -x have short coordinate rules, and a reflection over any line can be found with slopes and midpoints.

What a reflection does

Definition

Reflection

A reflection over a line ℓ\ell (the line of reflection) maps each point PP to a point P′P' so that ℓ\ell is the perpendicular bisector of PP′‾\overline{PP'}. A point on ℓ\ell maps to itself.

That definition packs in two facts you'll use constantly:

  1. The segment PP′‾\overline{PP'} is perpendicular to the line of reflection.
  2. The midpoint of PP′‾\overline{PP'} lies on the line of reflection, so PP and P′P' are the same distance from it.

Coordinate rules

For the most common lines, you can apply the definition once and get a rule that works for every point.

Reflection rules

line of reflectionruleexample with (5,2)(5, 2)
x-axis(x,y)→(x,−y)(x, y) \rightarrow (x, -y)(5,−2)(5, -2)
y-axis(x,y)→(−x,y)(x, y) \rightarrow (-x, y)(−5,2)(-5, 2)
y=xy = x(x,y)→(y,x)(x, y) \rightarrow (y, x)(2,5)(2, 5)
y=−xy = -x(x,y)→(−y,−x)(x, y) \rightarrow (-y, -x)(−2,−5)(-2, -5)
x=hx = h(x,y)→(2h−x, y)(x, y) \rightarrow (2h - x,\ y)over x=1x = 1: (−3,2)(-3, 2)
y=ky = k(x,y)→(x, 2k−y)(x, y) \rightarrow (x,\ 2k - y)over y=4y = 4: (5,6)(5, 6)

Where do the last two come from? Reflecting over the vertical line x=hx = h keeps yy and moves xx to the other side of hh. The midpoint of xx and the new x-coordinate must be hh, so the new x-coordinate is 2h−x2h - x. The same reasoning over y=ky = k gives 2k−y2k - y.

Worked example: Reflecting over y = x

Reflect triangle ABCABC with A(1,3)A(1, 3), B(1,6)B(1, 6) and C(3,5)C(3, 5) over the line y=xy = x.

The rule (x,y)→(y,x)(x, y) \rightarrow (y, x) swaps the coordinates:

A(1,3)→A′(3,1)B(1,6)→B′(6,1)C(3,5)→C′(5,3)\begin{aligned} A(1, 3) &\rightarrow A'(3, 1) \\ B(1, 6) &\rightarrow B'(6, 1) \\ C(3, 5) &\rightarrow C'(5, 3) \end{aligned}
Triangle ABC reflected over the dashed line y = x.Open in grapher →

Check one pair against the definition. The midpoint of A(1,3)A(1, 3) and A′(3,1)A'(3, 1) is (2,2)(2, 2), which is on y=xy = x. The slope of AA′‾\overline{AA'} is 1−33−1=−1\dfrac{1 - 3}{3 - 1} = -1, perpendicular to the slope 11 of y=xy = x. ✓

Worked example: A vertical line that isn't an axis

Reflect the point P(5,−2)P(5, -2) over the line x=−1x = -1.

PP is 66 units to the right of x=−1x = -1, so P′P' is 66 units to the left: x=−1−6=−7x = -1 - 6 = -7. The y-coordinate doesn't change. So P′=(−7,−2)P' = (-7, -2).

With the rule: 2h−x=2(−1)−5=−72h - x = 2(-1) - 5 = -7. ✓

Common mistake

Students often mix up which coordinate changes. The line x=hx = h is vertical, so reflecting over it moves points left or right: the x-coordinate changes and y stays. The line y=ky = k is horizontal, so only y changes. Sketch the line before you use a rule.

What a reflection preserves

A reflection is a rigid motion: distances and angle measures are preserved, so the image is congruent to the pre-image. But a reflection reverses orientation. In the example above, A→B→CA \to B \to C runs clockwise, while A′→B′→C′A' \to B' \to C' runs counterclockwise. That reversal is how you can tell a reflection apart from a translation or a rotation.

Finding the line of reflection

If you know a point and its image, the line of reflection is the perpendicular bisector of the segment joining them: it passes through the midpoint, with the negative reciprocal slope.

Worked example: Finding the line

A reflection maps P(−2,3)P(-2, 3) to P′(4,−1)P'(4, -1). Find the line of reflection.

  • Midpoint: (−2+42, 3+(−1)2)=(1,1)\left(\dfrac{-2 + 4}{2},\ \dfrac{3 + (-1)}{2}\right) = (1, 1).
  • Slope of PP′‾\overline{PP'}: −1−34−(−2)=−46=−23\dfrac{-1 - 3}{4 - (-2)} = \dfrac{-4}{6} = -\dfrac{2}{3}.
  • Perpendicular slope: 32\dfrac{3}{2}.

Point-slope form through (1,1)(1, 1): y−1=32(x−1)y - 1 = \dfrac{3}{2}(x - 1), so the line is y=32x−12y = \dfrac{3}{2}x - \dfrac{1}{2}.

Reflecting over any line

The same two facts let you reflect over a slanted line with no special rule. Draw the perpendicular from the point to the line, find where they meet (that's the midpoint MM), and go the same distance again past MM.

Worked example: Reflecting over y = x + 1

Reflect P(4,1)P(4, 1) over the line y=x+1y = x + 1.

The line has slope 11, so the perpendicular through PP has slope −1-1: y−1=−(x−4)y - 1 = -(x - 4), or y=−x+5y = -x + 5.

Find the intersection: x+1=−x+5x + 1 = -x + 5, so x=2x = 2 and y=3y = 3. The midpoint is M(2,3)M(2, 3).

MM is halfway from PP to P′P', so P′=(2⋅2−4, 2⋅3−1)=(0,5)P' = (2 \cdot 2 - 4,\ 2 \cdot 3 - 1) = (0, 5).

Check: the midpoint of (4,1)(4, 1) and (0,5)(0, 5) is (2,3)(2, 3), which is on y=x+1y = x + 1. ✓

Tip

Whenever you know the midpoint MM and one endpoint PP, the other endpoint is P′=2M−PP' = 2M - P, coordinate by coordinate. This shortcut shows up in reflections, rotations by 180∘180^\circ and point symmetry.

Practice

Practice 1

Reflect the point (5,−2)(5, -2) over the line y=xy = x. What is the image?

Enter a point like (2, -3)

Practice 2

Reflect the point (3,7)(3, 7) over the line y=−xy = -x. What is the image?

Enter a point like (2, -3)

Practice 3

Reflect the point (−4,6)(-4, 6) over the line x=2x = 2. What is the image?

Enter a point like (2, -3)

Practice 4

Reflect the point (1,−3)(1, -3) over the line y=4y = 4. What is the image?

Enter a point like (2, -3)

Practice 5

A reflection over a horizontal line y=ky = k maps (2,9)(2, 9) to (2,−3)(2, -3). What is kk?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

A reflection maps P(1,2)P(1, 2) to P′(5,6)P'(5, 6). What is the line of reflection?

Practice 7

Triangle ABCABC is reflected over the x-axis. Which statement is true?

Practice 8

Reflect the point (6,1)(6, 1) over the line y=x−3y = x - 3. What is the image?

Enter a point like (2, -3)