... as we have just seen, making the pics is actually easier than writing down the correct algebra from off the top of one's head. OTOH: it is more labor-intensive to present a pic in this medium. Wolfram has an online mini-mathematica doesn't it? But what we really need is to get the output into a pic for presentation here.
What's cool about this place is that if I provide one approach, someone else tends to provide the other one.
So cheers :)
[edit]... note for those googling here in future:
It is usually easier to see what's going wrong if you can plot the graph.
Not everyone has GNU-Octave, Matlab or Mathematica - or the need for that kind of power all the time.
Wolfram has a widget for simple plots:
http://www.wolframalpha.com/widget/...le=Math Help Boards: Graph Plotter&theme=blue
It will let you plot more than one graph on the same axis too:
i.e.
expression: x^2, 1, 1-x^2
from: -2
to: 2
... will give you the same graph I presented above.
If you enter: e^x, 2, 2-e^x, 4-e^(x) for the expression, then you get to compare the different examples in post #1.
A simple algebraic test that would catch the above mistakes: consider - if the graph crosses the mirror line, then the reflection will also cross the mirror line
in the same places.