MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Complex Matrices

  • Subject: [mg2436] Re: Complex Matrices
  • From: ianc (Ian Collier)
  • Date: Thu, 9 Nov 1995 04:42:56 GMT
  • Approved:
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: daemon at ( )

In article <47hh8n$dcl at>, David A Boyd
<dab8g at> wrote:

> Here is my problem: I have a matrix, M , with complex elements, and I want
> to find M*.M. If I try Conjugate[ M ].M. or Conjugate[ M[[1,1]] ] M[[1,1]],
> Mathematica will not expand the answer.That is to say instead of having
> all of the I's replaced with -I's, I just get back Conjugate[ M ].M. even
> if I try Expand[].  Which is not a lot of help.
> david

The problem is, probably, that Mathematica does not know if
teh other symbols in your matrix are real or complex.

ComplexExpand forces Mathematica to treat all variables as

    m = {{a + I b, c + I d},{e + I f, g + I h}}
    {{a + I b, c + I d}, {e + I f, g + I h}}
    Conjugate[ m ]
    {{Conjugate[a + I b], Conjugate[c + I d]}, 
      {Conjugate[e + I f], Conjugate[g + I h]}}
    ComplexExpand[ %]
    {{a - I b, c - I d}, {e - I f, g - I h}}


ComplexExpand[expr] expands expr assuming that all variables
   are real. ComplexExpand[expr, {x1, x2, ...}] expands expr
   assuming that variables matching any of the xi are

I hope this helps.


  • Prev by Date: Speed of Mathematica under Windows 95
  • Next by Date: Modulus 10 or 11
  • Previous by thread: Complex Matrices
  • Next by thread: Re: Complex Matrices