Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.6K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Complex conjugation and mod of a complex expression

Posted 2 years ago
Attachments:
POSTED BY: Zohaib Aarfi
3 Replies

Sorry, I see your text only now. Here is a solution:

{reMp, imMp} = Simplify[ComplexExpand[ReIm[Mp]]]
absMp = Sqrt[reMp^2 + imMp^2]

ReIm separates the two parts, so that Simplify does cannot remix them again.

POSTED BY: Gianluca Gorni

I have to guess what your question is. I suppose you should learn about ComplexExpand, which is tricky, because it does not use the $Assumptions. A workaround could be this:

FullSimplify[ComplexExpand[ReIm[CMp]]] . {1, I}

Maybe there is a more elegant way, I am curious.

POSTED BY: Gianluca Gorni

It did work. Thanks a lot.

POSTED BY: Zohaib Aarfi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard