Derivative of the Real Part of a Complex Function (Mathematica)

3 replies · 3K views · last reply
Swamp Thing
Insights Author
Messages
1,079
Reaction score
849
TL;DR
Why doesn't this work:
D [ Re[ Exp[u + 10*I] ], u ] /. u->0.5
When I type in this:
Code:
D [
      Re[
           Exp[u + 10*I]
        ],
           u
   ]    /.  u->0.5
I get this output:
Mathematica output line reading (-1.3834 - 0.896939 i) Re'[-1.3834 - 0.896939 i], showing an unevaluated Re' derivative term.


Of course, I could just put the Re outside and the D inside, but it would be nice to know what is wrong with the above. What's with the Re' in the output?