Reflecting mirrors a function's graph across the x-axis (−f(x), upside down), the y-axis (f(−x), left-right mirror), or the line y=x (its inverse).
−f(x) reflects over x-axis; f(−x) reflects over y-axis
Quick Answer
Reflecting mirrors a function's graph across the x-axis (−f(x), upside down), the y-axis (f(−x), left-right mirror), or the line y=x (its inverse). Use it when a graph is a mirror image of a parent. A minus sign outside, −f(x), keeps each input and negates the output, so (2,4) goes to (2,−4). A minus sign inside, f(−x), takes the output from the opposite input, so (2,4) goes to (−2,4). Swapping x and y reflects across y=x, which is how the graph of an inverse is drawn.
Why This Matters
Reflections explain why −x2 opens downward, why −x lives left of the y-axis, and how 2−x turns doubling into halving. They also give the symmetry tests: f(−x)=f(x) means a graph is its own left-right mirror (even), and f(−x)=−f(x) means flipping it both ways returns it unchanged (odd). Mixing up the two minus signs puts a graph in the wrong quadrant.
Intuitive Explanation
Start with f(x)=x, through (0,0), (1,1), (4,2) and (9,3). For −f(x)=−x, each output changes sign: (1,−1), (4,−2), (9,−3). The curve flips upside down across the x-axis, like a reflection in a still pond, and points on the axis, such as the origin, stay where they are.
For f(−x)=−x, the minus sign acts on the input. To get the output 2 you now need −x=4, that is x=−4, so (4,2) moves to (−4,2) and the whole curve swings to the left of the y-axis. An outside minus changes y-values; an inside minus changes x-values. Some graphs survive a flip unchanged: (−x)2=x2, so the parabola y=x2 is its own left-right mirror, which is what makes it an even function.
A reflection is not a rotation. Reflecting y=x across the x-axis keeps the curve on the right, with (4,2) going to (4,−2). Rotating it 180° about the origin sends (4,2) to (−4,−2), on the left, which is the same as reflecting across both axes one after the other. A single reflection reverses left and right or up and down, never both.
Think of it like this.A mirror on the floor and a mirror on the wall. Stand the graph of x on a floor mirror and you see it upside down: −f(x). Stand it beside a wall mirror and you see it reversed left to right: f(−x). Each mirror leaves the points lying on it in place, just as points on the axis stay fixed.
Core idea.Reflecting mirrors a graph: −f(x) flips it over the x-axis, f(−x) flips it over the y-axis.
When to Use
Think reflection when you see a negative sign applied to the whole function or to its input, or when a graph is described as upside down or a mirror image. Outside minus: flip over the x-axis. Inside minus: flip over the y-axis. If the sign comes with a number, as in −3f(x), a stretch happens too; if the graph only slides, use shifting; and if inputs and outputs trade places, the mirror is the line y=x, the inverse.
Tip.Ask: Is the graph a mirror image of the parent caused by a negative sign (not a slide or a stretch)?
How to Recognize It
Before reflecting, find each minus sign and decide whether it applies to the whole output or only to x, then follow one point to see where it lands.
1.
Does the minus sign sit outside, in front of the whole function, as in −f(x)?
If yes, every output changes sign: the graph flips over the x-axis and its zeros stay put. If the minus sits inside next to x, as in f(−x), the flip is over the y-axis and the y-intercept stays put.
2.
Does the minus sign apply to only part of the input, as in 4−x?
If yes, factor it out first: 4−x=−(x−4), a reflection over the y-axis followed by a shift right 4. The graph starts at x=4 and runs to the left.
3.
Do inputs and outputs trade places, as when you solve y=f(x) for x?
If yes, the mirror is the line y=x, and the result is the inverse function rather than a reflection over an axis: a point (2,9) becomes (9,2).
4.
Does flipping the graph leave it unchanged?
If a y-axis flip changes nothing, the function is even, like x2. If flipping over both axes changes nothing, it is odd, like x3. Either way the question is about symmetry, not a new graph.
Reflecting Functions compared with Outside vs. inside negative, Even and odd functions, and Inverse function (reflect over y=x)
Every row involves a mirror, so a minus sign or a swap of x and y can be read as the wrong one. Ask which line the graph flips across, or whether the function is already its own mirror image.
Reflecting Functions compared with Outside vs. inside negative, Even and odd functions, and Inverse function (reflect over y=x)
Type
Meaning
Key test
Formula
Example
Reflecting Functions
Use this when a graph is the mirror image of a parent across an axis or the line y=x.
Is the graph a mirror image of the parent caused by a negative sign (not a slide or a stretch)?
−f(x) reflects over x-axis; f(−x) reflects over y-axis
Graph y=−x2 compared to y=x2.
Outside vs. inside negative
−f(x) flips over the x-axis; f(−x) flips over the y-axis.
Use the outside negative for vertical flips, inside for horizontal.
−f(x) vs f(−x)
−x2 opens down; −x goes left
Even and odd functions
Whether a function already equals its own reflection.
Use to classify symmetry, not to perform a new flip.
even: f(−x)=f(x); odd: f(−x)=−f(x)
x2 even, x3 odd
Inverse function (reflect over y=x)
Swaps inputs and outputs, mirroring across y=x.
Use when undoing a function, not flipping over a coordinate axis.
f−1, reflect over y=x
y=x is y=x2 (x≥0) reflected
Reflecting Functions
Meaning
Use this when a graph is the mirror image of a parent across an axis or the line y=x.
Key test
Is the graph a mirror image of the parent caused by a negative sign (not a slide or a stretch)?
Formula
−f(x) reflects over x-axis; f(−x) reflects over y-axis
Example
Graph y=−x2 compared to y=x2.
Outside vs. inside negative
Meaning
−f(x) flips over the x-axis; f(−x) flips over the y-axis.
Key test
Use the outside negative for vertical flips, inside for horizontal.
Formula
−f(x) vs f(−x)
Example
−x2 opens down; −x goes left
Even and odd functions
Meaning
Whether a function already equals its own reflection.
Key test
Use to classify symmetry, not to perform a new flip.
Formula
even: f(−x)=f(x); odd: f(−x)=−f(x)
Example
x2 even, x3 odd
Inverse function (reflect over y=x)
Meaning
Swaps inputs and outputs, mirroring across y=x.
Key test
Use when undoing a function, not flipping over a coordinate axis.
Formula
f−1, reflect over y=x
Example
y=x is y=x2 (x≥0) reflected
Formula & Notation
−f(x) reflects over x-axis; f(−x) reflects over y-axis
−f(x): (x,y)↦(x,−y) (reflect over x-axis). f(−x): (x,y)↦(−x,y) (reflect over y-axis). Even: f(−x)=f(x)∀x. Odd: f(−x)=−f(x)∀x
How to read it:Even function: f(−x)=f(x) (symmetric about y-axis). Odd function: f(−x)=−f(x) (symmetric about origin).
Worked Examples
Example 1 — Flip over the x-axis
Easy
Graph y=−x2 compared to y=x2.
Show the steps and the answer
Locate the minus sign: −x2 means −(x2), so the square is taken first and then negated.
The sign sits outside the squaring, so it acts on the output.
Flip key points: (1,1)→(1,−1) and (2,4)→(2,−4), while (0,0) stays.
An outside minus reverses every height and leaves every input alone.
Describe the result: the parabola opens downward, and its vertex (0,0) is now a highest point.
Every output other than 0 is negative, so 0 is the largest value.
Answer:y=−x2 opens down
Takeaway:An outside minus flips the graph over the x-axis: same inputs, opposite outputs.
Example 2 — Inside negative
Standard
Graph y=−x compared to y=x. Is it upside down?
Show the steps and the answer
Locate the minus sign: it is on x, inside the root.
An inside minus acts on the input, so it moves points left or right.
Find the domain: −x needs −x≥0, so x≤0.
The graph can only exist to the left of the y-axis.
Map points: −(−4)=2, so (4,2) on x becomes (−4,2), and likewise (9,3)→(−9,3).
Heights are unchanged and every x-coordinate changes sign.
Check the outputs: they are all still at least 0.
An upside-down graph would have negative outputs; this one is a left-right mirror image.
Answer:No — it's mirrored left over the y-axis
Takeaway:An inside minus flips the graph over the y-axis: same heights, opposite inputs.
Example 3 — Find the mistake: which minus sign?
Application
Ravi is asked to reflect f(x)=2x across the y-axis. He writes: "Reflecting puts a minus in front, so the answer is g(x)=−2x, which passes through (1,−2)." Find the mistake and correct it.
Show the steps and the answer
Check what Ravi's function does: −2x keeps each input and negates each output, so (1,2)→(1,−2).
That flips the graph over the x-axis, not the y-axis.
Name the error: he used the outside minus.
A y-axis reflection must change the inputs, so the minus belongs on x.
Write the correct function: g(x)=f(−x)=2−x.
The point (1,2) now moves to (−1,2), since g(−1)=21=2.
Check another pair: g(1)=2−1=21, which equals f(−1).
Mirror points have equal heights at opposite inputs.
Answer:g(x)=2−x=(21)x, which passes through (−1,2) and (1,21).
Takeaway:For a left-right mirror put the minus on the input; a minus in front turns the graph upside down instead.
Where You'll See It
Halving as mirrored doubling
The halving curve (21)x=2−x is the left-right mirror of the doubling curve 2x. A medicine that halves every hour traces forward in time, 8, 4, 2, 1 mg, the same values a doubling bacteria count traces backward in time.
Depth versus elevation
A diver's depth graph d(t), in metres below the surface, becomes an elevation graph −d(t): a dive to 20 m appears as height −20. Every value changes sign, an x-axis reflection, while the times stay the same.
Common Mistakes
The slip:Swapping which negative flips which axis
Instead:outside −f(x) is the x-axis flip; inside f(−x) is the y-axis flip.
The slip:Calling y=x2 asymmetric
Instead:it's even, equal to its own y-axis reflection.
The slip:Confusing a reflection with a rotation
Instead:a flip mirrors across a line; it does not rotate the graph.
Mini Practice
Try these on your own. Tap Reveal when you want to check.
1.
For f(x)=2x, write the reflection over the y-axis and the reflection over the x-axis.
Hint:One negative goes inside on x; the other goes outside on the output.
2.
The point (3,−5) is on y=f(x). Where does it move on y=−f(x), and where on y=f(−x)?
Hint:An outside negative flips the y-coordinate; an inside negative flips the x-coordinate.
3.
Is g(x)=x4−2x2 even, odd or neither? Use g(−x) to decide.
Hint:Replace x with −x. What happens to x4 and to x2?
4.
For h(x)=x3+x, compute h(−x) and −h(x). What do you notice?
Hint:Odd powers keep the negative sign.
5.
The graph of y=2x+1 is mirrored across the line y=x. Is the result y=−2x+1, or the inverse function?
Hint:Mirroring across y=x swaps which coordinates?
6.
A student says 'y=−∣x∣ is y=∣x∣ reflected over the y-axis.' Find and correct the mistake.
Hint:Is the negative inside or outside? Which coordinate does it flip?
Want the full set?
50 practice questions for this concept — free to try, every one with a complete worked
solution showing the why, not just the answer.
Applying both flips, −f(−x), sends each point (a,b) to (−a,−b). That is the same as turning the graph half a turn, 180∘, about the origin, even though each single flip is a mirror. For f(x)=x, the result −−x starts at the origin and heads down and to the left. Odd functions, such as x3, look exactly the same after this half-turn.
Is the reflection of a function always a function?
Over the axes, yes. −f(x) keeps every input and only changes the sign of its output, and f(−x) just reverses which input gives which output, so each input still has one output. A reflection across y=x is different: it swaps inputs and outputs, so the result is a function only if no output of f repeats. The mirror image of y=x2 across y=x is a sideways parabola, which fails the vertical line test.
Can a graph be its own reflection over the x-axis?
Among functions, only f(x)=0. Being unchanged means −f(x)=f(x) for every input, which forces every output to be 0. Curves that are symmetric about the x-axis, like the circle x2+y2=25, do exist, but they are not functions: each x strictly between −5 and 5 has two y-values. Symmetry across the y-axis has no such problem, which is why even functions are common.
Why does reflecting f(x)=x+3 over the y-axis give −x+3 and not −x−3?
Because the minus goes onto x only, wherever x appears: f(−x)=(−x)+3=−x+3. The constant 3 is not an x, so it stays. On the graph, the y-intercept (0,3) sits on the mirror line, so it does not move, while the slope changes from 1 to −1. The other answer, −x−3, is −f(x), the flip over the x-axis, which moves the intercept to (0,−3).
You need Function Transformation, especially the habit of tracking where individual points go when a formula changes. Reflection adds the two minus-sign moves and which axis each one flips. Next, Even and Odd Functions ask when a graph equals its own reflection, f(−x)=f(x) or f(−x)=−f(x), and Symmetry carries the same mirror idea over to shapes and equations.