Is there a simple way to let Mathematica apply the distributive property of Conjugate on (a1 s12 + a2 s22) provided that all four mentioned variable are complex. Shouldn’t Mathematica substitute (a1 s12 + a2 s22)* with a1* s12* + a2* s22* automatically?
As far as I know, ComplexExpand assumes that all variables in its argument are real and then expands it accordingly. However, in the case I am asking about, variables may be complex. So what I want is, that Mathematica substitutes (a1 s12 + a2 s22)* with a1* s12* + a2* s22*. This equation is necessary for the S-matrix. With reference to your website, I think that you’re quite familiar with it,
When I add the //FullSimpify to the original code, terms like (a1 s11 Conjugate[a1] Conjugate[s11]) are not converted automatically to (Abs[a1]^2+ Abs[s11]^2). So my question is, do I have to add another rule to make Mathematica take care of the mentioned conversion?
Sorry but I am not following you and do not know what output you are after now.
How about we rewind and start from the initial state again? Could you show the input and show the output you are looking for. Then one can help write the rules/commands needed to transform the input to the output.
So my question is what is the sequence of commands that results in substituting EACH and EVERY multiplication of a complex variable with its conjugate with its square absolute value (for example: a2 s12 Conjugate[a2] Conjugate[s12] should be substituted with Abs[a2]^2 Abs[s12]^2). This can usually be done by using the command FullSimplify. However, this command seems to be selective in this case and it is not substituting all the terms.
Thanks for your reply.. Any idea, why this final answer didn’t appear until this third rule was applied? It seemed logical, that this answer would result automatically without additional rules. The application of FullSimplify should have helped. right? Regards.