Sub topic 12
Reflections Across Axes and y = x
This chapter assumes you can plot points, read ordered pairs, find quadrants, and compute slope and distance. A reflection is a transformation that flips a point across a line, like a mirror. On the GRE, you only need reflections across the x-axis, the y-axis, the origin (a point reflection), and the line y = x. Each one has a short rule, and each one can be checked with ideas you already know.
What a reflection does
A reflection of a point P across a line L produces a point P' (read "P prime") with two properties:
- The segment PP' is perpendicular to L.
- L cuts PP' into two equal halves. So P and P' are the same distance from L, on opposite sides.
If P is already on L, then P' = P. These two properties explain every rule below. They also give you a way to check any answer.
The four rules
| Reflection | Rule | Example with (3, 2) |
|---|---|---|
| Across the x-axis | (x, y) → (x, −y) | (3, −2) |
| Across the y-axis | (x, y) → (−x, y) | (−3, 2) |
| Across the origin | (x, y) → (−x, −y) | (−3, −2) |
| Across the line y = x | (x, y) → (y, x) | (2, 3) |
Across the x-axis
The x-axis is the horizontal line y = 0. A flip across it moves a point straight up or down, so the x-coordinate stays the same. The y-coordinate changes sign. The point (3, 2) is 2 units above the axis, so its image is 2 units below, at (3, −2).
Across the y-axis
The y-axis is the vertical line x = 0. A flip across it moves a point straight left or right. The y-coordinate stays the same and the x-coordinate changes sign. So (3, 2) becomes (−3, 2).
Across the origin
A reflection across the origin is the same as doing both axis reflections, in either order. Both coordinates change sign. The origin is the midpoint of the segment from P to P'. You can confirm this with the midpoint formula: the midpoint of (3, 2) and (−3, −2) is (0, 0).
A reflection across the origin is also a 180° rotation about the origin. The GRE may use either name.
Across the line y = x
The line y = x has slope 1 and passes through the origin. It contains points like (1, 1) and (−4, −4). Reflecting across it swaps the coordinates: (3, 2) becomes (2, 3).
To see why, check the two properties. The segment from (3, 2) to (2, 3) has slope (3 − 2) / (2 − 3) = −1. Since 1 × (−1) = −1, that segment is perpendicular to y = x. Its midpoint is (2.5, 2.5), which lies on y = x. Both properties hold.
Checking the rules in code
This short program applies each rule. It returns the same results as the table.
def reflect_x_axis(p):
x, y = p
return (x, -y)
def reflect_y_axis(p):
x, y = p
return (-x, y)
def reflect_origin(p):
x, y = p
return (-x, -y)
def reflect_y_equals_x(p):
x, y = p
return (y, x)
p = (3, 2)
print(reflect_x_axis(p)) # (3, -2)
print(reflect_y_axis(p)) # (-3, 2)
print(reflect_origin(p)) # (-3, -2)
print(reflect_y_equals_x(p)) # (2, 3)Worked examples
Example 1: Combining reflections
Point A = (−4, 5) is reflected across the y-axis, and the image is then reflected across the x-axis. Find the final point.
- Across the y-axis: (−4, 5) → (4, 5).
- Across the x-axis: (4, 5) → (4, −5).
The result is (4, −5). This is the same as one reflection across the origin applied to (−4, 5), because flipping both signs gives (4, −5).
Example 2: Reading a coordinate from a reflection
Point P = (a, b) is reflected across y = x and the image is (7, −2). Find a and b.
The rule swaps the coordinates, so the image is (b, a). That means b = 7 and a = −2, so P = (−2, 7).
Reversing a reflection is easy: reflecting the image again across the same line returns the original point. A reflection across any line undoes itself.
Example 3: Distance after a reflection
A reflection keeps distances unchanged. Find the distance from the origin to P = (3, 2) and to its image across the x-axis, (3, −2).
Both distances are √(3² + 2²) = √13. This holds for all four reflections here, so the distance from the origin to P' always equals the distance from the origin to P. Segment lengths, angles, and areas are all preserved. Only orientation and position change.
Example 4: Reflecting a shape
Triangle T has vertices (1, 1), (4, 1), and (1, 3). It is reflected across the y-axis. Find the area of the image.
The image vertices are (−1, 1), (−4, 1), and (−1, 3). The base runs from (−4, 1) to (−1, 1), so it has length 3. The height runs from (−1, 1) to (−1, 3), so it has length 2. The area is ½ × 3 × 2 = 3.
The original triangle has base 3 and height 2 as well, so its area is also 3. You did not need to compute the image to answer. Because reflections preserve area, the answer follows from the original shape.
Reflecting across other lines
The GRE sometimes asks about a reflection across a horizontal or vertical line other than an axis, such as x = 3 or y = −1. These have no memorized swap rule, but the two defining properties give a method.
For a vertical line x = k, the y-coordinate stays the same and the x-coordinate moves to the opposite side of the line at the same distance. The new x-value is 2k − x.
For a horizontal line y = k, the x-coordinate stays the same and the new y-value is 2k − y.
For example, reflect (5, 2) across x = 3. The point is 2 units to the right of the line, so the image is 2 units to the left, at x = 1. The formula gives 2(3) − 5 = 1. The image is (1, 2).
def reflect_vertical(p, k):
x, y = p
return (2 * k - x, y)
def reflect_horizontal(p, k):
x, y = p
return (x, 2 * k - y)
print(reflect_vertical((5, 2), 3)) # (1, 2)
print(reflect_horizontal((5, 2), -1)) # (5, -4)For the line y = −x, which also sometimes appears, the rule is (x, y) → (−y, −x). It swaps the coordinates and changes both signs. You can check it the same way: (3, 2) goes to (−2, −3), the segment between them has slope 1, and 1 × (−1) = −1 for the line y = −x, so they are perpendicular.
Reflecting lines and graphs
When you reflect a whole line, reflect two of its points and draw the line through the images. You can also track what happens to the equation.
| Reflection | Effect on the equation y = mx + b |
|---|---|
| Across the x-axis | Replace y with −y: y = −mx − b |
| Across the y-axis | Replace x with −x: y = −mx + b |
| Across y = x | Swap x and y, then solve for y |
Take the line y = 2x + 1. Reflect it across the x-axis. Replace y with −y to get −y = 2x + 1, so y = −2x − 1. The slope changes sign, and so does the y-intercept.
Now reflect y = 2x + 1 across the y-axis. Replace x with −x to get y = −2x + 1. The slope changes sign, and the y-intercept stays at 1. This makes sense, because the point (0, 1) lies on the y-axis and does not move.
Now reflect y = 2x + 1 across y = x. Swap x and y to get x = 2y + 1. Solving for y gives y = (x − 1) / 2, which has slope 1/2. The slope of the image is the reciprocal of the original slope. This is the idea behind inverse functions: the graph of an inverse is the reflection of the original across y = x.
# Check: (0, 1) and (2, 5) lie on y = 2x + 1.
# Swapping coordinates gives (1, 0) and (5, 2).
# Both should lie on y = (x - 1) / 2.
for x, y in [(1, 0), (5, 2)]:
print(y == (x - 1) / 2) # True, TrueCommon errors
- Changing the wrong sign. Reflecting across the x-axis changes y, not x. A quick check: a point moves vertically when you cross the horizontal axis.
- Swapping when you should negate. The swap rule applies only to y = x. For y = −x, you also change signs.
- Treating reflection across y = x as a change of sign. (3, 2) goes to (2, 3), not (−3, −2). The second answer is the origin reflection.
- Forgetting the order of combined reflections. Two axis reflections give the same result in either order. Reflections across y = x and an axis do not. Reflect (3, 2) across y = x and then the x-axis: (2, 3) → (2, −3). Reverse the order: (3, −2) → (−2, 3). The results differ.
- Using the swap rule for points on a different line. The swap works only when the mirror is exactly y = x. For y = x + 1, shift the coordinates, or use perpendicular slope and midpoint reasoning.
GRE strategy notes
Reflection questions on the GRE are usually short. Several habits save time.
- Sketch a quick coordinate plane and put the point in its quadrant. After a reflection, check that the image sits in the quadrant you expect. A point in Quadrant I reflected across the y-axis must land in Quadrant II.
- Use symmetry to avoid computation. If a shape is reflected, its area, perimeter, and side lengths do not change.
- In quantitative comparison, a reflected point often has the same distance from the origin as the original. If the quantities are such distances, they are equal.
- Be careful with points on the mirror. A point on the x-axis stays fixed under a reflection across the x-axis. For example, (6, 0) maps to (6, 0).
Summary of rules
Across the x-axis, negate y. Across the y-axis, negate x. Across the origin, negate both. Across y = x, swap. Across y = −x, swap and negate both. Across x = k or y = k, use 2k minus the coordinate that changes. Every reflection preserves distance, angle, and area.
Exercise
The point P = (−3, 4) is reflected across the line y = x, and the image is then reflected across the x-axis to give Q. What is the distance between P and Q?
Show answer
Reflecting P across y = x gives (4, −3). Reflecting that across the x-axis gives Q = (4, 3). The distance from P = (−3, 4) to Q = (4, 3) is √((4 − (−3))² + (3 − 4)²) = √(49 + 1) = √50 = 5√2, about 7.07.
Exercise
The line y = 3x − 2 is reflected across the y-axis. What is the equation of the image, and where does it cross the x-axis?
Show answer
Replace x with −x: y = −3x − 2. Setting y = 0 gives −3x = 2, so x = −2/3. The image crosses the x-axis at (−2/3, 0). The original line crossed at (2/3, 0), which is the mirror image of that point.
Exercise
The point (5, −1) is reflected across the line x = 2. What are the coordinates of the image?
Show answer
The point is 3 units to the right of x = 2, so the image is 3 units to the left, at x = −1. The formula gives 2(2) − 5 = −1. The y-coordinate is unchanged, so the image is (−1, −1).