TOPIC

Reflection across the x-axis: y = -f(x)

MY PROGRESS

Pug Score

0%

Study Points

+0

Overview

Watch

Read

Next Steps


Get Started

Get unlimited access to all videos, practice problems, and study tools.

Unlimited practice
Full videos

Back to Menu

Topic Progress

Pug Score

0%

Videos Watched

0/0

Read

Not viewed


Study Points

+0

Read

Reflection Across the x-axis: y = -f(x)

This topic covers how to reflect the graph of a function across the x-axis using the rule y = -f(x). You will learn what changes and what stays the same, how to apply the rule point by point, and how to avoid the most common sign mistakes, through fully worked examples with graphs.

What Is Reflection Across the x-axis?

Reflecting a graph across the x-axis means flipping it upside down, as if the x-axis were a mirror lying flat on the page. Every point above the x-axis lands the same distance below it, and every point below the x-axis lands the same distance above it. The x-axis itself acts as the line of symmetry between the original graph and its reflection.

This is one of the core function transformations, alongside stretches, shifts, and the related y axis reflection, which flips a graph left-to-right instead of top-to-bottom. Learning to recognize the difference between the two is one of the most useful skills for graphing quickly without a table of values.

The Rule: \(y = -f(x)\)

If \(y = f(x)\) is the original function, the reflection of that graph across the x-axis is given by:

\(y = -f(x)\)

In words: take the original function and multiply the entire output by \(-1\). Nothing happens to the \(x\)-value; only the sign of the \(y\)-value changes. So for any point \((x, y)\) on the graph of \(f(x)\), the point \((x, -y)\) lies on the graph of \(-f(x)\).

This is very different from replacing \(x\) with \(-x\). Writing \(f(-x)\) negates the input and reflects the graph across the y-axis, while \(-f(x)\) negates the output and reflects the graph across the x-axis. Mixing these two up is the single most common error students make with this topic.

How to Reflect a Graph Across the x-axis

  1. Start with the equation \(y = f(x)\).
  2. Multiply the entire right-hand side by \(-1\) to get \(y = -f(x)\).
  3. Simplify the new equation if needed.
  4. If you are graphing point by point, keep every \(x\)-coordinate the same and flip the sign of every \(y\)-coordinate.
  5. Check that any \(x\)-intercepts (where \(y = 0\)) have not moved, since \(-0 = 0\).

Worked Example 1: Reflecting a Parabola

Let \(f(x) = x^2 - 2x - 3\). This parabola opens upward with a minimum point (vertex) at \(x = 1\) and x-intercepts at \(x = -1\) and \(x = 3\).

Graph of f(x) = x squared minus 2x minus 3 Plot of y = x**2 - 2*x - 3 for x in [-3, 5] -2 0 2 4 -5 0 5 10 x y x-intercept x-intercept vertex (minimum)
Graph of \(f(x) = x^2 - 2x - 3\)

To reflect this across the x-axis, apply the rule \(y = -f(x)\):

\(-f(x) = -(x^2 - 2x - 3) = -x^2 + 2x + 3\)

Graph of y = negative of x squared minus 2x minus 3 Plot of y = -(x**2 - 2*x - 3) for x in [-3, 5] -2 0 2 4 -10 -5 0 5 x y x-intercept x-intercept vertex (maximum)
Graph of \(y = -f(x) = -x^2 + 2x + 3\)

Notice that the x-intercepts \(x = -1\) and \(x = 3\) are unchanged, since \(y = 0\) there in both graphs. The vertex, however, moved from a minimum at \(x = 1\) to a maximum at \(x = 1\), because its \(y\)-value simply switched sign.

Worked Example 2: Reflecting an Absolute Value Graph

Now let \(g(x) = |x - 1|\), a V-shaped graph with its vertex (a minimum) at \(x = 1\).

Graph of g(x) = absolute value of x minus 1 Plot of y = abs(x - 1) for x in [-4, 6] -4 -2 0 2 4 6 0 1 2 3 4 5 x y vertex (minimum)
Graph of \(g(x) = |x - 1|\)

Reflecting across the x-axis gives \(y = -g(x) = -|x - 1|\), which turns the upward V into a downward V with a maximum at the same \(x\)-value:

Graph of y = negative absolute value of x minus 1 Plot of y = -abs(x - 1) for x in [-4, 6] -4 -2 0 2 4 6 -5 -4 -3 -2 -1 0 x y vertex (maximum)
Graph of \(y = -|x - 1|\)

Again, only the sign of each output flipped. The location of the vertex along the x-axis never moved.

What Stays the Same, What Changes

Because the rule only touches the output of the function, the how to write domain and range lesson is worth reviewing alongside this one: the domain of \(-f(x)\) is identical to the domain of \(f(x)\), since the same \(x\)-values are still allowed. The range, however, flips: if the original range is \(y \ge 0\), the reflected range becomes \(y \le 0\), and vice versa. Any x-intercepts are preserved exactly, while any maximum becomes a minimum and any minimum becomes a maximum.

Combining With Other Transformations

Reflections rarely show up alone on a test. You will often see them combined with a horizontal translation or a vertical shift in the same equation, such as \(y = -f(x - 2) + 3\). When several transformations appear together, apply them in order: handle what happens inside the function first (shifts to \(x\)), then apply the reflection and any outside shifts to the result.

Common Mistakes to Avoid

  • Confusing \(-f(x)\) with \(f(-x)\): the first flips the graph vertically (across the x-axis), the second flips it horizontally (across the y-axis).
  • Forgetting to distribute the negative sign across every term, especially when \(f(x)\) is a sum of several terms.
  • Moving the x-intercepts by mistake; a correctly reflected graph always crosses the x-axis at the same spots as the original.
  • Assuming the domain changes; it does not, since reflection across the x-axis only affects \(y\)-values.

Quick Practice Tip

A fast way to check a reflection is to pick two or three easy points from the original graph, flip the sign of each \(y\)-value, and plot the new points. If they trace a mirror image across the x-axis, the equation \(y = -f(x)\) is correct.

Related lessons