MathGroup Archive 1994

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

Search the Archive

How to do symbolic matrix computations on MMA?

  • To: mathgroup at
  • Subject: [mg347] How to do symbolic matrix computations on MMA?
  • From: Fedor G. Pikus <pikus at>
  • Date: Tue, 20 Dec 94 12:27:05 -0800

 I have a question to ask:
I need to use MMA to do computations on expressions which contain
matrices. I would like not to substitute the elements of matrices, 
but rather call each matrix with a name and teach MMA how to handle that.
Here is an example of what I want to do:
I have matrices a, b, c, d.
I want to calculate (a+b)^2.
First, I want to teach MMA that a and b do not commute, so the
result is a^2 + ab + ba + b^2. 
Now, I know that, for example, a^2 = 1, ab = c, ba=-c, b^2=d. so,
I want to have the answer 1 + d.
How can I do it?
Thanks, Fedor

                                  Fedor G. Pikus

6113 Broida Hall                           312 Ellwood Beach Dr. #18
Department of Physics                      Goleta, California 93117           
University of California                   home   phone: (805) 968-3361
Santa Barbara, California 96103            office phone: (805) 893-4072
e-mail: pikus at             FAX         : (805) 893-8422

  • Prev by Date: arguments of InterpolatingFunction
  • Next by Date: Merry Xmas
  • Previous by thread: Re: WYSIWYG text editor for Mathematica?
  • Next by thread: Merry Xmas