Bug introduced in 10.0 and fixed in 10.4
Inactive
is new in 10.0.
What is the reason that the Inactive[Sum]
behaves in a strange way with Power
?
When I evaluate
Power[Inactive[Sum][a[i], {i, 1, n}], m]
I see
$$ \sum_{i=1}^n a[i]^m $$
This is not correct in the formal mathematical sense.
I expected the result
$$ \left(\sum_{i=1}^n a[i]\right)^m $$
I am using Mathematica 10.1. How can I work around this problem?
Power[Inactive[Sum][a[i], {i, 1, n}], m]
is displayed incorrectly in 10.0-10.3. The display is correct from version 10.4 onwards. The incorrect display does not affect the structure and interpretation of the expression. Next time please state the problem explicitly. Do not assume that everyone sees the same output that you see. $\endgroup$