On a calculus 2 test I was given to review the students were asked to find the derivative of
. Maple gives the answer
. This is the same answer, in a slightly different form, that was given by the test writer.
Unfortunately, the domain of the function is a single point,
and the expression for the answer does not exist as a real number at any real number. (Adding with(RealDomain): does not help.) The moral is to remember that a user of Maple (or any similar program) is responsible for making sure the answers are sensible when one is not using complex numbers.