Matrices Full Lecture Note
Matrices Full Lecture Note
Definition:
If each entry of a matrix is a real number, then the matrix is called a real matrix.
Problem:
𝑥 5 −1 5
Consider the following two matrices, 𝐴 = [ ],𝐵 = [ ]. If 𝐴 = 𝐵, then find 𝑥 and 𝑦.
0 3𝑦 0 9
A matrix that has only one column, is called a column matrix (or column vector).
Example:
A matrix that has only one row, is called a row matrix (or row vector).
Example:
(02)
(03)
(02)
(03)
Observe:
Examples:
(01)
(02)
(03)
(04)
(05)
Problem:
(01)
Problem:
(02)
Find the product 𝐴𝐴 for the diagonal matrix,
(03) Prove that if 𝐴 and 𝐵 are diagonal matrices of the same size, then 𝐴𝐵 = 𝐵𝐴.
Definition:
The trace of an 𝑛 × 𝑛 matrix 𝐴 is the sum of the main diagonal entries.
That is,
Problem:
Properties of Matrix Operations
Problem:
Example:
Note that there is no general cancellation property for matrix multiplication. i.e., if 𝐴𝐶 = 𝐵𝐶,
it is not necessarily true that 𝐴 = 𝐵.
Example:
Problems:
(01) Demonstrate that if 𝐴𝐵 = 𝑂, then it is not necessarily true that 𝐴 = 𝑂 or 𝐵 = 𝑂 for the
following matrices.
(02) Explain why the following formulas are not valid for matrices.
Examples:
Examples:
(01)
(02)
Properties of Matrix Operations
Problem:
(01)
Theorem: Properties of Matrix Multiplication
Example:
Note that there is no general cancellation property for matrix multiplication. i.e., if 𝐴𝐶 = 𝐵𝐶,
it is not necessarily true that 𝐴 = 𝐵.
Example:
Problems:
(02) Demonstrate that if 𝐴𝐵 = 𝑂, then it is not necessarily true that 𝐴 = 𝑂 or 𝐵 = 𝑂 for the
following matrices.
(03) Explain why the following formulas are not valid for matrices.
Problem:
(04) Perform the indicated operations when
The Transpose of a Matrix
Examples:
Examples:
(01)
(02)
Problems:
(05)
(06)
Determine whether the below matrices are symmetric, skew-symmetric or neither.
(07)
(08)
The Inverse of a Matrix
A is invertible or nonsingular AB = BA = In
Observe that
• nonsquare matrices do not have inverses (Why?)
• not all square matrices posses inverses
A is invertible matrix, then its inverse is unique.
Proof:
Example:
Solution:
Remark:
If 𝑨 and 𝑩 are both square matrices of order 𝒏 and 𝑨𝑩 = 𝑰𝒏 , then it can be shown that
𝑩𝑨 = 𝑰𝒏 .
Problem:
(01) Show that 𝐵 is the inverse of 𝐴.
Example:
Now we will generalize the method used in above example.
To do this we need some knowledge in elementary row operations.
Consider the previous example once again. Notice first that the two systems of linear equations:
have the same coefficient matrix. Rather than solve two systems represented by
1. Adjoining A:I
2. using elementary row operation
Finding the inverse result I : A -1 if it is not possible, then
A is noninvertible
-1 -1
3. check AA = I = A A
Example:
Solution:
Example: A singular (noninvertible) matrix
Solution:
Problem:
(02) Find the inverses of the matrices given below (if they exist).
Inverse of a 𝟐 × 𝟐 matrix:
Remark:
Examples:
Solution:
Theorem: Properties of Inverse Matrices
Proof:
Problem:
(03) Prove properties 2 and 4 in above theorem.
Example:
Solution:
Problems:
(04) Use the inverse of the matrices to find
(05) Find 𝑥 such that the matrix is equal to its own inverse.
Proof:
Remark:
Example:
Theorem: Cancellation Properties
Proof:
Remark:
The above cancellation properties apply only if 𝐶 is invertible.
Problems:
(07) Prove that the inverse of a symmetric nonsingular matrix is symmetric.
(08)
(09)
(10)
(11)
Elementary Matrices
Remark:
Examples:
With Elementary matrices we can use matrix multiplication to perform elementary row
operations.
Examples:
(Interchanging two rows)
(Multiplying a row by a nonzero constant)
Remark:
Problems:
(01) Determine whether the matrix is elementary and if it is, state the elementary row operation
used to produce it.
(02) Given
Example:
Solution:
Remark: This method is however not practical for performing Gaussian Elimination.
Problems:
(03) Find inverses of the following elementary matrices
(a)
(b)
(c)
Theorem:
Example:
Solution
Remark:
Problems:
(04) Find the inverse of matrices using elementary matrices
(06)
(07)
Definition:
Problems:
(08) Determine whether the matrix is idempotent
(09)
(10)
Determinants
Remark:
It is common practice to delete the matrix brackets and write
Examples:
Solution:
Remark:
The determinant can be negative, zero or positive
Example:
Solution:
Definition: Determinant of a matrix
Example:
Solution:
Remark:
Example:
Solution:
Triangular Matrices
Definition:
A square matrix is called upper triangular if it has all zero entries below its main diagonal.
A square matrix is called lower triangular if it has all zero entries above its main diagonal.
Examples:
Solution:
Problems:
(01) Solve for 𝑥.
(03)
Solution:
Theorem:
Observe that the above theorem does not give the only conditions that produce a determinant of
zero. The following is an example to demonstrate this:
Examples:
Solution:
Solution:
Properties of Determinants
Observe the following example:
Solution:
Theorem:
Theorem:
Example:
Solution:
Problems:
(01)
In the following problem find
Then verify that
(02)
(03)
(04)
Definition:
An invertible square matrix 𝐴 is called orthogonal if 𝐴−1 = 𝐴𝑇 .
Problem:
Determine whether the matrix is orthogonal
Determinants and the Inverse of a Matrix
Theorem:
Example:
Solution:
Theorem:
Proof:
Example:
Solution:
Theorem:
Example:
Solution:
Example:
Solution:
Theorem:
Example:
Solution:
Remark:
The above theorem is not very efficient for calculating inverses, it is theoretically useful,
however, because it gives a concise formula for the inverse of a matrix.