Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
6 views

Exercises 2 Matrices Operations

The document covers operations on matrices, including special types, properties, and exercises for determining matrix sizes and performing calculations. It also discusses the concept of matrix inverses, their properties, and methods for finding them, with exercises to reinforce understanding. Additionally, it presents true/false statements regarding matrix properties and provides examples for various scenarios involving matrix operations.

Uploaded by

minhpq2410641
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Exercises 2 Matrices Operations

The document covers operations on matrices, including special types, properties, and exercises for determining matrix sizes and performing calculations. It also discusses the concept of matrix inverses, their properties, and methods for finding them, with exercises to reinforce understanding. Additionally, it presents true/false statements regarding matrix properties and provides examples for various scenarios involving matrix operations.

Uploaded by

minhpq2410641
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2.

Matrices Operations
Recall:
1) Some special matrices: Identity matrices, zero matrices, symmetric matrices,...
2) Operations: addition, multiplication with a scalar, transpose of a matrix, multiplication.
3) General properties: Associativity, commutativity...
Exercises:
1. Suppose that A, B, C, D, E are matrices with the following sizes: A : 4 × 5; B : (4 × 5); C : 5 × 2;
D : 4 × 2; E : 5 × 5. Determine (if exists) the size of each of the following matrices:

(a) BA; (d) AB + B; (g) E T A;


(b) AC + D; (e) 2E( A + B);
(c) AE + B; (f) E( AC ); (h) ( A T + E) D.

2. Let
     
3 0     1 5 2 6 1 3
4 −1 1 4 2
A = −1 2 , B =
  ,C = , D =  −1 0 1 , E =  −1 1 2 .
0 2 3 1 5
1 1 3 2 4 4 1 3

Compute the following (where possible)

(a) 2B − C; (e) AC and CA;


(b) 3D − 2E T ; (f) (C T B) A T and Tr ((C T B) A T );
(c) 3D T − 2E) and Tr (3D − 2E T ); (g) tr ( DD T ).
(d) AB and BA; (h) D T E T − ( ED ) T .

3. Write down the 2 by 2 matrices A and B that have entries aij = i + j and bij = (−1)i+ j . Multiply
them to find AB and BA. Is the product of A and B commutative?
4. True or false? Give a specific counterexample when false.
(a) If columns 1 and 3 of B are the same, so are columns 1 and 3 of AB.
(b) If rows 1 and 3 of B are the same, so are rows 1 and 3 of AB.
(c) If rows 1 and 3 of A are the same, so are rows 1 and 3 of AB.
(d) ( AB)2 = A2 B2 .
5. Which of the following matrices are guaranteed to equal ( A + B)2

(a) A2 + 2AB + B2 (c) ( A + B)( B + A)


(b) A( A + B) + B( A + B) (d) A2 + AB + BA + B2

6. By trial and error find examples of 2 by 2 matrices such that


(a) A2 = − I, A having only real entries.
(b) B2 = 0, although B 6= 0;
(c) CD = − DC, not allowing the case CD = 0.
(d) EF = 0, although no entries of E or F are zero.

1
7. Suppose A commutes with every 2 by 2 matrix, and in particular
     
a b 1 0 0 1
A= commutes with B1 = , B2 = .
c d 0 0 0 0

Show that a = d and b = c = 0. Consequently, prove that if AB = BA for all 2 × 2-matrices B,


then A is a multiple of the identity.
8. In each part find matrices A, X, B which express the given system of linear equations as a single
matrix equation AX = B. Solve these equations.

(a)

x1 − 3x2 + 5x3 = 7
9x1 − x2 + x3 = −1
x1 + 5x2 + 4x3 = 0

(b)

x1 − 3x3 + x4 =7
5x1 + x2 − 8x4 =3
2x1 − 5x2 + 9x3 − x4 =0
3x2 − x3 + 7x4 = 2

9. Find the powers A2 , A3 , B2 , B3 , C2 , C3 . What are Ak , Bk and C k for a given k?


1 1
1
− 12
   
2 2 1 0
A= 1 1 ,B = , and C = AB = 21 .
2 2
0 −1 2 − 12

3. Inverses of matrices
Recall:
1) Equivalent definitions: A is invertible if one the following equivalent conditions holds.
i) There exists B such that AB = BA = I;
ii) The equation Ax = 0 has unique solution 0.
2) Find the inverse of a matrix
• Using elementary row transformations to bring [ A| I ] into [ I | A−1 ]. (Gauss-Jordan.)
Exercises:

1. Show that if A and B are invertible matrices then


(a) A T is invertible and ( A T )−1 = ( A−1 ) T
(b) AB are invertible and ( AB)−1 = B−1 A−1 .

2. Use the Gauss-Jordan method to invert the following matrices then solve the equations Ax = b
for b = (−1, 2, 7).

(a) (b)
   
1 0 0 2 −1 0
A1 = 1
 1 1 , A2 =  − 1 2 −1 ,
0 0 1 0 −1 2
2
(c) (e) (f)
 
1 1 1 1 1 −2 
A3 = 1 2 2 , 5 5 5
A6 = 1 1 1 
1 2 3 5 5 10
1 −4 1
5 5 10
(d)
   √ √ 
0 0 1 √2 3√ 2 0
A4 = 0 1 1 , A5 =  −4 2 2 0 ,
1 1 1 0 0 1

3. True or false (with a counterexample if false and a reason if true):


(a) A 4 by 4 matrix with a row of zeros is not invertible.
(b) If A is invertible then A−1 is invertible
(c) If A T is invertible, then A is invertible.
4. If a matrix A has row 1 + row 2 = row 3, show that A is not invertible:
(a) Explain why Ax = (1, 0, 0) cannot have a solution.
(b) Which right-hand sides (b1 , b2 , b3 ) might allow a solution to Ax = b?
(c) What happens to row 3 in elimination?
5. Find the inverse (in any legal way) of

(a) (b) (c)


     
0 0 0 1 a b 0 0 k 0 0 0
0 0 2 0 c d 0 0 1 k 0 0
A1 =  , A2 =   A3 =  
0 3 0 0 0 0 a b 0 1 k 0
4 0 0 0 0 0 c d 0 0 1 k

6. For which three numbers c is this matrix not invertible, and why not?
 
2 c c
A =  c c c
8 7 c

7. Give examples of matrices A and B such that


(a) A + B is not invertible although A and B are invertible.
(b) A + B is invertible although A and B are not invertible.
(c) all of A, B, and A + B are invertible.
(d) In the last case use A−1 ( A + B) B−1 = B−1 + A−1 to show that C = B−1 + A−1 is also
invertible and find a formula for C
8. Show that A2 = 0 is possible but A T A = 0 is not possible (unless A = zero matrix).
9. If the inverse of A2 is B, show that the inverse of A is AB. Thus, A is invertible whenever A2
invertible.
10. If A = A T and B = B T , which of the following matrices are certainly symmetric?
(a) A2 − B2 ;
(b) ( A + B)( A − B);
(c) ABA;
(d) ABAB.

You might also like