Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Symbolic matrix algebra

  • To: mathgroup at
  • Subject: [mg45460] Re: Symbolic matrix algebra
  • From: Jens-Peer Kuska <kuska at>
  • Date: Fri, 9 Jan 2004 05:20:28 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <bti1i1$a6p$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


you must programm it by your own, because
mathematica can not know that in (A+B)^2
A and B are  matrices and you mean

(A+B).(A+B) and *not*


and Dot[] behave quite different than
Times[] for matrices.


"mike.james" wrote:
> This is a very silly question and I have checked the archives for anything
> relevant - I must just be searching on the wrong keywords.
> All I want to do is some simple matrix algebra.
> I want to type in  (A+B)^2 and have it expanded taking account of the fact
> that A and B are matrices.
> I want to use transpose, inverse and apply conditions such as the matrix is
> symmetric etc?
> I've tried non-commutive multiply and a few other tricks.
> I can see that I could write a package but surely there must be one or a
> built in solution I'm missing?
> mikej

  • Prev by Date: preserve neighborhood during random reordering
  • Next by Date: Extracting elements of lists
  • Previous by thread: Symbolic matrix algebra
  • Next by thread: Re: Symbolic matrix algebra