Ch2 1
Ch2 1
4
Equality of Matrices (1 of 2)
Definition of Equality of Matrices
Two matrices A = [a ij] and B = [b ij] are equal when they
have the same size (m × n) and a ij = b ij for 1 ≤ i ≤ m and
1 ≤ j ≤ n.
5
Example 1 – Equality of Matrices
Consider the four matrices
6
Equality of Matrices (2 of 2)
A matrix that has only one column, is a column matrix or
column vector.
7
Matrix Addition, Subtraction,
and Scalar Multiplication
8
Matrix Addition, Subtraction, and Scalar Multiplication (1 of 2)
9
Example 2 – Addition of Matrices
is undefined.
10
Matrix Addition, Subtraction, and Scalar Multiplication (2 of 2)
11
Example 3 – Scalar Multiplication and Matrix Subtraction
For the matrices A and B, find (a) 3A, (b) −B, and (c) 3A − B.
Solution:
12
Example 3 – Solution
13
Matrix Multiplication
14
Matrix Multiplication (1 of 1)
Definition of Matrix Multiplication
If A = [a ij] is an m × n matrix and B = [b ij] is an n × p
matrix, then the product
AB is an m × p matrix
AB = [c ij]
where
15
Example 4 – Finding the product of two Matrices
Solution:
First, note that the product AB is defined because A has
size 3 × 2 and B has size 2 × 2. Moreover, the product AB
has size 3 × 2, and will take the form
16
Example 4 – Solution (1 of 3)
To find c11, multiply corresponding entries in the first row of
A and the first column of B. That is,
17
Example 4 – Solution (2 of 3)
Similarly, to find c12, multiply corresponding entries in the
first row of A and the second column of B to obtain
18
Example 4 – Solution (3 of 3)
Continuing this pattern produces the results shown below.
The product is
19
Systems of Linear Equations
20
Systems of Linear Equations (1 of 1)
One practical application of matrix multiplication is
representing a system of linear equations. Note how the
system
21
Example 6 – Solving a System of Linear Equations
Solution:
As a system of linear equations, Ax = 0 is
22
Example 6 – Solution (1 of 3)
Using Gauss-Jordan elimination on the augmented matrix of
this system, you obtain
23
Example 6 – Solution (2 of 3)
In matrix terminology, you have found that the matrix
equation
24
Example 6 – Solution (3 of 3)
That is, any scalar multiple of the column matrix on the right
is a solution.
25
Partitioned Matrices
26
Partitioned Matrices (1 of 2)
The system Ax = b can be represented in a more
convenient way by partitioning the matrices A and x in the
manner shown below. If
27
Partitioned Matrices (2 of 2)
Then
28
Linear Combinations of Column
Vectors
29
Linear Combinations of Column Vectors (1 of 2)
30
Linear Combinations of Column Vectors (2 of 2)
Ax = b
31
Example 7 – Solving a System of linear Equations (1 of 2)
32
Example 7 – Solving a System of linear Equations (2 of 2)
33