I tried to take the derivative of a long expression containing $\text{Re} \text{Li}_3(e^{2\pi ix})$, the trilogarithm while $x$ is real. Since the real part function is linear ,it should be like this $$ \frac{\partial }{\partial x}(F(x)+\text{Re}\text{Li}_3(e^{2\pi ix}))=F'(x)-2\pi\text{Im}\text{Li}_3(e^{2\pi ix})) $$ However, MMA's output is something strange like
Derivative[1][F][x] +
2 I \[Pi] PolyLog[2, E^(2 I \[Pi] x)] Derivative[1][Im][
PolyLog[3, E^(2 I \[Pi] x)]]
or
$$
F'(x)+2 i \pi \text{Li}_2\left(e^{2 i \pi x}\right) \text{Re}'\left(\text{Li}_3\left(e^{2 i \pi x}\right)\right)
$$
I think the reason is that D
didn't treat Re
properly.
How can I let MMA know that Re
is linear and output the correct result? Thanks in advance.
Re[PolyLog[3, z]]
nor withIm[PolyLog[3, z]]
so it just returnsD[Re[PolyLog]]' and
D[Im[....]` when you apply the derivative operator on these. What shouldRe[PolyLog[3, ExpToTrig[E^(2 I Pi x)]]
return? btw, tryD[Im[Sin[x]], x]
and see what you get. $\endgroup$