MathGroup Archive 2009

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

Search the Archive

Re: Mathematica question about commutativity of multiplication

James <james545 at> writes:

> Dear users,
> I have a 6x6 matrix in terms of 
> 3 variables a,b,c.  That is, each entry in the matrix
> is some polynomial in the variables a,b,c 
> with integer coefficients.
> I wish to calculate the eigenvalues of this matrix, so
> if the matrix is called A, I type in Eigenvalues[A].
> The problem is that the output is 500 pages long, so is
> not useful to me.  I think part of the issue is that 
> in my case, the variables a,b, and c commute.  That is,
> ab = ba, ac = ca, and bc = cb.  I really believe that
> if I could tell Mathematica that multiplication commutes
> with my variables, then the output would be simpler.

If "a" is a variable and "b" is a variable, their product is "a*b" or
"a b".  "ab" is just another variable unrelated to "a" and "b".

Scott Hemphill	hemphill at
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear

  • Prev by Date: Re: question related to (-1)^(1/3)
  • Next by Date: Re: Could someone run this on Mathematica 7.0?
  • Previous by thread: Re: Mathematica question about commutativity of multiplication
  • Next by thread: DiscretePlot