Reflect Function About y-Axis: f(-x)

Before this, knowReflect Function About x-Axis: -f(x)

Illustrated · 1 min

Reflecting a Function About the yy-Axis

In the previous lesson, we saw the function transformation of reflecting a function about the xx-axis, where y=−f(x)y=-f(x). In this lesson, we're going to talk about reflecting a function over the other axis: the yy-axis.

The yy-axis is the vertical axis, so if we were to reflect a function over the yy-axis, we would do a horizontal flip. That means that the yy-values would stay the same, but the xx-values will flip.

y=f(−x)y=f(-x)

It might be helpful to talk through an example.

Example

Say we have the quadratic function y=(x−3)2y=(x-3)^2. This parabola looks like:

Graph of y=(x-3)^2

Made using Desmos

If we consider the yy-axis our mirror, we can do a horizontal reflection by negating all of the xx-values. Essentially, we are just flipping this parabola into quadrant II. The graph in purple represents our reflected function.

Graph in purple of y=(-x-3)^2 and graph in red of y=(x-3)^2

Made using Desmos

Illustrated · 1 min

Horizontal Reflection

The next lesson in function transformations is when you can horizontally reflect an image across the yy-axis.

Horizontal reflection: mirroring the function over the y-axis

Image source: by Anusha Rahman

When we are doing a horizontal reflection, the yy values stay the same, as the yy-axis is the line of reflection. Think of the yy-axis functioning as a mirror! The xx values are the ones that will change, and they will be negated, meaning you will flip the sign of the xx values.

f(−x)f(-x)

Let's walk through an example.

Example

Let's say you were given the function f(x)=(x+1)3f(x)=\left(x+1\right)^{3}. The graph of this function looks like:

Graph of f(x)=\left(x+1\right)^{3}

Made using Desmos

If we wanted to reflect this graph over the yy-axis, we would keep all of the yy-coordinates the same, but the signs on the xx-values would be flipped. The transformed function equation would look like:

f(x)=(−x+1)3f(x)=\left(-x+1\right)^{3}

The graph of this function is in green, while the graph of the original function is in purple.

Graphs of y=\left(x+1\right)^{3} and y=\left(-x+1\right)^{3}

Made using Desmos

As you can see from the image, it looks like the yy-axis is the line of reflection for the functions! Either side of the yy-axis is a mirror image.

Video

Reflect a Line oVer the Y-Axis

by Brian McLogan

In this video by Brian McLogan, you will learn how to reflect a line over the y-axis, which you can apply to other functions.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems