0% found this document useful (0 votes)
290 views2 pages

Mathematica Solution To Goldstein 8.19

The document provides steps to find the inverse of a matrix T and then multiply it by a vector p. Specifically: 1) It calculates the inverse of the matrix T, which contains terms with cosine, sine, and other variables. 2) It then takes the inverse matrix and multiplies it by the vector p to verify it is the inverse. 3) The result simplifies p after the multiplication, showing it is unchanged as expected from the inverse operation.

Uploaded by

shani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views2 pages

Mathematica Solution To Goldstein 8.19

The document provides steps to find the inverse of a matrix T and then multiply it by a vector p. Specifically: 1) It calculates the inverse of the matrix T, which contains terms with cosine, sine, and other variables. 2) It then takes the inverse matrix and multiplies it by the vector p to verify it is the inverse. 3) The result simplifies p after the multiplication, showing it is unchanged as expected from the inverse operation.

Uploaded by

shani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Finding inverse of the matrix T

+ 2 m a 2 x2 l (Cos t + 2 a x Sin t)

m m

l (Cos t + 2 a x Sin t)
2 2
In[11]:= Inverse m m
l2
2 2


l2 m
2 - 1 l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  m + 2 a2 m x2 
,
1

l m (Cos t + 2 a Sin t x)
4 2 2

- ,
2 - 1 l2 m2 (Cos t + 2 a Sin t x)2 + 1
l2 m  m + 2 a2 m x2 

l m (Cos t + 2 a Sin t x)
4 2 2

-
2 - 14 l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  m2 + 2 a2 m x2 
,
1

+ 2 a2 m x2
2


m

- 14 l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  m2 + 2 a2 m x2 


2
1
2

Multiplying pT with
T

+ 2 m a 2 x2 l (Cos t + 2 a x Sin t)
( px pt ).Inverse 
m m

l (Cos t + 2 a x Sin t)
2 2
In[12]:=
m m
l2
2 2

 -
l2 m px

2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 


Out[12]=
1 1 m

l m pt (Cos t + 2 a Sin t x)
4 2 2

2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 


,
1 1 m

l m px (Cos t + 2 a Sin t x)
4 2 2

- +
2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 
1 1 m
4 2 2

pt  + 2 a2 m x2 

m
2

- l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 


1 1 m
4 2 2

In[13]:= MatrixForm[%12]
Out[13]//MatrixForm=

- -
l2 m px l m pt (Cos t+2 a Sin t x) l m px (Cos t+2 a
2 - l2 m2 (Cos t+2 a Sin t x)2 + l2 m  +2 a2 m x2  2 - l2 m2 (Cos t+2 a Sin t x)2 + l2 m  +2 a2 m x2  2 - l2 m2 (Cos t+2 a Sin t x)
1 1 m 1 1 m 1
4 2 2 4 2 2 4

Printed by Wolfram Mathematica Student Edition


2

Multiplying pT * T * p

- -
l2 m px l m pt (Cos t+2 a Sin t x) l m px (Cos t+2 a
2 - l m (Cos t+2 a Sin t x)2 + l2 m  +2 a2 m x2  2 - l2 m2 (Cos t+2 a Sin t x)2 + l2 m  +2 a2 m x2  2 - l2 m2 (Cos t+2 a Sin t x)
In[14]:= 1 1 m 1 1 m 1
2 2
4 2 2 4 2 2 4

px -
l2 m px

2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 


Out[14]=
1 1 m
4 2 2

l m pt (Cos t + 2 a Sin t x)
+
2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 
1 1 m
4 2 2

l m px (Cos t + 2 a Sin t x)
pt - +
2 - l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 
1 1 m
4 2 2

pt  + 2 a2 m x2 

m
2

- l2 m2 (Cos t + 2 a Sin t x)2 + l2 m  + 2 a2 m x2 


1 1 m
4 2 2

Printed by Wolfram Mathematica Student Edition

You might also like