Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.8K Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

Matrix product with its Transpose

Posted 10 years ago

The product of a symmetric matrix with its transpose will give you the identity matrix. I can do this using a matrix operation in Mathematica but how can I show this using index notation summation?

AijAkj = ?ik

I'm familiar with the Sum function,

Sum[a[[i,j]]a[[k,j]],{i,3},{j,3},{k,3}]

but I can't figure out how to collect the proper terms into a table.

POSTED BY: Mark Brethen
4 Replies
POSTED BY: Daniel Lichtblau
Posted 10 years ago

You should also be able to show this using the index notation in my previous post, which is a summation. However, I can't figure out how to use the Sum function in Mathematica. I've tried using combinations Sum and Table/Collect, but do not get the expected result.

POSTED BY: Mark Brethen

Example with 2x2 orthogonal matrix

In[2]:= A = {{Cos[\[Theta]], -Sin[\[Theta]]}, {Sin[\[Theta]], 
    Cos[\[Theta]]}};

In[3]:= AT = Transpose[A];

In[4]:= Simplify[A.AT]

Out[4]= {{1, 0}, {0, 1}}

Now, in terms of summations

In[5]:= Simplify[Sum[A[[1, i]] AT[[i, 1]], {i, 1, 2}]]

Out[5]= 1

In[6]:= Simplify[Sum[A[[1, i]] AT[[i, 2]], {i, 1, 2}]]

Out[6]= 0

etc.

POSTED BY: S M Blinder

Correction: It is an orthogonal matrix for which the transpose equals the inverse, so that A.A^T = I. Also note that Mathematica gives matrix products when you input A.B

POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard