Math 210 - Operations With Matrices and The Identity Matrix - W22 - Solutions
Math 210 - Operations With Matrices and The Identity Matrix - W22 - Solutions
Math 210 - Operations With Matrices and The Identity Matrix - W22 - Solutions
Matrices appear in different contexts. We have seen previously that matrices in their augmented form
can abbreviate a linear system of equations. Matrices also appear in the context of representing all
types of sets of data collected from real life.
For instance, the sales of different types of 2 l bottled beverages from 3 stores during a 1 hour period
could be represented in the form of a table as shown below:
46 27 53
27 59 34
𝑎11 ⋯ 𝑎1𝑛
𝐴= ⋮ ⋱ ⋮
𝑎𝑚1 ⋯ 𝑎𝑚𝑛
𝑎11 ⋯ 𝑎1𝑛
𝐴= ⋮ ⋱ ⋮
𝑎𝑛1 ⋯ 𝑎𝑛𝑛
1. Equal matrices
2 matrices are equal if they have the same entries in the same order.
Ex.1: Given the following matrices:
2 6 2 6
𝐴= ;𝐵=
3 1 3 1
We can say that the matrices are equal, or : (A)ij=(B)ij
3 𝑥 3 7
𝐴= ;𝐵=
6 𝑦 6 −2
We can say that matrix A is equal to matrix B if and only if x=7 and y=-2.
2. Addition and subtraction of matrices
Definition. If A and B are matrices of the same size, then the sum A+B is
obtained by adding the entries of B to the corresponding entries of A. The
difference A-B is obtained by subtracting the entries of B from the
corresponding entries of A. Matrices of different sizes cannot be added or
subtracted.
Examples.
Given the following matrices, find the sum and the difference:
5 2 −11 0
𝐴= 4 9 ;𝐵= 7 1
10 − 3 −6 − 8
The sum is:
5 2 −11 0 −6 2
4 9 + 7 1 = 11 10
10 − 3 −6 − 8 4 − 11
5 2 −11 0 16 2
4 9 − 7 1 = −3 8
10 − 3 −6 − 8 16 5
3. Multiplying a matrix by a scalar
If A is any matrix and c is any scalar, then the product cA is the matrix obtained
by multiplying each entry of the matrix A by c. The result is called the scalar
multiple of A.
Examples.
2 5 7
Given A= find 3A and (-1) A.
3 1 0
6 15 21
3A =
9 3 0
−2 − 5 − 7
(-1)A=
−3 − 1 0
4. Multiplying 2 matrices
2 3 5
A=
1 2 8
2 1
𝐴𝑇 = 3 2
5 8
Special case
Example.
2 5 9 2 1 5
B= 1 4 6 𝐵𝑇 = 5 4 1
5 1 2 9 6 2
6. The trace of a matrix
1 3 4 6 7
2 0 9 8 7
A= 3 4 1 0 2
4 3 2 9 1
0 2 −1 3 6
Tr (A) = 1+0+1+9+6 = 17
The identity matrix
The role of an identity matrix
Since matrix A is a 2 x 3 matrix, for multiplication on the right side we will need an identity
matrix that is 3 x 3.
We can conclude that for any m x n matrix, the following statement is true:
𝐴 𝐼𝑛 = 𝐴 and 𝐼𝑚 𝐴 = 𝐴
The similarity of the identity matrix role in matrix multiplication to the role of number 1 in
algebraic multiplication is evident.
𝑎×1= 1×𝑎
Matrix polynomials
Application
Modeling with Linear Systems
Modeling with Linear Systems
Linear equations—often containing hundreds or even thousands of
variables—occur frequently in the applications of algebra to
the sciences and to other fields.
A nutritionist is performing an
experiment on student
volunteers.
500 mg of potassium
75 g of protein
Answer:
x = 5, y = 2, z = 10
Nutritional Analysis Using System of Linear
Equations
Given the matrices below, perform the indicated operations (if possible).
3 0 1 0 1
2 1 −2 3
𝐴= ; 𝐵= ; C= 2 1 5 ; D= 2 5
3 5 4 −1
−1 2 3 8 1
a) 𝐴 × 𝐵
b) 𝐴 + 𝐵
c) 𝐴 − 𝐵
d) −4/7 × 𝐴𝑇
e) 𝐶 × 𝐷
f) 𝐷 × 𝐶
g) 𝑡𝑟(𝐶)
h) 5𝐶 2
Question 2
2 −3 1
4 6 2 −3 1
A= ;𝐵= ; 𝐶 = −2 0 5 ;
1 9 −2 0 5
−1 3 4
𝐴 × (𝐵 × 𝐶)