0% found this document useful (0 votes)
20 views49 pages

21.1 Workbook - Operations On Two Matrices - Solutions PDF

Uploaded by

malak.hiba55003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views49 pages

21.1 Workbook - Operations On Two Matrices - Solutions PDF

Uploaded by

malak.hiba55003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

Operations on two matrcies

MATRIX ADDITION AND SUBTRACTION

1. Add the matrices.

[17 9] [−2 5]
7 6 0 8
+

Solution:

To add matrices, you simply add together entries from corresponding


positions in each matrix.

[17 9] [−2 5]
7 6 0 8
+

[17 + (−2) 9 + 5]
7+0 6+8

[15 14]
7 14

2. Add the matrices.

8 3 6 7
−4 7 2 −3
+
6 0 9 11
1 13 7 −2

1
Solution:

To add matrices, you simply add together entries from corresponding


positions in each matrix.

8 3 6 7
−4 7 2 −3
+
6 0 9 11
1 13 7 −2

8+6 3+7
−4 + 2 7 + (−3)
6+9 0 + 11
1 + 7 13 + (−2)

14 10
−2 4
15 11
8 11

3. Subtract the matrices.

[4 −1] [12 −3]


7 9 3 8

Solution:

2
To subtract matrices, you simply subtract entries from corresponding
positions in each matrix.

[4 −1] [12 −3]


7 9 3 8

[4 − 12 −1 − (−3)]
7−3 9−8

[−8 2]
4 1

4. Subtract the matrices.

[6 3 16 8] [5 8 1 15 ]
8 11 2 9 6 11 7 −4

Solution:

To subtract matrices, you simply subtract entries from corresponding


positions in each matrix.

[6 3 16 8] [5 8 1 15 ]
8 11 2 9 6 11 7 −4

[6 − 5 3 − 8 16 − 1 8 − 15 ]
8 − 6 11 − 11 2 − 7 9 − (−4)

3
[1 −5 15 −7]
2 0 −5 13

5. Solve for M.

[9 −9] [1 6] [−3 −1] [4 −7]


6 5 3 7 7 12 1 8
+ =M+ −

Solution:

Let’s start with the matrix addition on the left side of the equation and the
matrix subtraction on the right side of the equation.

[9 −9] [1 6] [−3 −1] [4 −7]


6 5 3 7 7 12 1 8
+ =M+ −

[9 + 1 −9 + 6] [−3 − 4 −1 − (−7)]
6+3 5+7 7−1 12 − 8
=M+

[10 −3] [−7 6]


9 12 6 4
=M+

To isolate M, we’ll subtract the matrix on the right from both sides in order
to move it to the left.

[10 −3] [−7 6]


9 12 6 4
− =M

4
[10 − (−7) −3 − 6]
9−6 12 − 4
=M

[17 −9]
3 8
=M

The conclusion is that the value of M that makes the equation true is this
matrix:

[17 −9]
3 8
M=

6. Solve for N.

[9 8 ] [9 9] [5 11] [−18 1 ]
4 12 0 3 6 3 7 −4
− =N− +

Solution:

Let’s start with the matrix subtraction on the left side of the equation.

[9 8 ] [9 9] [5 11] [−18 1 ]
4 12 0 3 6 3 7 −4
− =N− +

[9 − 9 8 − 9 ] [5 11] [−18 1 ]
4 − 0 12 − 3 6 3 7 −4
=N− +

[0 −1] [5 11] [−18 1 ]


4 9 6 3 7 −4
=N− +

5
To isolate N, we’ll move the matrices on the right side over to the left side,
then flip the equation.

[0 −1] [5 11] [−18 1 ]


4 9 6 3 7 −4
+ − =N

[0 −1] [5 11] [−18 1 ]


4 9 6 3 7 −4
N= + −

Simplify the right side to solve the equation for N.

[0 + 5 −1 + 11] [−18 1 ]
4+6 9+3 7 −4
N= −

[ 5 10] [−18 1 ]
10 12 7 −4
N= −

[5 − (−18) 10 − 1 ]
10 − 7 12 − (−4)
N=

[23 9 ]
3 16
N=

6
SCALAR MULTIPLICATION

1. Use scalar multiplication to simplify the expression.

1 12 8 3
2 −16 0
4
1 5 7

Solution:

The scalar 1/4 is being multiplied by the matrix. Distribute the scalar across
every entry in the matrix.

1 12 8 3
2 −16 0
4
1 5 7

1 1 1
4
(12) 4
(8) 4
(3)
1 1 1
4
(2) 4
(−16) 4
(0)
1 1 1
4
(1) 4
(5) 4
(7)

3
3 2 4
1
2
−4 0
1 5 7
4 4 4

7
2. Solve for Y.

[−5 0] [6 8 ]
2 9 1 −3
4 +Y=5

Solution:

Apply the scalars to the matrices.

[4(−5) 4(0)] [5(6) 5(8) ]


4(2) 4(9) 5(1) 5(−3)
+Y=

[−20 0 ] [30 40 ]
8 36 5 −15
+Y=

Subtract the matrix on the left from both sides of the equation in order to
isolate Y.

[30 40 ] [−20 0 ]
5 −15 8 36
Y= −

[30 − (−20) 40 − 0 ]
5−8 −15 − 36
Y=

[ 50 40 ]
−3 −51
Y=

3. Solve for N.

8
[0 11] [−1 9]
6 5 2 4
−2 =N−4

Solution:

Apply the scalars to the matrices.

[−2(0) −2(11)] [4(−1) 4(9)]


−2(6) −2(5) 4(2) 4(4)
=N−

[ 0 −22] [−4 36]


−12 −10 8 16
=N−

Add the matrix on the right to both sides of the equation in order to
isolate N.

[ 0 −22] [−4 36]


−12 −10 8 16
+ =N

[0 + (−4) −22 + 36]


−12 + 8 −10 + 16
=N

[−4 14]
−4 6
=N

[−4 14]
−4 6
N=

4. Solve the equation for M.

9
−5 0 4
−4M = 1 −8 −2
−4 12 3

Solution:

Multiply both sides of the matrix equation by the scalar −1/4 in order to
isolate M.

1 1 −5 0 4
− (−4M ) = − 1 −8 −2
4 4
−4 12 3

− 14 (−5) − 14 (0) − 14 (4)


M= − 14 (1) − 14 (−8) − 14 (−2)
− 14 (−4) − 14 (12) − 14 (3)

5
4
0 −1
− 14 1
M= 2 2

1 −3 − 34

5. Use scalar multiplication to simplify the expression.

1
−5A + B
3

10
2 1

[3 0 ]
−5
A= 5

[ 6 −2]
−3 0
B=

Solution:

Apply the scalars to the matrices.

1
−5A + B
3

2 1
1 −1 0
[3 0 ] 3 [ 6 −2]
−5
−5 5 + 3

1 1 1
−5( 25 ) −5(− 15 ) (− ) (0)
[ −5(3) −5(0) ]
3 3 3
+ 1 1
3
(6) 3
(−2)

− 19 0
[−15 0]
−2 1
+
2 − 23

1
−2 − 9
1+0
2
−15 + 2 0 − 3

11
19
− 9
1
−13 − 23

6. Solve the equation for X.

6 3 7
1 0 −2 6
2[
8 6 0]
3
2X − 4 −1 2 = 0 − 2 1
6 5 4

Solution:

Apply the scalar to the matrix.

1 1 1
2
(0) 2
(−2) 2
(6) 6 3 7
2X − 1
2
(4) 1
2
(−1) 1
2
(2) = 0 − 32 1
1
(8) 1
(6) 1
(0) 6 5 4
2 2 2

0 −1 3 6 3 7
2X − 2 − 12 1 = 0 − 32 1
4 3 0 6 5 4

Add the matrix on the left to both sides of the equation in order to isolate
2X.

12
6 3 7 0 −1 3
2X = 0 − 32 1 + 2 − 12 1
6 5 4 4 3 0

6+0 3−1 7+3


2X = 0 + 2 − 32 − 1
2
1+1
6+4 5+3 4+0

6 2 10
[10 8 4 ]
2X = 2 −2 2

Multiply both sides of the equation by the scalar 1/2 in order to isolate X.

1 6 2 10
2[
10 8 4 ]
1
⋅ 2X = 2 −2 2
2

1 1 1
2
(6) 2
(2) 2
(10)
1 1 1
X= 2
(2) 2
(−2) 2
(2)
1 1 1
2
(10) 2
(8) 2
(4)

3 1 5
X = 1 −1 1
5 4 2

13
ZERO MATRICES

1. Add the zero matrix to the given matrix.

[−6 0 ]
8 17

Solution:

Adding the zero matrix to any other matrix doesn’t change the value of
the matrix, so

[−6 0 ] [0 0] [−6 0 ]
8 17 0 0 8 17
+ =

2. Find the opposite matrix.

6 8 0
2 −3 11
4 12 9

Solution:

To get the opposite of a matrix, multiply it by a scalar of −1. Then the


opposite of the given matrix is

14
(−1)6 (−1)8 (−1)0
(−1) (−1)2 (−1)(−3) (−1)11
(−1)4 (−1)12 (−1)9

−6 −8 0
−2 3 −11
−4 −12 −9

3. Multiply the matrix by a scalar of 0.

[ 3 7 18 −4]
14 −1 7 5

Solution:

Multiplying any matrix by a scalar of 0 results in a zero matrix.

[ 3(0) 7(0) 18(0) −4(0)]


14(0) −1(0) 7(0) 5(0)
(0)

[0 0 0 0]
0 0 0 0

4. Add the opposite of A to A.

[−3 2 8]
1 −5 7
A=

15
Solution:

The opposite matrix of A is

[−3 2 8]
1 −5 7
−A = (−1)

[−1(−3) −1(2) −1(8)]


−1(1) −1(−5) −1(7)
−A =

[ 3 −2 −8]
−1 5 −7
−A =

Add the opposite matrices.

[−3 2 8] [ 3 −2 −8]
1 −5 7 −1 5 −7
A + (−A) = +

[−3 + 3 2 − 2 8 − 8]
1 − 1 −5 + 5 7 − 7
A + (−A) =

[0 0 0]
0 0 0
A + (−A) =

5. Solve the equation for X.

−1 2 5 1 0 −5 −1 0 5
[ ]
X + 7 −4 3 = 0 7 3 + 0 −7 −3
1 −2 4 −4 0 −1 4 0 1

16
Solution:

Add the matrices on the right side.

−1 2 5 1 − 1 0 + 0 −5 + 5
[ ]
X + 7 −4 3 = 0 + 0 7 − 7 3 − 3
1 −2 4 −4 + 4 0 + 0 −1 + 1

−1 2 5 0 0 0
[ ] [0 0 0]
X + 7 −4 3 = 0 0 0
1 −2 4

Subtract the matrix on the left from both sides of the equation in order to
isolate X.

0 0 0 −1 2 5
[0 0 0] [ ]
X = 0 0 0 − 7 −4 3
1 −2 4

0 − (−1) 0−2 0−5


X= 0−7 0 − (−4) 0 − 3
0−1 0 − (−2) 0 − 4

1 −2 −5
[ ]
X = −7 4 −3
−1 2 −4

6. Solve the equation for A.

17
−1 5 4 −2 3 0 2 4 −7 3 −1 −11
−2 0 −3 − A = 0 −1 5 −2 + 8 0 −5 − 10 0 −2
5 7 −9 −7 0 4 −1 4 3 −6 −3 12

Solution:

Apply the scalar 0 to the matrix.

−1 5 4 0(−2) 0(3) 0(0) 2 4 −7 3 −1 −11


−2 0 −3 − A = 0(−1) 0(5) 0(−2) + 8 0 −5 − 10 0 −2
5 7 −9 0(−7) 0(0) 0(4) −1 4 3 −6 −3 12

−1 5 4 0 0 0 2 4 −7 3 −1 −11
[0 0 0]
−2 0 −3 − A = 0 0 0 + 8 0 −5 − 10 0 −2
5 7 −9 −1 4 3 −6 −3 12

Adding the zero matrix does not change the value of the equation, so we
can cancel it. Subtract the remaining matrices on the right side.

−1 5 4 2 4 −7 3 −1 −11
−2 0 −3 − A = 8 0 −5 − 10 0 −2
5 7 −9 −1 4 3 −6 −3 12

−1 5 4 2−3 4 − (−1) −7 − (−11)


−2 0 −3 − A = 8 − 10 0−0 −5 − (−2)
5 7 −9 −1 − (−6) 4 − (−3) 3 − 12

−1 5 4 −1 5 4
−2 0 −3 − A = −2 0 −3
5 7 −9 5 7 −9

18
Subtract the matrix on the left from both sides of the equation in order to
isolate −A.

−1 5 4 −1 5 4
−A = −2 0 −3 − −2 0 −3
5 7 −9 5 7 −9

−1 − (−1) 5 − 5 4−4
−A = −2 − (−2) 0 − 0 −3 − (−3)
5−5 7 − 7 −9 − (−9)

0 0 0
[0 0 0]
−A = 0 0 0

Multiply both sides by −1 to solve for A.

0 0 0
[0 0 0]
A = (−1) 0 0 0

0 0 0
[0 0 0]
A= 0 0 0

19
MATRIX MULTIPLICATION

1. If matrix A is 3 × 3 and matrix B is 3 × 4, say whether AB or BA is defined,


and give the dimensions of any product that’s defined.

Solution:

Line up the dimensions for the products AB and BA, and compare the
middle terms, which represent the columns from the first matrix and the
rows from the second matrix.

AB: 3 × 3 3×4

BA: 3×4 3×3

The middle numbers match for AB, so that product is defined. For BA, the
middle numbers don’t match, so that product isn’t defined.

The dimensions of AB are given by the outside numbers, which are the
rows from the first matrix and the columns from the second matrix.

AB: 3 × 3 3×4

So the dimensions of AB will be 3 × 4.

2. Find the product of matrices A and B.

20
[−3 1]
2 6
A=

[ 5 −4]
−2 0
B=

Solution:

Multiply matrix A by matrix B.

[−3 1] [ 5 −4]
2 6 −2 0
AB =

[−3(−2) + 1(5) −3(0) + 1(−4)]


2(−2) + 6(5) 2(0) + 6(−4)
AB =

[11 −4 ]
26 −24
AB =

3. Find the product of matrices A and B.

5 −1
A = 0 11
7 −2

[−3 0 4]
6 1 8
B=

21
Solution:

Multiply matrix A by matrix B.

5 −1
[−3 0 4]
6 1 8
AB = 0 11
7 −2

5(6) + (−1)(−3) 5(1) + (−1)(0) 5(8) + (−1)(4)


AB = 0(6) + 11(−3) 0(1) + 11(0) 0(8) + 11(4)
7(6) + (−2)(−3) 7(1) + (−2)(0) 7(8) + (−2)(4)

33 5 36
AB = −33 0 44
48 7 48

4. Find the product of matrices A and B.

3 −2
[0 3 ]
A= 1 8

[4 8]
5 2
B=

Solution:

Multiply matrix A by matrix B.

22
3 −2
[0 3 ] [4 8]
5 2
AB = 1 8

3(5) + (−2)(4) 3(2) + (−2)(8)


AB = 1(5) + 8(4) 1(2) + 8(8)
0(5) + 3(4) 0(2) + 3(8)

7 −10
[ ]
AB = 37 66
12 24

5. Use the distributive property to find A(B + C).

[4 −2]
2 0
A=

[5 4]
3 1
B=

[3 −1]
6 1
C=

Solution:

Applying the distributive property to the initial expression, we get

A(B + C) = AB + AC

Use matrix multiplication to find AB + AC.

23
[4 −2] [5 4] [4 −2] [3 −1]
2 0 3 1 2 0 6 1
AB + AC = ⋅ +

[4(3) + (−2)(5) 4(1) + (−2)(4)]


2(3) + (0)(5) 2(1) + 0(4)
AB + AC =

[4(6) + (−2)(3) 4(1) + (−2)(−1)]


2(6) + 0(3) 2(1) + 0(−1)
+

[2 −4] [18 6]
6 2 12 2
AB + AC = +

Now use matrix addition.

[2 + 18 −4 + 6]
6 + 12 2 + 2
AB + AC =

[20 2]
18 4
AB + AC =

So the value of the original expression is

[20 2]
18 4
A(B + C) =

6. Find the product of matrices A and B.

0 0
0 0
A=
0 0
0 0

24
[7 3 5 2]
6 −2 8 1
B=

Solution:

Multiply matrix A by matrix B.

0 0

0 [7 3 5 2]
0 0 6 −2 8 1
AB =
0
0 0

0(6) + 0(7) 0(−2) + 0(3) 0(8) + 0(5) 0(1) + 0(2)


0(6) + 0(7) 0(−2) + 0(3) 0(8) + 0(5) 0(1) + 0(2)
AB =
0(6) + 0(7) 0(−2) + 0(3) 0(8) + 0(5) 0(1) + 0(2)
0(6) + 0(7) 0(−2) + 0(3) 0(8) + 0(5) 0(1) + 0(2)

0 0 0 0
0 0 0 0
AB =
0 0 0 0
0 0 0 0

25
IDENTITY MATRICES

1. Write the identity matrix I4.

Solution:

We always call the identity matrix I, and it’s always a square matrix, like
2 × 2, 3 × 3, 4 × 4, etc. For that reason, it’s common to abbreviate I2x2 as just
I2, or I3x3 as just I3, etc. So, I4 is the 4 × 4 identity matrix.

1 0 0 0
0 1 0 0
I4 =
0 0 1 0
0 0 0 1

2. If we want to find the product IA, where I is the identity matrix and A is
4 × 2, then what are the dimensions of I?

Solution:

Start by setting up the equation I ⋅ A = A, then substitute the dimensions


for A into the equation.

I⋅A=A

26
I⋅4×2=4×2

Break down the dimensions of the identity matrix as rows × columns, or


R × C.

R×C⋅4×2=4×2

For matrix multiplication to be defined, you need the same number of


columns in the first matrix as rows in the second matrix.

R×4⋅4×2=4×2

The dimensions of the product come from the rows in the first matrix and
the columns in the second matrix, so

4×4⋅4×2=4×2

Therefore, the identity matrix in this case is I4.

1 0 0 0
0 1 0 0
I4 =
0 0 1 0
0 0 0 1

3. If we want to find the product IA, where I is the identity matrix and A is
a 3 × 4, then what are the dimensions of I?

Solution:

27
Start by setting up the equation I ⋅ A = A, then substitute the dimensions
for A into the equation.

I⋅A=A

I⋅3×4=3×4

Break down the dimensions of the identity matrix as rows × columns, or


R × C.

R×C⋅3×4=3×4

For matrix multiplication to be defined, you need the same number of


columns in the first matrix as rows in the second matrix.

R×3⋅3×4=3×4

The dimensions of the product come from the rows in the first matrix and
the columns in the second matrix, so

3×3⋅3×4=3×4

Therefore, the identity matrix in this case is I3.

1 0 0
[0 0 1 ]
I3 = 0 1 0

4. If we want to find the product IA, where I is the identity matrix and A is
given, then what are the dimensions of I? What is the product IA?

28
2 8
A = −2 7
3 5

Solution:

Start by setting up the equation I ⋅ A = A, then substitute the dimensions


for A into the equation.

I⋅A=A

I⋅3×2=3×2

Break down the dimensions of the identity matrix as rows × columns, or


R × C.

R×C⋅3×2=3×2

For matrix multiplication to be defined, you need the same number of


columns in the first matrix as rows in the second matrix.

R×3⋅3×2=3×2

The dimensions of the product come from the rows in the first matrix and
the columns in the second matrix, so

3×3⋅3×2=3×2

Therefore, the identity matrix in this case is I3.

29
1 0 0
[0 0 1 ]
I3 = 0 1 0

The product IA is

1 0 0 2 8
[0 0 1] 3 5
IA = 0 1 0 −2 7

1(2) + 0(−2) + 0(3) 1(8) + 0(7) + 0(5)


IA = 0(2) + 1(−2) + 0(3) 0(8) + 1(7) + 0(5)
0(2) + 0(−2) + 1(3) 0(8) + 0(7) + 1(5)

2 8
IA = −2 7
3 5

As we expected, we get back to matrix A after multiplying it by the


identity matrix I3.

5. If we want to find the product IA, where I is the identity matrix and A is
given, then what are the dimensions of I? What is the product IA?

[5 5 2 9 ]
7 1 3 −2
A=

Solution:

30
Start by setting up the equation I ⋅ A = A, then substitute the dimensions
for A into the equation.

I⋅A=A

I⋅2×4=2×4

Break down the dimensions of the identity matrix as rows × columns, or


R × C.

R×C⋅2×4=2×4

For matrix multiplication to be defined, you need the same number of


columns in the first matrix as rows in the second matrix.

R×2⋅2×4=2×4

The dimensions of the product come from the rows in the first matrix and
the columns in the second matrix, so

2×2⋅2×4=2×4

Therefore, the identity matrix in this case is I2.

[0 1]
1 0
I2 =

The product IA is

[0 1] [5 5 2 9 ]
1 0 7 1 3 −2
IA =

31
[0(7) + 1(5) 0(1) + 1(5) 0(3) + 1(2) 0(−2) + 1(9)]
1(7) + 0(5) 1(1) + 0(5) 1(3) + 0(2) 1(−2) + 0(9)
IA =

[5 5 2 9 ]
7 1 3 −2
IA =

As we expected, we get back to matrix A after multiplying it by the


identity matrix I2.

6. If A is a 2 × 4 matrix, what are the dimensions of the identity matrix


that make the equation true?

AI = A

Solution:

Set up the equation AI = A, then substitute the dimensions for A into the
equation.

A⋅I=A

2×4⋅I=2×4

Break up the dimensions of I as R × C.

2×4⋅R×C =2×4

The number of rows in the second matrix must be equal to the number of
columns from the first matrix.

32
2×4⋅4×C =2×4

The dimensions of the product come from the rows of the first matrix and
the columns of the second matrix, so

2×4⋅4×4=2×4

So the identity matrix is I4, the 4 × 4 identity matrix.

1 0 0 0
0 1 0 0
I4 =
0 0 1 0
0 0 0 1

33
THE ELIMINATION MATRIX

1. Find a single 2 × 2 elimination matrix E that accomplishes the given row


operations.

1. (1/3)R1 → R1

2. −2R1 + R2 → R2

Solution:

The row operation (1/3)R1 → R1 means we’ll put a 1/3 in E1,1.

[ 0 1]
0
E1 = 3

The row operation −2R1 + R2 → R2 means we’ll put a 1 in E2,2 and a −2 in E2,1.

[−2 1]
1 0
E1 =

Consolidate these two row operations into one elimination matrix by


multiplying E2 by E1.

E = E2 E1

[−2 1] [ 0 1]
1
1 0 3 0
E=

34
1 ( 13 ) + 0(0) 1(0) + 0(1)
E=
−2 ( 13 ) + 1(0) −2(0) + 1(1)

1
3
0
E=
− 23 1

2. Find a single 3 × 3 elimination matrix E that accomplishes the given row


operations.

1. −3R1 + R3 → R3

2. 5R2 + R1 → R1

3. −R3 → R3

Solution:

The row operation −3R1 + R3 → R3 means we’ll put a 1 in E3,3 and a −3 in E3,1.

1 0 0
[−3 0 1]
E1 = 0 1 0

The row operation 5R2 + R1 → R1 means we’ll put a 1 in E1,1 and 5 in E1,2.

35
1 5 0
E2 = 0 1 0
0 0 1

The row operation −R3 → R3 means we’ll put a −1 in E3,3.

1 0 0
[0 0 −1]
E3 = 0 1 0

Consolidate these three row operations into one elimination matrix by


multiplying E3 by E2 by E1.

E = E3E2 E1

1 0 0 1 5 0 1 0 0
[0 0 −1] 0 0 1 [−3 0 1]
E= 0 1 0 0 1 0 0 1 0

1 0 0 1(1) + 5(0) + 0(−3) 1(0) + 5(1) + 0(0) 1(0) + 5(0) + 0(1)

[0 0 −1]
E= 0 1 0 0(1) + 1(0) + 0(−3) 0(0) + 1(1) + 0(0) 0(0) + 1(0) + 0(1)
0(1) + 0(0) + 1(−3) 0(0) + 0(1) + 1(0) 0(0) + 0(0) + 1(1)

1 0 0 1 5 0
[0 0 −1] −3 0 1
E= 0 1 0 0 1 0

1(1) + 0(0) + 0(−3) 1(5) + 0(1) + 0(0) 1(0) + 0(0) + 0(1)


E = 0(1) + 1(0) + 0(−3) 0(5) + 1(1) + 0(0) 0(0) + 1(0) + 0(1)
0(1) + 0(0) − 1(−3) 0(5) + 0(1) − 1(0) 0(0) + 0(0) − 1(1)

36
1 5 0
E= 0 1 0
3 0 −1

3. Find a single 2 × 2 elimination matrix E that accomplishes the given row


operations.

1. −R1 → R1

2. 5R1 + R2 → R2

3. −(1/7)R2 → R2

4. R2 + R1 → R1

Solution:

The row operation −R1 → R1 means we’ll put a −1 in E1,1.

[ 0 1]
−1 0
E1 =

The row operation 5R1 + R2 → R2 means we’ll put a 1 in E2,2 and a 5 in E2,1.

[5 1]
1 0
E2 =

The row operation −(1/7)R2 → R2 means we’ll put a −1/7 in E2,2.

37
1 0
[ 7]
E3 = 1
0 −

The row operation R2 + R1 → R1 means we’ll put a 1 in E1,1 and a 1 in E1,2.

[0 1]
1 1
E4 =

Consolidate these four row operations into one elimination matrix by


multiplying E4 by E3 by E2 by E1.

E = E4 E3E2 E1

[0 1] [0 − 7 ] [5 1] [ 0 1]
1 1 1 0 1 0 −1 0
E= 1

[0 1] [0 − 7 ] [5(−1) + 1(0) 5(0) + 1(1)]


1 1 1 0 1(−1) + 0(0) 1(0) + 0(1)
E= 1

[0 1] [0 − 7 ] [−5 1]
1 1 1 0 −1 0
E= 1

1 1 1(−1) + 0(−5) 1(0) + 0(1)


[0 1] [0(−1) − 1 (−5) 0(0) − 1 (1)]
E=
7 7

[0 1] [ 57 − 17 ]
1 1 −1 0
E=

38
1(−1) + 1 ( 57 ) 1(0) + 1 (− 17 )
E=
0(−1) + 1 ( 57 ) 0(0) + 1 (− 17 )

− 27 − 17
E= 5 1
7
−7

4. Find the single elimination matrix E that puts A into reduced row-
echelon form, where E accounts for the given set of row operations.

[ 1 2]
−3 6
A=

1
1. − R1 → R1
3

2. −R1 + R2 → R2

1
3. R2 → R2
4

4. 2R2 + R1 → R1

Solution:

The row operation −(1/3)R1 → R1 means we’ll put a −(1/3) in E1,1.

39
− 13 0
[ 0 1]
E1 =

The row operation −R1 + R2 → R2 means we’ll put a 1 in E2,2 and a −1 in E2,1.

[−1 1]
1 0
E2 =

The row operation (1/4)R2 → R2 means we’ll put a 1/4 in E2,2.

1 0
[0 4 ]
E3 = 1

The row operation 2R2 + R1 → R1 means we’ll put a 1 in E1,1 and a 2 in E1,2.

[0 1]
1 2
E4 =

Consolidate these four row operations into one elimination matrix by


multiplying E4 by E3 by E2 by E1.

E = E4 E3E2 E1

[0 1] [0 14 ] [−1 1] [ 0 1]
1 2 1 0
1
1 0 −3 0
E=

1 (− 13 ) + 0(0)
1(0) + 0(1)
[0 1] [0 14 ]
1 2 1 0
E=
−1 (− 13 ) + 1(0) −1(0) + 1(1)

40
1
−3 0
[0 1] [0 14 ] 1 1
1 2 1 0
E=
3

1 (− 13 ) + 0 ( 13 ) 1(0) + 0(1)
[0 1]
1 2
E=
0 (− 13 ) + 14 ( 13 ) 0(0) + 14 (1)

− 13 0
[0 1]
1 2
E= 1 1
12 4

1 (− 13 ) + 2 ( 12 ) (4)
1 1
1(0) + 2
E=
0 (− 13 ) + 1 ( 12 ) (4)
1 1
0(0) + 1

− 16 1
2
E= 1 1
12 4

5. Find the single elimination matrix E that puts X into reduced row-
echelon form, where E accounts for the given set of row operations.

1 0 0
X= 3 1 −4
−2 −1 5

1. −3R1 + R2 → R2

41
2. 2R1 + R3 → R3

3. R2 + R3 → R3

4. 4R3 + R2 → R2

Solution:

The row operation −3R1 + R2 → R2 means we’ll put a 1 in E2,2 and a −3 in E2,1.

1 0 0
[ 0 0 1]
E1 = −3 1 0

The row operation 2R1 + R3 → R3 means we’ll put a 1 in E3,3 and a 2 in E3,1.

1 0 0
[2 0 1]
E2 = 0 1 0

The row operation R2 + R3 → R3 means we’ll put a 1 in E3,3 and a 1 in E3,2.

1 0 0
[0 1 1]
E3 = 0 1 0

The row operation 4R3 + R2 → R2 means we’ll put a 1 in E2,2 and a 4 in E2,3.

1 0 0
[0 0 1]
E4 = 0 1 4

42
Consolidate these four row operations into one elimination matrix by
multiplying E4 by E3 by E2 by E1.

E = E4 E3E2 E1

1 0 0 1 0 0 1 0 0 1 0 0
[0 0 1] [0 1 1] [2 0 1] [ 0 0 1]
E = 0 1 4 0 1 0 0 1 0 −3 1 0

1 0 0 1 0 0 1(1) + 0(−3) + 0(0) 1(0) + 0(1) + 0(0) 1(0) + 0(0) + 0(1)

[0 0 1] [0 1 1]
E= 0 1 4 0 1 0 0(1) + 1(−3) + 0(0) 0(0) + 1(1) + 0(0) 0(0) + 1(0) + 0(1)
2(1) + 0(−3) + 1(0) 2(0) + 0(1) + 1(0) 2(0) + 0(0) + 1(1)

1 0 0 1 0 0 1 0 0
[0 0 1] [0 1 1] [ 2 0 1]
E = 0 1 4 0 1 0 −3 1 0

1 0 0 1(1) + 0(−3) + 0(2) 1(0) + 0(1) + 0(0) 1(0) + 0(0) + 0(1)

[0 0 1]
E= 0 1 4 0(1) + 1(−3) + 0(2) 0(0) + 1(1) + 0(0) 0(0) + 1(0) + 0(1)
0(1) + 1(−3) + 1(2) 0(0) + 1(1) + 1(0) 0(0) + 1(0) + 1(1)

1 0 0 1 0 0
[0 0 1] [ ]
E = 0 1 4 −3 1 0
−1 1 1

1(1) + 0(−3) + 0(−1) 1(0) + 0(1) + 0(1) 1(0) + 0(0) + 0(1)


E = 0(1) + 1(−3) + 4(−1) 0(0) + 1(1) + 4(1) 0(0) + 1(0) + 4(1)
0(1) + 0(−3) + 1(−1) 0(0) + 0(1) + 1(1) 0(0) + 0(0) + 1(1)

1 0 0
[ ]
E = −7 5 4
−1 1 1

43
6. Find the single elimination matrix E that puts B into reduced row-
echelon form, where E accounts for the given set of row operations.

1 0 −5
B = 3 2 −9
1 −2 −10

1. −3R1 + R2 → R2

2. −R1 + R3 → R3

1
3. R2 → R2
2

4. 2R2 + R3 → R3

5. −3R3 + R2 → R2

6. 5R3 + R1 → R1

Solution:

The row operation −3R1 + R2 → R2 means we’ll put a 1 in E2,2 and a −3 in E2,1.

1 0 0
[ 0 0 1]
E1 = −3 1 0

The row operation −R1 + R3 → R3 means we’ll put a 1 in E3,3 and a −1 in E3,1.

1 0 0
[−1 0 1]
E2 = 0 1 0

44
The row operation (1/2)R2 → R2 means we’ll put a 1/2 in E2,2.

1 0 0
E3 = 0 12 0
0 0 1

Let’s consolidate what we have for E3E2 E1 so far.

1 0 0 1 0 0 1 0 0
[−1 0 1] [ 0 0 1]
E3E2 E1 = 0 12 0 0 1 0 −3 1 0
0 0 1

1 0 0 1(1) + 0(−3) + 0(0) 1(0) + 0(1) + 0(0) 1(0) + 0(0) + 0(1)


E3E2 E1 = 0 12 0 0(1) + 1(−3) + 0(0) 0(0) + 1(1) + 0(0) 0(0) + 1(0) + 0(1)
0 0 1 −1(1) + 0(−3) + 1(0) −1(0) + 0(1) + 1(0) −1(0) + 0(0) + 1(1)

1 0 0 1 0 0
[−1 0 1]
E3E2 E1 = 0 12 0 −3 1 0
0 0 1

1(1) + 0(−3) + 0(−1) 1(0) + 0(1) + 0(0) 1(0) + 0(0) + 0(1)


E3E2 E1 = 0(1) + 12 (−3) + 0(−1) 0(0) + 12 (1) + 0(0) 0(0) + 12 (0) + 0(1)
0(1) + 0(−3) + 1(−1) 0(0) + 0(1) + 1(0) 0(0) + 0(0) + 1(1)

1 0 0
E3E2 E1 = − 32 1
2
0
−1 0 1

The row operation 2R2 + R3 → R3 means we’ll put a 1 in E3,3 and a 2 in E3,2.

45
1 0 0
[0 2 1]
E4 = 0 1 0

The row operation −3R3 + R2 → R2 means we’ll put a 1 in E2,2 and a −3 in E2,3.

1 0 0
[0 0 1 ]
E5 = 0 1 −3

The row operation 5R3 + R1 → R1 means we’ll put a 1 in E1,1 and a 5 in E1,3.

1 0 5
E6 = 0 1 0
0 0 1

Let’s consolidate what we have for E6 E5E4.

1 0 5 1 0 0 1 0 0
[0 0 1 ] [0 2 1]
E6 E5E4 = 0 1 0 0 1 −3 0 1 0
0 0 1

1 0 5 1(1) + 0(0) + 0(0) 1(0) + 0(1) + 0(2) 1(0) + 0(0) + 0(1)


E6 E5E4 = 0 1 0 0(1) + 1(0) − 3(0) 0(0) + 1(1) − 3(2) 0(0) + 1(0) − 3(1)
0 0 1 0(1) + 0(0) + 1(0) 0(0) + 0(1) + 1(2) 0(0) + 0(0) + 1(1)

1 0 5 1 0 0
E6 E5E4 = 0 1 0 0 −5 −3
0 0 1 0 2 1

1(1) + 0(0) + 5(0) 1(0) + 0(−5) + 5(2) 1(0) + 0(−3) + 5(1)


E6 E5E4 = 0(1) + 1(0) + 0(0) 0(0) + 1(−5) + 0(2) 0(0) + 1(−3) + 0(1)
0(1) + 0(0) + 1(0) 0(0) + 0(−5) + 1(2) 0(0) + 0(−3) + 1(1)

46
1 10 5
E6 E5E4 = 0 −5 −3
0 2 1

Then the elimination matrix is

E = E6 E5E4 E3E2 E1

1 10 5 1 0 0
− 32 1
E = 0 −5 −3 2
0
0 2 1 −1 0 1

1(1) + 10 (− 32 ) + 5(−1) 1(0) + 10 ( 12 ) + 5(0) 1(0) + 10(0) + 5(1)

E= 0(1) − 5 (− 32 ) − 3(−1) 0(0) − 5 ( 12 ) − 3(0) 0(0) − 5(0) − 3(1)

0(1) + 2 (− 32 ) + 1(−1) 0(0) + 2 ( 12 ) + 1(0) 0(0) + 2(0) + 1(1)

−19 5 5
21
E= 2
− 52 −3
−4 1 1

47
48

You might also like