Group Abstract Group Abstract

Message Boards Message Boards

0
|
44 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to equivalently convert $e iπ $ in the expression to −1 ?

Posted 1 day ago
1/9 (7 - 2^m E^(I m \[Pi]) (7 + 3 m))

enter image description here

1/9 (7 - (-2)^m (7 + 3 m))

I tried using the following method myself:

expr = 1/9 (7 - 2^m E^(I m \[Pi]) (7 + 3 m));
expr /. E^(I m \[Pi]) -> (-1)^m // Simplify

My current requirement is: without using manual identification and substitution methods, what other methods can automatically replace the Euler's formula part in it with -1?

POSTED BY: Bill Blair
2 Replies
Posted 1 day ago

Here is one alternative:

expr = 1/9 (7 - 2^m E^(I m \[Pi]) (7 + 3 m))
rule = n_^x_*E^(I*\[Pi]*x_) :> (-n)^x;
expr /. rule
POSTED BY: Hans Milton

Try:

FullSimplify[1/9 (7 - 2^m E^(I m \[Pi]) (7 + 3 m)),  Assumptions -> m \[Element] Integers]
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard