DoAssignment study guide

RF5 · Analyze reflections across the axes and the line y = x

Learn to analyze reflections across the axes and the line y = x through clear examples and targeted practice.

Alberta Grade 12 Mathematics

Relations and Functions

Track how points, equations, domains, and ranges change

A reflection flips a graph across a line, like an image in a mirror. Each point moves to the other side of that line by the same distance. This lesson focuses on three mirror lines: the xx-axis, the yy-axis, and the line y=xy=x. Coordinate rules make the changes predictable. They also help you write an equation for the reflected graph and check whether that graph is still a function.

What you will learn

  • Apply coordinate rules for reflections across the xx-axis, yy-axis, and line y=xy=x.
  • Write and check equations for reflected graphs.
  • Compare the domain and range of a graph with those of its reflection across y=xy=x.
  • Decide whether a reflected relation is a function.

Review: coordinates, functions, domain, and range

A point on a coordinate plane is written as an ordered pair, such as (2,3)(2,3). The first coordinate gives the horizontal position. The second gives the vertical position. A graph is a set of points that satisfy an equation.
A function assigns exactly one output to each allowed input. In the notation y=f(x)y=f(x), xx is the input and yy is the output. For example, if f(x)=2x−1f(x)=2x-1, then f(2)=3f(2)=3, so (2,3)(2,3) is on the graph.
The domain is the set of xx-values on a graph. The range is the set of yy-values. A useful graph check is the vertical-line test: a graph is a function if every vertical line meets it no more than once. The horizontal-line test asks whether every horizontal line meets the graph no more than once. This second test helps when reflecting across y=xy=x.
  • The coordinates of a point are written (x,y)(x,y).
  • For y=f(x)y=f(x), the domain is the set of inputs and the range is the set of outputs.
  • A function passes the vertical-line test.

Coordinate rules for the three reflections

Start with a point (x,y)(x,y). Across the xx-axis, its horizontal coordinate stays the same and its vertical coordinate changes sign. Across the yy-axis, its vertical coordinate stays the same and its horizontal coordinate changes sign. Across y=xy=x, the coordinates switch places.
For a graph written as y=f(x)y=f(x), these point rules give equation rules. A reflection across the xx-axis changes each output to its opposite, so the equation becomes y=−f(x)y=-f(x). A reflection across the yy-axis changes each input to its opposite, so replace every input xx with −x-x to get y=f(−x)y=f(-x).
For a reflection across y=xy=x, switch the coordinates of every point. To find the reflected equation, interchange xx and yy in the original equation. Then solve for yy if possible. The result may be a relation rather than a function.
To decide whether the reflection across y=xy=x is a function, use the horizontal-line test on the original graph. If the original passes that test, its reflection passes the vertical-line test. If it fails the horizontal-line test, the reflected graph is not a function.
(x,y)↦(x,−y),(x,y)↦(−x,y),(x,y)↦(y,x)(x,y)\mapsto(x,-y),\quad (x,y)\mapsto(-x,y),\quad (x,y)\mapsto(y,x)
  • Across the xx-axis, change the sign of the yy-coordinate.
  • Across the yy-axis, change the sign of the xx-coordinate.
  • Across y=xy=x, switch the coordinates.
  • A reflection across y=xy=x is a function exactly when the original graph passes the horizontal-line test.

Reading the reflected graph

Consider the point (2,3)(2,3). Its reflection across the xx-axis is (2,−3)(2,-3). Its reflection across the yy-axis is (−2,3)(-2,3). Its reflection across y=xy=x is (3,2)(3,2). These images show which coordinate changes and which stays fixed.
The equation rules match the point rules. In an xx-axis reflection, the output changes sign. In a yy-axis reflection, the input changes sign. In a reflection across y=xy=x, the old output becomes the new input, and the old input becomes the new output.
A reflection across y=xy=x swaps the domain and range. For example, if a graph has domain [1,4][1,4] and range [−2,3][-2,3], the reflected relation has domain [−2,3][-2,3] and range [1,4][1,4]. The reflection does not guarantee that the new relation is a function.
Points on the mirror line do not move. A point on either axis stays fixed when reflected across that axis. A point on the line y=xy=x has equal coordinates, so switching its coordinates leaves it unchanged. A reliable check is to choose a point on the original graph, apply the point rule, and test the image in the reflected equation.
  • A point check can confirm a reflected equation.
  • A reflection across y=xy=x exchanges domain and range.
  • Check the function condition before writing a reflected relation as y=f(x)y=f(x).

Worked example

Reflect a line across both axes

The line is y=2x−1y=2x-1. Find its reflections across the xx-axis and the yy-axis. Check each result using the point on the original line when x=1x=1.
A line and its axis reflections
A line and its axis reflectionsThe graph shows only a viewing window of the three full lines.-4-3-2-101234-6-4-20246OriginalAcross x-axisAcross y-axisxy

The graph shows only a viewing window of the three full lines.

  1. Reflect across the x-axis
    At x=1x=1, the original line has y=1y=1, so (1,1)(1,1) is on the line. The xx-axis rule keeps the first coordinate and changes the sign of the second. For the equation, change the sign of the whole output expression.
    y=−(2x−1)=−2x+1y=-(2x-1)=-2x+1
  2. Reflect across the y-axis
    The point (1,1)(1,1) becomes (−1,1)(-1,1) across the yy-axis. For the equation, replace every input xx with −x-x. This changes the horizontal position while leaving the output value associated with the reflected point unchanged.
    y=2(−x)−1=−2x−1y=2(-x)-1=-2x-1
  3. Check both images
    The first equation gives y=−1y=-1 at x=1x=1, matching the image (1,−1)(1,-1). The second gives y=1y=1 at x=−1x=-1, matching (−1,1)(-1,1). Both checks agree with the coordinate rules.
    −(2(1)−1)=−1,2(−(−1))−1=1-(2(1)-1)=-1,\qquad 2(-(-1))-1=1
Answer: Across the xx-axis, the line is y=−2x+1y=-2x+1. Across the yy-axis, it is y=−2x−1y=-2x-1.
Check: The original point (1,1)(1,1) becomes (1,−1)(1,-1) across the xx-axis and (−1,1)(-1,1) across the yy-axis.

Worked example

Reflect a line across $y=x$

Reflect the line y=2x+3y=2x+3 across y=xy=x. Write the reflected equation as y=mx+by=mx+b, and state the domain and range of each line.
A line and its reflection across y = x
A line and its reflection across y = xThe graph shows only a viewing window of the two full lines.-5-4-3-2-1012345-4-202468OriginalReflectedxy

The graph shows only a viewing window of the two full lines.

  1. Switch the variables
    Reflection across y=xy=x switches the coordinates of each point. Apply that rule to the equation by interchanging xx and yy. The new equation describes the reflected relation.
    x=2y+3x=2y+3
  2. Solve for y
    Subtract 33 from both sides, then divide by 22. The resulting equation is in function form.
    y=x−32=12x−32y=\frac{x-3}{2}=\frac{1}{2}x-\frac{3}{2}
  3. Compare domain and range
    The original line and the reflected line both extend without restriction in either coordinate, so both have all real numbers as their domain and range. Check a point: (0,3)(0,3) on the original becomes (3,0)(3,0). The reflected equation gives 00 when x=3x=3.
    Domain=Range=R\text{Domain}=\text{Range}=\mathbb{R}
Answer: The reflected line is y=12x−32y=\frac{1}{2}x-\frac{3}{2}. Both lines have domain R\mathbb{R} and range R\mathbb{R}.
Check: The point (0,3)(0,3) becomes (3,0)(3,0), and (3,0)(3,0) satisfies the reflected equation.

Worked example

A reflection across $y=x$ that is not a function

Reflect y=x2y=x^2 across y=xy=x. Write the reflected relation and determine whether it is a function.
The parabola and its reflected relation
The parabola and its reflected relationThe graph shows only a viewing window of the full parabola and its reflection.-4-3-2-101234-4-3-2-101234Original y = x²Reflected x = y²xy

The graph shows only a viewing window of the full parabola and its reflection.

  1. Switch the variables
    Interchange xx and yy in the original equation. This gives an equation for the reflected relation. The equation can be left in this form even if it cannot be written as one output for every input.
    x=y2x=y^2
  2. Check whether the reflection is a function
    The original graph fails the horizontal-line test: for example, the horizontal line y=1y=1 meets it at two points. Therefore its reflection fails the vertical-line test. For the reflected relation, setting the input to 11 gives two possible outputs. x=1\Longrightarrow y=1 or y=-1
  3. Confirm with points
    The original points (1,1)(1,1) and (−1,1)(-1,1) reflect to (1,1)(1,1) and (1,−1)(1,-1). The reflected relation therefore has two outputs for the input x=1x=1, which confirms that it is not a function.
    (1,1),  (−1,1)↦(1,1),  (1,−1)(1,1),\;(-1,1)\mapsto(1,1),\;(1,-1)
Answer: The reflected relation is x=y2x=y^2. It is not a function of xx because the input x=1x=1 has two outputs, y=1y=1 and y=−1y=-1.
Check: The original graph fails the horizontal-line test, so the reflected graph fails the vertical-line test.

Common mistakes and how to avoid them

Using −f(x)-f(x) for a reflection across the yy-axis.
Correction: Use f(−x)f(-x) for a yy-axis reflection. The expression −f(x)-f(x) describes a reflection across the xx-axis.
Changing signs instead of switching coordinates for a reflection across y=xy=x.
Correction: A point (x,y)(x,y) becomes (y,x)(y,x). Neither coordinate must change sign.
Assuming every reflection across y=xy=x is a function.
Correction: Test the original graph with the horizontal-line test. If it fails, the reflected relation fails the vertical-line test.
Switching variables in only part of an equation.
Correction: For a reflection across y=xy=x, interchange xx and yy throughout the full equation.

Lesson summary

  • Across the xx-axis, (x,y)(x,y) becomes (x,−y)(x,-y); for y=f(x)y=f(x), use y=−f(x)y=-f(x).
  • Across the yy-axis, (x,y)(x,y) becomes (−x,y)(-x,y); for y=f(x)y=f(x), use y=f(−x)y=f(-x).
  • Across y=xy=x, (x,y)(x,y) becomes (y,x)(y,x); interchange variables in the equation.
  • A reflection across y=xy=x swaps domain and range.
  • The reflected relation is a function exactly when the original graph passes the horizontal-line test.

Check your understanding

Question 1

The point (4,−2)(4,-2) is reflected across the xx-axis. What is its image?
  1. (4,2)(4,2)
  2. (−4,−2)(-4,-2)
  3. (−2,4)(-2,4)
  4. (4,−2)(4,-2)
Show answer and explanation
(4,2)(4,2)
An xx-axis reflection keeps the xx-coordinate and changes the sign of the yy-coordinate.

Question 2

What is the reflection of y=x2+1y=x^2+1 across the yy-axis?
  1. y=−x2−1y=-x^2-1
  2. y=(−x)2+1y=(-x)^2+1
  3. y=x2−1y=x^2-1
  4. y=−(x2+1)y=-(x^2+1)
Show answer and explanation
y=(−x)2+1y=(-x)^2+1
Replace the input xx with −x-x. Since (−x)2=x2(-x)^2=x^2, the equation is unchanged after simplification.

Question 3

Reflect y=3x−6y=3x-6 across y=xy=x. Which equation is the reflection?
  1. y=3x+6y=3x+6
  2. y=x+63y=\frac{x+6}{3}
  3. y=x−63y=\frac{x-6}{3}
  4. y=−3x+6y=-3x+6
Show answer and explanation
y=x+63y=\frac{x+6}{3}
Switch the variables to get x=3y−6x=3y-6. Solving for yy gives y=x+63y=\frac{x+6}{3}.

Question 4

The graph y=x2y=x^2 is reflected across y=xy=x. Is the reflected relation a function of xx?
  1. Yes, because the original graph is a function.
  2. Yes, because switching coordinates always gives a function.
  3. No, because the original graph fails the horizontal-line test.
  4. No, because the original graph fails the vertical-line test.
Show answer and explanation
No, because the original graph fails the horizontal-line test.
The original parabola fails the horizontal-line test. Its reflection therefore fails the vertical-line test and is not a function of xx.

Key terms

Reflection
A flip across a line. Each point and its image are the same distance from the mirror line.
Domain
The set of xx-values on a graph.
Range
The set of yy-values on a graph.
Vertical-line test
A graph is a function if no vertical line meets it more than once.
Horizontal-line test
A graph passes this test if no horizontal line meets it more than once.

Continue through Math 30-1

View the complete Math 30-1 Alberta Grade 12 Mathematics curriculum and lessons

About this lesson and its review

Published by DoAssignment. This reviewed lesson follows Alberta Grade 12 Mathematics (Math 30-1), expectation RF5. It is a study resource, not an official curriculum publication.

Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question