- #1
- 965
- 667
- TL;DR Summary
- Wolfram tries to apply the chain rule and gets stuck simplifying Re'[something]
Consider these two examples:
D[ Re[ Exp[ I*t ] ], t ]
D[Re[Exp[I*t]],t] /. t-> 0.5
Mathematica seems to get stuck differentiating the "Re[ ]" function after (rather naively) applying the chain rule. This is a trivial example, but we might have a more complicated function defined like :-
myFn [ t _ ]:= Re [(* stuff *)]
... and we would like to find D [ myFn [ t ] ], t] without extra manual reformulation.
How can we do that elegantly and automatically?
D[ Re[ Exp[ I*t ] ], t ]
D[Re[Exp[I*t]],t] /. t-> 0.5
Mathematica seems to get stuck differentiating the "Re[ ]" function after (rather naively) applying the chain rule. This is a trivial example, but we might have a more complicated function defined like :-
myFn [ t _ ]:= Re [(* stuff *)]
... and we would like to find D [ myFn [ t ] ], t] without extra manual reformulation.
How can we do that elegantly and automatically?
Last edited: