MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Reflection — flipping a shape

L3.7 — TransformationsLecture 2 of 4~2920 words

Where does the point land?

Stand in front of a mirror and raise your right hand. The person in the mirror raises the hand on the same side as yours, but it is their left hand. The reflection is the same shape and the same size as you. But it has been flipped.

The last lecture slid shapes without turning or flipping them. This lecture flips them. On a grid, a flip happens in a straight line called the mirror line. Many students learn one quick rule for reflections: "change the sign of ". That rule works for one mirror line. Look at the question below and decide before you read on.

Predict — where does P land?

The point P(4, 2) is reflected in the vertical line . Where is its image, P′?

The figure shows the point P(4, 2), the mirror line , and the image P′. P is 3 squares to the right of the mirror, so P′ is 3 squares to the left of it.

−4−3−2−112345612Oxymirror line x = 13 squares3 squaresP(4, 2)P′(−2, 2)(−4, 2)
P(4, 2) is 3 squares to the right of the mirror line . Its image P′(−2, 2) is 3 squares to the left. The grey point (−4, 2) is where "change the sign of " would put it.

The answer is (−2, 2). "Change the sign of " gives (−4, 2), which is the reflection in the -axis. But the mirror here is a different line. The quick rule fails because it says nothing about the mirror. The only safe method is to measure from the mirror line itself. So this lecture starts with what a mirror actually does to a point.

What a mirror does to one point

Draw a line on a sheet of paper, and mark a point P on one side of it. Now fold the paper along the line, and press a pin through P. Unfold the paper. The pin has made a second hole, P′, on the other side. P′ is the reflection of P, and the fold is the mirror line.

The fold tells us two facts about P and P′. Each fact has a reason.

First, P and P′ are the same distance from the mirror. When the paper is folded, the half of PP′ on one side lies exactly on the half on the other side. So the two halves are equal.

Second, the line PP′ crosses the mirror at a right angle. Where PP′ meets the fold, it makes two angles with the mirror line, one on each side. Folding lays one angle exactly on the other, so the two angles are equal. Together they make a straight line, which is 180°. Two equal angles that add up to 180° must each be 90°.

mirror linePP′P and P′ are the same distance from the mirror.The line PP′ meets the mirror at a right angle.
The two facts about a point and its image. The equal ticks show the equal distances, and the small square shows the right angle.

This means that P′ is found by one move: go from P straight to the mirror, at a right angle to it, and then go the same distance again on the other side.

Reflection

A reflection in a mirror line moves every point straight across the line, at a right angle to it, to the same distance on the other side.

The mirror line cuts the line from each point to its image exactly in half, at a right angle. A point on the mirror line does not move.

The words from the last lecture still apply. The starting shape is the object, the reflected shape is the image, and the image of A is written A′. To reflect a triangle, reflect each vertex, and then join the images in the same order.

What a reflection keeps, and what it changes

A reflection keeps every length and every angle. You can see this from the fold: the image lies exactly on top of the object when the paper is folded. So the object and the image are congruent. In the lecture on congruent triangles, two shapes were congruent if one fits on the other after sliding, turning or turning over. A reflection is the turning over.

But one thing changes: the orientation, the way the shape faces. A translation kept it. A reflection reverses it. Walk round a triangle from A to B to C. If that walk goes clockwise on the object, the walk from A′ to B′ to C′ goes anticlockwise on the image. Your right hand and the hand in the mirror show exactly this. No amount of sliding can turn a right hand into a left hand. Only a flip can.

Mirror lines on a grid

On a coordinate grid, the easiest mirrors are the axes. Take the point (3, 2) and reflect it in the -axis. The -axis is horizontal, so "straight across at a right angle" means straight down. The point is 2 above the axis, so its image is 2 below it, at (3, −2). The -coordinate did not change, because the move was vertical. The -coordinate changed sign.

The -axis works in the same way, turned on its side. It is vertical, so the move is straight across, left or right. The point (3, 2) goes to (−3, 2). Now the -coordinate stays and the -coordinate changes sign.

Other horizontal and vertical lines need one more step, because the distance is measured from the mirror, not from an axis. The line is the vertical line through every point whose -coordinate is 1. In the hook, P was at , which is 4 − 1 = 3 to the right of the mirror. So P′ was 3 to the left of it, at .

There is a neat check. The mirror is exactly halfway between a point and its image, so the mirror's -value is the average of the two -coordinates. For P and P′: . That is the mirror line .

Stop and think

Arjun says: "Reflecting in the line is the same as reflecting in the -axis and then translating 3 squares to the right." Is he right? Test his idea on the point (4, 2).

Show the answer

No. Reflect (4, 2) in : the point is 1 to the right of the mirror, so its image is 1 to the left, at (2, 2). Arjun's method gives (−4, 2) and then (−1, 2). That is wrong.

The idea can be repaired, but the slide must be 6 squares, not 3: (−4, 2) moved 6 right is (2, 2). The reason is that the mirror moved 3 to the right, so the image has to move twice as far. This is why measuring from the mirror is safer than any quick rule.

The diagonal mirrors: y = x and y = −x

The line passes through (0, 0), (1, 1), (2, 2) and every other point whose two coordinates are equal. It runs diagonally across the grid squares, at 45°. This is the hard part of the lecture. Spend time here, because a diagonal mirror does not move points straight up or straight across.

Reflect P(4, 1) in . The move must cross the mirror at a right angle. The mirror goes 1 right for every 1 up. The direction at a right angle to it goes 1 left for every 1 up. You can see why on any grid square: its two diagonals cross at a right angle. So from P, step 1 left and 1 up, again and again. After 1.5 steps you reach (2.5, 2.5), which is on the mirror. Go the same distance again, 1.5 left and 1.5 up, and you reach (1, 4).

−112345−112345Oxyy = xP(4, 1)P′(1, 4)(2.5, 2.5)
Reflecting P(4, 1) in the line . The dashed line crosses the mirror at a right angle at (2.5, 2.5), halfway between P and its image P′(1, 4).

Look at the answer. P was (4, 1). P′ is (1, 4). The two coordinates have swapped places.

This is no accident. Fold the grid along . The positive -axis lands exactly on the positive -axis, and the -axis lands on the -axis. So "4 across and 1 up" becomes "4 up and 1 across". That is the point (1, 4). That is it. That is the whole idea: the fold exchanges the two axes, so it exchanges the two coordinates.

The other diagonal, , passes through (1, −1), (2, −2) and (−3, 3). Folding along it lays the positive -axis on the negative -axis. So the coordinates swap, and both signs change: (4, 1) goes to (−1, −4). Check: the halfway point of (4, 1) and (−1, −4) is (1.5, −1.5), and this lies on .

Mirror lineImage of The reason
-axis ()The move is vertical, so only the height changes sign.
-axis ()The move is horizontal, so only the across-position changes sign.
The fold exchanges the two axes.
The fold exchanges the axes and reverses both directions.

Do not learn this table as four separate facts. Each row comes from asking where the fold sends the axes. If you forget a row, reflect one simple point, such as (4, 1), by counting squares, and read the rule from the answer.

Now try every kind of mirror line yourself.

Explore — choose the mirror line

Choose a mirror line. For a line like or , move the slider to change . Watch the grey lines from each vertex to its image, and the direction of the walk A → B → C.


The table shows triangle A(2, 1), B(5, 1), C(2, 3) reflected in six different mirror lines. The walk A → B → C goes anticlockwise on the object, and A′ → B′ → C′ goes clockwise on every image.

Mirror lineA′B′C′
-axis(2, −1)(5, −1)(2, −3)
-axis(−2, 1)(−5, 1)(−2, 3)
(4, 1)(1, 1)(4, 3)
(2, −3)(5, −3)(2, −5)
(1, 2)(1, 5)(3, 2)
(−1, −2)(−1, −5)(−3, −2)

Whichever mirror you chose, two things never changed. Each grey line crossed the mirror at a right angle and was cut in half by it. And the walk round the image always went the opposite way to the walk round the object. With the mirror , corners A and C did not move at all, because they lie on the mirror.

Stop and think

Reflect a triangle in the -axis. Then reflect the image in the -axis. Is the final shape a reflection of the original triangle?

Show the answer

No. Follow a point: (3, 2) goes to (3, −2) and then to (−3, −2). Each reflection reverses the orientation, so two reflections reverse it twice. The final shape faces the same way as the original, so it cannot be a mirror image of it. It is the original shape turned halfway round the origin. The next lecture studies turns like this.

Worked examples

Worked Example 1 — Reflecting in the x-axis

Triangle ABC has vertices A(2, 3), B(5, 1) and C(3, 5). Reflect it in the -axis.

The mirror is horizontal, so each vertex moves straight down. A is 3 above the axis, so A′ is 3 below it. The -coordinates stay the same.

A′ = (2, −3), B′ = (5, −1), C′ = (3, −5).

123456−5−3−1135OxyABCA′B′C′
Triangle ABC (ink) and its reflection A′B′C′ (teal) in the -axis.

Check. The halfway point of A(2, 3) and A′(2, −3) is (2, 0), which is on the -axis. In the figure, A → B → C goes anticlockwise and A′ → B′ → C′ goes clockwise, as a reflection must.

Worked Example 2 — A horizontal mirror that is not an axis

Triangle DEF has vertices D(−2, 1), E(1, 1) and F(−2, 4). Reflect it in the line .

The line is horizontal: it passes through every point with -coordinate −1. So each vertex moves straight down, and the -coordinates do not change. Measure each height from the mirror, not from the -axis.

D is at , which is 1 − (−1) = 2 above the mirror. So D′ is 2 below it, at . D′ = (−2, −3).

E is also 2 above the mirror, so E′ = (1, −3).

F is at , which is 4 − (−1) = 5 above the mirror. So F′ is at . F′ = (−2, −6).

Check. Average the heights of F and F′: . That is the mirror line. Also, side DF is 3 units long, and side D′F′ runs from −3 down to −6, which is also 3 units.

Worked Example 3 — Finding the mirror line

Find the mirror line for each reflection. (a) P(1, 4) goes to P′(7, 4). (b) Q(−1, 5) goes to Q′(−1, −3). (c) R(5, 2) goes to R′(2, 5).

The mirror is halfway between a point and its image, and the line from the point to its image crosses the mirror at a right angle.

(a) The -coordinates are equal, so P moved straight across. The mirror is vertical, halfway between and : . The mirror line is .

(b) The -coordinates are equal, so Q moved straight down. The mirror is horizontal, halfway between 5 and −3: . The mirror line is .

(c) The coordinates have swapped. That suggests the mirror . Test it: the halfway point is , which is on . The move from R to R′ is 3 left and 3 up, which is at a right angle to . The mirror line is .

Check. Reflect each point in the line you found. P(1, 4) is 3 left of , so its image is 3 right of it: (7, 4). Q is 4 above , so its image is 4 below it: (−1, −3). R(5, 2) in gives (2, 5). All three match.

Worked Example 4 — The two diagonal mirrors

Triangle KLM has vertices K(1, 3), L(4, 1) and M(5, 4). Reflect it (a) in , and (b) in .

(a) In , the coordinates swap. K′ = (3, 1), L′ = (1, 4), M′ = (4, 5).

(b) In , the coordinates swap and both signs change. K′ = (−3, −1), L′ = (−1, −4), M′ = (−4, −5).

Check (a) by counting squares. From K(1, 3), the direction at a right angle to is 1 right and 1 down. One step reaches (2, 2), which is on the mirror. One more step reaches (3, 1). That is K′.

Check (b) with the halfway point. For L(4, 1) and its image (−1, −4), the halfway point is (1.5, −1.5). Its -coordinate is minus its -coordinate, so it is on .

The classic mistakes

Trap 1 — Using the axis rule for every mirror

"Change the sign of " is the rule for the -axis only. For the line , it put P(4, 2) at (−4, 2) instead of (−2, 2). For any mirror that is not an axis, measure each distance from the mirror line itself.

Trap 2 — Changing signs instead of swapping for y = x

Reflecting (4, 1) in does not give (−4, −1). The fold exchanges the axes, so the coordinates swap: (1, 4). Signs change only for , and there the coordinates swap as well. If you are unsure, count squares from the point to the mirror, at a right angle to it.

Trap 3 — Mixing up x = 3 and y = 3

The line is made of all the points whose -coordinate is 3, such as (3, 0), (3, 1) and (3, 5). They stand one above another, so is a vertical line. The line is horizontal. Before reflecting, plot two points of the mirror line to see which way it runs.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Quadrilateral PQRS has vertices P(1, 1), Q(4, 1), R(4, 3) and S(2, 3). (a) Reflect it in the -axis. (b) Reflect the original PQRS in the -axis.

    Hint 1

    Which way does each point move? The -axis is vertical, so the move is straight across. The -axis is horizontal, so the move is straight up or down.

    Hint 2

    (a) Keep each -coordinate and change the sign of each -coordinate: P′ = (−1, 1).

    Full answer

    (a) P′ = (−1, 1), Q′ = (−4, 1), R′ = (−4, 3), S′ = (−2, 3).

    (b) P′ = (1, −1), Q′ = (4, −1), R′ = (4, −3), S′ = (2, −3).

    Check: in (a), the halfway point of Q(4, 1) and Q′(−4, 1) is (0, 1), on the -axis. In (b), PQ and P′Q′ are both 3 units long and horizontal.

  2. Reflect the point A(5, −2) in (a) the line , (b) the line , (c) the line .

    Hint 1

    For (a) and (b), first decide whether the mirror is vertical or horizontal. Then measure the distance from A to the mirror.

    Hint 2

    (a) A is 5 − 2 = 3 to the right of . (b) A is 1 − (−2) = 3 below . (c) Swap the coordinates and change both signs.

    Full answer

    (a) is vertical. A is 3 to the right of it, so the image is 3 to the left: (2 − 3, −2) = (−1, −2). Check: .

    (b) is horizontal. A is 3 below it, so the image is 3 above it: (5, 1 + 3) = (5, 4). Check: .

    (c) Swap and change both signs: (5, −2) becomes (2, −5). Check: the halfway point is (3.5, −3.5), which is on .

  3. Find the mirror line for each reflection. (a) (−3, 2) goes to (5, 2). (b) (2, −4) goes to (2, 6). (c) (6, 1) goes to (−1, −6).

    Hint 1

    Look at which coordinates stay the same. That tells you the direction of the move, and so the direction of the mirror.

    Hint 2

    Find the halfway point each time. In (c), the coordinates have swapped and both have changed sign. Which mirror does that?

    Full answer

    (a) The -coordinates are equal, so the mirror is vertical, at . The mirror line is .

    (b) The -coordinates are equal, so the mirror is horizontal, at . The mirror line is .

    (c) The halfway point is (2.5, −2.5), which is on . The move is 7 left and 7 down, which is at a right angle to (that line goes 1 right for every 1 down). The mirror line is . Check: (6, 1) reflected in is (−1, −6).

  4. A straight river runs along the -axis. Mei lives at A(1, 3) and her grandmother lives at B(6, 2). Mei walks in straight lines from A to a point C on the river bank, fills a bottle, and then walks to B. Where should C be to make her walk as short as possible? Explain why.

    Hint 1

    Reflect B in the river. Any point C on the river is the same distance from B as from B′.

    Hint 2

    B′ = (6, −2). The walk A → C → B is as long as A → C → B′. The shortest way from A to B′ is a straight line. Where does the line from A(1, 3) to B′(6, −2) cross the -axis?

    Full answer

    Reflect B in the river (the -axis): B′ = (6, −2). C is on the mirror line, so C is the same distance from B as from B′. This means that the walk A → C → B has the same length as the path A → C → B′.

    The path from A to B′ is shortest when it is one straight line. From A(1, 3) to B′(6, −2), the line goes 5 right and 5 down, so it goes 1 right for every 1 down. It reaches the -axis after 3 down, which is also 3 right. So C = (4, 0).

    For any other point on the bank, A → C → B′ bends at C, so it is longer than the straight line. So C = (4, 0) gives the shortest walk.

    Check: from A to C is 3 right and 3 down. From C to B is 2 right and 2 up. Both parts make the same angle (45°) with the river, like a ray of light from a mirror.

The bigger idea

The last question is an old one. Heron of Alexandria, a Greek mathematician of the first century AD, used exactly this reflection trick in his book on mirrors, the Catoptrica. He argued that light travelling from an object to a mirror and then to the eye takes the shortest such path. The reflected point turns the bent path into a straight line, and this shows that the two angles the light makes with the mirror are equal. A snooker player aiming a ball off a cushion uses the same idea.

A line of symmetry is also a mirror line, used in a special way. A shape has a line of symmetry when reflecting it in that line gives back exactly the same shape. Every point lands on another point of the shape.

Reflections return in Upper Secondary, on graphs. Reflecting a graph in the -axis changes the sign of every output, just as went to here. And the graph of an inverse function is the reflection of the original graph in . The swap from this lecture is the reason: an inverse function exchanges inputs and outputs, so it exchanges the two coordinates.

Key concepts in this lesson