← 学习库 A First Course in Linear Algebra (Kuttler) 目录

2_01_3A_Matrix_Arithmetic

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.01%3A_Matrix_Arithmetic

Skip to main content

##### Outcomes

1. Perform the matrix operations of matrix addition, scalar multiplication, transposition and matrix multiplication. Identify when these operations are not defined. Represent these operations in terms of the entries of a matrix.

2. Prove algebraic properties for matrix addition, scalar multiplication, transposition, and matrix multiplication. Apply these properties to manipulate an algebraic expression involving matrices.

3. Compute the inverse of a matrix using row operations, and prove identities involving matrix inverses.

4. Solve a linear system using matrix algebra.

5. Use multiplication by an elementary matrix to apply row operations.

6. Write a matrix as a product of elementary matrices.

You have now solved systems of equations by writing them in terms of an augmented matrix and then doing row operations on this augmented matrix. It turns out that matrices are important not only for systems of equations but also in many applications.

Recall that a matrix is a rectangular array of numbers. Several of them are referred to as matrices. For example, here is a matrix.

\\\left$$ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 2 & 8 & 7 \\ 6 & -9 & 1 & 2 \end{array} \right$$ \label{matrix}\\

Recall that the size or dimension of a matrix is defined as \\m\times n\\ where \\m\\ is the number of rows and \\n\\ is the number of columns. The above matrix is a \\3\times 4\\ matrix because there are three rows and four columns. You can remember the columns are like columns in a Greek temple. They stand upright while the rows lay flat like rows made by a tractor in a plowed field.

When specifying the size of a matrix, you always list the number of rows before the number of columns.You might remember that you always list the rows before the columns by using the phrase Rowman Catholic.

Consider the following definition.

##### Definition \\\PageIndex{1}\\: Square Matrix

A matrix \\A\\ which has size \\n \times n\\ is called a square matrix . In other words, \\A\\ is a square matrix if it has the same number of rows and columns.

There is some notation specific to matrices which we now introduce. We denote the columns of a matrix \\A\\ by \\A\_{j}\\ as follows

\\A = \left$$ \begin{array}{rrrr} A\_{1} & A\_{2} & \cdots & A\_{n} \end{array} \right$$\nonumber \\ Therefore, \\A\_{j}\\ is the \\j^{th}\\ column of \\A\\, when counted from left to right.

The individual elements of the matrix are called entries or components of \\A\\. Elements of the matrix are identified according to their position. The \\\mathbf{\left( i, j \right)}\\-entry of a matrix is the entry in the \\i^{th}\\ row and \\j^{th}\\ column. For example, in the matrix \\\eqref{matrix}\\ above, \\8\\ is in position \\\left(2,3 \right)\\ (and is called the \\\left(2,3 \right)\\-entry) because it is in the second row and the third column.

In order to remember which matrix we are speaking of, we will denote the entry in the \\i^{th}\\ row and the \\j^{th}\\ column of matrix \\A\\ by \\a\_{ij}\\. Then, we can write \\A\\ in terms of its entries, as \\A= \left$$ a\_{ij} \right$$\\. Using this notation on the matrix in \\\eqref{matrix}\\, \\a\_{23}=8, a\_{32}=-9, a\_{12}=2,\\ etc.

There are various operations which are done on matrices of appropriate sizes. Matrices can be added to and subtracted from other matrices, multiplied by a scalar, and multiplied by other matrices. We will never divide a matrix by another matrix, but we will see later how matrix inverses play a similar role.

In doing arithmetic with matrices, we often define the action by what happens in terms of the entries (or components) of the matrices. Before looking at these operations in depth, consider a few general definitions.

##### Definition \\\PageIndex{2}\\: The Zero Matrix

The \\m\times n\\ zero matrix is the \\m\times n\\ matrix having every entry equal to zero. It is denoted by \\0.\\

One possible zero matrix is shown in the following example.

##### Example \\\PageIndex{1}\\: The Zero Matrix

The \\2\times 3\\ zero matrix is \\0= \left$$ \begin{array}{ccc} 0 & 0 & 0 \\ 0 & 0 & 0 \end{array} \right$$\\.

Note there is a \\2\times 3\\ zero matrix, a \\3\times 4\\ zero matrix, etc. In fact there is a zero matrix for every size!

##### Definition \\\PageIndex{3}\\: Equality of Matrices

Let \\A\\ and \\B\\ be two \\m\times n\\ matrices. Then \\A=B\\ means that for \\A=$$a\_{ij}$$\\ and \\B=$$b\_{ij}$$\\, \\a\_{ij}=b\_{ij}\\ for all \\1\leq i\leq m\\ and \\1\leq j\leq n\\.

In other words, two matrices are equal exactly when they are the same size and the corresponding entries are identical. Thus \\\left$$ \begin{array}{rr} 0 & 0 \\ 0 & 0 \\ 0 & 0 \end{array} \right$$ \neq \left$$ \begin{array}{rr} 0 & 0 \\ 0 & 0 \end{array} \right$$\nonumber \\ because they are different sizes. Also, \\\left$$ \begin{array}{rr} 0 & 1 \\ 3 & 2 \end{array} \right$$ \neq \left$$ \begin{array}{rr} 1 & 0 \\ 2 & 3 \end{array} \right$$\nonumber \\ because, although they are the same size, their corresponding entries are not identical.

In the following section, we explore addition of matrices.

Addition of Matrices

When adding matrices, all matrices in the sum need have the same size. For example, \\\left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \\ 5 & 2 \end{array} \right$$\nonumber \\ and \\\left$$ \begin{array}{rrr} -1 & 4 & 8\\ 2 & 8 & 5 \end{array} \right$$\nonumber \\ cannot be added, as one has size \\3 \times 2\\ while the other has size \\2 \times 3\\.

However, the addition \\\left$$ \begin{array}{rrr} 4 & 6 & 3\\ 5 & 0 & 4\\ 11 & -2 & 3 \end{array} \right$$ + \left$$ \begin{array}{rrr} 0 & 5 & 0 \\ 4 & -4 & 14 \\ 1 & 2 & 6 \end{array} \right$$\nonumber \\ is possible.

The formal definition is as follows.

##### Definition \\\PageIndex{4}\\: Addition of Matrices

Let \\A=\left$$ a\_{ij}\right$$\\ and \\B=\left$$ b\_{ij}\right$$\\ be two \\m\times n\\ matrices. Then \\A+B=C\\ where \\C\\ is the \\m \times n\\ matrix \\C=\left$$ c\_{ij}\right$$\\ defined by \\c\_{ij}=a\_{ij}+b\_{ij}\nonumber \\

This definition tells us that when adding matrices, we simply add corresponding entries of the matrices. This is demonstrated in the next example.

##### Example \\\PageIndex{2}\\: Addition of Matrices of Same Size

Add the following matrices, if possible. \\A = \left$$ \begin{array}{ccc} 1 & 2 & 3 \\ 1 & 0 & 4 \end{array} \right$$, B = \left$$ \begin{array}{rrr} 5 & 2 & 3 \\ -6 & 2 & 1 \end{array} \right$$\nonumber \\

###### Solution

Notice that both \\A\\ and \\B\\ are of size \\2 \times 3\\. Since \\A\\ and \\B\\ are of the same size, the addition is possible. Using Definition $\PageIndex{4}$, the addition is done as follows. \\A + B = \left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 1 & 0 & 4 \end{array} \right$$ + \left$$ \begin{array}{rrr} 5 & 2 & 3 \\ -6 & 2 & 1 \end{array} \right$$ = \left$$ \begin{array}{rrr} 1+5 & 2+2 & 3+3 \\ 1+ -6 & 0+2 & 4+1 \end{array} \right$$ = \left$$ \begin{array}{rrr} 6 & 4 & 6 \\ -5 & 2 & 5 \end{array} \right$$\nonumber \\

Addition of matrices obeys very much the same properties as normal addition with numbers. Note that when we write for example \\A+B\\ then we assume that both matrices are of equal size so that the operation is indeed possible.

##### Proposition \\\PageIndex{1}\\: Properties of Matrix Addition

Let \\A,B\\ and \\C\\ be matrices. Then, the following properties hold.

Proof

Consider the Commutative Law of Addition given in \\\eqref{mat1}\\. Let \\A,B,C,\\ and \\D\\ be matrices such that \\A+B=C\\ and \\B+A=D.\\ We want to show that \\D=C\\. To do so, we will use the definition of matrix addition given in Definition $\PageIndex{4}$. Now, \\c\_{ij}=a\_{ij}+b\_{ij}=b\_{ij}+a\_{ij}=d\_{ij}\nonumber \\ Therefore, \\C=D\\ because the \\ij^{th}\\ entries are the same for all \\i\\ and \\j\\. Note that the conclusion follows from the commutative law of addition of numbers, which says that if \\a\\ and \\b\\ are two numbers, then \\a+b = b+a\\. The proof of the other results are similar, and are left as an exercise.

We call the zero matrix in \\\eqref{mat3}\\ the additive identity. Similarly, we call the matrix \\-A\\ in \\\eqref{mat4}\\ the additive inverse. \\-A\\ is defined to equal \\\left( -1\right) A = $$-a\_{ij}$$.\\ In other words, every entry of \\A\\ is multiplied by \\-1\\.

In the next section we will study scalar multiplication in more depth to understand what is meant by \\\left( -1\right) A.\\

Scalar Multiplication of Matrices

Recall that we use the word *scalar* when referring to numbers. Therefore, *scalar multiplication of a matrix* is the multiplication of a matrix by a number. To illustrate this concept, consider the following example in which a matrix is multiplied by the scalar \\3\\. \\3\left$$ \begin{array}{rrrr} 1 & 2 & 3 & 4 \\ 5 & 2 & 8 & 7 \\ 6 & -9 & 1 & 2 \end{array} \right$$ = \left$$ \begin{array}{rrrr} 3 & 6 & 9 & 12 \\ 15 & 6 & 24 & 21 \\ 18 & -27 & 3 & 6 \end{array} \right$$\nonumber \\

The new matrix is obtained by multiplying every entry of the original matrix by the given scalar.

The formal definition of scalar multiplication is as follows.

##### Definition \\\PageIndex{5}\\: Scalar Multiplication of Matrices

If \\A=\left$$ a\_{ij}\right$$\\ and \\k\\ is a scalar, then \\kA=\left$$ ka\_{ij}\right$$ .\\

Consider the following example.

##### Example \\\PageIndex{3}\\: Effect of Multiplication by a Scalar

Find the result of multiplying the following matrix \\A\\ by \\7\\. \\A=\left$$ \begin{array}{rr} 2 & 0 \\ 1 & -4 \end{array} \right$$\nonumber \\

###### Solution

By Definition $\PageIndex{5}$, we multiply each element of \\A\\ by \\7\\. Therefore, \\7A = 7\left$$ \begin{array}{rr} 2 & 0 \\ 1 & -4 \end{array} \right$$ = \left$$ \begin{array}{rr} 7(2) & 7(0) \\ 7(1) & 7(-4) \end{array} \right$$ = \left$$ \begin{array}{rr} 14 & 0 \\ 7 & -28 \end{array} \right$$\nonumber \\

Similarly to addition of matrices, there are several properties of scalar multiplication which hold.

##### Proposition \\\PageIndex{2}\\: Properties of Scalar Multiplication

Let \\A, B\\ be matrices, and \\k, p\\ be scalars. Then, the following properties hold.

Proof

The proof of this proposition is similar to the proof of Proposition $\PageIndex{1}$ and is left an exercise to the reader.

---

2_02_3A_Multiplication_of_Matrices

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.02%3A_Multiplication_of_Matrices

Skip to main content

The next important matrix operation we will explore is multiplication of matrices. The operation of matrix multiplication is one of the most important and useful of the matrix operations. Throughout this section, we will also demonstrate how matrix multiplication relates to linear systems of equations.

First, we provide a formal definition of row and column vectors.

Definition \\\PageIndex{1}\\: Row and Column Vectors

Matrices of size \\n\times 1\\ or \\1\times n\\ are called vectors. If \\X\\ is such a matrix, then we write \\x\_{i}\\ to denote the entry of \\X\\ in the \\i^{th}\\ row of a column matrix, or the \\i^{th}\\ column of a row matrix.

The \\n\times 1\\ matrix \\X=\left$$ \begin{array}{c} x\_{1} \\ \vdots \\ x\_{n} \end{array} \right$$\nonumber \\ is called a column vector. The \\1\times n\\ matrix \\X = \left$$ \begin{array}{ccc} x\_{1} & \cdots & x\_{n} \end{array} \right$$\nonumber \\ is called a row vector.

We may simply use the term vector throughout this text to refer to either a column or row vector. If we do so, the context will make it clear which we are referring to.

In this chapter, we will again use the notion of linear combination of vectors as in Definition 9.2.2. In this context, a linear combination is a sum consisting of vectors multiplied by scalars. For example, \\\left$$ \begin{array}{r} 50 \\ 122 \end{array} \right$$ = 7\left$$ \begin{array}{r} 1 \\ 4 \end{array} \right$$ +8\left$$ \begin{array}{r} 2 \\ 5 \end{array} \right$$ +9\left$$ \begin{array}{r} 3 \\ 6 \end{array} \right$$\nonumber \\ is a linear combination of three vectors.

It turns out that we can express any system of linear equations as a linear combination of vectors. In fact, the vectors that we will use are just the columns of the corresponding augmented matrix!

Definition \\\PageIndex{2}\\: The Vector Form of a System of Linear Equations

Suppose we have a system of equations given by \\\begin{array}{c} a\_{11}x\_{1}+\cdots +a\_{1n}x\_{n}=b\_{1} \\ \vdots \\ a\_{m1}x\_{1}+\cdots +a\_{mn}x\_{n}=b\_{m} \end{array}\nonumber \\ We can express this system in vector form which is as follows: \\x_1 \left$$ \begin{array}{c} a\_{11}\\ a\_{21}\\ \vdots \\ a\_{m1} \end{array} \right$$ + x_2 \left$$ \begin{array}{c} a\_{12}\\ a\_{22}\\ \vdots \\ a\_{m2} \end{array} \right$$ + \cdots + x_n \left$$ \begin{array}{c} a\_{1n}\\ a\_{2n}\\ \vdots \\ a\_{mn} \end{array} \right$$ = \left$$ \begin{array}{c} b_1\\ b_2\\ \vdots \\ b_m \end{array} \right$$\nonumber \\

Notice that each vector used here is one column from the corresponding augmented matrix. There is one vector for each variable in the system, along with the constant vector.

The first important form of matrix multiplication is multiplying a matrix by a vector. Consider the product given by \\\left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 4 & 5 & 6 \end{array} \right$$ \left$$ \begin{array}{r} 7 \\ 8 \\ 9 \end{array} \right$$\nonumber \\ We will soon see that this equals \\7\left$$ \begin{array}{c} 1 \\ 4 \end{array} \right$$ +8\left$$ \begin{array}{c} 2 \\ 5 \end{array} \right$$ +9\left$$ \begin{array}{c} 3 \\ 6 \end{array} \right$$ =\left$$ \begin{array}{c} 50 \\ 122 \end{array} \right$$\nonumber \\

In general terms, \\\begin{aligned} \left$$ \begin{array}{ccc} a\_{11} & a\_{12} & a\_{13} \\ a\_{21} & a\_{22} & a\_{23} \end{array} \right$$ \left$$ \begin{array}{c} x\_{1} \\ x\_{2} \\ x\_{3} \end{array} \right$$ &= \\ x\_{1}\left$$ \begin{array}{c} a\_{11} \\ a\_{21} \end{array} \right$$ +x\_{2}\left$$ \begin{array}{c} a\_{12} \\ a\_{22} \end{array} \right$$ +x\_{3}\left$$ \begin{array}{c} a\_{13} \\ a\_{23} \end{array} \right$$ \\ &=\left$$ \begin{array}{c} a\_{11}x\_{1}+a\_{12}x\_{2}+a\_{13}x\_{3} \\ a\_{21}x\_{1}+a\_{22}x\_{2}+a\_{23}x\_{3} \end{array} \right$$ \end{aligned}\\ Thus you take \\x\_{1}\\ times the first column, add to \\x\_{2}\\ times the second column, and finally \\x\_{3}\\ times the third column. The above sum is a linear combination of the columns of the matrix. When you multiply a matrix on the left by a vector on the right, the numbers making up the vector are just the scalars to be used in the linear combination of the columns as illustrated above.

Here is the formal definition of how to multiply an \\m\times n\\ matrix by an \\n\times 1\\ column vector.

Definition \\\PageIndex{3}\\: Multiplication of Vector by Matrix

Let \\A=\left$$ a\_{ij} \right$$\\ be an \\m\times n\\ matrix and let \\X\\ be an \\n\times 1\\ matrix given by \\A=\left$$ A\_{1} \cdots A\_{n}\right$$, X = \left$$ \begin{array}{r} x\_{1} \\ \vdots \\ x\_{n} \end{array} \right$$\nonumber \\

Then the product \\AX\\ is the \\m\times 1\\ column vector which equals the following linear combination of the columns of \\A\\: \\x\_{1}A\_{1}+x\_{2}A\_{2}+\cdots +x\_{n}A\_{n} = \sum\_{j=1}^{n}x\_{j}A\_{j}\nonumber \\

If we write the columns of \\A\\ in terms of their entries, they are of the form \\A\_{j} = \left$$ \begin{array}{c} a\_{1j} \\ a\_{2j} \\ \vdots \\ a\_{mj} \end{array} \right$$\nonumber \\ Then, we can write the product \\AX\\ as \\AX = x\_{1}\left$$ \begin{array}{c} a\_{11} \\ a\_{21} \\ \vdots \\ a\_{m1} \end{array} \right$$ + x\_{2}\left$$ \begin{array}{c} a\_{12} \\ a\_{22} \\ \vdots \\ a\_{m2} \end{array} \right$$ +\cdots + x\_{n}\left$$ \begin{array}{c} a\_{1n} \\ a\_{2n} \\ \vdots \\ a\_{mn} \end{array} \right$$\nonumber \\

Note that multiplication of an \\m \times n\\ matrix and an \\n \times 1\\ vector produces an \\m \times 1\\ vector.

Here is an example.

Example \\\PageIndex{1}\\: A Vector Multiplied by a Matrix

Compute the product \\AX\\ for \\A = \left$$ \begin{array}{rrrr} 1 & 2 & 1 & 3 \\ 0 & 2 & 1 & -2 \\ 2 & 1 & 4 & 1 \end{array} \right$$, X = \left$$ \begin{array}{r} 1 \\ 2 \\ 0 \\ 1 \end{array} \right$$\nonumber \\

###### Solution

We will use Definition $\PageIndex{3}$ to compute the product. Therefore, we compute the product \\AX\\ as follows. \\\begin{aligned} & 1\left$$ \begin{array}{r} 1 \\ 0 \\ 2 \end{array} \right$$ + 2\left$$ \begin{array}{r} 2 \\ 2 \\ 1 \end{array} \right$$ + 0\left$$ \begin{array}{r} 1 \\ 1 \\ 4 \end{array} \right$$ + 1 \left$$ \begin{array}{r} 3 \\ -2\\ 1 \end{array} \right$$ \\ &= \left$$ \begin{array}{r} 1 \\ 0 \\ 2 \end{array} \right$$ + \left$$ \begin{array}{r} 4 \\ 4 \\ 2 \end{array} \right$$ + \left$$ \begin{array}{r} 0 \\ 0 \\ 0 \end{array} \right$$ + \left$$ \begin{array}{r} 3 \\ -2\\ 1 \end{array} \right$$ \\ &= \left$$ \begin{array}{r} 8 \\ 2 \\ 5 \end{array} \right$$\end{aligned}\\

Using the above operation, we can also write a system of linear equations in matrix form. In this form, we express the system as a matrix multiplied by a vector. Consider the following definition.

Definition \\\PageIndex{4}\\: The Matrix Form of a System of Linear Equations

Suppose we have a system of equations given by \\\begin{array}{c} a\_{11}x\_{1}+\cdots +a\_{1n}x\_{n}=b\_{1} \\ a\_{21}x\_{1}+ \cdots + a\_{2n}x\_{n} = b\_{2} \\ \vdots \\ a\_{m1}x\_{1}+\cdots +a\_{mn}x\_{n}=b\_{m} \end{array}\nonumber \\ Then we can express this system in matrix form as follows. \\\left$$ \begin{array}{cccc} a\_{11} & a\_{12} & \cdots & a\_{1n} \\ a\_{21} & a\_{22} & \cdots & a\_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a\_{m1} & a\_{m2} & \cdots & a\_{mn} \end{array} \right$$ \left$$ \begin{array}{c} x\_{1} \\ x\_{2} \\ \vdots \\ x\_{n} \end{array} \right$$ = \left$$ \begin{array}{c} b\_{1}\\ b\_{2}\\ \vdots \\ b\_{m} \end{array} \right$$\nonumber \\

The expression \\AX=B\\ is also known as the Matrix Form of the corresponding system of linear equations. The matrix \\A\\ is simply the coefficient matrix of the system, the vector \\X\\ is the column vector constructed from the variables of the system, and finally the vector \\B\\ is the column vector constructed from the constants of the system. It is important to note that any system of linear equations can be written in this form.

Notice that if we write a homogeneous system of equations in matrix form, it would have the form \\AX=0\\, for the zero vector \\0\\.

You can see from this definition that a vector \\X = \left$$ \begin{array}{c} x\_{1} \\ x\_{2} \\ \vdots \\ x\_{n} \end{array} \right$$\nonumber \\ will satisfy the equation \\AX=B\\ only when the entries \\x\_{1}, x\_{2}, \cdots, x\_{n}\\ of the vector \\X\\ are solutions to the original system.

Now that we have examined how to multiply a matrix by a vector, we wish to consider the case where we multiply two matrices of more general sizes, although these sizes still need to be appropriate as we will see. For example, in Example $\PageIndex{1}$, we multiplied a \\3 \times 4\\ matrix by a \\4 \times 1\\ vector. We want to investigate how to multiply other sizes of matrices.

We have not yet given any conditions on when matrix multiplication is possible! For matrices \\A\\ and \\B\\, in order to form the product \\AB\\, the number of columns of \\A\\ must equal the number of rows of \\B.\\ Consider a product \\AB\\ where \\A\\ has size \\m\times n\\ and \\B\\ has size \\n \times p\\. Then, the product in terms of size of matrices is given by \$m\times\overset{\text{these must match!}}{\widehat{n)\$n}\times p})=m\times p\nonumber \\

Note the two outside numbers give the size of the product. One of the most important rules regarding matrix multiplication is the following. If the two middle numbers don’t match, you can’t multiply the matrices!

When the number of columns of \\A\\ equals the number of rows of \\B\\ the two matrices are said to be conformable and the product \\AB\\ is obtained as follows.

Definition \\\PageIndex{5}\\: Multiplication of Two Matrices

Let \\A\\ be an \\m\times n\\ matrix and let \\B\\ be an \\n\times p\\ matrix of the form \\B=\left$$ B\_{1} \cdots B\_{p}\right$$\nonumber \\ where \\B\_{1},...,B\_{p}\\ are the \\n\times 1\\ columns of \\B\\. Then the \\m\times p\\ matrix \\AB\\ is defined as follows: \\AB = A \left$$ B\_{1} \cdots B\_{p}\right$$ = \left$$ (A B)\_{1} \cdots (AB)\_{p}\right$$\nonumber \\ where \$AB)\_{k}\\ is an \\m\times 1\\ matrix or column vector which gives the \\k^{th}\\ column of \\AB\\.

Consider the following example.

Example \\\PageIndex{2}\\: Multiplying Two Matrices

Find \\AB\\ if possible. \\A = \left$$ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$, B = \left$$ \begin{array}{rrr} 1 & 2 & 0 \\ 0 & 3 & 1 \\ -2 & 1 & 1 \end{array} \right$$\nonumber \\

###### Solution

The first thing you need to verify when calculating a product is whether the multiplication is possible. The first matrix has size \\2\times 3\\ and the second matrix has size \\3\times 3\\. The inside numbers are equal, so \\A\\ and \\B\\ are conformable matrices. According to the above discussion \\AB\\ will be a \\2\times 3\\ matrix. Definition $\PageIndex{5}$ gives us a way to calculate each column of \\AB\\, as follows.

\\\left$$ \overset{ \text{First column}}{\overbrace{\left$$ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$ \left$$ \begin{array}{r} 1 \\ 0 \\ -2 \end{array} \right$$ }},\overset{\text{Second column}}{\overbrace{\left$$ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$ \left$$ \begin{array}{r} 2 \\ 3 \\ 1 \end{array} \right$$ }},\overset{\text{Third column}}{\overbrace{\left$$ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$ \left$$ \begin{array}{r} 0 \\ 1 \\ 1 \end{array} \right$$ }}\right$$\nonumber \\ You know how to multiply a matrix times a vector, using Definition $\PageIndex{3}$ for each of the three columns. Thus \\\left$$ \begin{array}{rrr} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 2 & 0 \\ 0 & 3 & 1 \\ -2 & 1 & 1 \end{array} \right$$ = \\ \left$$ \begin{array}{rrr} -1 & 9 & 3 \\ -2 & 7 & 3 \end{array} \right$$\nonumber \\

Since vectors are simply \\n \times 1\\ or \\1 \times m\\ matrices, we can also multiply a vector by another vector.

Example \\\PageIndex{3}\\: Vector Times Vector Multiplication

Multiply if possible \\\left$$ \begin{array}{r} 1 \\ 2 \\ 1 \end{array} \right$$ \left$$ \begin{array}{rrrr} 1 & 2 & 1 & 0 \end{array} \right$$ .\\

###### Solution

In this case we are multiplying a matrix of size \\3 \times 1\\ by a matrix of size \\1 \times 4.\\ The inside numbers match so the product is defined. Note that the product will be a matrix of size \\3 \times 4\\. Using Definition $\PageIndex{5}$, we can compute this product as follows \\\\ \\ \\\left$$ \begin{array}{r} 1 \\ 2 \\ 1 \end{array} \right$$ \left$$ \begin{array}{rrrr} 1 & 2 & 1 & 0 \end{array} \right$$ = \left$$ \overset{ \text{First column}}{\overbrace{\left$$ \begin{array}{r} 1 \\ 2 \\ 1 \end{array} \right$$ \left$$ \begin{array}{r} 1 \end{array} \right$$ }},\overset{\text{Second column}}{\overbrace{\left$$ \begin{array}{r} 1 \\ 2\\ 1 \end{array} \right$$ \left$$ \begin{array}{r} 2 \end{array} \right$$ }},\overset{\text{Third column}}{\overbrace{\left$$ \begin{array}{r} 1 \\ 2 \\ 1 \end{array} \right$$ \left$$ \begin{array}{r} 1 \end{array} \right$$ }}, \overset {\text{Fourth column}}{\overbrace{\left$$ \begin{array}{r} 1\\ 2\\ 1 \end{array} \right$$ \left$$ \begin{array}{r} 0 \end{array} \right$$}} \right$$\nonumber \\

You can use Definition $\PageIndex{3}$ to verify that this product is \\\left$$ \begin{array}{cccc} 1 & 2 & 1 & 0 \\ 2 & 4 & 2 & 0 \\ 1 & 2 & 1 & 0 \end{array} \right$$\nonumber \\

Example \\\PageIndex{4}\\: A Multiplication Which is Not Defined

Find \\BA\\ if possible. \\B = \left$$ \begin{array}{ccc} 1 & 2 & 0 \\ 0 & 3 & 1 \\ -2 & 1 & 1 \end{array} \right$$, A = \left$$ \begin{array}{ccc} 1 & 2 & 1 \\ 0 & 2 & 1 \end{array} \right$$\nonumber \\

###### Solution

First check if it is possible. This product is of the form \\\left( 3\times 3\right) \left( 2\times 3\right) .\\ The inside numbers do not match and so you can’t do this multiplication.

In this case, we say that the multiplication is not defined. Notice that these are the same matrices which we used in Example $\PageIndex{2}$. In this example, we tried to calculate \\BA\\ instead of \\AB\\. This demonstrates another property of matrix multiplication. While the product \\AB\\ maybe be defined, we cannot assume that the product \\BA\\ will be possible. Therefore, it is important to always check that the product is defined before carrying out any calculations.

Earlier, we defined the zero matrix \\0\\ to be the matrix (of appropriate size) containing zeros in all entries. Consider the following example for multiplication by the zero matrix.

Example \\\PageIndex{5}\\: Multiplication by the Zero Matrix

Compute the product \\A0\\ for the matrix \\A= \left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right$$\nonumber \\ and the \\2 \times 2\\ zero matrix given by \\0= \left$$ \begin{array}{rr} 0 & 0 \\ 0 & 0 \end{array} \right$$\nonumber \\

###### Solution

In this product, we compute \\\left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right$$ \left$$ \begin{array}{rr} 0 & 0 \\ 0 & 0 \end{array} \right$$ = \left$$ \begin{array}{rr} 0 & 0 \\ 0 & 0 \end{array} \right$$\nonumber \\

Hence, \\A0=0\\.

Notice that we could also multiply \\A\\ by the \\2 \times 1\\ zero vector given by \\\left$$ \begin{array}{r} 0 \\ 0 \end{array} \right$$\\. The result would be the \\2 \times 1\\ zero vector. Therefore, it is always the case that \\A0=0\\, for an appropriately sized zero matrix or vector.

---

2_03_3A_The_ijth_Entry_of_a_Product

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.03%3A_The_ijth_Entry_of_a_Product

Skip to main content

In previous sections, we used the entries of a matrix to describe the action of matrix addition and scalar multiplication. We can also study matrix multiplication using the entries of matrices.

What is the \\ij^{th}\\ entry of \\AB?\\ It is the entry in the \\i^{th}\\ row and the \\j^{th}\\ column of the product \\AB\\.

Now if \\A\\ is \\m \times n\\ and \\B\\ is \\n \times p\\, then we know that the product \\AB\\ has the form \\\left$$ \begin{array}{cccc} a\_{11} & a\_{12} & \cdots & a\_{1n} \\ a\_{21} & a\_{22} & \cdots & a\_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a\_{m1} & a\_{m2} & \cdots & a\_{mn} \end{array} \right$$ \left$$ \begin{array}{cccccc} b\_{11} & b\_{12} & \cdots & b\_{1j} & \cdots & b\_{1p} \\ b\_{21} & b\_{22} & \cdots & b\_{2j} & \cdots & b\_{2p} \\ \vdots & \vdots & & \vdots & & \vdots\\ b\_{n1} & b\_{n2} & \cdots & b\_{nj} & \cdots & b\_{np} \end{array} \right$$\nonumber \\

The \\j^{th}\\ column of \\AB\\ is of the form \\\left$$ \begin{array}{cccc} a\_{11} & a\_{12} & \cdots & a\_{1n} \\ a\_{21} & a\_{22} & \cdots & a\_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a\_{m1} & a\_{m2} & \cdots & a\_{mn} \end{array} \right$$ \left$$ \begin{array}{c} b\_{1j} \\ b\_{2j} \\ \vdots \\ b\_{nj} \end{array} \right$$\nonumber \\ which is an \\m\times 1\\ column vector. It is calculated by \\b\_{1j} \left$$ \begin{array}{c} a\_{11} \\ a\_{21} \\ \vdots \\ a\_{m1} \end{array} \right$$ + b\_{2j}\left$$ \begin{array}{c} a\_{12} \\ a\_{22} \\ \vdots \\ a\_{m2} \end{array} \right$$ +\cdots + b\_{nj}\left$$ \begin{array}{c} a\_{1n} \\ a\_{2n} \\ \vdots \\ a\_{mn} \end{array} \right$$\nonumber \\

Therefore, the \\ij^{th}\\ entry is the entry in row \\i\\ of this vector. This is computed by \\a\_{i1}b\_{1j}+a\_{i2}b\_{2j}+\cdots + a\_{in}b\_{nj}=\sum\_{k=1}^{n}a\_{ik}b\_{kj}\nonumber \\

The following is the formal definition for the \\ij^{th}\\ entry of a product of matrices.

Definition \\\PageIndex{1}\\: The \\ij^{th}\\ Entry of a Product

Let \\A=\left$$ a\_{ij}\right$$\\ be an \\m\times n\\ matrix and let \\B=\left$$ b\_{ij}\right$$\\ be an \\n\times p\\ matrix. Then \\AB\\ is an \\m\times p\\ matrix and the \\\left( i, j \right)\\-entry of \\AB\\ is defined as \$AB)\_{ij}=\sum\_{k=1}^{n}a\_{ik}b\_{kj} \nonumber \\ Another way to write this is \$AB)\_{ij}=\left$$ \begin{array}{cccc} a\_{i1} & a\_{i2} & \cdots & a\_{in} \end{array} \right$$ \left$$ \begin{array}{c} b\_{1j} \\ b\_{2j} \\ \vdots \\ b\_{nj} \end{array} \right$$ = a\_{i1}b\_{1j} + a\_{i2}b\_{2j} + \cdots + a\_{in}b\_{nj}\nonumber \\

In other words, to find the \\\left( i, j \right)\\-entry of the product \\AB\\, or \$AB)\_{ij}\\, you multiply the \\i^{th}\\ row of \\A,\\ on the left by the \\j^{th}\\ column of \\B\\. To express \\AB\\ in terms of its entries, we write \\AB = \left$$ (AB)\_{ij} \right$$\\.

Consider the following example.

Example \\\PageIndex{1}\\: The Entries of a Product

Compute \\AB\\ if possible. If it is, find the \\\left( 3,2 \right)\\-entry of \\AB\\ using Definition $\PageIndex{1}$. \\A = \left$$ \begin{array}{cc} 1 & 2 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$, B = \left$$ \begin{array}{ccc} 2 & 3 & 1 \\ 7 & 6 & 2 \end{array} \right$$\nonumber \\

###### Solution

First check if the product is possible. It is of the form \\\left( 3\times 2\right) \left( 2\times 3\right)\\ and since the inside numbers match, it is possible to do the multiplication. The result should be a \\3\times 3\\ matrix. We can first compute \\AB\\: \\\left$$ \left$$ \begin{array}{rr} 1 & 2 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$ \left$$ \begin{array}{r} 2 \\ 7 \end{array} \right$$ ,\left$$ \begin{array}{rr} 1 & 2 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$ \left$$ \begin{array}{r} 3 \\ 6 \end{array} \right$$ ,\left$$ \begin{array}{rr} 1 & 2 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$ \left$$ \begin{array}{r} 1 \\ 2 \end{array} \right$$ \right$$\nonumber \\ where the commas separate the columns in the resulting product. Thus the above product equals \\\left$$ \begin{array}{rrr} 16 & 15 & 5 \\ 13 & 15 & 5 \\ 46 & 42 & 14 \end{array} \right$$\nonumber \\ which is a \\3\times 3\\ matrix as desired. Thus, the \\\left( 3,2 \right)\\-entry equals 42.

Now using Definition $\PageIndex{1}$, we can find that the \\\left( 3,2 \right)\\-entry equals \\\begin{aligned} \sum\_{k=1}^{2}a\_{3k}b\_{k2} &=a\_{31}b\_{12}+a\_{32}b\_{22} \\ &=2\times 3+6\times 6=42\\\end{aligned}\\ Consulting our result for \\AB\\ above, this is correct!

You may wish to use this method to verify that the rest of the entries in \\AB\\ are correct.

Here is another example.

Example \\\PageIndex{2}\\: Finding the Entries of a Product

Determine if the product \\AB\\ is defined. If it is, find the \\\left( 2, 1 \right)\\-entry of the product. \\A= \left$$ \begin{array}{rrr} 2 & 3 & 1 \\ 7 & 6 & 2 \\ 0 & 0 & 0 \end{array} \right$$, B =\left$$ \begin{array}{rr} 1 & 2 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$\nonumber \\

###### Solution

This product is of the form \\\left( 3\times 3\right) \left( 3\times 2\right)\\. The middle numbers match so the matrices are conformable and it is possible to compute the product.

We want to find the \\\left( 2, 1 \right)\\-entry of \\AB\\, that is, the entry in the second row and first column of the product. We will use Definition $\PageIndex{1}$, which states \$AB)\_{ij}=\sum\_{k=1}^{n}a\_{ik}b\_{kj}\nonumber \\ In this case, \\n=3\\, \\i=2\\ and \\j=1\\. Hence the \\\left( 2, 1 \right)\\-entry is found by computing \$AB)\_{21} = \sum\_{k=1}^{3}a\_{2k}b\_{k1} = \left$$ \begin{array}{ccc} a\_{21} & a\_{22} & a\_{23} \end{array} \right$$ \left$$ \begin{array}{c} b\_{11} \\ b\_{21} \\ b\_{31} \end{array} \right$$\nonumber \\ Substituting in the appropriate values, this product becomes \\\left$$ \begin{array}{ccc} a\_{21} & a\_{22} & a\_{23} \end{array} \right$$ \left$$ \begin{array}{c} b\_{11} \\ b\_{21} \\ b\_{31} \end{array} \right$$ = \left$$ \begin{array}{ccc} 7 & 6 & 2 \end{array} \right$$ \left$$ \begin{array}{c} 1 \\ 3 \\ 2 \end{array} \right$$ = 1 \times 7 + 3 \times 6 + 2 \times 2 = 29\nonumber \\

Hence, \$AB)\_{21} = 29\\.

You should take a moment to find a few other entries of \\AB\\. You can multiply the matrices to check that your answers are correct. The product \\AB\\ is given by \\AB = \left$$ \begin{array}{cc} 13 & 13 \\ 29 & 32 \\ 0 & 0 \end{array} \right$$\nonumber \\

---

2_04_3A_Properties_of_Matrix_Multiplication

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.04%3A_Properties_of_Matrix_Multiplication

Skip to main content

As pointed out above, it is sometimes possible to multiply matrices in one order but not in the other order. However, even if both \\AB\\ and \\BA\\ are defined, they may not be equal.

Example \\\PageIndex{1}\\: Matrix Multiplication is Not Commutative

Compare the products \\AB\\ and \\BA\\, for matrices \\A = \left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right$$, B= \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$\\

###### Solution

First, notice that \\A\\ and \\B\\ are both of size \\2 \times 2\\. Therefore, both products \\AB\\ and \\BA\\ are defined. The first product, \\AB\\ is

\\AB = \left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right$$ \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$ = \left$$ \begin{array}{rr} 2 & 1 \\ 4 & 3 \end{array} \right$$ \nonumber\\

The second product, \\BA\\ is

\\\left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$ \left$$ \begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array} \right$$ = \left$$ \begin{array}{rr} 3 & 4 \\ 1 & 2 \end{array} \right$$ \nonumber\\

Therefore, \\AB \neq BA\\.

This example illustrates that you cannot assume \\AB=BA\\ even when multiplication is defined in both orders. If for some matrices \\A\\ and \\B\\ it is true that \\AB=BA\\, then we say that \\A\\ and \\B\\ commute. This is one important property of matrix multiplication.

The following are other important properties of matrix multiplication. Notice that these properties hold only when the size of matrices are such that the products are defined.

Proposition \\\PageIndex{1}\\: Properties of Matrix Multiplication

The following hold for matrices \\A,B,\\ and \\C\\ and for scalars \\r\\ and \\s\\,

\\ \begin{align} A\left( rB+sC\right) &= r\left( AB\right) +s\left( AC\right) \label{matrixproperties1} \\$$4pt$$ \left( B+C\right) A &=BA+CA \label{matrixproperties2} \\$$4pt$$ A\left( BC\right) &=\left( AB\right) C \label{matrixproperties3} \end{align}\\

Proof

First we will prove \\\eqref{matrixproperties1}\\. We will use Definition 2.3.1 and prove this statement using the \\ij^{th}\\ entries of a matrix. Therefore,

\\\begin{aligned} \left( A\left( rB+sC\right) \right) \_{ij} &=\sum\_{k}a\_{ik}\left( rB+sC\right) \_{kj} \\$$4pt$$ &= \sum\_{k}a\_{ik}\left( rb\_{kj}+sc\_{kj}\right) \\$$4pt$$ &=r\sum\_{k}a\_{ik}b\_{kj}+s\sum\_{k}a\_{ik}c\_{kj} \\$$4pt$$ &=r\left( AB\right) \_{ij}+s\left( AC\right) \_{ij} \\$$4pt$$ &=\left( r\left( AB\right) +s\left( AC\right) \right) \_{ij} \end{aligned}\\

Thus \\A\left( rB+sC\right) =r(AB)+s(AC) \\ as claimed.

The proof of Equation \\\eqref{matrixproperties2}\\ follows the same pattern and is left as an exercise.

Statement Equation \\\eqref{matrixproperties3}\\ is the associative law of multiplication. Using Definition 2.3.1,

\\ \begin{align\*}\left( A\left( BC\right) \right) \_{ij} &=\sum\_{k}a\_{ik}\left( BC\right) \_{kj} \\$$4pt$$ &=\sum\_{k}a\_{ik}\sum\_{l}b\_{kl}c\_{lj} \\$$4pt$$ &=\sum\_{l}\left( AB\right) \_{il}c\_{lj}=\left( \left( AB\right) C\right) \_{ij}. \end{align\*}\\

This proves \\\eqref{matrixproperties3}\\.

---

2_05_3A_The_Transpose

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.05%3A_The_Transpose

Skip to main content

Another important operation on matrices is that of taking the transpose. For a matrix \\A\\, we denote the transpose of \\A\\ by \\A^T\\. Before formally defining the transpose, we explore this operation on the following matrix.

\\\left$$ \begin{array}{cc} 1 & 4 \\ 3 & 1 \\ 2 & 6 \end{array} \right$$ ^{T}= \\ \\ \left$$ \begin{array}{ccc} 1 & 3 & 2 \\ 4 & 1 & 6 \end{array} \right$$ \nonumber\\

What happened? The first column became the first row and the second column became the second row. Thus the \\3\times 2\\ matrix became a \\2\times 3\\ matrix. The number \\4\\ was in the first row and the second column and it ended up in the second row and first column.

The definition of the transpose is as follows.

Definition \\\PageIndex{1}\\: The Transpose of a Matrix

Let \\A\\ be an \\m\times n\\ matrix. Then \\A^{T}\\, the transpose of \\A\\, denotes the \\n\times m\\ matrix given by

\\A^{T} = \left$$ a \_{ij}\right$$ ^{T}= \left$$ a\_{ji} \right$$\nonumber \\

The \\\left( i, j \right)\\-entry of \\A\\ becomes the \\\left( j,i \right)\\-entry of \\A^T\\.

Consider the following example.

Example \\\PageIndex{1}\\: The Transpose of a Matrix

Calculate \\A^T\\ for the following matrix

\\A = \left$$ \begin{array}{rrr} 1 & 2 & -6 \\ 3 & 5 & 4 \end{array} \right$$ \nonumber\\

###### Solution

By Definition $\PageIndex{1}$, we know that for \\A = \left$$ a\_{ij} \right$$\\, \\A^T = \left$$ a\_{ji} \right$$\\. In other words, we switch the row and column location of each entry. The \\\left( 1, 2 \right)\\-entry becomes the \\\left( 2,1 \right)\\-entry.

Thus, \\A^T = \left$$ \begin{array}{rr} 1 & 3 \\ 2 & 5 \\ -6 & 4 \end{array} \right$$ \nonumber\\

Notice that \\A\\ is a \\2 \times 3\\ matrix, while \\A^T\\ is a \\3 \times 2\\ matrix.

The transpose of a matrix has the following important properties.

Lemma \\\PageIndex{1}\\: Properties of the Transpose of a Matrix

Let \\A\\ be an \\m\times n\\ matrix, \\B\\ an \\n\times p\\ matrix, and \\r\\ and \\s\\ scalars. Then

1. \\\left(A^{T}\right)^{T} = A\nonumber \\

2. \\\left( AB\right) ^{T}=B^{T}A^{T} \nonumber\\

3. \\\left( rA+ sB\right) ^{T}=rA^{T}+ sB^{T} \nonumber\\

Proof

First we prove 2. From Definition $\PageIndex{1}$,

\\ \begin{aligned} \left(AB\right)^{T} &= \left$$ (AB) \_{ij} \right$$ ^{T}=\left$$ (AB)\_{ji} \right$$=\sum\_{k}a\_{jk}b\_{ki}= \sum\_{k}b\_{ki}a\_{jk} \\$$4pt$$ &= \sum\_{k}\left$$ b\_{ik}\right$$^{T}\left$$ a\_{kj}\right$$^{T}=\left$$ b\_{ij}\right$$ ^{T} \left$$ a\_{ij}\right$$^{T} = B^{T}A^{T} \end{aligned}\\

The proof of Formula 3 is left as an exercise.

The transpose of a matrix is related to other important topics. Consider the following definition.

Definition \\\PageIndex{2}\\: Symmetric and Skew Symmetric Matrices

An \\n\times n\\ matrix \\A\\ is said to be symmetric if \\A=A^{T}.\\ It is said to be skew symmetric if \\A=-A^{T}.\\

We will explore these definitions in the following examples.

Example \\\PageIndex{2}\\: Symmetric Matrices

Let

\\A=\left$$ \begin{array}{rrr} 2 & 1 & 3 \\ 1 & 5 & -3 \\ 3 & -3 & 7 \end{array} \right$$ \nonumber\\

Use Definition $\PageIndex{2}$ to show that \\A\\ is symmetric.

###### Solution

By Definition $\PageIndex{2}$, we need to show that \\A = A^T\\. Now, using Definition $\PageIndex{1}$,

\\A^{T} = \left$$ \begin{array}{rrr} 2 & 1 & 3 \\ 1 & 5 & -3 \\ 3 & -3 & 7 \end{array} \right$$\nonumber\\

Hence, \\A = A^{T}\\, so \\A\\ is symmetric.

Example \\\PageIndex{3}\\: A Skew Symmetric Matrix

Let

\\A=\left$$ \begin{array}{rrr} 0 & 1 & 3 \\ -1 & 0 & 2 \\ -3 & -2 & 0 \end{array} \right$$ \nonumber \\

Show that \\A\\ is skew symmetric.

###### Solution

By Definition $\PageIndex{2}$,

\\A^{T} = \left$$ \begin{array}{rrr} 0 & -1 & -3\\ 1 & 0 & -2\\ 3 & 2 & 0 \end{array} \right$$ \nonumber\\

You can see that each entry of \\A^T\\ is equal to \\-1\\ times the same entry of \\A\\. Hence, \\A^{T} = - A\\ and so by Definition $\PageIndex{2}$, \\A\\ is skew symmetric.

---

2_06_3A__The_Identity_and_Inverses

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.06%3A__The_Identity_and_Inverses

Skip to main content

There is a special matrix, denoted \\I\\, which is called to as the identity matrix. The identity matrix is always a square matrix, and it has the property that there are ones down the main diagonal and zeroes elsewhere. Here are some identity matrices of various sizes.

\\\left$$ 1\right$$ ,\left$$ \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right$$ ,\left$$ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right$$ ,\left$$ \begin{array}{cccc} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end{array} \right$$\nonumber \\

The first is the \\1\times 1\\ identity matrix, the second is the \\2\times 2\\ identity matrix, and so on. By extension, you can likely see what the \\n\times n\\ identity matrix would be. When it is necessary to distinguish which size of identity matrix is being discussed, we will use the notation \\I_n\\ for the \\n \times n\\ identity matrix.

The identity matrix is so important that there is a special symbol to denote the \\ij^{th}\\ entry of the identity matrix. This symbol is given by \\I\_{ij}=\delta \_{ij}\\ where \\\delta \_{ij}\\ is the Kronecker symbol defined by \\\delta \_{ij}=\left\\ \begin{array}{c} 1 \text{ if }i=j \\ 0\text{ if }i\neq j \end{array} \right.\nonumber \\

\\I_n\\ is called the identity matrix because it is a multiplicative identity in the following sense.

Lemma \\\PageIndex{1}\\: Multiplication by the Identity Matrix

Suppose \\A\\ is an \\m\times n\\ matrix and \\I\_{n}\\ is the \\n\times n\\ identity matrix. Then \\AI\_{n}=A.\\ If \\I\_{m}\\ is the \\m\times m\\ identity matrix, it also follows that \\I\_{m}A=A.\\

Proof

The \$i,j)\\-entry of \\AI_n\\ is given by: \\\sum\_{k}a\_{ik}\delta \_{kj}=a\_{ij}\nonumber \\ and so \\AI\_{n}=A.\\ The other case is left as an exercise for you.

We now define the matrix operation which in some ways plays the role of division.

Definition \\\PageIndex{1}\\: The Inverse of a Matrix

A square \\n\times n\\ matrix \\A\\ is said to have an inverse \\A^{-1}\\ if and only if

\\AA^{-1}=A^{-1}A=I_n\nonumber \\

In this case, the matrix \\A\\ is called invertible.

Such a matrix \\A^{-1}\\ will have the same size as the matrix \\A\\. It is very important to observe that the inverse of a matrix, if it exists, is unique. Another way to think of this is that if it acts like the inverse, then it \\\textbf{is}\\ the inverse.

Theorem \\\PageIndex{1}\\: Uniqueness of Inverse

Suppose \\A\\ is an \\n \times\\ n\\ matrix such that an inverse \\A^{-1}\\ exists. Then there is only one such inverse matrix. That is, given any matrix \\B\\ such that \\AB=BA=I\\, \\B=A^{-1}\\.

Proof

In this proof, it is assumed that \\I\\ is the \\n \times n\\ identity matrix. Let \\A, B\\ be \\n \times n\\ matrices such that \\A^{-1}\\ exists and \\AB=BA=I\\. We want to show that \\A^{-1} = B\\. Now using properties we have seen, we get:

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

Hence, \\A^{-1} = B\\ which tells us that the inverse is unique.

The next example demonstrates how to check the inverse of a matrix.

Example \\\PageIndex{1}\\: Verifying the Inverse of a Matrix

Let \\A=\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 2 \end{array} \right$$ .\\ Show \\\left$$ \begin{array}{rr} 2 & -1 \\ -1 & 1 \end{array} \right$$\\ is the inverse of \\A.\\

###### Solution

To check this, multiply \\\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 2 \end{array} \right$$ \left$$ \begin{array}{rr} 2 & -1 \\ -1 & 1 \end{array} \right$$ = \\ \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right$$ = I\nonumber \\ and \\\left$$ \begin{array}{rr} 2 & -1 \\ -1 & 1 \end{array} \right$$ \left$$ \begin{array}{rr} 1 & 1 \\ 1 & 2 \end{array} \right$$ = \\ \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right$$ = I\nonumber \\ showing that this matrix is indeed the inverse of \\A.\\

Unlike ordinary multiplication of numbers, it can happen that \\A\neq 0\\ but \\A\\ may fail to have an inverse. This is illustrated in the following example.

Example \\\PageIndex{2}\\: A Nonzero Matrix With No Inverse

Let \\A=\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 1 \end{array} \right$$ .\\ Show that \\A\\ does not have an inverse.

###### Solution

One might think \\A\\ would have an inverse because it does not equal zero. However, note that \\\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 1 \end{array} \right$$ \left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$ =\left$$ \begin{array}{r} 0 \\ 0 \end{array} \right$$\nonumber \\ If \\A^{-1}\\ existed, we would have the following \\\begin{aligned} \left$$ \begin{array}{r} 0 \\ 0 \end{array} \right$$ &= A^{-1}\left( \left$$ \begin{array}{r} 0 \\ 0 \end{array} \right$$ \right) \\ &= A^{-1}\left( A\left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$ \right) \\ &=\left( A^{-1}A\right) \left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$ \\ &=I\left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$ \\ &=\left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$\end{aligned}\\ This says that \\\left$$ \begin{array}{r} 0 \\ 0 \end{array} \right$$ = \left$$ \begin{array}{r} -1 \\ 1 \end{array} \right$$\nonumber \\ which is impossible! Therefore, \\A\\ does not have an inverse.

In the next section, we will explore how to find the inverse of a matrix, if it exists.

---

2_07_3A_Finding_the_Inverse_of_a_Matrix

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.07%3A_Finding_the_Inverse_of_a_Matrix

Skip to main content

In Example 2.6.1, we were given \\A^{-1}\\ and asked to verify that this matrix was in fact the inverse of \\A\\. In this section, we explore how to find \\A^{-1}\\.

Let \\A=\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 2 \end{array} \right$$\nonumber \\ as in Example 2.6.1. In order to find \\A^{-1}\\, we need to find a matrix \\\left$$ \begin{array}{rr} x & z \\ y & w \end{array} \right$$\\ such that \\\left$$ \begin{array}{rr} 1 & 1 \\ 1 & 2 \end{array} \right$$ \left$$ \begin{array}{rr} x & z \\ y & w \end{array} \right$$ =\left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right$$\nonumber \\ We can multiply these two matrices, and see that in order for this equation to be true, we must find the solution to the systems of equations, \\\begin{array}{c} x+y=1 \\ x+2y=0 \end{array}\nonumber\\ and \\\begin{array}{c} z+w=0 \\ z+2w=1 \end{array}\nonumber \\ Writing the augmented matrix for these two systems gives \\\left$$ \begin{array}{rr\|r} 1 & 1 & 1 \\ 1 & 2 & 0 \end{array} \right$$ \nonumber \\ for the first system and \\\left$$ \begin{array}{rr\|r} 1 & 1 & 0 \\ 1 & 2 & 1 \end{array} \right$$ \label{inverse2a}\\ for the second.

Let’s solve the first system. Take \\-1\\ times the first row and add to the second to get \\\left$$ \begin{array}{rr\|r} 1 & 1 & 1 \\ 0 & 1 & -1 \end{array} \right$$\nonumber \\ Now take \\-1\\ times the second row and add to the first to get \\\left$$ \begin{array}{rr\|r} 1 & 0 & 2 \\ 0 & 1 & -1 \end{array} \right$$\nonumber \\ Writing in terms of variables, this says \\x=2\\ and \\y=-1.\\

Now solve the second system, \\\eqref{inverse2a}\\ to find \\z\\ and \\w.\\ You will find that \\z = -1\\ and \\w = 1\\.

If we take the values found for \\x,y,z,\\ and \\w\\ and put them into our inverse matrix, we see that the inverse is \\A^{-1} = \left$$ \begin{array}{rr} x & z \\ y & w \end{array} \right$$ = \left$$ \begin{array}{rr} 2 & -1 \\ -1 & 1 \end{array} \right$$\nonumber \\

After taking the time to solve the second system, you may have noticed that exactly the same row operations were used to solve both systems. In each case, the end result was something of the form \\\left$$ I\|X\right$$\\ where \\I\\ is the identity and \\X\\ gave a column of the inverse. In the above, \\\left$$ \begin{array}{c} x \\ y \end{array} \right$$\nonumber \\ the first column of the inverse was obtained by solving the first system and then the second column \\\left$$ \begin{array}{c} z \\ w \end{array} \right$$\nonumber \\

To simplify this procedure, we could have solved both systems at once! To do so, we could have written \\\left$$ \begin{array}{rr\|rr} 1 & 1 & 1 & 0 \\ 1 & 2 & 0 & 1 \end{array} \right$$\nonumber \\

and row reduced until we obtained \\\left$$ \begin{array}{rr\|rr} 1 & 0 & 2 & -1 \\ 0 & 1 & -1 & 1 \end{array} \right$$\nonumber \\ and read off the inverse as the \\2\times 2\\ matrix on the right side.

This exploration motivates the following important algorithm.

Algorithm \\\PageIndex{1}\\: Matrix Inverse Algorithm

Suppose \\A\\ is an \\n\times n\\ matrix. To find \\A^{-1}\\ if it exists, form the augmented \\n\times 2n\\ matrix \\\left$$ A\|I\right$$\nonumber \\ If possible do row operations until you obtain an \\n\times 2n\\ matrix of the form \\\left$$ I\|B\right$$\nonumber \\ When this has been done, \\B=A^{-1}.\\ In this case, we say that \\A\\ is invertible. If it is impossible to row reduce to a matrix of the form \\\left$$ I\|B\right$$ ,\\ then \\A\\ has no inverse.

This algorithm shows how to find the inverse if it exists. It will also tell you if \\A\\ does not have an inverse.

Consider the following example.

Example \\\PageIndex{1}\\: Finding the Inverse

Let \\A=\left$$ \begin{array}{rrr} 1 & 2 & 2 \\ 1 & 0 & 2 \\ 3 & 1 & -1 \end{array} \right$$\\. Find \\A^{-1}\\ if it exists.

###### Solution

Set up the augmented matrix \\\left$$ A\|I\right$$ = \left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 1 & 0 & 2 & 0 & 1 & 0 \\ 3 & 1 & -1 & 0 & 0 & 1 \end{array} \right$$\nonumber \\

Now we row reduce, with the goal of obtaining the \\3 \times 3\\ identity matrix on the left hand side. First, take \\-1\\ times the first row and add to the second followed by \\-3\\ times the first row added to the third row. This yields \\ \\ \left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 0 & -2 & 0 & -1 & 1 & 0 \\ 0 & -5 & -7 & -3 & 0 & 1 \end{array} \right$$\nonumber \\ Then take 5 times the second row and add to -2 times the third row. \\\left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 0 & -10 & 0 & -5 & 5 & 0 \\ 0 & 0 & 14 & 1 & 5 & -2 \end{array} \right$$\nonumber \\ Next take the third row and add to \\-7\\ times the first row. This yields \\\left$$ \begin{array}{rrr\|rrr} -7 & -14 & 0 & -6 & 5 & -2 \\ 0 & -10 & 0 & -5 & 5 & 0 \\ 0 & 0 & 14 & 1 & 5 & -2 \end{array} \right$$\nonumber \\ Now take \\-\frac{7}{5}\\ times the second row and add to the first row. \\\left$$ \begin{array}{rrr\|rrr} -7 & 0 & 0 & 1 & -2 & -2 \\ 0 & -10 & 0 & -5 & 5 & 0 \\ 0 & 0 & 14 & 1 & 5 & -2 \end{array} \right$$\nonumber \\ Finally divide the first row by -7, the second row by -10 and the third row by 14 which yields \\\left$$ \begin{array}{rrr\|rrr} 1 & 0 & 0 & - \\ \frac{1}{7} & \\ \frac{2}{7} & \\ \frac{2}{7} \\ 0 & 1 & 0 & \\ \frac{1}{2} & - \\ \frac{1}{2} & 0 \\ 0 & 0 & 1 & \\ \frac{1}{14} & \\ \frac{5}{14} & - \\ \frac{1}{7} \end{array} \right$$\nonumber \\ Notice that the left hand side of this matrix is now the \\3 \times 3\\ identity matrix \\I_3\\. Therefore, the inverse is the \\3 \times 3\\ matrix on the right hand side, given by \\\left$$ \begin{array}{rrr} - \\ \frac{1}{7} & \\ \frac{2}{7} & \\ \frac{2}{7} \\ \\ \frac{1}{2} & - \\ \frac{1}{2} & 0 \\ \\ \frac{1}{14} & \\ \frac{5}{14} & - \\ \frac{1}{7} \end{array} \right$$\nonumber \\

It may happen that through this algorithm, you discover that the left hand side cannot be row reduced to the identity matrix. Consider the following example of this situation.

Example \\\PageIndex{2}\\: A Matrix Which Has No Inverse

Let \\A=\left$$ \begin{array}{rrr} 1 & 2 & 2 \\ 1 & 0 & 2 \\ 2 & 2 & 4 \end{array} \right$$\\. Find \\A^{-1}\\ if it exists.

###### Solution

Write the augmented matrix \\\left$$ A\|I\right$$\\ \\\left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 1 & 0 & 2 & 0 & 1 & 0 \\ 2 & 2 & 4 & 0 & 0 & 1 \end{array} \right$$\nonumber \\ and proceed to do row operations attempting to obtain \\\left$$ I\|A^{-1}\right$$ .\\ Take \\-1\\ times the first row and add to the second. Then take \\-2\\ times the first row and add to the third row. \\\left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 0 & -2 & 0 & -1 & 1 & 0 \\ 0 & -2 & 0 & -2 & 0 & 1 \end{array} \right$$\nonumber \\ Next add \\-1\\ times the second row to the third row. \\\left$$ \begin{array}{rrr\|rrr} 1 & 2 & 2 & 1 & 0 & 0 \\ 0 & -2 & 0 & -1 & 1 & 0 \\ 0 & 0 & 0 & -1 & -1 & 1 \end{array} \right$$\nonumber \\ At this point, you can see there will be no way to obtain \\I\\ on the left side of this augmented matrix. Hence, there is no way to complete this algorithm, and therefore the inverse of \\A\\ does not exist. In this case, we say that \\A\\ is not invertible.

If the algorithm provides an inverse for the original matrix, it is always possible to check your answer. To do so, use the method demonstrated in Example 2.6.1. Check that the products \\AA^{-1}\\ and \\A^{-1}A\\ both equal the identity matrix. Through this method, you can always be sure that you have calculated \\A^{-1}\\ properly!

One way in which the inverse of a matrix is useful is to find the solution of a system of linear equations. Recall from Definition 2.2.4 that we can write a system of equations in matrix form, which is of the form \\AX=B\\. Suppose you find the inverse of the matrix \\A^{-1}\\. Then you could multiply both sides of this equation on the left by \\A^{-1}\\ and simplify to obtain \\\begin{array}{c} \left( A^{-1} \right) AX =A^{-1}B \\ \left(A^{-1}A\right) X = A^{-1}B \\ IX = A^{-1}B \\ X = A^{-1}B \end{array}\nonumber \\ Therefore we can find \\X\\, the solution to the system, by computing \\X=A^{-1}B\\. Note that once you have found \\A^{-1}\\, you can easily get the solution for different right hand sides (different \\B\$. It is always just \\A^{-1}B\\.

We will explore this method of finding the solution to a system in the following example.

Example \\\PageIndex{3}\\: Using the Inverse to Solve a System of Equations

Consider the following system of equations. Use the inverse of a suitable matrix to give the solutions to this system. \\\begin{array}{c} x+z=1 \\ x-y+z=3 \\ x+y-z=2 \end{array}\nonumber \\

###### Solution

First, we can write the system of equations in matrix form \\AX = \left$$ \begin{array}{rrr} 1 & 0 & 1 \\ 1 & -1 & 1 \\ 1 & 1 & -1 \end{array} \right$$ \left$$ \begin{array}{r} x \\ y \\ z \end{array} \right$$ =\left$$ \begin{array}{r} 1 \\ 3 \\ 2 \end{array} \right$$ = B \label{inversesystem1}\\

The inverse of the matrix \\A = \left$$ \begin{array}{rrr} 1 & 0 & 1 \\ 1 & -1 & 1 \\ 1 & 1 & -1 \end{array} \right$$\nonumber \\ is \\A^{-1} = \left$$ \begin{array}{rrr} 0 & \\ \frac{1}{2} & \\ \frac{1}{2} \\ 1 & -1 & 0 \\ 1 & - \\ \frac{1}{2} & - \\ \frac{1}{2} \end{array} \right$$\nonumber \\

Verifying this inverse is left as an exercise.

From here, the solution to the given system \\\eqref{inversesystem1}\\ is found by \\\left$$ \begin{array}{r} x \\ y \\ z \end{array} \right$$ = A^{-1}B = \left$$ \begin{array}{rrr} 0 & \\ \frac{1}{2} & \\ \frac{1}{2} \\ 1 & -1 & 0 \\ 1 & - \\ \frac{1}{2} & - \\ \frac{1}{2} \end{array} \right$$ \left$$ \begin{array}{r} 1 \\ 3 \\ 2 \end{array} \right$$ =\left$$ \begin{array}{r} \\ \frac{5}{2} \\ -2 \\ - \\ \frac{3}{2} \end{array} \right$$\nonumber \\

What if the right side, \\B\\, of \\\eqref{inversesystem1}\\ had been \\\left$$ \begin{array}{r} 0 \\ 1 \\ 3 \end{array} \right$$ ?\\ In other words, what would be the solution to \\\left$$ \begin{array}{rrr} 1 & 0 & 1 \\ 1 & -1 & 1 \\ 1 & 1 & -1 \end{array} \right$$ \left$$ \begin{array}{r} x \\ y \\ z \end{array} \right$$ =\left$$ \begin{array}{r} 0 \\ 1 \\ 3 \end{array} \right$$ ?\nonumber \\ By the above discussion, the solution is given by \\\left$$ \begin{array}{r} x \\ y \\ z \end{array} \right$$ = A^{-1}B = \left$$ \begin{array}{rrr} 0 & \\ \frac{1}{2} & \\ \frac{1}{2} \\ 1 & -1 & 0 \\ 1 & - \\ \frac{1}{2} & - \\ \frac{1}{2} \end{array} \right$$ \left$$ \begin{array}{r} 0 \\ 1 \\ 3 \end{array} \right$$ =\left$$ \begin{array}{r} 2 \\ -1 \\ -2 \end{array} \right$$\nonumber \\ This illustrates that for a system \\AX=B\\ where \\A^{-1}\\ exists, it is easy to find the solution when the vector \\B\\ is changed.

We conclude this section with some important properties of the inverse.

Theorem \\\PageIndex{1}\\: Inverses of Transposes and Products

Let \\A, B\\, and \\A_i\\ for \\i=1,...,k\\ be \\n \times n\\ matrices.

1. If \\A\\ is an invertible matrix, then \$A^{T})^{-1} = (A^{-1})^{T}\\

2. If \\A\\ and \\B\\ are invertible matrices, then \\AB\\ is invertible and \$AB)^{-1} = B^{-1}A^{-1}\\

3. If \\A_1, A_2, ..., A_k\\ are invertible, then the product \\A_1A_2 \cdots A_k\\ is invertible, and \$A_1A_2 \cdots A_k)^{-1} = A_k^{-1}A\_{k-1}^{-1} \cdots A_2^{-1}A_1^{-1}\\

Consider the following theorem.

Theorem \\\PageIndex{2}\\: Properties of the Inverse

Let \\A\\ be an \\n \times n\\ matrix and \\I\\ the usual identity matrix.

1. \\I\\ is invertible and \\I^{-1} = I\\

2. If \\A\\ is invertible then so is \\A^{-1}\\, and \$A^{-1})^{-1} = A\\

3. If \\A\\ is invertible then so is \\A^k\\, and \$A^k)^{-1} = (A^{-1})^k\\

4. If \\A\\ is invertible and \\p\\ is a nonzero real number, then \\pA\\ is invertible and \$pA)^{-1} = \frac{1}{p}A^{-1}\\

---

2_08_3A_Elementary_Matrices

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.08%3A_Elementary_Matrices

Skip to main content

We now turn our attention to a special type of matrix called an elementary matrix. An elementary matrix is always a square matrix. Recall the row operations given in Definition 1.3.2. Any elementary matrix, which we often denote by \\E\\, is obtained from applying *one* row operation to the identity matrix of the same size.

For example, the matrix \\E = \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$\nonumber \\ is the elementary matrix obtained from switching the two rows. The matrix \\E = \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{array} \right$$\nonumber \\ is the elementary matrix obtained from multiplying the second row of the \\3 \times 3\\ identity matrix by \\3\\. The matrix \\E = \left$$ \begin{array}{rr} 1 & 0 \\ -3 & 1 \end{array} \right$$\nonumber \\ is the elementary matrix obtained from adding \\-3\\ times the first row to the third row.

You may construct an elementary matrix from any row operation, but remember that you can only apply one operation.

Consider the following definition.

Definition \\\PageIndex{1}\\: Elementary Matrices and Row Operations

Let \\E\\ be an \\n \times n\\ matrix. Then \\E\\ is an elementary matrix if it is the result of applying one row operation to the \\n \times n\\ identity matrix \\I_n\\.

Those which involve switching rows of the identity matrix are called permutation matrices.

Therefore, \\E\\ constructed above by switching the two rows of \\I_2\\ is called a permutation matrix.

Elementary matrices can be used in place of row operations and therefore are very useful. It turns out that multiplying (on the left hand side) by an elementary matrix \\E\\ will have the same effect as doing the row operation used to obtain \\E\\.

The following theorem is an important result which we will use throughout this text.

Theorem \\\PageIndex{1}\\: Multiplication by an Elementary Matrix and Row Operations

To perform any of the three row operations on a matrix \\A\\ it suffices to take the product \\EA\\, where \\E\\ is the elementary matrix obtained by using the desired row operation on the identity matrix.

Therefore, instead of performing row operations on a matrix \\A\\, we can row reduce through matrix multiplication with the appropriate elementary matrix. We will examine this theorem in detail for each of the three row operations given in Definition 1.3.2.

First, consider the following lemma.

Lemma \\\PageIndex{1}\\: Action of Permutation Matrix

Let \\P^{ij}\\ denote the elementary matrix which involves switching the \\i^{th}\\ and the \\j^{th}\\ rows. Then \\P^{ij}\\ is a permutation matrix and \\P^{ij}A=B\nonumber \\ where \\B\\ is obtained from \\A\\ by switching the \\i^{th}\\ and the \\j^{th}\\ rows.

We will explore this idea more in the following example.

Example \\\PageIndex{1}\\: Switching Rows with an Elementary Matrix

Let \\P^{12} = \left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array} \right$$, A = \left$$ \begin{array}{cc} a & b \\ g & d \\ e & f \end{array} \right$$ \nonumber \\

Find \\B\\ where \\B = P^{12}A\\.

###### Solution

You can see that the matrix \\P^{12}\\ is obtained by switching the first and second rows of the \\3 \times 3\\ identity matrix \\I\\.

Using our usual procedure, compute the product \\P^{12}A = B\\. The result is given by

\\B =\left$$ \begin{array}{cc} g & d \\ a & b \\ e & f \end{array} \right$$ \nonumber\\

Notice that \\B\\ is the matrix obtained by switching rows \\1\\ and \\2\\ of \\A\\. Therefore by multiplying \\A\\ by \\P^{12}\\, the row operation which was applied to \\I\\ to obtain \\P^{12}\\ is applied to \\A\\ to obtain \\B\\.

Theorem $\PageIndex{1}$ applies to all three row operations, and we now look at the row operation of multiplying a row by a scalar. Consider the following lemma.

Lemma \\\PageIndex{2}\\: Multiplication by a Scalar and Elementary Matrices

Let \\E\left( k,i\right)\\ denote the elementary matrix corresponding to the row operation in which the \\i^{th}\\ row is multiplied by the nonzero scalar, \\k.\\ Then

\\E\left( k,i\right) A=B \nonumber\\

where \\B\\ is obtained from \\A\\ by multiplying the \\i^{th}\\ row of \\A\\ by \\k\\.

We will explore this lemma further in the following example.

Example \\\PageIndex{2}\\: Multiplication of a Row by 5 Using Elementary Matrix

Let

\\E \left(5, 2\right) = \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 5 & 0 \\ 0 & 0 & 1 \end{array} \right$$, A = \left$$ \begin{array}{cc} a & b \\ c & d \\ e & f \end{array} \right$$ \nonumber\\

Find the matrix \\B\\ where \\B = E \left(5, 2\right)A\\

###### Solution

You can see that \\E \left(5, 2\right)\\ is obtained by multiplying the second row of the identity matrix by \\5\\.

Using our usual procedure for multiplication of matrices, we can compute the product \\E \left(5, 2\right)A\\. The resulting matrix is given by

\\B =\left$$ \begin{array}{cc} a & b \\ 5c & 5d \\ e & f \end{array} \right$$ \nonumber\\

Notice that \\B\\ is obtained by multiplying the second row of \\A\\ by the scalar \\5\\.

There is one last row operation to consider. The following lemma discusses the final operation of adding a multiple of a row to another row.

Lemma \\\PageIndex{3}\\: Adding Multiples of Rows and Elementary Matrices

Let \\E\left( k \times i+j\right)\\ denote the elementary matrix obtained from \\I\\ by adding \\k\\ times the \\i^{th}\\ row to the \\j^{th}\\. Then

\\E\left( k \times i+j\right) A=B\nonumber \\

where \\B\\ is obtained from \\A\\ by adding \\k\\ times the \\i^{th}\\ row to the \\j^{th}\\ row of \\A.\\

Consider the following example.

Example \\\PageIndex{3}\\: Adding Two Times the First Row to the Last

Let

\\E\left( 2 \times 1+3\right) = \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 2 & 0 & 1 \end{array} \right$$, A = \left$$ \begin{array}{cc} a & b \\ c & d \\ e & f \end{array} \right$$ \nonumber\\

Find \\B\\ where \\B = E\left( 2 \times 1+3\right)A\\.

###### Solution

You can see that the matrix \\E\left( 2 \times 1+3\right)\\ was obtained by adding \\2\\ times the first row of \\I\\ to the third row of \\I\\.

Using our usual procedure, we can compute the product \\E\left( 2 \times 1+3\right)A\\. The resulting matrix \\B\\ is given by \\B = \left$$ \begin{array}{cc} a & b \\ c & d \\ 2a+e & 2b+f \end{array} \right$$ \nonumber\\

You can see that \\B\\ is the matrix obtained by adding \\2\\ times the first row of \\A\\ to the third row.

Suppose we have applied a row operation to a matrix \\A\\. Consider the row operation required to return \\A\\ to its original form, to undo the row operation. It turns out that this action is how we find the inverse of an elementary matrix \\E\\.

Consider the following theorem.

Theorem \\\PageIndex{2}\\: Elementary Matrices and Inverses

Every elementary matrix is invertible and its inverse is also an elementary matrix.

In fact, the inverse of an elementary matrix is constructed by doing the *reverse* row operation on \\I\\. \\E^{-1}\\ will be obtained by performing the row operation which would carry \\E\\ back to \\I\\.

Consider the following example.

Example \\\PageIndex{4}\\: Inverse of an Elementary Matrix

Let \\E = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 2 \end{array} \right$$\nonumber \\

Find \\E^{-1}\\.

###### Solution

Consider the elementary matrix \\E\\ given by

\\E = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 2 \end{array} \right$$\nonumber \\

Here, \\E\\ is obtained from the \\2 \times 2\\ identity matrix by multiplying the second row by \\2\\. In order to carry \\E\\ back to the identity, we need to multiply the second row of \\E\\ by \\\frac{1}{2}\\. Hence,

\\E^{-1}\\ is given by \\E^{-1} = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & \frac{1}{2} \end{array} \right$$ \nonumber\\

We can verify that \\EE^{-1}=I\\. Take the product \\EE^{-1}\\, given by

\\EE^{-1} = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 2 \end{array} \right$$ \left$$ \begin{array}{rr} 1 & 0 \\ 0 & \frac{1}{2} \end{array} \right$$ = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right$$ \nonumber\\

This equals \\I\\ so we know that we have compute \\E^{-1}\\ properly.

Suppose an \\m \times n\\ matrix \\A\\ is row reduced to its reduced row-echelon form. By tracking each row operation completed, this row reduction can be completed through multiplication by elementary matrices.

Consider the following definition.

Definition \\\PageIndex{2}\\: The Form \\B=UA\\

Let \\A\\ be an \\m \times n\\ matrix and let \\B\\ be the reduced row-echelon form of \\A\\. Then we can write \\B = UA\\ where \\U\\ is the product of all elementary matrices representing the row operations done to \\A\\ to obtain \\B\\.

Consider the following example.

Example \\\PageIndex{5}\\: The Form \\B=UA\\

Let \\A = \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \\ 2 & 0 \end{array} \right$$\\. Find \\B\\, the reduced row-echelon form of \\A\\ and write it in the form \\B=UA\\.

###### Solution

To find \\B\\, row reduce \\A\\. For each step, we will record the appropriate elementary matrix. First, switch rows \\1\\ and \\2\\.

\\\left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \\ 2 & 0 \end{array} \right$$ \rightarrow \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 2 & 0 \end{array} \right$$\nonumber \\

The resulting matrix is equivalent to finding the product of \\P^{12} =\left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array} \right$$\\ and \\A\\.

Next, add \$-2)\\ times row \\1\\ to row \\3\\.

\\\left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 2 & 0 \end{array} \right$$ \rightarrow \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{array} \right$$\nonumber \\

This is equivalent to multiplying by the matrix \\E(-2 \times 1 + 3) = \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ -2 & 0 & 1 \end{array} \right$$\\. Notice that the resulting matrix is \\B\\, the required reduced row-echelon form of \\A\\.

We can then write

\\\begin{aligned} B &= E(-2 \times 1 + 2) \left( P^{12} A \right) \\ &= \left( E(-2 \times 1 + 2) P^{12} \right) A \\ &= U A\end{aligned}\\

It remains to find the matrix \\U\\.

\\\begin{aligned} U &= E(-2 \times 1 + 2) P^{12} \\ &= \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ -2 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array} \right$$ \\ &= \left$$ \begin{array}{rrr} 0 & 1 & 0\\ 1 & 0 & 0 \\ 0 & -2 & 1 \end{array} \right$$\end{aligned}\\

We can verify that \\B = UA\\ holds for this matrix \\U\\: \\\begin{aligned} UA &= \left$$ \begin{array}{rrr} 0 & 1 & 0\\ 1 & 0 & 0 \\ 0 & -2 & 1 \end{array} \right$$ \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \\ 2 & 0 \end{array} \right$$ \\ &= \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{array} \right$$ \\ &= B \end{aligned}\\

While the process used in the above example is reliable and simple when only a few row operations are used, it becomes cumbersome in a case where many row operations are needed to carry \\A\\ to \\B\\. The following theorem provides an alternate way to find the matrix \\U\\.

Theorem \\\PageIndex{3}\\: Finding the Matrix \\U\\

Let \\A\\ be an \\m \times n\\ matrix and let \\B\\ be its reduced row-echelon form. Then \\B = UA\\ where \\U\\ is an invertible \\m \times m\\ matrix found by forming the matrix \\\left$$ A \| I_m \right$$\\ and row reducing to \\\left$$ B \| U \right$$\\.

Let’s revisit the above example using the process outlined in Theorem $\PageIndex{3}$.

Example \\\PageIndex{6}\\: The Form \\B=UA\\, Revisited

Let \\A = \left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \\ 2 & 0 \end{array}\right$$\\. Using the process outlined in Theorem $\PageIndex{3}$, find \\U\\ such that \\B=UA\\.

###### Solution

First, set up the matrix \\\left$$ A \| I_m \right$$\\. \\\left$$ \begin{array}{rr\|rrr} 0 & 1 & 1 & 0 & 0 \\ 1 & 0 & 0 & 1 & 0 \\ 2 & 0 & 0 & 0 & 1 \end{array}\right$$\nonumber \\ Now, row reduce this matrix until the left side equals the reduced row-echelon form of \\A\\.

\\\begin{aligned} \left$$ \begin{array}{rr\|rrr} 0 & 1 & 1 & 0 & 0 \\ 1 & 0 & 0 & 1 & 0 \\ 2 & 0 & 0 & 0 & 1 \end{array}\right$$ &\rightarrow \left$$ \begin{array}{rr\|rrr} 1 & 0 & 0 & 1 & 0 \\ 0 & 1 & 1 & 0 & 0 \\ 2 & 0 & 0 & 0 & 1 \end{array}\right$$ \\ &\rightarrow \left$$ \begin{array}{rr\|rrr} 1 & 0 & 0 & 1 & 0 \\ 0 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & -2 & 1 \end{array}\right$$\end{aligned}\\

The left side of this matrix is \\B\\, and the right side is \\U\\. Comparing this to the matrix \\U\\ found above in Example $\PageIndex{5}$, you can see that the same matrix is obtained regardless of which process is used.

Recall from Algorithm 2.7.1 that an \\n \times n\\ matrix \\A\\ is invertible if and only if \\A\\ can be carried to the \\n \times n\\ identity matrix using the usual row operations. This leads to an important consequence related to the above discussion.

Suppose \\A\\ is an \\n \times n\\ invertible matrix. Then, set up the matrix \\\left$$ A \| I_n \right$$\\ as done above, and row reduce until it is of the form \\\left$$ B \| U \right$$\\. In this case, \\B = I_n\\ because \\A\\ is invertible.

\\\begin{aligned} B &= UA \\ I_n &=UA \\ U^{-1} &= A \end{aligned}\\

Now suppose that \\U = E_1 E_2 \cdots E_k\\ where each \\E_i\\ is an elementary matrix representing a row operation used to carry \\A\\ to \\I\\. Then,

\\U^{-1} = \left( E_1 E_2 \cdots E_k \right) ^{-1} = E_k^{-1} \cdots E_2^{-1} E_1^{-1}\nonumber \\

Remember that if \\E_i\\ is an elementary matrix, so too is \\E_i^{-1}\\. It follows that

\\\begin{aligned} A&= U^{-1} \\ &= E_k^{-1} \cdots E_2^{-1} E_1^{-1}\end{aligned}\\

and \\A\\ can be written as a product of elementary matrices.

Theorem \\\PageIndex{4}\\: Product of Elementary Matrices

Let \\A\\ be an \\n \times n\\ matrix. Then \\A\\ is invertible if and only if it can be written as a product of elementary matrices.

Consider the following example.

Example \\\PageIndex{7}\\: Product of Elementary Matrices

Let \\A = \left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 1 & 0 \\ 0 & -2 & 1 \end{array} \right$$\\. Write \\A\\ as a product of elementary matrices.

###### Solution

We will use the process outlined in Theorem $\PageIndex{3}$ to write \\A\\ as a product of elementary matrices. We will set up the matrix \\\left$$ A \| I \right$$\\ and row reduce, recording each row operation as an elementary matrix.

First:

\\\left$$ \begin{array}{rrr\|rrr} 0 & 1 & 0 & 1 & 0 & 0 \\ 1 & 1 & 0 & 0 & 1 & 0 \\ 0 & -2 & 1 & 0 & 0 & 1 \end{array} \right$$ \rightarrow \left$$ \begin{array}{rrr\|rrr} 1 & 1 & 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 & 0 \\ 0 & -2 & 1 & 0 & 0 & 1 \end{array} \right$$ \nonumber\\

represented by the elementary matrix \\E_1= \left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array} \right$$\\.

Secondly:

\\\left$$ \begin{array}{rrr\|rrr} 1 & 1 & 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 & 0 \\ 0 & -2 & 1 & 0 & 0 & 1 \end{array} \right$$ \rightarrow \left$$ \begin{array}{rrr\|rrr} 1 & 0 & 0 & -1 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 & 0 \\ 0 & -2 & 1 & 0 & 0 & 1 \end{array} \right$$ \nonumber\\

represented by the elementary matrix \\E_2 = \left$$ \begin{array}{rrr} 1 & -1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right$$\\.

Finally:

\\\left$$ \begin{array}{rrr\|rrr} 1 & 0& 0 & -1 & 1 & 0 \\ 0 & 1 & 0 & 1 & 0 & 0 \\ 0 & -2 & 1 & 0 & 0 & 1 \end{array} \right$$ \rightarrow \left$$ \begin{array}{rrr\|rrr} 1 & 0 & 0 &-1 & 1 & 0\\ 0 & 1 & 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 2 & 0 & 1 \end{array} \right$$ \nonumber\\

represented by the elementary matrix \\E_3= \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 2 & 1 \end{array} \right$$\\.

Notice that the reduced row-echelon form of \\A\\ is \\I\\. Hence \\I = UA\\ where \\U\\ is the product of the above elementary matrices. It follows that \\A = U^{-1}\\. Since we want to write \\A\\ as a product of elementary matrices, we wish to express \\U^{-1}\\ as a product of elementary matrices. 

\\\begin{aligned} U^{-1} &= \left( E_3 E_2 E_1 \right)^{-1}\\$$6px$$ &= E_1^{-1} E_2^{-1} E_3^{-1} \\$$6px$$ &= \left$$ \begin{array}{rrr} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & -2 & 1 \end{array} \right$$ \\ &= A\end{aligned}\\

This gives \\A\\ written as a product of elementary matrices. By Theorem $\PageIndex{4}$ it follows that \\A\\ is invertible.

---

2_09_3A_More_on_Matrix_Inverses

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.09%3A_More_on_Matrix_Inverses

Skip to main content

In this section, we will prove three theorems which will clarify the concept of matrix inverses. In order to do this, first recall some important properties of elementary matrices.

Recall that an elementary matrix is a square matrix obtained by performing an elementary operation on an identity matrix. Each elementary matrix is invertible, and its inverse is also an elementary matrix. If \\E\\ is an \\m \times m\\ elementary matrix and \\A\\ is an \\m \times n\\ matrix, then the product \\EA\\ is the result of applying to \\A\\ the same elementary row operation that was applied to the \\m \times m\\ identity matrix in order to obtain \\E\\.

Let \\R\\ be the reduced row-echelon form of an \\m \times n\\ matrix \\A\\. \\R\\ is obtained by iteratively applying a sequence of elementary row operations to \\A\\. Denote by \\E_1, E_2, \cdots, E_k\\ the elementary matrices associated with the elementary row operations which were applied, in order, to the matrix \\A\\ to obtain the resulting \\R\\. We then have that \\R = \left( E_k \cdots \left( E_2 \left( E_1A \right) \right)\right) = E_k \cdots E_2E_1A\\. Let \\E\\ denote the product matrix \\E_k \cdots E_2E_1\\ so that we can write \\R=EA\\ where \\E\\ is an invertible matrix whose inverse is the product \$E_1)^{-1}(E_2)^{-1} \cdots (E_k)^{-1}\\.

Now, we will consider some preliminary lemmas.

Lemma \\\PageIndex{1}\\: Invertible Matrix and Zeros

Suppose that \\A\\ and \\B\\ are matrices such that the product \\AB\\ is an identity matrix. Then the reduced row-echelon form of \\A\\ does not have a row of zeros.

Proof

Let \\R\\ be the reduced row-echelon form of \\A\\. Then \\R=EA\\ for some invertible square matrix \\E\\ as described above. By hypothesis \\AB=I\\ where \\I\\ is an identity matrix, so we have a chain of equalities \\R(BE^{-1}) = (EA)(BE^{-1}) = E(AB)E^{-1} = EIE^{-1} = EE^{-1} = I\nonumber \\ If \\R\\ would have a row of zeros, then so would the product \\R(BE^{-1})\\. But since the identity matrix \\I\\ does not have a row of zeros, neither can \\R\\ have one.

We now consider a second important lemma.

Lemma \\\PageIndex{2}\\: Size of Invertible Matrix

Suppose that \\A\\ and \\B\\ are matrices such that the product \\AB\\ is an identity matrix. Then \\A\\ has at least as many columns as it has rows.

Proof

Let \\R\\ be the reduced row-echelon form of \\A\\. By Lemma $\PageIndex{1}$, we know that \\R\\ does not have a row of zeros, and therefore each row of \\R\\ has a leading \\1\\. Since each column of \\R\\ contains at most one of these leading \\1\\s, \\R\\ must have at least as many columns as it has rows.

An important theorem follows from this lemma.

Theorem \\\PageIndex{1}\\: Invertible Matrices are Square

Only square matrices can be invertible.

Proof

Suppose that \\A\\ and \\B\\ are matrices such that both products \\AB\\ and \\BA\\ are identity matrices. We will show that \\A\\ and \\B\\ must be square matrices of the same size. Let the matrix \\A\\ have \\m\\ rows and \\n\\ columns, so that \\A\\ is an \\m \times n\\ matrix. Since the product \\AB\\ exists, \\B\\ must have \\n\\ rows, and since the product \\BA\\ exists, \\B\\ must have \\m\\ columns so that \\B\\ is an \\n \times m\\ matrix. To finish the proof, we need only verify that \\m=n\\.

We first apply Lemma $\PageIndex{2}$ with \\A\\ and \\B\\, to obtain the inequality \\m \leq n\\. We then apply Lemma $\PageIndex{2}$ again (switching the order of the matrices), to obtain the inequality \\n \leq m\\. It follows that \\m=n\\, as we wanted.

Of course, not all square matrices are invertible. In particular, zero matrices are not invertible, along with many other square matrices.

The following proposition will be useful in proving the next theorem.

Proposition \\\PageIndex{1}\\: Reduced Row-Echelon Form of a Square Matrix

If \\R\\ is the reduced row-echelon form of a square matrix, then either \\R\\ has a row of zeros or \\R\\ is an identity matrix.

The proof of this proposition is left as an exercise to the reader. We now consider the second important theorem of this section.

Theorem \\\PageIndex{2}\\: Unique Inverse of a Matrix

Suppose \\A\\ and \\B\\ are square matrices such that \\AB=I\\ where \\I\\ is an identity matrix. Then it follows that \\BA=I\\. Further, both \\A\\ and \\B\\ are invertible and \\B=A^{-1}\\ and \\A=B^{-1}\\.

Proof

Let \\R\\ be the reduced row-echelon form of a square matrix \\A\\. Then, \\R=EA\\ where \\E\\ is an invertible matrix. Since \\AB=I\\, Lemma $\PageIndex{1}$ gives us that \\R\\ does not have a row of zeros. By noting that \\R\\ is a square matrix and applying Proposition $\PageIndex{1}$, we see that \\R=I\\. Hence, \\EA=I\\.

Using both that \\EA=I\\ and \\AB=I\\, we can finish the proof with a chain of equalities as given by \\\begin{aligned} BA = IBIA &= (EA)B(E^{-1}E)A \\ &= E(AB)E^{-1}(EA) \\ &= EIE^{-1}I \\ &= EE^{-1} = I\end{aligned}\\

It follows from the definition of the inverse of a matrix that \\B=A^{-1}\\ and \\A=B^{-1}\\.

This theorem is very useful, since with it we need only test one of the products \\AB\\ or \\BA\\ in order to check that \\B\\ is the inverse of \\A\\. The hypothesis that \\A\\ and \\B\\ are square matrices is very important, and without this the theorem does not hold.

We will now consider an example.

Example \\\PageIndex{1}\\: Non Square Matrices

Let \\A = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{array} \right$$,\nonumber \\ Show that \\A^{T}A = I\\ but \\AA^{T} \neq 0\\.

###### Solution

Consider the product \\A^{T}A\\ given by \\\left$$ \begin{array}{rrr} 1 & 0 & 0\\ 0 & 1 & 0 \end{array} \right$$ \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{array} \right$$ = \left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \end{array} \right$$\\ Therefore, \\A^{T}A = I_2\\, where \\I_2\\ is the \\2 \times 2\\ identity matrix. However, the product \\AA^{T}\\ is \\\left$$ \begin{array}{rr} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 0 & 0\\ 0 & 1 & 0 \end{array} \right$$ = \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{array} \right$$\\ Hence \\AA^{T}\\ is not the \\3 \times 3\\ identity matrix. This shows that for Theorem $\PageIndex{2}$, it is essential that both matrices be square and of the same size.

Is it possible to have matrices \\A\\ and \\B\\ such that \\AB=I\\, while \\BA=0\\? This question is left to the reader to answer, and you should take a moment to consider the answer.

We conclude this section with an important theorem.

Theorem \\\PageIndex{3}\\: The reduced row-echelon form of an Invertible Matrix

For any matrix \\A\\ the following conditions are equivalent:

Proof

In order to prove this, we show that for any given matrix \\A\\, each condition implies the other. We first show that if \\A\\ is invertible, then its reduced row-echelon form is an identity matrix, then we show that if the reduced row-echelon form of \\A\\ is an identity matrix, then \\A\\ is invertible.

If \\A\\ is invertible, there is some matrix \\B\\ such that \\AB = I\\. By Lemma $\PageIndex{1}$, we get that the of \\A\\ does not have a row of zeros. Then by Theorem $\PageIndex{1}$, it follows that \\A\\ and the reduced row-echelon form of \\A\\ are square matrices. Finally, by Proposition $\PageIndex{1}$, this reduced row-echelon form of \\A\\ must be an identity matrix. This proves the first implication.

Now suppose the reduced row-echelon form of \\A\\ is an identity matrix \\I\\. Then \\I=EA\\ for some product \\E\\ of elementary matrices. By Theorem $\PageIndex{2}$, we can conclude that \\A\\ is invertible.

Theorem $\PageIndex{3}$ corresponds to Algorithm 2.7.1, which claims that \\A^{-1}\\ is found by row reducing the augmented matrix \\\left$$ A\|I\right$$\\ to the form \\\left$$ I\|A^{-1}\right$$\\. This will be a matrix product \\E\left$$ A\|I\right$$\\ where \\E\\ is a product of elementary matrices. By the rules of matrix multiplication, we have that \\E\left$$ A\|I\right$$ = \left$$ EA\|EI\right$$ = \left$$ EA\|E\right$$\\.

It follows that the reduced row-echelon form of \\\left$$ A\|I\right$$\\ is \\\left$$ EA\|E\right$$\\, where \\EA\\ gives the reduced row-echelon form of \\A\\. By Theorem $\PageIndex{3}$, if \\EA \neq I\\, then \\A\\ is not invertible, and if \\EA=I\\, \\A\\ is invertible. If \\EA=I\\, then by Theorem $\PageIndex{2}$, \\E=A^{-1}\\. This proves that Algorithm 2.7.1 does in fact find \\A^{-1}\\.

---

2_10_3A_LU_Factorization

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.10%3A_LU_Factorization

Skip to main content

An \\LU\\ factorization of a matrix involves writing the given matrix as the product of a lower triangular matrix \\L\\ which has the main diagonal consisting entirely of ones, and an upper triangular matrix \\U\\ in the indicated order. This is the version discussed here but it is sometimes the case that the \\L\\ has numbers other than 1 down the main diagonal. It is still a useful concept. The \\L\\ goes with “lower” and the \\U\\ with “upper”.

It turns out many matrices can be written in this way and when this is possible, people get excited about slick ways of solving the system of equations, \\AX=B\\. It is for this reason that you want to study the \\LU\\ factorization. It allows you to work only with triangular matrices. It turns out that it takes about half as many operations to obtain an \\LU\\ factorization as it does to find the row reduced echelon form.

First it should be noted not all matrices have an \\LU\\ factorization and so we will emphasize the techniques for achieving it rather than formal proofs.

##### Example \\\PageIndex{1}\\: A Matrix with NO \\LU\\ factorization

Can you write \\\left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$\\ in the form \\LU\\ as just described?

###### Solution

To do so you would need \\\left$$ \begin{array}{rr} 1 & 0 \\ x & 1 \end{array} \right$$ \left$$ \begin{array}{rr} a & b \\ 0 & c \end{array} \right$$ = \\ \left$$ \begin{array}{cc} a & b \\ xa & xb+c \end{array} \right$$ =\left$$ \begin{array}{rr} 0 & 1 \\ 1 & 0 \end{array} \right$$ .\nonumber \\

Therefore, \\b=1\\ and \\a=0.\\ Also, from the bottom rows, \\xa=1\\ which can’t happen and have \\a=0.\\ Therefore, you can’t write this matrix in the form \\% LU.\\ It has no \\LU\\ factorization. This is what we mean above by saying the method lacks generality.

Nevertheless the method is often extremely useful, and we will describe below one the many methods used to produce an \\LU\\ factorization when possible.

Finding An \\LU\\ Factorization By Inspection

Which matrices have an \\LU\\ factorization? It turns out it is those whose row-echelon form can be achieved without switching rows. In other words matrices which only involve using row operations of type 2 or 3 to obtain the row-echelon form.

##### Example \\\PageIndex{2}\\: An \\LU\\ factorization

Find an \\LU\\ factorization of \\A=\left$$ \begin{array}{cccc} 1 & 2 & 0 & 2 \\ 1 & 3 & 2 & 1 \\ 2 & 3 & 4 & 0 \end{array} \right$$ .\\

###### Solution

One way to find the \\LU\\ factorization is to simply look for it directly. You need

\\\left$$ \begin{array}{cccc} 1 & 2 & 0 & 2 \\ 1 & 3 & 2 & 1 \\ 2 & 3 & 4 & 0 \end{array} \right$$ =\left$$ \begin{array}{ccc} 1 & 0 & 0 \\ x & 1 & 0 \\ y & z & 1 \end{array} \right$$ \left$$ \begin{array}{cccc} a & d & h & j \\ 0 & b & e & i \\ 0 & 0 & c & f \end{array} \right$$ .\nonumber \\

Then multiplying these you get \\ \\ \left$$ \begin{array}{cccc} a & d & h & j \\ xa & xd+b & xh+e & xj+i \\ ya & yd+zb & yh+ze+c & yj+iz+f \end{array} \right$$\nonumber \\ and so you can now tell what the various quantities equal. From the first column, you need \\a=1,x=1,y=2.\\ Now go to the second column. You need \\d=2,xd+b=3\\ so \\b=1,yd+zb=3\\ so \\z=-1.\\ From the third column, \\h=0,e=2,c=6.\\ Now from the fourth column, \\j=2,i=-1,f=-5.\\ Therefore, an \\LU\\ factorization is \\\left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 1 & 1 & 0 \\ 2 & -1 & 1 \end{array} \right$$ \left$$ \begin{array}{rrrr} 1 & 2 & 0 & 2 \\ 0 & 1 & 2 & -1 \\ 0 & 0 & 6 & -5 \end{array} \right$$ \nonumber .\\ You can check whether you got it right by simply multiplying these two.

\\LU\\ Factorization, Multiplier Method

Remember that for a matrix \\A\\ to be written in the form \\A=LU\\, you must be able to reduce it to its row-echelon form without interchanging rows. The following method gives a process for calculating the \\LU\\ factorization of such a matrix \\A\\.

##### Example \\\PageIndex{3}\\: \\LU\\ factorization

Find an \\LU\\ factorization for \\\left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 3 & 1 \\ -2 & 3 & -2 \end{array} \right$$\nonumber \\

###### Solution

Write the matrix as the following product. \\\left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 2 & 3 & 1 \\ -2 & 3 & -2 \end{array} \right$$\nonumber \\

In the matrix on the right, begin with the left row and zero out the entries below the top using the row operation which involves adding a multiple of a row to another row. You do this and also update the matrix on the left so that the product will be unchanged. Here is the first step. Take \\-2\\ times the top row and add to the second. Then take \\2\\ times the top row and add to the second in the matrix on the left. \\\left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 0 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -1 & -5 \\ -2 & 3 & -2 \end{array} \right$$\nonumber \\ The next step is to take \\2\\ times the top row and add to the bottom in the matrix on the right. To ensure that the product is unchanged, you place a \\% -2\\ in the bottom left in the matrix on the left. Thus the next step yields \\\left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -2 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -1 & -5 \\ 0 & 7 & 4 \end{array} \right$$\nonumber \\ Next take \\7\\ times the middle row on right and add to bottom row. Updating the matrix on the left in a similar manner to what was done earlier, \\\left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -2 & -7 & 1 \end{array} \right$$ \left$$ \begin{array}{rrr} 1 & 2 & 3 \\ 0 & -1 & -5 \\ 0 & 0 & -31 \end{array} \right$$\nonumber \\ At this point, stop. You are done.

The method just described is called the multiplier method.

Solving Systems using \\LU\\ Factorization

One reason people care about the \\LU\\ factorization is it allows the quick solution of systems of equations. Here is an example.

##### Example \\\PageIndex{4}\\: \\LU\\ factorization to Solve Equations

Suppose you want to find the solutions to \\\left$$ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 4 & 3 & 1 & 1 \\ 1 & 2 & 3 & 0 \end{array} \right$$ \left$$ \begin{array}{c} x \\ y \\ z \\ w \end{array} \right$$ =\left$$ \begin{array}{c} 1 \\ 2 \\ 3 \end{array} \right$$ .\nonumber \\

###### Solution

Of course one way is to write the augmented matrix and grind away. However, this involves more row operations than the computation of the \\LU\\ factorization and it turns out that the \\LU\\ factorization can give the solution quickly. Here is how. The following is an \\LU\\ factorization for the matrix. \\\left$$ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 4 & 3 & 1 & 1 \\ 1 & 2 & 3 & 0 \end{array} \right$$ \\ = \\ \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 4 & 1 & 0 \\ 1 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 0 & -5 & -11 & -7 \\ 0 & 0 & 0 & -2 \end{array} \right$$ .\nonumber\\

Let \\UX=Y\\ and consider \\LY=B\\ where in this case, \\B=\left$$ 1,2,3\right$$ ^{T}\\. Thus \\ \\ \left$$ \begin{array}{rrr} 1 & 0 & 0 \\ 4 & 1 & 0 \\ 1 & 0 & 1 \end{array} \right$$ \left$$ \begin{array}{c} y\_{1} \\ y\_{2} \\ y\_{3} \end{array} \right$$ =\left$$ \begin{array}{c} 1 \\ 2 \\ 3 \end{array} \right$$\nonumber \\ which yields very quickly that \\Y=\left$$ \begin{array}{r} 1 \\ -2 \\ 2 \end{array} \right$$ \\ .\\

Now you can find \\X\\ by solving \\UX=Y\\. Thus in this case, \\\left$$ \begin{array}{rrrr} 1 & 2 & 3 & 2 \\ 0 & -5 & -11 & -7 \\ 0 & 0 & 0 & -2 \end{array} \right$$ \left$$ \begin{array}{c} x \\ y \\ z \\ w \end{array} \right$$ =\left$$ \begin{array}{r} 1 \\ -2 \\ 2 \end{array} \right$$\nonumber \\ which yields \\X=\left$$ \begin{array}{c} - \frac{3}{5}+\frac{7}{5}t \\ \frac{9}{5}-\frac{11}{5}t \\ t \\ -1 \end{array} \right$$ ,\enspace t\in \mathbb{R}\text{.}\nonumber \\

Justification for the Multiplier Method

Why does the multiplier method work for finding the \\LU\\ factorization? Suppose \\A\\ is a matrix which has the property that the row-echelon form for \\A\\ may be achieved without switching rows. Thus every row which is replaced using this row operation in obtaining the row-echelon form may be modified by using a row which is above it.

##### Lemma \\\PageIndex{1}\\: Multiplier Method and Triangular Matrices

Let \\L\\ be a lower (upper) triangular matrix \\m\times m\\ which has ones down the main diagonal. Then \\L^{-1}\\ also is a lower (upper) triangular matrix which has ones down the main diagonal. In the case that \\L\\ is of the form \\L=\left$$ \begin{array}{cccc} 1 & & & \\ a\_{1} & 1 & & \\ \vdots & & \ddots & \\ a\_{n} & & & 1 \end{array} \right$$ \label{4nove1h}\\ where all entries are zero except for the left column and main diagonal, it is also the case that \\L^{-1}\\ is obtained from \\L\\ by simply multiplying each entry below the main diagonal in \\L\\ with \\-1\\. The same is true if the single nonzero column is in another position.

Proof

Consider the usual setup for finding the inverse \\\left$$ \begin{array}{cc} L & I \end{array} \right$$ .\\ Then each row operation done to \\L\\ to reduce to row reduced echelon form results in changing only the entries in \\I\\ below the main diagonal. In the special case of \\L\\ given in \\\eqref{4nove1h}\\ or the single nonzero column is in another position, multiplication by \\-1\\ as described in the lemma clearly results in \\L^{-1}\\.

For a simple illustration of the last claim, \\\left$$ \begin{array}{cccccc} 1 & 0 & 0 & 1 & 0 & 0 \\ 0 & 1 & 0 & 0 & 1 & 0 \\ 0 & a & 1 & 0 & 0 & 1 \end{array} \right$$ \rightarrow \left$$ \begin{array}{cccccc} 1 & 0 & 0 & 1 & 0 & 0 \\ 0 & 1 & 0 & 0 & 1 & 0 \\ 0 & 0 & 1 & 0 & -a & 1 \end{array} \right$$\nonumber \\

Now let \\A\\ be an \\m\times n\\ matrix, say \\A=\left$$ \begin{array}{cccc} a\_{11} & a\_{12} & \cdots & a\_{1n} \\ a\_{21} & a\_{22} & \cdots & a\_{2n} \\ \vdots & \vdots & & \vdots \\ a\_{m1} & a\_{m2} & \cdots & a\_{mn} \end{array} \right$$\nonumber \\ and assume \\A\\ can be row reduced to an upper triangular form using only row operation 3. Thus, in particular, \\a\_{11}\neq 0\\. Multiply on the left by \\E\_{1}=\\ \\\left$$ \begin{array}{cccc} 1 & 0 & \cdots & 0 \\ - \frac{a\_{21}}{a\_{11}} & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ -\frac{a\_{m1}}{a\_{11}} & 0 & \cdots & 1 \end{array} \right$$\nonumber \\ This is the product of elementary matrices which make modifications in the first column only. It is equivalent to taking \\-a\_{21}/a\_{11}\\ times the first row and adding to the second. Then taking \\-a\_{31}/a\_{11}\\ times the first row and adding to the third and so forth. The quotients in the first column of the above matrix are the multipliers. Thus the result is of the form \\E\_{1}A=\left$$ \begin{array}{cccc} a\_{11} & a\_{12} & \cdots & a\_{1n}^{\prime } \\ 0 & a\_{22}^{\prime } & \cdots & a\_{2n}^{\prime } \\ \vdots & \vdots & & \vdots \\ 0 & a\_{m2}^{\prime } & \cdots & a\_{mn}^{\prime } \end{array} \right$$\nonumber \\ By assumption, \\a\_{22}^{\prime }\neq 0\\ and so it is possible to use this entry to zero out all the entries below it in the matrix on the right by multiplication by a matrix of the form \\E\_{2}=\left$$ \begin{array}{cc} 1 & \mathbf{0} \\ \mathbf{0} & E \end{array} \right$$\\ where \\E\\ is an \\\left$$ m-1\right$$ \times \left$$ m-1\right$$\\ matrix of the form \\E=\left$$ \begin{array}{cccc} 1 & 0 & \cdots & 0 \\ -\frac{a\_{32}^{\prime }}{a\_{22}^{\prime }} & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ -\frac{a\_{m2}^{\prime }}{a\_{22}^{\prime }} & 0 & \cdots & 1 \end{array} \right$$\nonumber \\ Again, the entries in the first column below the 1 are the multipliers. Continuing this way, zeroing out the entries below the diagonal entries, finally leads to \\E\_{m-1}E\_{n-2}\cdots E\_{1}A=U\nonumber \\ where \\U\\ is upper triangular. Each \\E\_{j}\\ has all ones down the main diagonal and is lower triangular. Now multiply both sides by the inverses of the \\E\_{j}\\ in the reverse order\\.\\ This yields \\A=E\_{1}^{-1}E\_{2}^{-1}\cdots E\_{m-1}^{-1}U\nonumber \\ By Lemma $\PageIndex{1}$, this implies that the product of those \\E\_{j}^{-1}\\ is a lower triangular matrix having all ones down the main diagonal.

The above discussion and lemma gives the justification for the multiplier method. The expressions \\\frac{-a\_{21}}{a\_{11}},\frac{-a\_{31}}{a\_{11}},\cdots, \frac{-a\_{m1}}{a\_{11}}\nonumber \\ denoted respectively by \\M\_{21},\cdots ,M\_{m1}\\ to save notation which were obtained in building \\E\_{1}\\ are the multipliers. Then according to the lemma, to find \\E\_{1}^{-1}\\ you simply write \\\left$$ \begin{array}{cccc} 1 & 0 & \cdots & 0 \\ -M\_{21} & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ -M\_{m1} & 0 & \cdots & 1 \end{array} \right$$\nonumber \\ Similar considerations apply to the other \\E\_{j}^{-1}.\\ Thus \\L\\ is a product of the form \\\left$$ \begin{array}{cccc} 1 & 0 & \cdots & 0 \\ -M\_{21} & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ -M\_{m1} & 0 & \cdots & 1 \end{array} \right$$ \cdots \left$$ \begin{array}{cccc} 1 & 0 & \cdots & 0 \\ 0 & 1 & \cdots & 0 \\ \vdots & 0 & \ddots & \vdots \\ 0 & \cdots & -M\_{m\left$$ m-1\right$$ } & 1 \end{array} \right$$\nonumber \\ each factor having at most one nonzero column, the position of which moves from left to right in scanning the above product of matrices from left to right. It follows from what we know about the effect of multiplying on the left by an elementary matrix that the above product is of the form \\\left$$ \begin{array}{ccccc} 1 & 0 & \cdots & 0 & 0 \\ -M\_{21} & 1 & \cdots & 0 & 0 \\ \vdots & -M\_{32} & \ddots & \vdots & \vdots \\ -M\_{\left$$ m-1\right$$ 1} & \vdots & \cdots & 1 & 0 \\ -M\_{m1} & -M\_{m2} & \cdots & -M\_{m\left$$m-1\right$$} & 1 \end{array} \right$$\nonumber \\

In words, beginning at the left column and moving toward the right, you simply insert, into the corresponding position in the identity matrix, \\-1\\ times the multiplier which was used to zero out an entry in that position below the main diagonal in \\A,\\ while retaining the main diagonal which consists entirely of ones. This is \\L.\\

---

2_E_3A_Exercises

> 来源: LibreTexts

> 原页: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/02%3A_Matrices/2.E%3A_Exercises

Skip to main content

##### 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 2.1.1, describe \\-A\\ and \\0.\\

Answer

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 2.1.1 and Proposition 2.1.2, show \\-A\\ is unique.

Answer

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

##### Exercise \\\PageIndex{6}\\

Using only the properties given in Proposition 2.1.1 and Proposition 2.1.2, show \\0\\ is unique.

Answer

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

##### Exercise \\\PageIndex{7}\\

Using only the properties given in Proposition 2.1.1 and Proposition 2.1.2 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.

Answer

\\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 2.1.1 and Proposition 2.1.2, as well as previous problems show \\\left( -1\right) A=-A.\\

Answer

\\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 \\\PageIndex{7}\\, 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 $$\\.

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\\

Answer

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{10}\\

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 $$\\

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\\

Answer

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{11}\\

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\\

Answer

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{12}\\

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

Answer

\\\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{13}\\

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.

Answer

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

##### Exercise \\\PageIndex{14}\\

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?

Answer

\\\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{15}\\

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?

Answer

\\\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{16}\\

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

Answer

Let \\A=\left$$\begin{array}{cc}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}{cc}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}{cc}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{17}\\

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{18}\\

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

Answer

Let \\A=\left$$\begin{array}{cc}1&-1 \\ -1&1\end{array}\right$$,\\ B=\left$$\begin{array}{cc}1&1\\1&1\end{array}\right$$\\. \\\left$$\begin{array}{cc}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$$\nonumber\\

##### Exercise \\\PageIndex{19}\\

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

##### Exercise \\\PageIndex{20}\\

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

Answer

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{21}\\

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}\nonumber \\ 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.

Answer

\\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{22}\\

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}\nonumber \\ 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.

Answer

\\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{23}\\

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}\nonumber \\ 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.

Answer

\\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{24}\\

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 $$\nonumber \\ and show that \\A\\ is idempotent.

2.3

##### Exercise \\\PageIndex{25}\\

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{26}\\

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}\\

Answer

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{27}\\

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 $$\\

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\\

Answer

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{28}\\

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{29}\\

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}\\.

Answer

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

##### Exercise \\\PageIndex{30}\\

Prove 3 from Lemma 2.5.1. 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}\nonumber \\

2.6

##### Exercise \\\PageIndex{31}\\

Prove that \\I\_{m}A=A\\ where \\A\\ is an \\m\times n\\ matrix.

Answer

\\\left( I\_{m}A\right) \_{ij}\equiv \sum\_{j}\delta \_{ik}A\_{kj}=A\_{ij}\\

##### Exercise \\\PageIndex{32}\\

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

Answer

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

##### Exercise \\\PageIndex{33}\\

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{34}\\

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

Answer

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

2.7

##### Exercise \\\PageIndex{35}\\

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

Answer

\\\left $$ \begin{array}{rr} 2 & 1 \\ -1 & 3 \end{array} \right $$^{-1}= \left $$ \begin{array}{rr} \frac{3}{7} & -\frac{1}{7} \\ \frac{1}{7} & \frac{2}{7} \end{array} \right $$\\

##### Exercise \\\PageIndex{36}\\

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

Answer

\\\left $$ \begin{array}{cc} 0 & 1 \\ 5 & 3 \end{array} \right $$^{-1}= \left $$ \begin{array}{cc} -\frac{3}{5} & \frac{1}{5} \\ 1 & 0 \end{array} \right $$\\

##### Exercise \\\PageIndex{37}\\

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

Answer

\\\left $$ \begin{array}{cc} 2 & 1 \\ 3 & 0 \end{array} \right $$^{-1}= \left $$ \begin{array}{cc} 0 & \frac{1}{3} \\ 1 & -\frac{2}{3} \end{array} \right $$\\

##### Exercise \\\PageIndex{38}\\

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

Answer

\\\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 & \frac{1}{2} \\ 0 & 0 \end{array} \right $$\\

##### Exercise \\\PageIndex{39}\\

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\\.

Answer

\\\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{40}\\

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

Answer

\\\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{41}\\

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

Answer

\\\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 & \frac{1}{3} & -\frac{2}{3} \\ 1 & 0 & -1 \end{array} \right $$\\

##### Exercise \\\PageIndex{42}\\

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

Answer

The reduced row-echelon form is \\\left $$ \begin{array}{ccc} 1 & 0 & \frac{5}{3} \\ 0 & 1 & \frac{2}{3} \\ 0 & 0 & 0 \end{array} \right $$\\. There is no inverse.

##### Exercise \\\PageIndex{43}\\

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 $$\nonumber \\ Find \\A^{-1}\\ if possible. If \\A^{-1}\\ does not exist, explain why.

Answer

\\\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 & \frac{1}{2} & \frac{1}{2} & \frac{1}{2} \\ 3 & \frac{1}{2} & - \frac{1}{2} & - \frac{5}{2} \\ -1 & 0 & 0 & 1 \\ -2 & - \frac{3}{4} & \frac{1}{4} & \frac{9}{4} \end{array} \right $$\\

##### Exercise \\\PageIndex{44}\\

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 $$\nonumber \\

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 $$\nonumber \\

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 $$\nonumber \\

##### Exercise \\\PageIndex{45}\\

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 $$\nonumber \\

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 $$\nonumber \\

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 $$\nonumber \\

Answer

1. \\\left $$ \begin{array}{c} x \\ y \\ z \end{array} \right $$ =\left $$ \begin{array}{c} 1 \\ -\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{46}\\

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\\.

Answer

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

##### Exercise \\\PageIndex{47}\\

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

Answer

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\nonumber \\

##### Exercise \\\PageIndex{48}\\ : 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}.\\

Answer

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

##### Exercise \\\PageIndex{49}\\

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}.\\

Answer

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{50}\\

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

Answer

\\\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{51}\\

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\nonumber \\ and \\\left( C^{-1}B^{-1}A^{-1}\right)\left( ABC\right) =I\nonumber \\ Hint: Use Problem $\PageIndex{48}$.

Answer

The proof of this exercise follows from the previous one.

##### Exercise \\\PageIndex{52}\\

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

Answer

\\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{53}\\

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

Answer

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

2.8

##### Exercise \\\PageIndex{54}\\

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{55}\\

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{56}\\

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{57}\\

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{58}\\

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{59}\\

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{60}\\

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{61}\\

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

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{62}\\

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

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{63}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{64}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{65}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{66}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{67}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{68}\\

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{69}\\

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 $$ .\\

Answer

\\\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 $$\nonumber \\

##### Exercise \\\PageIndex{70}\\

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}\nonumber \\

Answer

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 $$\nonumber \\ 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 $$\nonumber \\ 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 $$\nonumber \\ which says that \\y=4\\ and \\x=-3.\\

##### Exercise \\\PageIndex{71}\\

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}\nonumber \\

Answer

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 $$\nonumber \\ 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 $$\nonumber \\ 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 $$\nonumber \\ This yields \\z=6,y=-16,x=27.\\

##### Exercise \\\PageIndex{72}\\

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}\nonumber \\

##### Exercise \\\PageIndex{73}\\

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}\nonumber \\

Answer

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 $$\nonumber \\ 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 $$\nonumber \\ 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 $$\nonumber \\ 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{74}\\

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 $$ .\nonumber \\ Look for all possible \\LU\\ factorizations.

Answer

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 $$\nonumber \\

---

← 1 01 3A Geometry3 01 3A Basic Techniques →