Docsity

Practice Problems: Matrix Multiplication, Inverses, Determinants, Subspaces, Exams of Algebra

Partial preview of the text

Download Practice Problems: Matrix Multiplication, Inverses, Determinants, Subspaces and more Exams Algebra in PDF only on Docsity!

  1. Prove or disprove the following statement: matrix multiplication is commutative.

Solution

Proposition 1. The statement is false.

Proof. From the definition of matrix multiplication, if A is an m × n matrix and B is an n × p matrix, then AB is an m × p matrix. In this situation, the product BA is well defined only if m = p. Thus, matrix multiplication is not commutative since BA need not be defined even if AB is. 

1

  1. Let A =

 (^). Find A−^1 , using any method you deem

appropriate.

Solution Recall that when A is invertible, the block matrix

[

A I

]

is row

equivalent to

[

I A−^1

]

. We compute:

[

A I

]

 R 2 ↔ R 3

 R∗ 2 = R 2 − R 1

 R∗ 1 = 3R 1 , R∗ 2 = 3R 2 , R∗ 3 = 3R 3

 R∗ 3 = R 3 + R 2

 R∗ 1 = R 1 + 3R 3 , R∗ 2 = R 2 − 3 R 3

 R∗ 1 = R 1 + R 2

0 1 0 12 − 1 −^12

0 0 1 32 − 2 −^32

R 1 ∗ =

R 1

, R∗ 2 =

R 2

, R∗ 3 = −

R^3

[

I A−^1

]

  1. Let A =

 (^). Find an LU decomposition of A. (The

matrix L will be unit lower triangular.)

Solution We row reduce A to an upper triangular matrix, U , using only row replacement operations. We keep track of what we are doing by writing down the elementary matrices involved. The product of these elemen- tary matrices will be L.

A =

 R∗ 3 = R 3 − 3 R 1

 R∗ 2 = R 2 + R 1

 R∗ 3 = R 3 − 2 R^2

Thus, U =

 (^) and

L =

  1. Prove or disprove: The determinant of a square matrix is the product of the entries on the lead diagonal.

Solution

Proposition 3. The statement is false.

Proof. Let A =

[

]

. Then the product of the entries on the lead

diagonal is 4, but the determinant of A is 1 · 4 − 3(−1) = 7. 

Remark 4. If we require the matrix to be triangular, then the determi- nant is indeed the product of the entries on the lead diagonal.

  1. Let V be a vector space containing at least two points. Find two distinct subspaces of V.

Solution The set U = { 0 } is always a subspace of V. Further, V is a subspace of itself. Since there is a non-zero element, v ∈ V , we conclude that U and V are distinct subspaces of V.

  1. Let V be a non-zero vector space. Let W ⊂ V be a non-zero subspace. Let B be a (finite) collection of vectors in W. Give necessary and sufficient conditions for B to be a basis for W.

Solution The set B is a basis for W if the span of the elements of B is W and the elements of B are linearly independent.