Reflections in the Coordinate Axes
Theory
A reflection flips a graph over a mirror line. This Year 11 Mathematics Advanced page covers reflection in the \(x\)-axis (replace \(y\) by \(-y\), giving \(y=-f(x)\)) and reflection in the \(y\)-axis (replace \(x\) by \(-x\), giving \(y=f(-x)\)): how points, intercepts, vertices, asymptotes and function values change, and how to apply one reflection after another.
A reflection flips a graph over a line called the mirror line. Each point moves to the point the same distance away on the other side of the mirror line, measured at right angles to it. The size and shape of the graph stay the same, but it is flipped over.
Reflection in the \(x\)-axis. Each point moves as \((x,y)\rightarrow(x,-y)\): the \(x\)-coordinate stays the same and the \(y\)-coordinate changes sign. To find the new equation, replace \(y\) by \(-y\): \(y=f(x)\) becomes \(-y=f(x)\), i.e. \(y=-f(x)\). Points on the \(x\)-axis (the \(x\)-intercepts) do not move, and a parabola that is concave up becomes concave down.
Reflection in the \(y\)-axis. Each point moves as \((x,y)\rightarrow(-x,y)\): the \(x\)-coordinate changes sign and the \(y\)-coordinate stays the same. To find the new equation, replace \(x\) by \(-x\): \(y=f(x)\) becomes \(y=f(-x)\). Points on the \(y\)-axis (the \(y\)-intercept) do not move, and left and right are swapped.
In function notation, if \(y=g(x)\) is the reflection of \(y=f(x)\) in the \(x\)-axis, then \(g(x)=-f(x)\); in the \(y\)-axis, \(g(x)=f(-x)\). For example, if \(f(5)=3\) and \(g(x)=-f(x)\), then \(g(5)=-3\).
Reflections can be applied one after the other: reflecting in the \(y\)-axis and then in the \(x\)-axis sends \((x,y)\rightarrow(-x,y)\rightarrow(-x,-y)\), and \(y=f(x)\) becomes \(y=-f(-x)\). Some graphs are their own reflection: replacing \(x\) by \(-x\) in \(y=x^2\) gives \(y=(-x)^2=x^2\), the same graph.
The reflection rules:
| Reflection | Replace | New graph | Point | Points that do not move |
|---|---|---|---|---|
| in the \(x\)-axis | \(y\) by \(-y\) | \(y=-f(x)\) | \((x,y)\rightarrow(x,-y)\) | on the \(x\)-axis |
| in the \(y\)-axis | \(x\) by \(-x\) | \(y=f(-x)\) | \((x,y)\rightarrow(-x,y)\) | on the \(y\)-axis |
| in both axes, in turn | \(x\) by \(-x\) and \(y\) by \(-y\) | \(y=-f(-x)\) | \((x,y)\rightarrow(-x,-y)\) | the origin |
| \(-y\) | \(=\) | \(x^2-5x+1\) |
| \(y\) | \(=\) | \(-(x^2-5x+1)\) |
| \(\) | \(=\) | \(-x^2+5x-1\) |
| \(y\) | \(=\) | \((-x-3)^2+2\) |
| \(\) | \(=\) | \(\left(-(x+3)\right)^2+2\) |
| \(\) | \(=\) | \((x+3)^2+2\) |
How to find the equation of a reflected graph
- Choose the replacement: in the \(x\)-axis, replace \(y\) by \(-y\); in the \(y\)-axis, replace \(x\) by \(-x\).
- Substitute with brackets: \(-y=f(x)\), or \(y=f(-x)\) with every \(x\) written as \((-x)\).
- Simplify: make \(y\) the subject, simplify powers of \((-x)\), and tidy any fraction, e.g. \(\dfrac{-1}{x-1}=\dfrac{1}{1-x}\).
- Check with a key point: the vertex, an intercept or an asymptote should have moved as \((x,y)\rightarrow(x,-y)\) or \((x,y)\rightarrow(-x,y)\).
Points and function values
- In the \(x\)-axis: \((x,y)\rightarrow(x,-y)\), and \(g(x)=-f(x)\).
- In the \(y\)-axis: \((x,y)\rightarrow(-x,y)\), and \(g(x)=f(-x)\).
- Two reflections: apply each one in turn, in the order given.
(a) Find the image of \(P\) after reflection in the \(x\)-axis.
(b) Find the image of \(P\) after reflection in the \(y\)-axis.
(c) If \(g(x)=f(-x)\), find \(g(-4)\).
(a) Reflection in the \(x\)-axis, \((x,y)\rightarrow(x,-y)\):
\((4,-6)\rightarrow\boldsymbol{(4,6)}\)
(b) Reflection in the \(y\)-axis, \((x,y)\rightarrow(-x,y)\):
\((4,-6)\rightarrow\boldsymbol{(-4,-6)}\)
(c) \(g(x)=f(-x)\) is the reflection in the \(y\)-axis:
| \(g(-4)\) | \(=\) | \(f\left(-(-4)\right)\) |
| \(\) | \(=\) | \(f(4)\) |
| \(\) | \(=\) | \(\boldsymbol{-6}\) |
This agrees with (b): \((-4,-6)\) lies on \(y=g(x)\).
(a) Find the equation of the new parabola.
(b) State its vertex and its \(x\)-intercepts.
(a) Replace \(y\) by \(-y\):
| \(-y\) | \(=\) | \(x^2-2x-3\) |
| \(y\) | \(=\) | \(-(x^2-2x-3)\) |
| \(\) | \(=\) | \(-x^2+2x+3\) |
\(\therefore\ \boldsymbol{y=-x^2+2x+3}\)
(b) Original: \(y=(x-1)^2-4\), so the vertex is \((1,-4)\); \(y=(x+1)(x-3)\), so the \(x\)-intercepts are \(-1\) and \(3\).
Reflect, \((x,y)\rightarrow(x,-y)\): vertex \((1,-4)\rightarrow\boldsymbol{(1,4)}\). The \(x\)-intercepts are on the mirror line, so they stay at \(\boldsymbol{x=-1}\) and \(\boldsymbol{x=3}\).
Check: \(-x^2+2x+3=-(x-1)^2+4=-(x+1)(x-3)\).
Replace \(x\) by \(-x\):
| \(y\) | \(=\) | \(\dfrac{2}{-x+3}\) |
| \(y\) | \(=\) | \(\dfrac{2}{3-x}\) |
\(\therefore\ \boldsymbol{y=\dfrac{2}{3-x}}\)
The original asymptote \(x=-3\) reflects to \(\boldsymbol{x=3}\) (where \(3-x=0\)).
The \(y\)-intercept is on the mirror line, so it does not move: at \(x=0\), \(y=\dfrac{2}{3}\), the point \(\boldsymbol{\left(0,\dfrac{2}{3}\right)}\).
(a) Find the equation of the new graph.
(b) State the equation of its asymptote and its \(y\)-intercept.
(a) Reflect in the \(y\)-axis (replace \(x\) by \(-x\)):
| \(y\) | \(=\) | \(3^{-x}-2\) |
Then reflect in the \(x\)-axis (replace \(y\) by \(-y\)):
| \(-y\) | \(=\) | \(3^{-x}-2\) |
| \(y\) | \(=\) | \(-3^{-x}+2\) |
| \(\) | \(=\) | \(2-3^{-x}\) |
\(\therefore\ \boldsymbol{y=2-3^{-x}}\)
(b) The asymptote of \(y=3^{x}-2\) is \(y=-2\). The reflection in the \(y\)-axis keeps \(y=-2\); the reflection in the \(x\)-axis sends it to \(\boldsymbol{y=2}\).
The \(y\)-intercept moves \((0,-1)\rightarrow(0,-1)\rightarrow\boldsymbol{(0,1)}\). Check: \(2-3^{0}=2-1=1\).
Common pitfalls
Frequently asked questions
What does reflecting a graph in the x-axis do?
It flips the graph upside down over the \(x\)-axis. Each point \((x,y)\) moves to \((x,-y)\), and \(y=f(x)\) becomes \(y=-f(x)\). Points on the \(x\)-axis do not move.
How do you reflect a function in the y-axis?
Replace every \(x\) by \(-x\), using brackets, then simplify. So \(y=f(x)\) becomes \(y=f(-x)\). Each point \((x,y)\) moves to \((-x,y)\).
What is the difference between -f(x) and f(-x)?
\(-f(x)\) changes the sign of the output, which reflects the graph in the \(x\)-axis. \(f(-x)\) changes the sign of the input, which reflects the graph in the \(y\)-axis.
Which points stay fixed when a graph is reflected?
The points on the mirror line. In the \(x\)-axis the \(x\)-intercepts stay where they are; in the \(y\)-axis the \(y\)-intercept stays where it is.
What happens when a graph is reflected in both axes?
Apply one reflection and then the other. Each point \((x,y)\) moves to \((-x,-y)\), and \(y=f(x)\) becomes \(y=-f(-x)\).
Can a graph be its own reflection?
Yes. If \(f(-x)=f(x)\), as for \(y=x^2\), the graph is unchanged by reflection in the \(y\)-axis. If \(f(-x)=-f(x)\), as for \(y=x^3-4x\), reflecting in the \(y\)-axis gives the same graph as reflecting in the \(x\)-axis.