MathGroup Archive 2009

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

Search the Archive

Re: Mathematica question about commutativity of multiplication


Hi James,
I think that 1) and 3) are related.
Mathematica by default assumes that variables commute (in fact it's
hard to change this behaviour) .
Your problem probably is that to get a times b, you need to enter a
(space) b.
With out the space, ab is a variable all by itself and different from
ba.

As for 2),  the eigenvalues are found by solving the secular equation:
Det[A-x 1]=0 for the eigenvalues x.
This is a n'th order polynomial equation for matrices of size n.  Thus
you need the roots of high order polynomials.
In general these can not be written in closed form, and so mathematica
will output  Root[] objects.
The #1 refers to the variable of the pure function whose root is being
found.

I think that's enough to get you started...

Simon


  • Prev by Date: Re: question related to (-1)^(1/3)
  • Next by Date: Re: Mathematica problem
  • Previous by thread: Re: Mathematica question about commutativity of multiplication
  • Next by thread: Re: Mathematica question about commutativity of multiplication