Math 4330 Sec. 1, Matlab Assignment # 1, March 24, 2006 Name 1 ...
Math 4330 Sec. 1, Matlab Assignment # 1, March 24, 2006 Name 1 ...
Math 4330 Sec. 1, Matlab Assignment # 1, March 24, 2006 Name 1 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
1. Enter the matrices<br />
and carry out the following:<br />
A =<br />
ASSIGNMENT 1<br />
[ ] 2 4<br />
, B =<br />
1 3<br />
(a) Verify that (A + B) + C = A + (B + C)<br />
[ ] −2 1<br />
, C =<br />
0 4<br />
[ ] 3 1<br />
2 1<br />
(A + B) + C = A + (B + C) =<br />
(b) Verify that (AB)C = A(BC)<br />
(AB)C = A(BC) =<br />
(c) Decide whether AB is equal to BA<br />
AB = BA =<br />
(d) Find (A + B) 2 , (A 2 + 2AB + B 2 ) and (A 2 + AB + BA + B 2 )<br />
(A + B) 2 = (A 2 + 2AB + B 2 ) =<br />
(e) Find A 2 − B 2 , (A − B)(A + B)<br />
A 2 − B 2 = (A − B)(A + B) =<br />
2. Enter<br />
and do the following:<br />
A =<br />
[ ] 1/2 1/2<br />
, B =<br />
1/2 1/2<br />
[ 1/2<br />
] −1/2<br />
−1/2 1/2<br />
(a) Compute<br />
A 2 = , A 3 = , etc.<br />
Can you say what A n will be Explain why this is true.<br />
(b) Compute B 2 =<br />
, Can you explain why this is true. What does<br />
this tell you about matrix multiplication that is different from squaring numbers