Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to mirror a function $f(x)$ about the $x=c$ axis. To mirror it about the $x=0$ axis you just have to plot $f(-x)$.

I tried to mirror $f(x) = x^2$ about the $x = c$ axis. And I found that the mirrored function of $f$ is $(x-2c)^2$.

This just works for the $x^2$ function, but I need to mirror any function. How to do that?

share|cite|improve this question
up vote 3 down vote accepted

In general, $f(x)$ mirrored across the line $x=c$ is simply $f(2c-x)$. To see this, note that we can mirror $f(x)$ by translating it down by $c$, flipping it and then translating it back up by $c$, which gives $$f(x)\to f(x-c)\to f(c-x)\to f(2c-x)$$

share|cite|improve this answer
Thanks! Do you know how to mirror across the line $y=c$? – Cobold May 25 '12 at 21:58
@Cobold The situation is almost identical. Just translate along the $y$ axis instead of $x$. – Alex Becker May 25 '12 at 21:59

This can be simply evaluated by shifting the function by $c$ units towards negative x-axis or in transformation terms $f(x) \rightarrow f(x+c)$ ,finding the mirror image of this new curve along $x=0$, i.e $f(x+c) \rightarrow f(-x+c)$ and then re-shifting the new curve by $c$ units towards right i.e $f(-x+c) \rightarrow f(2c-x)$.Conclusively, the mirror image of any curve $y=f(x)$ about $x=c$ would be given by $y=f(2c-x)$.

share|cite|improve this answer
Here is a MathJax tutorial. Please rewrite your answer. – Ludolila Jul 31 '14 at 10:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.