I need to obtain the real and imaginary parts of the below expression with Mathematica:
$(- i a - m^2) \ln(\frac{i m^2}{2 a})$,
where $a$ and $m$ are real.
So we have:
Refine[Re[(-I a - m^2) Log[(I m^2)/(2 a)]], {Element[a, Reals], Element[m, Reals]}]
However, Mathematica returns the command again. How can I proceed?