I have a long expression that contains $(-1)^q$, where $q$ is an integer. I'm taking conjugate of this expression, and Mathematica gives me the term Conjugate[(-1)^q]. And, of course, I'd like to get $(-1)^q$.
For the sake of simplicity, I tried to run the following command:
Assuming[Element[q, Integers], Conjugate[(-1)^q]]
And the result was
Conjugate[(-1)^q]
I also tried Simplify and FullSimplify commands; however, the result remained the same.
Table[-1^q,{q,-3,3}]
seems to show that -1^q is -1 for any finite integer q. EvenSimplify[-1^q,Element[q,Integers]]
knows this is true. So why don't you do that or even doyourexpression/.(-1)^q->-1
or something similar and be get on with the rest of the work you need to do? $\endgroup$ComplexExpand
is also useful in this case,Simplify[ComplexExpand[Conjugate[(-1)^q]], Element[q, Integers]]
$\endgroup$