,

A reflection maps a point to the same perpendicular distance on the other side of a fixed mirror line. The line is the perpendicular bisector of every segment joining a non-fixed point to its image. Points on the mirror line stay where they are.

Equal distance from the line is necessary but not sufficient by itself: the original, its perpendicular foot and the image must lie on the same perpendicular. That construction fixes the image uniquely.

On this page

Reflections in coordinate axes and diagonals

Reflections in coordinate axes and diagonals: reference table
Mirror line Image of (x,y)(x,y)
xx-axis (x,−y)(x,-y)
yy-axis (−x,y)(-x,y)
y=xy=x (y,x)(y,x)
y=−xy=-x (−y,−x)(-y,-x)

Reflecting P(3,−2)P(3,-2) in the yy-axis gives (−3,−2)(-3,-2). The horizontal coordinate changes sign because the perpendicular movement is horizontal. The vertical coordinate remains unchanged.

Reflecting the same point in y=xy=x gives (−2,3)(-2,3). Its midpoint with the original is (1/2,1/2)(1/2,1/2), which lies on the mirror line. The joining segment has slope −1-1, perpendicular to the mirror’s slope 11.

The mirror line bisects a perpendicular connector

The mirror line bisects a perpendicular connectorReflection of P at three, two in y equals x plus two gives P prime at zero, five. The joining segment is perpendicular to the mirror at its midpoint.−2−1123456−112345670xyP (3, 2)P′ (0, 5)H (3/2, 7/2)y = x + 2
Equal distances alone are insufficient: the connector must also be perpendicular to the mirror.
Diagram explanation and exact data

The midpoint of P and P′ is (3/2,7/2), which lies on y=x+2. The connector direction (−3,3) is perpendicular to the mirror direction (1,1). Each point is 3/√2 units from the mirror.

The mirror line bisects a perpendicular connector: exact reference data
Object Exact value
P (3,2)(3,2)
P′ (0,5)(0,5)
Midpoint H (3/2,7/2)(3/2,7/2)
PH = HP′ 3/23/\sqrt2

Mirrors that are not coordinate axes

For a vertical mirror x=hx=h, preserve the vertical coordinate and place the horizontal coordinate symmetrically:

x′=2h−x,y′=y.x’=2h-x,\qquad y’=y.

For a horizontal mirror y=ky=k, the rule is x′=xx’=x, y′=2k−yy’=2k-y.

Reflect P(5,−1)P(5,-1) in x=2x=2. The point is 33 units to the right, so the image is 33 units to the left at (−1,−1)(-1,-1). Averaging their horizontal coordinates gives 22, confirming the correct midpoint.

Reflect Q(−3,7)Q(-3,7) in y=4y=4. Its image is (−3,1)(-3,1). Changing 77 to −7-7 would reflect in the xx-axis, not the stated line.

An oblique mirror: construct the perpendicular foot

Reflect P(3,2)P(3,2) in the line y=x+2y=x+2. The perpendicular through PP has slope −1-1 and equation y=−x+5y=-x+5. Intersect the two lines:

x+2=−x+5,x=32,y=72.x+2=-x+5,\qquad x=\frac32,\qquad y=\frac72.

The perpendicular foot is H(3/2,7/2)H(3/2,7/2). Because HH must be the midpoint of PP′PP’, recover the image using P′=2H−PP’=2H-P:

P′=(3,7)−(3,2)=(0,5).P’=(3,7)-(3,2)=(0,5).

Both PHPH and HP′HP’ have length 3/23/\sqrt2. This is the same perpendicular-foot calculation used in Distance from a Point to a Line, now extended to the opposite side of the mirror.

A general formula

For a line Ax+By+C=0Ax+By+C=0 with A2+B2>0A^2+B^2>0, set

d=Ax0+By0+CA2+B2.d=\frac{Ax_0+By_0+C}{A^2+B^2}.

The reflection of (x0,y0)(x_0,y_0) is

(x′,y′)=(x0−2Ad,y0−2Bd).(x’,y’)=(x_0-2Ad,\ y_0-2Bd).

The vector (A,B)(A,B) is normal to the line, so the formula moves along the perpendicular by twice the signed displacement to the line. Here dd is an algebraic coefficient, not itself the Euclidean distance unless the normal vector is a unit vector.

What reflection preserves and reverses

Reflection preserves lengths, angles, perimeter, area, collinearity and parallelism. It reverses clockwise versus counterclockwise orientation. A reflected triangle is therefore congruent to its original, even though the vertex order around the boundary reverses.

Reflecting twice in the same line returns every point to its starting position. For the yy-axis rule, (−(−x),y)=(x,y)(-(-x),y)=(x,y). Reflection is its own inverse.

The mirror line is fixed point by point. Other lines may be carried onto themselves as sets without having all their points fixed; a line perpendicular to the mirror provides an example.

Two reflections can produce another transformation

Reflect in x=0x=0, then in x=3x=3. The first rule sends (x,y)(x,y) to (−x,y)(-x,y); the second sends that image to (6+x,y)(6+x,y). The combination is a translation 66 units right, twice the distance between the parallel mirrors.

Reversing the order gives a translation 66 units left. For intersecting mirror lines, two reflections give a rotation about their intersection by twice the directed angle from the first mirror to the second. Reflecting first in the xx-axis and then in y=xy=x sends (x,y)(x,y) to (−y,x)(-y,x), a counterclockwise quarter-turn.

These combinations explain why repeated reflections can create structured patterns without distorting the original tile.

Finding a reflection line

For a non-fixed point-image pair, construct its perpendicular bisector. A second pair must give the same mirror line. If the second pair does not fit, the proposed whole-figure mapping is not that reflection.

Do not confuse a reflection between two figures with reflection symmetry of one figure. Symmetry requires the whole original set to coincide with its own reflected image. A scalene triangle has reflected copies but no reflection symmetry.

Practice questions

  1. Reflect (4,−3)(4,-3) in y=xy=x.
  2. Reflect (5,1)(5,1) in x=2x=2.
  3. A reflection sends (2,3)(2,3) to (8,3)(8,3). Find its mirror line.
Check your answers
  1. Interchange the coordinates: (−3,4)(-3,4).
  2. The image is (2(2)−5,1)=(−1,1)(2(2)-5,1)=(-1,1).
  3. The midpoint is (5,3)(5,3), and the joining segment is horizontal. Its perpendicular bisector is the vertical line x=5x=5.

Related topics

Geometric Constructions develops perpendicular-bisector methods. Symmetry applies reflection to a figure as a whole, while Transformations in Geometry compares the operations.

Sources and further reading