
# 2.E: Exercises


Exercise $$\PageIndex{1}$$

For the following pairs of matrices, determine if the sum $$A + B$$ is defined. If so, find the sum.

1. $$A = \left [ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right ], B = \left [ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right ]$$
2. $$A = \left [ \begin{array}{rrr} 2 & 1 & 2 \\ 1 & 1 & 0 \end{array} \right ], B = \left [ \begin{array}{rrr} -1 & 0 & 3\\ 0 & 1 & 4 \end{array} \right ]$$
3. $$A = \left [ \begin{array}{rr} 1 & 0 \\ -2 & 3 \\ 4 & 2 \end{array} \right ], B = \left [ \begin{array}{rrr} 2 & 7 & -1 \\ 0 & 3 & 4 \end{array} \right ]$$

Exercise $$\PageIndex{2}$$

For each matrix $$A$$, find the matrix $$-A$$ such that $$A + (-A) = 0$$.

1. $$A = \left [ \begin{array}{rr} 1 & 2 \\ 2 & 1 \end{array} \right ]$$
2. $$A = \left [ \begin{array}{rr} -2 & 3 \\ 0 & 2 \end{array} \right ]$$
3. $$A = \left [ \begin{array}{rrr} 0 & 1 & 2 \\ 1 & -1 & 3 \\ 4 & 2 & 0 \end{array} \right ]$$

Exercise $$\PageIndex{3}$$

In the context of Proposition [prop:propertiesofaddition], describe $$-A$$ and $$0.$$

To get $$-A,$$ just replace every entry of $$A$$ with its additive inverse. The 0 matrix is the one which has all zeros in it.

## 2.1.2: Scalar Multiplication of Matrices

Exercise $$\PageIndex{4}$$

For each matrix $$A$$, find the product $$(-2)A, 0A,$$ and $$3A$$.

1. $$A = \left [ \begin{array}{rr} 1 & 2 \\ 2 & 1 \end{array} \right ]$$
2. $$A = \left [ \begin{array}{rr} -2 & 3 \\ 0 & 2 \end{array} \right ]$$
3. $$A = \left [ \begin{array}{rrr} 0 & 1 & 2 \\ 1 & -1 & 3 \\ 4 & 2 & 0 \end{array} \right ]$$

Exercise $$\PageIndex{5}$$

Using only the properties given in Proposition [prop:propertiesofaddition] and Proposition [prop:propertiesscalarmult], show $$-A$$ is unique.

Suppose $$B$$ also works. Then $-A=-A+\left( A+B\right) =\left( -A+A\right) +B=0+B=B$

Exercise $$\PageIndex{6}$$

Using only the properties given in Proposition [prop:propertiesofaddition] and Proposition [prop:propertiesscalarmult] show $$0$$ is unique.

Suppose $$0^{\prime }$$ also works. Then $$0^{\prime }=0^{\prime }+0=0.$$

Exercise $$\PageIndex{7}$$

Using only the properties given in Proposition [prop:propertiesofaddition] and Proposition [prop:propertiesscalarmult] show $$0A=0.$$ Here the $$0$$ on the left is the scalar $$0$$ and the $$0$$ on the right is the zero matrix of appropriate size.

$$0A=\left( 0+0\right) A=0A+0A.$$ Now add $$-\left( 0A\right)$$ to both sides. Then $$0=0A$$.

Exercise $$\PageIndex{8}$$

Using only the properties given in Proposition [prop:propertiesofaddition] and Proposition [prop:propertiesscalarmult], as well as previous problems show $$\left( -1\right) A=-A.$$

$$A+\left( -1\right) A=\left( 1+\left( -1\right) \right) A=0A=0.$$ Therefore, from the uniqueness of the additive inverse proved in the above Problem [addinvrstunique], it follows that $$-A=\left( -1\right) A$$.

## 2.2

Exercise $$\PageIndex{9}$$

Consider the matrices $$A =\left [ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 1 & 7 \end{array} \right ], B=\left [ \begin{array}{rrr} 3 & -1 & 2 \\ -3 & 2 & 1 \end{array} \right ], C =\left [ \begin{array}{rr} 1 & 2 \\ 3 & 1 \end{array} \right ], \\ D=\left [ \begin{array}{rr} -1 & 2 \\ 2 & -3 \end{array} \right ], E=\left [ \begin{array}{r} 2 \\ 3 \end{array} \right ]$$.

Exercise $$\PageIndex{10}$$

Find the following if possible. If it is not possible explain why.

1. $$-3A$$
2. $$3B-A$$
3. $$AC$$
4. $$CB$$
5. $$AE$$
6. $$EA$$
1. $$\left [ \begin{array}{rrr} -3 & -6 & -9 \\ -6 & -3 & -21 \end{array} \right ]$$
2. $$\left [ \begin{array}{rrr} 8 & -5 & 3 \\ -11 & 5 & -4 \end{array} \right ]$$
3. Not possible
4. $$\left [ \begin{array}{rrr} -3 & 3 & 4 \\ 6 & -1 & 7 \end{array} \right ]$$
5. Not possible
6. Not possible

Exercise $$\PageIndex{11}$$

Consider the matrices $$A =\left [ \begin{array}{rr} 1 & 2 \\ 3 & 2 \\ 1 & -1 \end{array} \right ], B=\left [ \begin{array}{rrr} 2 & -5 & 2 \\ -3 & 2 & 1 \end{array} \right ] , C =\left [ \begin{array}{rr} 1 & 2 \\ 5 & 0 \end{array} \right ], \\ D=\left [ \begin{array}{rr} -1 & 1 \\ 4 & -3 \end{array} \right ], E=\left [ \begin{array}{r} 1 \\ 3 \end{array} \right ]$$

Exercise $$\PageIndex{12}$$

Find the following if possible. If it is not possible explain why.

1. $$-3A$$
2. $$3B-A$$
3. $$AC$$
4. $$CA$$
5. $$AE$$
6. $$EA$$
7. $$BE$$
8. $$DE$$
1. $$\left [ \begin{array}{rr} -3 & -6 \\ -9 & -6 \\ -3 & 3 \end{array} \right ]$$
2. Not possible.
3. $$\left [ \begin{array}{rr} 11 & 2 \\ 13 & 6 \\ -4 & 2 \end{array} \right ]$$
4. Not possible.
5. $$\left [ \begin{array}{r} 7 \\ 9 \\ -2 \end{array} \right ]$$
6. Not possible.
7. Not possible.
8. $$\left [ \begin{array}{r} 2 \\ -5 \end{array} \right ]$$

Exercise $$\PageIndex{13}$$

Let $$A=\left [ \begin{array}{rr} 1 & 1 \\ -2 & -1 \\ 1 & 2 \end{array} \right ]$$, $$B=\left [ \begin{array}{rrr} 1 & -1 & -2 \\ 2 & 1 & -2 \end{array} \right ] ,$$ and $$C=\left [ \begin{array}{rrr} 1 & 1 & -3 \\ -1 & 2 & 0 \\ -3 & -1 & 0 \end{array} \right ] .$$ Find the following if possible.

1. $$AB$$
2. $$BA$$
3. $$AC$$
4. $$CA$$
5. $$CB$$
6. $$BC$$
1. $$\left [ \begin{array}{rrr} 3 & 0 & -4 \\ -4 & 1 & 6 \\ 5 & 1 & -6 \end{array} \right ]$$
2. $$\left [ \begin{array}{rr} 1 & -2 \\ -2 & -3 \end{array} \right ]$$
3. Not possible
4. $$\left [ \begin{array}{rr} -4 & -6 \\ -5 & -3 \\ -1 & -2 \end{array} \right ]$$
5. $$\left [ \begin{array}{rrr} 8 & 1 & -3 \\ 7 & 6 & -6 \end{array} \right ]$$

Exercise $$\PageIndex{14}$$

Let $$A=\left [ \begin{array}{rr} -1 & -1 \\ 3 & 3 \end{array} \right ]$$. Find all $$2\times 2$$ matrices, $$B$$ such that $$AB=0.$$

\begin{aligned} \left [ \begin{array}{rr} -1 & -1 \\ 3 & 3 \end{array} \right ] \left [ \begin{array}{cc} x & y \\ z & w \end{array} \right ] &=&\left [ \begin{array}{cc} -x-z & -w-y \\ 3x+3z & 3w+3y \end{array} \right ] \\ &=&\left [ \begin{array}{cc} 0 & 0 \\ 0 & 0 \end{array} \right ]\end{aligned} Solution is: $$w=-y,x=-z$$ so the matrices are of the form $$\left [ \begin{array}{rr} x & y \\ -x & -y \end{array} \right ].$$

Exercise $$\PageIndex{15}$$

Let $$X=\left [ \begin{array}{rrr} -1 & -1 & 1 \end{array} \right ]$$ and $$Y=\left [ \begin{array}{rrr} 0 & 1 & 2 \end{array} \right ] .$$ Find $$X^{T}Y$$ and $$XY^{T}$$ if possible.

$$X^{T}Y = \left [ \begin{array}{rrr} 0 & -1 & -2 \\ 0 & -1 & -2 \\ 0 & 1 & 2 \end{array} \right ] , XY^{T} = 1$$

Exercise $$\PageIndex{16}$$

Let $$A=\left [ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right ] ,B=\left [ \begin{array}{rr} 1 & 2 \\ 3 & k \end{array} \right ] .$$ Is it possible to choose $$k$$ such that $$AB=BA?$$ If so, what should $$k$$ equal?

\begin{aligned} \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 3 & k \end{array} \right ] &=& \left [ \begin{array}{cc} 7 & 2k+2 \\ 15 & 4k+6 \end{array} \right ] \\ \left [ \begin{array}{cc} 1 & 2 \\ 3 & k \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] &=& \left [ \begin{array}{cc} 7 & 10 \\ 3k+3 & 4k+6 \end{array} \right ]\end{aligned} Thus you must have $$\begin{array}{c} 3k+3=15 \\ 2k+2=10 \end{array}$$, Solution is: $$\left[ k=4\right]$$

Exercise $$\PageIndex{17}$$

Let $$A=\left [ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right ] ,B=\left [ \begin{array}{rr} 1 & 2 \\ 1 & k \end{array} \right ] .$$ Is it possible to choose $$k$$ such that $$AB=BA?$$ If so, what should $$k$$ equal?

\begin{aligned} \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 1 & k \end{array} \right ] &=& \left [ \begin{array}{cc} 3 & 2k+2 \\ 7 & 4k+6 \end{array} \right ] \\ \left [ \begin{array}{cc} 1 & 2 \\ 1 & k \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] &=& \left [ \begin{array}{cc} 7 & 10 \\ 3k+1 & 4k+2 \end{array} \right ]\end{aligned} However, $$7\neq 3$$ and so there is no possible choice of $$k$$ which will make these matrices commute.

Exercise $$\PageIndex{18}$$

Find $$2\times 2$$ matrices, $$A$$, $$B,$$ and $$C$$ such that $$A\neq 0,C\neq B,$$ but $$AC=AB.$$

Exercise $$\PageIndex{19}$$

Let $$A = \left [ \begin{array}{rr} 1 & -1 \\ -1 & 1 \end{array} \right ], B = \left [ \begin{array}{cc} 1 & 1 \\ 1 & 1 \end{array} \right ], C = \left [ \begin{array}{cc} 2 & 2 \\ 2 & 2 \end{array} \right ]$$.

\begin{aligned} \left [ \begin{array}{rr} 1 & -1 \\ -1 & 1 \end{array} \right ] \left [ \begin{array}{cc} 1 & 1 \\ 1 & 1 \end{array} \right ] &=& \left [ \begin{array}{cc} 0 & 0 \\ 0 & 0 \end{array} \right ] \\ \left [ \begin{array}{rr} 1 & -1 \\ -1 & 1 \end{array} \right ] \left [ \begin{array}{cc} 2 & 2 \\ 2 & 2 \end{array} \right ] &=& \left [ \begin{array}{cc} 0 & 0 \\ 0 & 0 \end{array} \right ]\end{aligned}

Exercise $$\PageIndex{20}$$

Give an example of matrices (of any size), $$A,B,C$$ such that $$B\neq C$$, $$A\neq 0,$$ and yet $$AB=AC.$$

Exercise $$\PageIndex{21}$$

Find $$2 \times 2$$ matrices $$A$$ and $$B$$ such that $$A \neq 0$$ and $$B \neq 0$$ but $$AB = 0$$.

Exercise $$\PageIndex{22}$$

Let $$A = \left [ \begin{array}{rr} 1 & -1 \\ -1 & 1 \end{array} \right ], B = \left [ \begin{array}{cc} 1 & 1 \\ 1 & 1 \end{array} \right ].$$ $\left [ \begin{array}{rr} 1 & -1 \\ -1 & 1 \end{array} \right ] \left [ \begin{array}{cc} 1 & 1 \\ 1 & 1 \end{array} \right ] = \ \left [ \begin{array}{cc} 0 & 0 \\ 0 & 0 \end{array} \right ]$

Exercise $$\PageIndex{23}$$

Give an example of matrices (of any size), $$A,B$$ such that $$A \neq 0$$ and $$B \neq 0$$ but $$AB=0.$$

Exercise $$\PageIndex{24}$$

Find $$2 \times 2$$ matrices $$A$$ and $$B$$ such that $$A \neq 0$$ and $$B \neq 0$$ with $$AB \neq BA$$.

Exercise $$\PageIndex{25}$$

Let $$A = \left [ \begin{array}{cc} 0 & 1 \\ 1 & 0 \end{array} \right ] , B = \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ]$$. \begin{aligned} \left [ \begin{array}{cc} 0 & 1 \\ 1 & 0 \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] &=& \left [ \begin{array}{cc} 3 & 4 \\ 1 & 2 \end{array} \right ] \\ \left [ \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array} \right ] \left [ \begin{array}{cc} 0 & 1 \\ 1 & 0 \end{array} \right ] &=& \left [ \begin{array}{cc} 2 & 1 \\ 4 & 3 \end{array} \right ]\end{aligned}

Exercise $$\PageIndex{26}$$

Write the system $\begin{array}{c} x_{1}-x_{2}+2x_{3} \\ 2x_{3}+x_{1} \\ 3x_{3} \\ 3x_{4}+3x_{2}+x_{1} \end{array}$ in the form $$A\left [ \begin{array}{c} x_{1} \\ x_{2} \\ x_{3} \\ x_{4} \end{array} \right ]$$ where $$A$$ is an appropriate matrix.

$$A=\left [ \begin{array}{rrrr} 1 & -1 & 2 & 0 \\ 1 & 0 & 2 & 0 \\ 0 & 0 & 3 & 0 \\ 1 & 3 & 0 & 3 \end{array} \right ]$$

Exercise $$\PageIndex{27}$$

Write the system $\begin{array}{c} x_{1}+3x_{2}+2x_{3} \\ 2x_{3}+x_{1} \\ 6x_{3} \\ x_{4}+3x_{2}+x_{1} \end{array}$ in the form $$A\left [ \begin{array}{c} x_{1} \\ x_{2} \\ x_{3} \\ x_{4} \end{array} \right ]$$ where $$A$$ is an appropriate matrix.

$$A=\left [ \begin{array}{rrrr} 1 & 3 & 2 & 0 \\ 1 & 0 & 2 & 0 \\ 0 & 0 & 6 & 0 \\ 1 & 3 & 0 & 1 \end{array} \right ]$$

Exercise $$\PageIndex{28}$$

Write the system $\begin{array}{c} x_{1}+x_{2}+x_{3} \\ 2x_{3}+x_{1}+x_{2} \\ x_{3}-x_{1} \\ 3x_{4}+x_{1} \end{array}$ in the form $$A\left [ \begin{array}{c} x_{1} \\ x_{2} \\ x_{3} \\ x_{4} \end{array} \right ]$$ where $$A$$ is an appropriate matrix.

$$A=\left [ \begin{array}{rrrr} 1 & 1 & 1 & 0 \\ 1 & 1 & 2 & 0 \\ -1 & 0 & 1 & 0 \\ 1 & 0 & 0 & 3 \end{array} \right ]$$

Exercise $$\PageIndex{29}$$

A matrix $$A$$ is called idempotent if $$A^{2}=A.$$ Let $A= \left [ \begin{array}{rrr} 2 & 0 & 2 \\ 1 & 1 & 2 \\ -1 & 0 & -1 \end{array} \right ]$ and show that $$A$$ is idempotent.

## 2.3

Exercise $$\PageIndex{30}$$

For each pair of matrices, find the $$(1,2)$$-entry and $$(2,3)$$-entry of the product $$AB$$.

1. $$A = \left [ \begin{array}{rrr} 1 & 2 & -1 \\ 3 & 4 & 0 \\ 2 & 5 & 1 \end{array} \right ], B = \left [ \begin{array}{rrr} 4 & 6 & -2 \\ 7 & 2 & 1 \\ -1 & 0 & 0 \end{array} \right ]$$
2. $$A = \left [ \begin{array}{rrr} 1 & 3 & 1 \\ 0 & 2 & 4 \\ 1 & 0 & 5 \end{array} \right ], B = \left [ \begin{array}{rrr} 2 & 3 & 0 \\ -4 & 16 & 1 \\ 0 & 2 & 2 \end{array} \right ]$$

## 2.4

Exercise $$\PageIndex{31}$$

Suppose $$A$$ and $$B$$ are square matrices of the same size. Which of the following are necessarily true?

1. $$\left( A-B\right) ^{2}=A^{2}-2AB+B^{2}$$
2. $$\left( AB\right) ^{2}=A^{2}B^{2}$$
3. $$\left( A+B\right) ^{2}=A^{2}+2AB+B^{2}$$
4. $$\left( A+B\right) ^{2}=A^{2}+AB+BA+B^{2}$$
5. $$A^{2}B^{2}=A\left( AB\right) B$$
6. $$\left( A+B\right) ^{3}=A^{3}+3A^{2}B+3AB^{2}+B^{3}$$
7. $$\left( A+B\right) \left( A-B\right) =A^{2}-B^{2}$$
1. Not necessarily true.
2. Not necessarily true.
3. Not necessarily true.
4. Necessarily true.
5. Necessarily true.
6. Not necessarily true.
7. Not necessarily true.

## 2.5

Exercise $$\PageIndex{1}$$

Consider the matrices $$A =\left [ \begin{array}{rr} 1 & 2 \\ 3 & 2 \\ 1 & -1 \end{array} \right ], B=\left [ \begin{array}{rrr} 2 & -5 & 2 \\ -3 & 2 & 1 \end{array} \right ], C =\left [ \begin{array}{rr} 1 & 2 \\ 5 & 0 \end{array} \right ], \\ D=\left [ \begin{array}{rr} -1 & 1 \\ 4 & -3 \end{array} \right ], E=\left [ \begin{array}{r} 1 \\ 3 \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Find the following if possible. If it is not possible explain why.

1. $$-3A{^T}$$
2. $$3B - A^{T}$$
3. $$E^{T}B$$
4. $$EE^{T}$$
5. $$B^{T}B$$
6. $$CA^{T}$$
7. $$D^{T}BE$$
1. $$\left [ \begin{array}{rrr} -3 & -9 & -3 \\ -6 & -6 & 3 \end{array} \right ]$$
2. $$\left [ \begin{array}{rrr} 5 & -18 & 5 \\ -11 & 4 & 4 \end{array} \right ]$$
3. $$\left [ \begin{array}{rrr} -7 & 1 & 5 \end{array} \right ]$$
4. $$\left [ \begin{array}{rr} 1 & 3 \\ 3 & 9 \end{array} \right ]$$
5. $$\left [ \begin{array}{rrr} 13 & -16 & 1\\ -16 & 29 & -8 \\ 1 & -8 & 5 \end{array} \right ]$$
6. $$\left [ \begin{array}{rrr} 5 & 7 & -1 \\ 5 & 15 & 5 \end{array} \right ]$$
7. Not possible.

Exercise $$\PageIndex{1}$$

Let $$A$$ be an $$n\times n$$ matrix. Show $$A$$ equals the sum of a symmetric and a skew symmetric matrix.

Hint

Show that $$\frac{1}{2}\left( A^{T}+A\right)$$ is symmetric and then consider using this as one of the matrices.

Exercise $$\PageIndex{1}$$

Show that $$\frac{1}{2}\left( A^{T}+A\right)$$ is symmetric and then consider using this as one of the matrices. $$A=\frac{A+A^{T}}{2}+\frac{A-A^{T}}{2}.$$

Exercise $$\PageIndex{1}$$

Show that the main diagonal of every skew symmetric matrix consists of only zeros. Recall that the main diagonal consists of every entry of the matrix which is of the form $$a_{ii}$$.

If $$A$$ is symmetric then $$A=-A^{T}.$$ It follows that $$a_{ii}=-a_{ii}$$ and so each $$a_{ii}=0$$.

Exercise $$\PageIndex{1}$$

Prove [matrixtranspose2]. That is, show that for an $$m \times n$$ matrix $$A$$, an $$m \times n$$ matrix $$B$$, and scalars $$r, s$$, the following holds: $\left( rA + sB \right) ^T = rA^{T} + sB^{T}$

## 2.6

Exercise $$\PageIndex{1}$$

Prove that $$I_{m}A=A$$ where $$A$$ is an $$m\times n$$ matrix.

$$\left( I_{m}A\right) _{ij}\equiv \sum_{j}\delta _{ik}A_{kj}=A_{ij}$$

Exercise $$\PageIndex{1}$$

Suppose $$AB=AC$$ and $$A$$ is an invertible $$n\times n$$ matrix. Does it follow that $$B=C?$$ Explain why or why not.

Yes $$B=C$$. Multiply $$AB = AC$$ on the left by $$A^{-1}$$.

Exercise $$\PageIndex{1}$$

Suppose $$AB=AC$$ and $$A$$ is a non invertible $$n\times n$$ matrix. Does it follow that $$B=C$$? Explain why or why not.

Exercise $$\PageIndex{1}$$

Give an example of a matrix $$A$$ such that $$A^{2}=I$$ and yet $$A\neq I$$ and $$A\neq -I.$$

$$A = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 1 \end{array} \right ]$$

## 2.7

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rr} 2 & 1 \\ -1 & 3 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{rr} 2 & 1 \\ -1 & 3 \end{array} \right ]^{-1}= \left [ \begin{array}{rr} \vspace{0.05in}\frac{3}{7} & -\vspace{0.05in}\frac{1}{7} \\ \vspace{0.05in}\frac{1}{7} & \vspace{0.05in}\frac{2}{7} \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rr} 0 & 1 \\ 5 & 3 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{cc} 0 & 1 \\ 5 & 3 \end{array} \right ]^{-1}= \left [ \begin{array}{cc} -\vspace{0.05in}\frac{3}{5} & \vspace{0.05in}\frac{1}{5} \\ 1 & 0 \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Add exercises text here.Let $A=\left [ \begin{array}{rr} 2 & 1 \\ 3 & 0 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{cc} 2 & 1 \\ 3 & 0 \end{array} \right ]^{-1}= \left [ \begin{array}{cc} 0 & \vspace{0.05in}\frac{1}{3} \\ 1 & -\vspace{0.05in}\frac{2}{3} \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rr} 2 & 1 \\ 4 & 2 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{cc} 2 & 1 \\ 4 & 2 \end{array} \right ]^{-1}$$ does not exist. The of this matrix is $$\left [ \begin{array}{cc} 1 & \vspace{0.05in}\frac{1}{2} \\ 0 & 0 \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $$A$$ be a $$2\times 2$$ invertible matrix, with $$A=\left [ \begin{array}{cc} a & b \\ c & d \end{array} \right ] .$$ Find a formula for $$A^{-1}$$ in terms of $$a,b,c,d$$.

$$\left [ \begin{array}{cc} a & b \\ c & d \end{array} \right ]^{-1}= \left [ \begin{array}{cc} \frac{d}{ad-bc} & -\frac{b}{ad-bc} \\ -\frac{c}{ad-bc} & \frac{a}{ad-bc} \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 1 & 4 \\ 1 & 0 & 2 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{ccc} 1 & 2 & 3 \\ 2 & 1 & 4 \\ 1 & 0 & 2 \end{array} \right ]^{-1}= \left [ \begin{array}{rrr} -2 & 4 & -5 \\ 0 & 1 & -2 \\ 1 & -2 & 3 \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rrr} 1 & 0 & 3 \\ 2 & 3 & 4 \\ 1 & 0 & 2 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{ccc} 1 & 0 & 3 \\ 2 & 3 & 4 \\ 1 & 0 & 2 \end{array} \right ]^{-1}= \left [ \begin{array}{rrr} -2 & 0 & 3 \\ 0 & \vspace{0.05in}\frac{1}{3} & -\vspace{0.05in}\frac{2}{3} \\ 1 & 0 & -1 \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 1 & 4 \\ 4 & 5 & 10 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

The is $$\left [ \begin{array}{ccc} 1 & 0 & \vspace{0.05in}\frac{5}{3} \\ 0 & 1 & \vspace{0.05in}\frac{2}{3} \\ 0 & 0 & 0 \end{array} \right ]$$. There is no inverse.

Exercise $$\PageIndex{1}$$

Let $A=\left [ \begin{array}{rrrr} 1 & 2 & 0 & 2 \\ 1 & 1 & 2 & 0 \\ 2 & 1 & -3 & 2 \\ 1 & 2 & 1 & 2 \end{array} \right ]$ Find $$A^{-1}$$ if possible. If $$A^{-1}$$ does not exist, explain why.

$$\left [ \begin{array}{rrrr} 1 & 2 & 0 & 2 \\ 1 & 1 & 2 & 0 \\ 2 & 1 & -3 & 2 \\ 1 & 2 & 1 & 2 \end{array} \right ]^{-1}= \left [ \begin{array}{rrrr} -1 & \vspace{0.05in}\frac{1}{2} & \vspace{0.05in}\frac{1}{2} & \vspace{0.05in}\frac{1}{2} \\ 3 & \vspace{0.05in}\frac{1}{2} & - \vspace{0.05in}\frac{1}{2} & - \vspace{0.05in}\frac{5}{2} \\ -1 & 0 & 0 & 1 \\ -2 & - \vspace{0.05in}\frac{3}{4} & \vspace{0.05in}\frac{1}{4} & \vspace{0.05in}\frac{9}{4} \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Using the inverse of the matrix, find the solution to the systems:

1. $\left [ \begin{array}{rr} 2 & 4 \\ 1 & 1 \end{array} \right ] \left [ \begin{array}{c} x \\ y \end{array} \right ] =\left [ \begin{array}{r} 1 \\ 2 \end{array} \right ]$
2. $\left [ \begin{array}{rr} 2 & 4 \\ 1 & 1 \end{array} \right ] \left [ \begin{array}{c} x \\ y \end{array} \right ] =\left [ \begin{array}{r} 2 \\ 0 \end{array} \right ]$

Now give the solution in terms of $$a$$ and $$b$$ to $\left [ \begin{array}{rr} 2 & 4 \\ 1 & 1 \end{array} \right ] \left [ \begin{array}{c} x \\ y \end{array}\right ] = \left [ \begin{array}{c} a \\ b \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Using the inverse of the matrix, find the solution to the systems:

1. $\left [ \begin{array}{rrr} 1 & 0 & 3 \\ 2 & 3 & 4 \\ 1 & 0 & 2 \end{array} \right ] \left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{r} 1 \\ 0 \\ 1 \end{array} \right ]$
2. $\left [ \begin{array}{rrr} 1 & 0 & 3 \\ 2 & 3 & 4 \\ 1 & 0 & 2 \end{array} \right ] \left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{r} 3 \\ -1 \\ -2 \end{array} \right ]$

Now give the solution in terms of $$a,b,$$ and $$c$$ to the following: $\left [ \begin{array}{rrr} 1 & 0 & 3 \\ 2 & 3 & 4 \\ 1 & 0 & 2 \end{array} \right ] \left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{c} a \\ b \\ c \end{array} \right ]$

1. $$\left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{c} 1 \\ -\vspace{0.05in}\frac{2}{3} \\ 0 \end{array} \right ]$$
2. $$\left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] = \left [ \begin{array}{r} -12 \\ 1 \\ 5 \end{array} \right ]$$
3. $$\left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] = \left [ \begin{array}{c} 3c-2a \\ \frac{1}{3}b-\frac{2}{3}c \\ a-c \end{array} \right ]$$

Exercise $$\PageIndex{1}$$

Show that if $$A$$ is an $$n\times n$$ invertible matrix and $$X$$ is a $$n\times 1$$ matrix such that $$AX=B$$ for $$B$$ an $$n\times 1$$ matrix, then $$X=A^{-1}B$$.

Multiply both sides of $$AX=B$$ on the left by $$A^{-1}$$.

Exercise $$\PageIndex{1}$$

Prove that if $$A^{-1}$$ exists and $$AX=0$$ then $$X=0$$.

Multiply on both sides on the left by $$A^{-1}.$$ Thus $0=A^{-1}0=A^{-1}\left( AX\right) =\left( A^{-1}A\right) X=IX = X$

Exercise $$\PageIndex{1}$$: Inverse Product

Show that if $$A^{-1}$$ exists for an $$n\times n$$ matrix, then it is unique. That is, if $$BA=I$$ and $$AB=I,$$ then $$B=A^{-1}.$$

$$A^{-1}=A^{-1}I=A^{-1}\left( AB\right) =\left( A^{-1}A\right) B=IB=B.$$

Exercise $$\PageIndex{1}$$

Show that if $$A$$ is an invertible $$n\times n$$ matrix, then so is $$A^{T}$$ and $$\left( A^{T}\right) ^{-1}=\left( A^{-1}\right) ^{T}.$$

You need to show that $$\left( A^{-1}\right) ^{T}$$ acts like the inverse of $$A^{T}$$ because from uniqueness in the above problem, this will imply it is the inverse. From properties of the transpose, \begin{aligned} A^{T}\left( A^{-1}\right) ^{T} &=&\left( A^{-1}A\right) ^{T}=I^{T}=I \\ \left( A^{-1}\right) ^{T}A^{T} &=&\left( AA^{-1}\right) ^{T}=I^{T}=I\end{aligned} Hence $$\left( A^{-1}\right) ^{T}=\left( A^{T}\right) ^{-1}$$ and this last matrix exists.

Exercise $$\PageIndex{1}$$

Show $$\left( AB\right) ^{-1}=B^{-1}A^{-1}$$ by verifying that $AB\left( B^{-1}A^{-1}\right) =I$ and $B^{-1}A^{-1}\left( AB\right) =I$ Hint: Use Problem [exerinverseprod].

$$\left( AB\right) B^{-1}A^{-1}=A\left( BB^{-1}\right) A^{-1}=AA^{-1}=I$$ $$B^{-1}A^{-1}\left( AB\right) =B^{-1}\left( A^{-1}A\right) B=B^{-1}IB=B^{-1}B=I$$

Exercise $$\PageIndex{1}$$

Show that $$\left( ABC\right) ^{-1}=C^{-1}B^{-1}A^{-1}$$ by verifying that $\left( ABC\right) \left( C^{-1}B^{-1}A^{-1}\right) =I$ and $\left( C^{-1}B^{-1}A^{-1}\right)\left( ABC\right) =I$ Hint: Use Problem [exerinverseprod].

The proof of this exercise follows from the previous one.

Exercise $$\PageIndex{1}$$

If $$A$$ is invertible, show $$\left( A^{2}\right) ^{-1}=\left( A^{-1}\right) ^{2}.$$ Hint: Use Problem [exerinverseprod].

$$A^{2}\left( A^{-1}\right) ^{2}=AAA^{-1}A^{-1}=AIA^{-1}=AA^{-1}=I$$ $$\left( A^{-1}\right) ^{2}A^{2}=A^{-1}A^{-1}AA=A^{-1}IA=A^{-1}A=I$$

Exercise $$\PageIndex{1}$$

If $$A$$ is invertible, show $$\left( A^{-1}\right) ^{-1}=A.$$ Hint: Use Problem [exerinverseprod].

$$A^{-1}A=AA^{-1}=I$$ and so by uniqueness, $$\left( A^{-1}\right) ^{-1}=A$$.

## 2.8

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rr} 2 & 3 \\ 1 & 2 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rr} 1 & 2 \\ 2 & 3 \end{array}\right ]$$. Find the elementary matrix $$E$$ that represents this row operation.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rr} 4 & 0 \\ 2 & 1 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rr} 8 & 0 \\ 2 & 1 \end{array}\right ]$$. Find the elementary matrix $$E$$ that represents this row operation.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rr} 1 & -3 \\ 0 & 5 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rr} 1 & -3 \\ 2 & -1 \end{array}\right ]$$. Find the elementary matrix $$E$$ that represents this row operation.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 5 & 1 \\ 2 & -1 & 4 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rrr} 1 & 2 & 1\\ 2 & -1 & 4 \\ 0 & 5 & 1 \end{array}\right ]$$.

1. Find the elementary matrix $$E$$ such that $$EA = B$$.
2. Find the inverse of $$E$$, $$E^{-1}$$, such that $$E^{-1}B = A$$.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 5 & 1 \\ 2 & -1 & 4 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rrr} 1 & 2 & 1\\ 0 & 10 & 2 \\ 2 & -1 & 4 \end{array}\right ]$$.

1. Find the elementary matrix $$E$$ such that $$EA = B$$.
2. Find the inverse of $$E$$, $$E^{-1}$$, such that $$E^{-1}B = A$$.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 5 & 1 \\ 2 & -1 & 4 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rrr} 1 & 2 & 1\\ 0 & 5 & 1 \\ 1 & -\frac{1}{2} & 2 \end{array}\right ]$$.

1. Find the elementary matrix $$E$$ such that $$EA = B$$.
2. Find the inverse of $$E$$, $$E^{-1}$$, such that $$E^{-1}B = A$$.

Exercise $$\PageIndex{1}$$

Let $$A = \left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 5 & 1 \\ 2 & -1 & 4 \end{array}\right ]$$. Suppose a row operation is applied to $$A$$ and the result is $$B = \left [ \begin{array}{rrr} 1 & 2 & 1\\ 2 & 4 & 5 \\ 2 & -1 & 4 \end{array}\right ]$$.

1. Find the elementary matrix $$E$$ such that $$EA = B$$.
2. Find the inverse of $$E$$, $$E^{-1}$$, such that $$E^{-1}B = A$$.

## 2.10

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of $$\left [ \begin{array}{rrr} 1 & 2 & 0 \\ 2 & 1 & 3 \\ 1 & 2 & 3 \end{array} \right ] .$$

$\left [ \begin{array}{ccc} 1 & 2 & 0 \\ 2 & 1 & 3 \\ 1 & 2 & 3 \end{array} \right ] = \left [ \begin{array}{ccc} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 1 & 0 & 1 \end{array} \right ] \left [ \begin{array}{rrr} 1 & 2 & 0 \\ 0 & -3 & 3 \\ 0 & 0 & 3 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of $$\left [ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 1 & 3 & 2 & 1 \\ 5 & 0 & 1 & 3 \end{array} \right ] .$$

$\left [ \begin{array}{cccc} 1 & 2 & 3 & 2 \\ 1 & 3 & 2 & 1 \\ 5 & 0 & 1 & 3 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ 1 & 1 & 0 \\ 5 & -10 & 1 \end{array} \right ] \left [ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 0 & 1 & -1 & -1 \\ 0 & 0 & -24 & -17 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrrr} 1 & -2 & -5 & 0 \\ -2 & 5 & 11 & 3 \\ 3 & -6 & -15 & 1 \end{array} \right ] .$$

$\left [ \begin{array}{rrrr} 1 & -2 & -5 & 0 \\ -2 & 5 & 11 & 3 \\ 3 & -6 & -15 & 1 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 3 & 0 & 1 \end{array} \right ] \left [ \begin{array}{rrrr} 1 & -2 & -5 & 0 \\ 0 & 1 & 1 & 3 \\ 0 & 0 & 0 & 1 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrrr} 1 & -1 & -3 & -1 \\ -1 & 2 & 4 & 3 \\ 2 & -3 & -7 & -3 \end{array} \right ] .$$

$\left [ \begin{array}{rrrr} 1 & -1 & -3 & -1 \\ -1 & 2 & 4 & 3 \\ 2 & -3 & -7 & -3 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ -1 & 1 & 0 \\ 2 & -1 & 1 \end{array} \right ] \left [ \begin{array}{rrrr} 1 & -1 & -3 & -1 \\ 0 & 1 & 1 & 2 \\ 0 & 0 & 0 & 1 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\ \ \left [ \begin{array}{rrrr} 1 & -3 & -4 & -3 \\ -3 & 10 & 10 & 10 \\ 1 & -6 & 2 & -5 \end{array} \right ] .$$

$\left [ \begin{array}{rrrr} 1 & -3 & -4 & -3 \\ -3 & 10 & 10 & 10 \\ 1 & -6 & 2 & -5 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ -3 & 1 & 0 \\ 1 & -3 & 1 \end{array} \right ] \left [ \begin{array}{rrrr} 1 & -3 & -4 & -3 \\ 0 & 1 & -2 & 1 \\ 0 & 0 & 0 & 1 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrrr} 1 & 3 & 1 & -1 \\ 3 & 10 & 8 & -1 \\ 2 & 5 & -3 & -3 \end{array} \right ] .$$

$\left [ \begin{array}{rrrr} 1 & 3 & 1 & -1 \\ 3 & 10 & 8 & -1 \\ 2 & 5 & -3 & -3 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ 3 & 1 & 0 \\ 2 & -1 & 1 \end{array} \right ] \left [ \begin{array}{rrrr} 1 & 3 & 1 & -1 \\ 0 & 1 & 5 & 2 \\ 0 & 0 & 0 & 1 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrr} 3 & -2 & 1 \\ 9 & -8 & 6 \\ -6 & 2 & 2 \\ 3 & 2 & -7 \end{array} \right ] .$$

$\left [ \begin{array}{rrr} 3 & -2 & 1 \\ 9 & -8 & 6 \\ -6 & 2 & 2 \\ 3 & 2 & -7 \end{array} \right ] = \left [ \begin{array}{rrrr} 1 & 0 & 0 & 0 \\ 3 & 1 & 0 & 0 \\ -2 & 1 & 1 & 0 \\ 1 & -2 & -2 & 1 \end{array} \right ] \left [ \begin{array}{rrr} 3 & -2 & 1 \\ 0 & -2 & 3 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrr} -3 & -1 & 3 \\ 9 & 9 & -12 \\ 3 & 19 & -16 \\ 12 & 40 & -26 \end{array} \right ] .$$

Exercise $$\PageIndex{1}$$

Find an $$LU$$ factorization of the matrix $$\left [ \begin{array}{rrr} -1 & -3 & -1 \\ 1 & 3 & 0 \\ 3 & 9 & 0 \\ 4 & 12 & 16 \end{array} \right ] .$$

$\left [ \begin{array}{rrr} -1 & -3 & -1 \\ 1 & 3 & 0 \\ 3 & 9 & 0 \\ 4 & 12 & 16 \end{array} \right ] = \left [ \begin{array}{rrrr} 1 & 0 & 0 & 0 \\ -1 & 1 & 0 & 0 \\ -3 & 0 & 1 & 0 \\ -4 & 0 & -4 & 1 \end{array} \right ] \left [ \begin{array}{rrr} -1 & -3 & -1 \\ 0 & 0 & -1 \\ 0 & 0 & -3 \\ 0 & 0 & 0 \end{array} \right ]$

Exercise $$\PageIndex{1}$$

Find the $$LU$$ factorization of the coefficient matrix using Dolittle’s method and use it to solve the system of equations. $\begin{array}{c} x+2y=5 \\ 2x+3y=6 \end{array}$

An $$LU$$ factorization of the coefficient matrix is $\left [ \begin{array}{cc} 1 & 2 \\ 2 & 3 \end{array} \right ] = \left [ \begin{array}{cc} 1 & 0 \\ 2 & 1 \end{array} \right ] \left [ \begin{array}{cc} 1 & 2 \\ 0 & -1 \end{array} \right ]$ First solve $\left [ \begin{array}{cc} 1 & 0 \\ 2 & 1 \end{array} \right ] \left [ \begin{array}{c} u \\ v \end{array} \right ] =\left [ \begin{array}{c} 5 \\ 6 \end{array} \right ]$ which gives $$\left [ \begin{array}{c} u \\ v \end{array} \right ] =$$ $$\left [ \begin{array}{r} 5 \\ -4 \end{array} \right ] .$$ Then solve $\left [ \begin{array}{rr} 1 & 2 \\ 0 & -1 \end{array} \right ] \left [ \begin{array}{c} x \\ y \end{array} \right ] =\left [ \begin{array}{r} 5 \\ -4 \end{array} \right ]$ which says that $$y=4$$ and $$x=-3.$$

Exercise $$\PageIndex{1}$$

Find the $$LU$$ factorization of the coefficient matrix using Dolittle’s method and use it to solve the system of equations. $\begin{array}{c} x+2y+z=1 \\ y+3z=2 \\ 2x+3y=6 \end{array}$

An $$LU$$ factorization of the coefficient matrix is $\left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 1 & 3 \\ 2 & 3 & 0 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 2 & -1 & 1 \end{array} \right ] \left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 1 & 3 \\ 0 & 0 & 1 \end{array} \right ]$ First solve $\left [ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 2 & -1 & 1 \end{array} \right ] \left [ \begin{array}{c} u \\ v \\ w \end{array} \right ] =\left [ \begin{array}{c} 1 \\ 2 \\ 6 \end{array} \right ]$ which yields $$u=1,v=2,w=6$$. Next solve $\left [ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 1 & 3 \\ 0 & 0 & 1 \end{array} \right ] \left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{c} 1 \\ 2 \\ 6 \end{array} \right ]$ This yields $$z=6,y=-16,x=27.$$

Exercise $$\PageIndex{1}$$

Find the $$LU$$ factorization of the coefficient matrix using Dolittle’s method and use it to solve the system of equations. $\begin{array}{c} x+2y+3z=5 \\ 2x+3y+z=6 \\ x-y+z=2 \end{array}$

Exercise $$\PageIndex{1}$$

Find the $$LU$$ factorization of the coefficient matrix using Dolittle’s method and use it to solve the system of equations. $\begin{array}{c} x+2y+3z=5 \\ 2x+3y+z=6 \\ 3x+5y+4z=11 \end{array}$

An $$LU$$ factorization of the coefficient matrix is $\left [ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 3 & 1 \\ 3 & 5 & 4 \end{array} \right ] = \left [ \begin{array}{rrr} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 3 & 1 & 1 \end{array} \right ] \left [ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -1 & -5 \\ 0 & 0 & 0 \end{array} \right ]$ First solve $\left [ \begin{array}{rrr} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 3 & 1 & 1 \end{array} \right ] \left [ \begin{array}{c} u \\ v \\ w \end{array} \right ] =\left [ \begin{array}{c} 5 \\ 6 \\ 11 \end{array} \right ]$ Solution is: $$\left [ \begin{array}{c} u \\ v \\ w \end{array} \right ] =$$ $$\left [ \begin{array}{c} 5 \\ -4 \\ 0 \end{array} \right ] .$$ Next solve $\left [ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -1 & -5 \\ 0 & 0 & 0 \end{array} \right ] \left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{c} 5 \\ -4 \\ 0 \end{array} \right ]$ Solution is: $$\left [ \begin{array}{c} x \\ y \\ z \end{array} \right ] =\left [ \begin{array}{c} 7t-3 \\ 4-5t \\ t \end{array} \right ] ,t\in \mathbb{R}$$.
Exercise $$\PageIndex{1}$$
Is there only one $$LU$$ factorization for a given matrix? Hint: Consider the equation $\left [ \begin{array}{rr} 0 & 1 \\ 0 & 1 \end{array} \right ] =\left [ \begin{array}{rr} 1 & 0 \\ 1 & 1 \end{array} \right ] \left [ \begin{array}{rr} 0 & 1 \\ 0 & 0 \end{array} \right ] .$ Look for all possible $$LU$$ factorizations.
Sometimes there is more than one $$LU$$ factorization as is the case in this example. The given equation clearly gives an $$LU$$ factorization. However, it appears that the following equation gives another $$LU$$ factorization. $\left [ \begin{array}{cc} 0 & 1 \\ 0 & 1 \end{array} \right ] =\left [ \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right ] \left [ \begin{array}{cc} 0 & 1 \\ 0 & 1 \end{array} \right ]$