Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm having trouble combining assumptions with the execution of Simplify in a long equation. The idea is to separate imaginary and real parts of a complex equation. Therefore I am trying to assume the variables as reals.

Simplify[-Re[(a+I b) (2-c-d-I e-I f)],
  {a ∈ Reals, b ∈ Reals, c ∈ Reals, d ∈ Reals, e ∈ Reals, f ∈ Reals}]    

But the output is just ignoring the assumptions. How should I implement it?

share|improve this question
    
Did tried builin command ComplexExpand[] –  Junho Lee Jul 10 at 12:07
    
eq = -Re[(a + I b) (2 - c - d - I e - I f)]; ComplexExpand[eq] –  Junho Lee Jul 10 at 12:07
    
When you need to specify that multiple variables are Reals (or other types) they can be grouped together. Element[{a, b, c, d, e, f}, Reals] or (a | b | c | d | e | f) ∈ Reals –  Bob Hanlon Jul 10 at 13:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.