You can put this solution on YOUR website! I'm not sure whether you meant the problem to be find f(-2) given that
. <=== first case
.
or
. <=== second case
.
In either case, the way you work this problem is to substitute -2 for x and calculate the
answer.
.
In the first case, substituting -2 for x results in:
.
.
In the second case, substituting -2 for x results in:
.
.
[Note that in these two problems and ]
.
Hope this helps you to see your way through the problem. Just remember that when you
write f(-2) it means substitute -2 for the variable on the right side. So f(5) would
mean substitute +5 for the variable, and so forth.