Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Properties of Matrix Product in Linear Algebra, Exams of Linear Algebra

Various properties of the matrix product in Linear Algebra, including associativity, distributivity, and the role of the identity matrix. Roberto's Notes on Linear Algebra, Chapter 4, Section 5.

Typology: Exams

2021/2022

Uploaded on 09/27/2022

tiuw
tiuw 🇺🇸

4.7

(18)

288 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linear Algebra Chapter 4: Matrix Algebra Section 5: Properties of the matrix product Page 1
Roberto’s Notes on Linear Algebra
Chapter 4: Matrix Algebra
Section 5
Properties of the matrix product
What you need to know already:
What you can learn here:
How to multiply two matrices.
When the product of two matrices is possible.
Which properties of the product of scalars are
also valid for the matrix product.
Some properties of the matrix product that do
not have an analog for scalar product.
In the previous section we have seen that a key property that we take for
granted when working with numbers, namely commutativity, does not work for the
matrix product. But there are several other nice properties that do work; moreover,
some of them are actually new, in the sense that they do not even come up as
relevant when working with real numbers. We shall now explore some of these
positive properties, starting from a very simple one that will prove very important
later.
Technical fact
For any
matrix A:
mn
==I A A I A
Isn’t this the same as saying that multiplying by 1 does not change a number?
It corresponds to that, but it is not the same, since we are not dealing with
individual numbers. However, let us notice the correspondence in a formal way.
Knot on your finger
The identity matrix acts in matrix multiplication as
the number 1 does for multiplication of real
numbers, that is, it does not change the other factor.
However, since there is one identity matrix for each
dimension, this has meaning only when the relevant
dimensions match properly and on the correct side.
The proof of this fact consists of a very basic verification that I will leave for
your practice work. As we shall see later, any mathematical object that has the
property of not changing the object with which it is combined in an operation is
called and identity, so this usage fits the general pattern.
The next two properties are so familiar to us when applied to numbers that we
often take them for granted. But they must be checked in unusual cases, such as for
the product of matrices.
pf3
pf4
pf5

Partial preview of the text

Download Properties of Matrix Product in Linear Algebra and more Exams Linear Algebra in PDF only on Docsity!

Roberto’s Notes on Linear Algebra

Chapter 4 : Matrix Algebra Section 5

Properties of the matrix product

What you need to know already: What you can learn here:

 How to multiply two matrices.

 When the product of two matrices is possible.

 Which properties of the product of scalars are

also valid for the matrix product.

 Some properties of the matrix product that do

not have an analog for scalar product.

In the previous section we have seen that a key property that we take for granted when working with numbers, namely commutativity, does not work for the matrix product. But there are several other nice properties that do work; moreover, some of them are actually new, in the sense that they do not even come up as relevant when working with real numbers. We shall now explore some of these positive properties, starting from a very simple one that will prove very important later.

Technical fact

For any mn matrix A :

I A m = A I n = A

Isn’t this the same as saying that multiplying by 1 does not change a number? It corresponds to that, but it is not the same, since we are not dealing with individual numbers. However, let us notice the correspondence in a formal way.

Knot on your finger

The identity matrix acts in matrix multiplication as the number 1 does for multiplication of real numbers, that is, it does not change the other factor. However, since there is one identity matrix for each dimension, this has meaning only when the relevant dimensions match properly and on the correct side.

The proof of this fact consists of a very basic verification that I will leave for your practice work. As we shall see later, any mathematical object that has the property of not changing the object with which it is combined in an operation is called and identity , so this usage fits the general pattern. The next two properties are so familiar to us when applied to numbers that we often take them for granted. But they must be checked in unusual cases, such as for the product of matrices.

Technical fact Matrix product is associative , meaning that for any three matrices of suitable dimensions: A BC ( ) =( AB C )

This means that when we multiply more than two matrices it does not matter which two we multiply first, as long as we keep them in the same left-to-right order.

Technical fact Matrix product is distributive with respect to matrix addition, meaning that for any three matrices of suitable dimensions: ( )

( )

and

A B C AC BC

C A B CA CB

This property extends to products and sums of several matrices.

Proof The general and formal proofs of these two properties are rather long, tedious and uninspiring, so I will omit them and hope that you trust me. Just

in case, the Learning questions include two questions that ask you to verify them in the simplest case of 22 matrices.

I do trust you! Keep skipping these proofs! I will skip them when they have little educational value, but make sure that you can understand the ones I do present, since they are good for you. For instance:

Technical fact The transpose of a product of matrices is given by the product of the transposes, but in reverse order : ( )

AB^ T^ = B A T^ T

Proof

The entry in position (^) ( i , j )of (^) ( AB )^ T is the entry in position (^) ( j i , )of AB and is therefore obtained as the dot product of the j - th row of A and the i - th column of B. But these are, respectively, the j - th column of A T and the i - th row of B T , hence their dot product is the entry in position (^) ( i , j )of B A T^ T. In symbols: ( AB )^^ T^ i j^ =^ ( AB^ ) j i =^ r j^^ (^ A^ )^ c i^ (^ B )^^ =^ c i^ (^ B )^^ r j^ (^ A^ )^ =^ r B i (^ T^^ )^ c^ j (^ A T^^ )= ( B A T^ T ) i j Hence the two matrices are the same.

Say what? Yes, this proof is often considered “simple,” for mathematical standards, but you may need to go over it several times in order to understand what each step is stating and why it is true. Do that, as it is an important goal of this course to make you familiar with this kind of abstract thinking.

Learning questions for Section LA 4 - 5

Review questions:

  1. Describe each of the algebraic properties of the matrix product.

Memory questions:

  1. What is a different but equivalent way to write (^) ( AB )^ T?
  2. What does the associativity property of the matrix product state?
    1. What are the two distributivity formulae for matrix multiplication?

Computation questions:

  1. Given the matrices 1 2 3 0 2 1 0 3 2 2 0 1 , 2 2 3 , 2 2 5 3 1 4 1 3 4 0 1 4

= ^ ^ = ^ − ^ = ^ − 

A B C :

a) Show that the transpose of AB is BA without computing either. b) Show that ABBA by using part a) and computing only one of the products. c) Compute the product CA

  1. Given

= ^ − 

(^) A , compute the products AA T and A A T. What do

you notice?

  1. Given the matrices

A and

= ^ 

B , verify that

( AB^ )^ T^^ = B A T^ T^ but^ ( AB^ )^ T^^  A B T^ T.

Theory questions:

1. Why is the matrix I n called an identity matrix?

  1. For which matrices can we compute the square?
    1. Is matrix product associative, commutative, both or neither?

Proof questions:

  1. Check that matrix multiplication is associative in the case of any three 2 2 matrices.
  2. Check that matrix multiplication is distributive with respect to addition in the case of three 22 matrices.
  3. Prove that the transpose of the product of more than two matrices equals the product of their transposes in reverse order.
  4. Prove that multiplying a matrix by a scalar is the same as multiplying it on either side by the diagonal matrix of the proper size that has that scalar on all diagonal entries.
  5. Prove that for any square matrix A , the product AA T is symmetric.
  6. Given two square matrices A and B of the same dimensions: a) Prove that if the homogeneous systems Ax = 0 and Bx = 0 both have only the trivial solution, so does the system ( AB ) x = 0. b) Prove that if either one of the systems Ax = 0 or Bx = 0 has infinitely many solutions, so does the system ( AB ) x = 0.
  7. Prove that the product of two diagonal matrices is commutative.
    1. In reference to the matrix

= ^ 

A

a) Explain why this matrix is not symmetric, even though it has a symmetric feature. b) Identify two row operations that will change it into a symmetric matrix. c) Use properties of matrix multiplication and transposes to explain why AA T is symmetric.

  1. Explain why the factoring formula A^2^ − B^2 = ( A + B )( AB ), that works for real numbers, does not work for matrices.
  2. Show that if a matrix A commutes (with respect to multiplication, of course), with all matrices of the form

x y

=^ ^ 

C  , with x and y real numbers, then A is a diagonal matrix. Make sure to justify all the claims you make and all the steps you take.

What questions do you have for your instructor?