TransWikia.com

Why doesn't Mathematica ComplexExpand integrals?

Mathematica Asked on August 26, 2020

Consider this code example:

ComplexExpand[Re[Integrate[f[t], {t, a, b}]]]

Mathematica gives me the result as

Re[Integrate[f[t], {t, a, b}]]

which is obviously not helpful and not what should happen in my understanding. If all variables are real – and that’s what ComplexExpand assumes according to the documentation – then Re can be dropped from the expression. The same happens for Im. This seems to confuse FullSimplify which leaves me with a long expression that could be shorted. Why is this the case? How can I get Integrate (and Re) to evaluate properly to simply

Integrate[f[t], {t, a, b}]

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP