3.6 Determinants

In Theorem 2 of Section 3.5 we saw that the 2×22×2 matrix

A=[abcd]
A=[acbd]

is invertible if and only if adbc0.adbc0. The number adbcadbc is called the determinant of the 2×22×2 matrix A. There are several common notations for determinants:

detA=det[abcd]=|abcd|=adbc.
detA=det[acbd]=acbd=adbc.
(1)

In particular, note the vertical bars that distinguish a determinant from a matrix. Sometimes we write det(A)det(A) to emphasize that (1) defines a function which associates a number |A||A| with each 2×22×2 matrix A.

Example 1

|3746|=(3)(6)(4)(7)=46
3476=(3)(6)(4)(7)=46

Determinants are often used in elementary algebra to solve a 2×22×2 system of the form

a11x+a12y=b1a21x+a22y=b2.
a11x+a12ya21x+a22y==b1b2.
(2)

It follows from Theorems 2 and 7 in Section 3.5 that this system has a unique solution if and only if its coefficient determinant—the determinant of its coefficient matrix A—is nonzero:

detA=|a11a12a21a22|0.
detA=a11a21a12a220.
(3)

Then Cramer’s rule says that this unique solution is given by

x=|b1a12b2a22||a11a12a21a22|,y=|a11b1a21b2||a11a12a21a22|.
x=b1b2a12a22a11a21a12a22,y=a11a21b1b2a11a21a12a22.
(4)

Thus Cramer’s rule gives each of x and y as a quotient of two determinants, the denominator in each case being the determinant of the coefficient matrix. In the numerator for x the coefficients a11a11 and a21a21 of x are replaced with the right-side coefficients b1b1 and b2,b2, whereas in the numerator for y the coefficients of y are replaced with b1b1 and b2b2.

The proof of Cramer’s rule is a routine calculation—to verify that evaluation of the determinant in (4) gives the same expressions for x and y as are obtained by solution of (2) by the method of elimination.

Example 2

To apply Cramer’s rule to solve the system

7x+8y=56x+9y=4
7x+8y6x+9y==54

with coefficient determinant

|7869|=15,
7689=15,

we simply substitute in the equations in (4) to get

x=|5849|15=1315,y=|7564|15=215.
x=548915=1315,y=765415=215.

Higher-Order Determinants

We define 3×33×3 determinants in terms of 2×22×2 determinants, 4×44×4 determinants in terms of 3×33×3 determinants, and so on. This type of definition—one dimension at a time, with the definition in each dimension depending on its meaning in lower dimensions—is called an inductive definition.

The determinant detA=|aij|detA=|aij| of a 3×33×3 matrix A=[aij]A=[aij] is defined as follows:

|a11a12a13a21a22a23a31a32a33|=a11|a22a23a32a33|a12|a21a23a31a33|+a13|a21a22a31a32|.
a11a21a31a12a22a32a13a23a33=a11a22a32a23a33a12a21a31a23a33+a13a21a31a22a32.
(5)

Note the single minus sign on the right-hand side. The three 2×22×2 determinants in (5) are multiplied by the elements a11, a12,a11, a12, and a13a13 along the first row of the matrix A. Each of these elements a1ja1j is multiplied by the determinant of the 2×22×2 submatrix of A that remains after the row and column containing a1ja1j are deleted.

Example 3

|523401312|=(5)|0112|(2)|4132|+(3)|4031|=(5)(1)+(2)(5)(3)(4)=27
543201312==(5)0112(2)4312+(3)4301(5)(1)+(2)(5)(3)(4)=27

The definition of higher-order determinants is simplified by the following notation and terminology.

For example, the minor of a12a12 in a 3×33×3 matrix is

The minor of a32a32 in a 4×44×4 matrix is

According to Eq. (6), the cofactor AijAij is obtained by attaching the sign (1)i+j(1)i+j to the minor Mij.Mij. This sign is most easily remembered as the one that appears in the ijth position in checkerboard arrays such as

[+++++]and[++++++++].
+++++and++++++++.

Note that a plus sign always appears in the upper left corner and that the signs alternate horizontally and vertically. In the 4×44×4 case, for instance,

A11=+M11,A12=M12,A13=+M13,A14=M14,A21=M21,A22=+M22,A23=M23,A24=+M24,
A11A21==+M11,M21,A12A22==M12,+M22,A13A23==+M13,M23,A14A24==M14,+M24,

and so forth.

With this notation, the definition of 3×33×3 determinants in (5) can be rewritten as

detA=a11M11a12M12+a13M13=a11A11+a12A12+a13A13.
detA==a11M11a11A11+a12M12a12A12++a13M13a13A13.
(7)

The last formula is the cofactor expansion of det A along the first row of A. Its natural generalization yields the definition of the determinant of an n×nn×n matrix, under the inductive assumption that (n1)×(n1)(n1)×(n1) determinants have already been defined.

In numerical computations, it frequently is more convenient to work first with minors rather than with cofactors and then attach signs in accord with the checkerboard pattern illustrated previously. Note that determinants have been defined only for square matrices.

Example 4

To evaluate the determinant of

A=[2003010074356224],
A=2076014200323054,

we observe that there are only two nonzero terms in the cofactor expansion along the first row. We need not compute the cofactors of zeros, because they will be multiplied by zero in computing the determinant; hence

detA=+(2)|100435224|(3)|010743622|.
detA=+(2)142032054(3)076142032.

Each of the 3×33×3 determinants on the right-hand side has only a single nonzero term in its cofactor expansion along the first row, so

detA=(2)(1)|3524|+(3)(+1)|7362|=(2)(1210)+(3)(14+18)=92.
detA==(2)(1)3254+(3)(+1)7632(2)(1210)+(3)(14+18)=92.

Note that, if we could expand along the second row in Example 4, there would be only a single 3×33×3 determinant to evaluate. It is in fact true that a determinant can be evaluated by expansion along any row or column. The proof of the following theorem is included in Appendix B.

The formulas in (9) and (10) provide 2n different cofactor expansions of an n×nn×n determinant. For n=3,n=3, for instance, we have

detA=a11A11+a12A12+a13A13=a21A21+a22A22+a23A23=a31A31+a32A32+a33A33}row expansions=a11A11+a21A21+a31A31=a12A12+a22A22+a32A32=a13A13+a23A23+a33A33.}column expansions
detA===a11A11+a12A12+a13A13a21A21+a22A22+a23A23a31A31+a32A32+a33A33row expansions===a11A11+a21A21+a31A31a12A12+a22A22+a32A32a13A13+a23A23+a33A33.column expansions

In a specific example, we naturally attempt to choose the expansion that requires the least computational labor.

Example 5

To evaluate the determinant of

A=[760932450],
A=794635020,

we expand along the third column, because it has only a single nonzero entry. Thus

detA=(2)|7645|=(2)(3524)=22.
detA=(2)7465=(2)(3524)=22.

In addition to providing ways of evaluating determinants, the theorem on cofactor expansions is a valuable tool for investigating the general properties of determinants. For instance, it follows immediately from the formulas in (9) and (10) that, if the square matrix A has either an all-zero row or an all-zero column, then detA=0.detA=0. For example, by expanding along the second row we see immediately that

|173324000806241|=0.
170803306224041=0.

Row and Column Properties

We now list seven properties of determinants that simplify their computation. Each of these properties is readily verified directly in the case of 2×22×2 determinants. Just as our definition of n×nn×n determinants was inductive, the following discussion of Properties 1–7 of determinants is inductive. That is, we suppose that n3n3 and that these properties have already been verified for (n1)×(n1)(n1)×(n1) determinants.

Property 1: If the n×nn×n matrix B is obtained from A by multiplying a single row (or a column) of A by the constant k, then detB=kdetAdetB=kdetA.

For instance, if the ith row of A is multiplied by k, then the elements off the ith row of A are unchanged. Hence for each j=1,2,,n,j=1,2,,n, the ijth cofactors of A and B are equal: Aij=Bij.Aij=Bij. Therefore, expansion of B along the ith row gives

detB=(kai1)Bi1+(kai2)Bi2++(kain)Bin=k(ai1Ai1+ai2Ai2++ainAin),
detB==(kai1)Bi1+(kai2)Bi2++(kain)Bink(ai1Ai1+ai2Ai2++ainAin),

and thus detB=kdetAdetB=kdetA.

Property 1 implies simply that a constant can be factored out of a single row or column of a determinant. Thus we see that

|7151729651210|=(3)|75172365410|
7251591217610=(3)72553417610

by factoring 3 out of the second column.

Property 2: If the n×nn×n matrix B is obtained from A by interchanging two rows (or two columns), then detB=detAdetB=detA.

To see why this is so, suppose (for instance) that the first row is not one of the two that are interchanged (recall that n3n3). Then for each j=1,2,,n,j=1,2,,n, the cofactor B1jB1j is obtained by interchanging two rows of the cofactor A1j.A1j. Therefore, B1j=A1jB1j=A1j by Property 2 for (n1)×(n1)(n1)×(n1) determinants. Because b1j=a1jb1j=a1j for each j, it follows by expanding along the first row that

detB=b11B11+b12B12++b1nB1n=a11(A11)+a12(A12)++a1n(A1n)=(a11A11+a12A12++a1nA1n),
detB===b11B11+b12B12++b1nB1na11(A11)+a12(A12)++a1n(A1n)(a11A11+a12A12++a1nA1n),

and thus detB=detAdetB=detA.

Property 3: If two rows (or two columns) of the n×nn×n matrix A are identical, then detA=0detA=0.

To see why, let B denote the matrix obtained by interchanging the two identical rows of A. Then B=A,B=A, so detB=detA.detB=detA. But Property 2 implies that detB=detA.detB=detA. Thus detA=detA,detA=detA, and it follows immediately that detA=0detA=0.

Property 4: Suppose that the n×nn×n matrices A1, A2,A1, A2, and B are identical except for their ith rows—that is, the other n1n1 rows of the three matrices are identical—and that the ith row of B is the sum of the ith rows of A1A1 and A2.A2. Then

detB=detA1+detA2.
detB=detA1+detA2.

This result also holds if columns are involved instead of rows.

Property 4 is readily established by expanding B along its ith row. In Problem 45 we ask you to supply the details for a typical case. The main importance (at this point) of Property 4 is that it implies the following property relating determinants and elementary row operations.

Property 5: If the n×nn×n matrix B is obtained by adding a constant multiple of one row (or column) of A to another row (or column) of A, then detB=detAdetB=detA.

Thus the value of a determinant is not changed either by the type of elementary row operation described or by the corresponding type of elementary column operation. The following computation with 3×33×3 matrices illustrates the general proof of Property 5. Let

A=[a11a12a13a21a22a23a31a32a33]andB=[a11a12a13+ka11a21a22a23+ka21a31a32a33+ka31].
A=a11a21a31a12a22a32a13a23a33andB=a11a21a31a12a22a32a13+ka11a23+ka21a33+ka31.

So B is the result of adding k times the first column of A to its third column. Then

detB=|a11a12a13+ka11a21a22a23+ka21a31a32a33+ka31|=|a11a12a13a21a22a22a31a32a32|+k|a11a12a11a21a22a21a31a32a31|.
detB==a11a21a31a12a22a32a13+ka11a23+ka21a33+ka31a11a21a31a12a22a32a13a22a32+ka11a21a31a12a22a32a11a21a31.
(11)

Here we first applied Property 4 and then factored k out of the second summand with the aid of Property 1. Now the first determinant on the right-hand side in (11) is simply detA,detA, whereas the second determinant is zero (by Property 3—its first and third columns are identical). We therefore have shown that detB=detA,detB=detA, as desired.

Although we use only elementary row operations in reducing a matrix to echelon form, Properties 1, 2, and 5 imply that we may use both elementary row operations and the analogous elementary column operations in simplifying the evaluation of determinants.

Example 6

The matrix

A=[2341423101]
A=2133410421

has no zero elements to simplify the computation of its determinant as it stands, but we notice that we can “knock out” the first two elements of its third column by adding twice the first column to the third column. This gives

detA=|2341423101|=|2301403107|=(+7)|2314|=35.
detA=2133410421==2133410007(+7)2134=35.

The moral of the example is this: Evaluate determinants with your eyes open.

An upper triangular matrix is a square matrix having only zeros below its main diagonal. A lower triangular matrix is a square matrix having only zeros above its main diagonal. A triangular matrix is one that is either upper triangular or lower triangular, and thus looks like

[1610058007]or[100370465].
1006501087or134076005.

The next property tells us that determinants of triangular matrices are especially easy to evaluate.

Property 6: The determinant of a triangular matrix is equal to the product of its diagonal elements.

The reason is that the determinant of any triangular matrix can be evaluated as in the following computation:

|311920286005170004|=(3)|2860517004|=(3)(2)|51704|=(3)(2)(5)(4)=120.
300011200985026174==(3)2008506174(3)(2)50174=(3)(2)(5)(4)=120.

At each step we expand along the first column and pick up another diagonal element as a factor of the determinant.

Example 7

To evaluate

|2132154210|,
2241123510,

we first add the first row to the second and then subtract twice the first row from the third. This yields

|2132154210|=|213008004|=0.
2241123510=200100384=0.

because we produced a triangular matrix having a zero on its main diagonal. (Can you see an even quicker way to do it by keeping your eyes open?)

The Transpose of a Matrix

The transpose ATAT of a 2×22×2 matrix A is obtained by interchanging its off-diagonal elements:

IfA=[abcd]thenAT=[acbd].
IfA=[acbd]thenAT=[abcd].
(12)

More generally, the transpose of the m×nm×n matrix A=[aij]A=[aij] is the n×mn×m matrix ATAT defined by

AT=[aji].
AT=[aji].
(13)

Note the reversal of subscripts; this means that the element of ATAT in its jth row and ith column is the element of A in the ith row and the jth column of A. Hence the rows of the transpose ATAT are (in order) the columns of A, and the columns of ATAT are the rows of A. Thus we obtain ATAT by changing the rows of A into columns. For instance,

[205417]T=[240157]
[240157]T=205417

and

[726123504]T=[715220634].
715220634T=726123504.

If the matrix A is square, then we get ATAT by interchanging elements of A that are located symmetrically with respect to its main diagonal. Thus ATAT is the mirror reflection of A through its main diagonal.

In Problems 47 and 48 we ask you to verify the following properties of the transpose operation (under the assumption that A and B are matrices of appropriate sizes and c is a number):

  1. (AT)T=A(AT)T=A;

  2. (A+B)T=AT+BT(A+B)T=AT+BT;

  3. (cA)T=cAT(cA)T=cAT;

  4. (AB)T=BTAT(AB)T=BTAT.

Property 7: If A is a square matrix, then det(AT)=detAdet(AT)=detA.

This property of determinants can be verified by writing the cofactor expansion of det A along its first row and the cofactor expansion of det(AT)det(AT) along its first column. When this is done, we see that the two expansions are identical, because the rows of A are the columns of ATAT (as in Problem 49).

Determinants and Invertibility

We began this section with the remark that a 2×22×2 matrix A is invertible if and only if its determinant is nonzero: |A|0.|A|0. This result holds more generally for n×nn×n matrices.

This theorem (along with the others in this section) is proved in Appendix B. So now we can add the statement that detA0detA0 to the list of equivalent properties of nonsingular matrices stated in Theorem 7 of Section 3.5. Indeed, some texts define the square matrix A to be nonsingular if and only if detA0detA0.

Example 8

According to Problem 61, the determinant of the matrix

V=[1aa21bb21cc2]
V=111abca2b2c2

is

|V|=(ba)(ca)(cb).
|V|=(ba)(ca)(cb).

Note that |V|0|V|0 if and only if the three numbers a, b, and c are distinct. Hence it follows from Theorem 2 that V is invertible if and only if a, b, and c are distinct. For instance, with a=2, b=3,a=2, b=3, and c=4c=4 we see that the matrix

[1241391416]
1112344916

is invertible.

The connection between nonzero determinants and matrix invertibility is closely related to the fact that the determinant function “respects” matrix multiplication in the sense of the following theorem.

The fact that |AB|=|A||B||AB|=|A||B| seems so natural that we might fail to note that it is also quite remarkable. Contrast the simplicity of the equation |AB|=|A||B||AB|=|A||B| with the complexity of the seemingly unrelated definitions of determinants and matrix products. For another contrast, we can mention that |A+B||A+B| is generally not equal to |A|+|B|.|A|+|B|. (Pick a pair of 2×22×2 matrices and calculate their determinants and that of their sum.)

As a first application of Theorem 3, we can calculate the determinant of the inverse of an invertible matrix A:

AA1=I,
AA1=I,

so

|A||A1|=|AA1|=|I|=1,
AA1=AA1=I=1,

and therefore

|A1|=1|A|.
A1=1|A|.
(15)

Now |A|0|A|0 because A is invertible. Thus det(A1)det(A1) is the reciprocal of det A.

Example 9

The determinant of

A=[2220423104143131]
A=2403224123130141

happens to be |A|=3200.|A|=3200. Hence A is invertible, and without finding A1A1 we know from Eq. (15) that |A1|=1/320A1=1/320.

Cramer’s Rule for n×n Systems

Suppose that we need to solve the n×nn×n linear system

Ax=b,
Ax=b,
(16)

where

A=[aij],x=[x1x2xn],andb=[b1b2bn].
A=[aij],x=x1x2xn,andb=b1b2bn.

We assume that the coefficient matrix A is invertible, so we know in advance that a unique solution x of (16) exists. The question is how to write x explicitly in terms of the coefficients aijaij and the constants bi.bi. In the following discussion, we think of x as a fixed (though as yet unknown) vector.

If we denote by a1,a2,,ana1,a2,,an the column vectors of the n×nn×n matrix A, then

A=[a1a2an].
A=[a1a2an].

The desired formula for the ith unknown xixi involves the determinant of the matrix [a1ban][a1ban] that is obtained upon replacing the ith column aiai of A with the constant vector b.

For instance, the unique solution (x1,x2,x3)(x1,x2,x3) of the 3×33×3 system

a11x1+a12x2+a13x3=b1a21x1+a22x2+a23x3=b2a31x1+a32x2+a33x3=b3
a11x1+a12x2+a13x3a21x1+a22x2+a23x3a31x1+a32x2+a33x3===b1b2b3
(18)

with |A|=|aij|0|A|=|aij|0 is given by the formulas

x1=1|A||b1a12a13b2a22a23b3a32a33|,x2=1|A||a11b1a13a21b2a23a31b3a33|,x3=1|A||a11a12b1a21a22b2a31a32b3|.
x1x2x3===1|A|b1b2b3a12a22a32a13a23a33,1|A|a11a21a31b1b2b3a13a23a33,1|A|a11a21a31a12a22a32b1b2b3.
(19)

Example 10

Use Cramer’s rule to solve the system

x1+4x2+5x3=24x1+2x2+5x3=33x1+3x2x3=1.
x14x13x1+++4x22x23x2++5x35x3x3===231.

Solution

We find that

|A|=|145425331|=29;
A=143423551=29;

then the formulas in (19) yield

x1=129|245325131|=3329,x2=129|125435311|=3529,
x1x2==129231423551=3329,129143231551=3529,

and

x3=129|142423331|=2329.
x3=129143423231=2329.

Inverses and the Adjoint Matrix

The inverse A1A1 of the invertible n×nn×n matrix A can be found by solving the matrix equation

AX=I.
AX=I.
(20)

If we write the coefficient matrix A=[a1a2an],A=[a1a2an], the unknown matrix X=[x1x2xn],X=[x1x2xn], and the identity matrix I=[e1e2en]I=[e1e2en] in terms of their columns, then (20) says that

Axj=ej
Axj=ej
(21)

for j=1,2,,n.j=1,2,,n. Each of these n equations can then be solved explicitly using Cramer’s rule. In particular, Eq. (17) says that the ith element of the column matrix xjxj is given by

xij=|a1ai1ejai+1an||A|
xij=|a1ai1ejai+1an||A|
(22)

for i, j=1,2,,n.j=1,2,,n. When these results are assembled (Appendix B), we get an explicit formula for the inverse matrix.

We see in (23) the transpose of the cofactor matrix [Aij][Aij] of the n×nn×n matrix A. This transposed cofactor matrix is called the adjoint matrix of A and is denoted by

adj A=[Aij]T=[Aji].
adj A=[Aij]T=[Aji].
(24)

Example 11

Apply the formula in (23) to find the inverse of the matrix

A=[145425331]
A=143423551

of Example 10, in which we saw that |A|=29|A|=29.

Solution

First we calculate the cofactors of A, arranging our computations in a natural 3×33×3 array:

A11=+|2531|=17,A12=|4531|=11,A13=+|4233|=18,A21=|4531|=19,A22=+|1531|=14,A23=|1433|=15,A31=+|4525|=10,A32=|1545|=15,A33=+|1442|=14.
A11=+2351A21=4351A31=+4255===17,19,10,A12=4351A22=+1351A32=1455===11,14,15,A13=+4323A23=1343A33=+1442===18,15,14.

(Note the familiar checkerboard pattern of signs.) Thus the cofactor matrix of A is

[Aij]=[171118191415101514].
[Aij]=171910111415181514.

Next, we interchange rows and columns to obtain the adjoint matrix

adjA=[Aij]T=[171910111415181514].

Finally, in accord with Eq. (23), we divide by |A|=29 to get the inverse matrix

A1=129[171910111415181514].

Computational Efficiency

The amount of labor required to complete a numerical calculation is measured by the number of arithmetical operations it involves. So let us count just the number of multiplications required to evaluate an n×n determinant using cofactor expansions. If n=5, for instance, then the cofactor expansion along a row or column requires computations of five 4×4 determinants. A cofactor expansion of each of these five 4×4 determinants involves four 3×3 determinants. Each of these four 3×3 determinants leads to three 2×2 determinants, and finally each of these 2×2 determinants requires two multiplications for its evaluation. Hence the total number of multiplications required to evaluate the original 5×5 determinant is

5432=5!=120.

In general, the number of multiplications required to evaluate an n×n determinant completely by cofactor expansions is

n!=n(n1)321(n factorial).

Thus, if we ignore the smaller number of additions involved, then our operations count for an n×n determinant is n!. For instance, the evaluation of a 25×25 determinant by cofactor expansion would require about 25!1.55×1025 operations. If we used a supercomputer capable of a billion operations per second this task would require about (1.55×1016)/(365.25×24×3600)492 million years! This same supercomputer would require about 9.64×1047 years—incomparably longer than the estimated age of the universe (perhaps 20 billion years)—to evaluate a 50×50 determinant by cofactor expansion. Contemporary scientific and engineering applications routinely involve matrices of size 1000×1000 (or larger) whose cofactor expansions would require incomprehensibly long times with any conceivable computer.

However, a typical 2000-era desktop computer, using Matlab and performing “only” about 100 million operations per second, calculates the determinant or inverse of a randomly generated 100×100 matrix almost instantaneously. How is this possible? Obviously not by using cofactor expansions!

The answer is that determinants are much more efficiently calculated by Gaussian elimination—that is, by reduction to triangular form, so that only the product of the remaining diagonal elements need be calculated. Similarly, the inverse of the invertible matrix A is much more efficiently calculated by reduction of the augmented matrix [AI] to reduced echelon form (as in Section 3.5) than by use of Cramer’s rule (as in Theorem 5 here). A careful count reveals that the number of arithmetic operations required to reduce an n×n matrix to echelon form is of the order of n3 rather than n!. As indicated in the table of Fig. 3.6.1, n3 is dramatically smaller than n! if n is fairly large. Consequently, cofactor expansions of determinants and Cramer’s rule for the solution of systems are primarily of theoretical importance, and are seldom used in numerical problems where n is greater than 3 or 4.

FIGURE 3.6.1.

Approximate operations counts for evaluating an n×n determinant by Gaussian elimination (23n3) and by cofactor expansion (n!).

n 5 10 25 50 100
23n3 83 667 10,417 83,333 666,667
n! 120 3,628,800 1.55×1025 3.04×1064 9.33×10157

3.6 Problems

Use cofactor expansions to evaluate the determinants in Problems 1–6. Expand along the row or column that minimizes the amount of computation that is required.

  1. |003400050|

     

  2. |210121012|

     

  3. |10002050369840107|

     

  4. |5118732623000304017|

     

  5. |0010020000000300000405000|

     

  6. |3011502413650050076917700820|

In Problems 7–12, evaluate each given determinant after first simplifying the computation (as in Example 6) by adding an appropriate multiple of some row or column to another.

  1. |111222333|

     

  2. |234231327|

     

  3. |32505176412|

     

  4. |3651242512|

     

  5. |1234056700892469|

     

  6. |2003011112005134007|

Use the method of elimination to evaluate the determinants in Problems 13–20.

  1. |441122143|

     

  2. |422315543|

     

  3. |254531145|

     

  4. |242541421|

     

  5. |2331043321130432|

     

  6. |1441012233140132|

     

  7. |1003012023230333|

     

  8. |1211213301231424|

Use Cramer’s rule to solve the systems in Problems 21–32.

  1. 3x+4y=25x+7y=1

     

  2. 5x+8y=38x+13y=5

     

  3. 17x+7y=612x+5y=4

     

  4. 11x+15y=108x+11y=7

     

  5. 5x+6y=123x+4y=6

     

  6. 6x+7y=38x+9y=4

     

  7. 5x1+2x22x3=1x1+5x23x3=25x13x2+5x3=2

     

  8. 5x1+4x22x3=42x1+3x3=22x1x2+x3=1

     

  9. 3x1x25x3=34x14x23x3=4x15x3=2

     

  10. x1+4x2+2x3=34x1+2x2+x3=12x12x25x3=3

     

  11. 2x15x3=34x15x2+3x3=32x1+x2+x3=1

     

  12. 3x1+4x23x3=53x12x2+4x3=73x1+2x2x3=3

Apply Theorem 5 to find the inverse A1 of each matrix A given in Problems 33–40.

  1. [522153531]

     

  2. [203542211]

     

  3. [352234505]

     

  4. [443315105]

     

  5. [415245331]

     

  6. [343321324]

     

  7. [323032235]

     

  8. [243231503]

     

  9. Show that (AB)T=BTAT if A and B are arbitrary 2×2 matrices.

  10. Consider the 2×2 matrices

    A=[abcd]andB=[xy],

    where x and y denote the row vectors of B. Then the product AB can be written in the form

    AB=[ax+bycx+dy].

    Use this expression and the properties of determinants to show that

    detAB=(adbc)|xy|=(detA)(detB).

    Thus the determinant of a product of 2×2 matrices is equal to the product of their determinants.

Each of Problems 43–46 lists a special case of one of Property 1 through Property 5. Verify it by expanding the determinant on the left-hand side along an appropriate row or column.

  1. |ka11a12a13ka21a22a23ka31a32a33|=k|a11a12a13a21a22a23a31a32a33|

     

  2. |a21a22a23a11a12a13a31a32a33|=|a11a12a13a21a22a23a31a32a33|

     

  3. |a1b1c1+d1a2b2c2+d2a3b3c3+d3|=|a1b1c1a2b2c2a3b3c3|+|a1b1d1a2b2d2a3b3d3|

     

  4. |a11+ka12a12a13a21+ka22a22a23a31+ka32a32a33|=|a11a12a13a21a22a23a31a32a33|

Problems 47 through 49 develop properties of matrix transposes.

  1. Suppose that A and B are matrices of the same size. Show that: (a) (AT)T=A; (b) (cA)T=cAT; and (c) (A+B)T=AT+BT.

  2. Let A and B be matrices such that AB is defined. Show that (AB)T=BTAT. Begin by recalling that the ijth element of AB is obtained by multiplying elements in the ith row of A with those in the jth column of B. What is the ijth element of BTAT?

  3. Let A=[aij] be a 3×3 matrix. Show that det(AT)=detA by expanding det A along its first row and det(AT) along its first column.

  4. Suppose that A2=A. Prove that |A|=0 or |A|=1.

  5. Suppose that An=0 (the zero matrix) for some positive integer n. Prove that |A|=0.

  6. The square matrix A is called orthogonal provided that AT=A1. Show that the determinant of such a matrix must be either +1 or 1.

  7. The matrices A and B are said to be similar provided that A=P1BP for some invertible matrix P. Show that if A and B are similar, then |A|=|B|.

  8. Deduce from Theorems 2 and 3 that if A and B are n×n invertible matrices, then AB is invertible if and only if both A and B are invertible.

  9. Let A and B be n×n matrices. Suppose it is known that either AB=I or BA=I. Use the result of Problem 54 to conclude that B=A1.

  10. Let A be an n×n matrix with detA=1 and with all elements of A integers.

    1. Show that A1 has only integer entries.

    2. Suppose that b is an n-vector with only integer entries. Show that the solution vector x of Ax=b has only integer entries.

  11. Let A be a 3×3 upper triangular matrix with nonzero determinant. Show by explicit computation that A1 is also upper triangular.

  12. Figure 3.6.2 shows an acute triangle with angles A, B, and C and opposite sides a, b, and c. By dropping a perpendicular from each vertex to the opposite side, derive the equations

    ccosB+bcosC=accosA+acosC=bacosB+bcosA=c.

    Regarding these as linear equations in the unknowns cos A, cos B, and cos C, use Cramer’s rule to derive the law of cosines by solving for

    cosA=b2+c2a22bc.

    Thus

    a2=b2+c22bccosA.

    Note that the case A=π/2(90°) reduces to the Pythagorean theorem.

    FIGURE 3.6.2.

    The triangle of Problem 58.

  13. Show that

    |2112|=3and|210121012|=4.
  14. Consider the n×n determinant

    Bn=|210000121000012100000021000012|

    in which each entry on the main diagonal is a 2, each entry on the two adjacent diagonals is a 1, and every other entry is zero.

    1. Expand along the first row to show that

      Bn=2Bn1Bn2.
    2. Prove by induction on n that Bn=n+1 for n2.

Problems 61–64 deal with the Vandermonde determinant

V(x1,x2,,xn)=|1x1x21xn111x2x22xn121xnx2nxn1n|

that will play an important role in Section 3.7.

  1. Show by direct computation that V(a,b)=ba and that

    V(a,b,c)=|1aa21bb21cc2|=(ba)(ca)(cb).
  2. The formulas in Problem 61 are the cases n=2 and n=3 of the general formula

    V(x1,x2,,xn)=ni,j=1i>j(xixj).
    (25)

    The case n=4 is

    V(x1,x2,x3,x4)=(x2x1)(x3x1)(x3x2)×(x4x1)(x4x2)(x4x3).

    Prove this as follows. Given x1, x2, and x3, define the cubic polynomial P(y) to be

    P(y)=|1x1x21x311x2x22x321x3x23x331yy2y3|.
    (26)

    Because P(x1)=P(x2)=P(x3)=0 (why?), the roots of P(y) are x1, x2, and x3. It follows that

    P(y)=k(yx1)(yx2)(yx3),

    where k is the coefficient of y3 in P(y). Finally, observe that expansion of the 4×4 determinant in (26) along its last row gives k=V(x1,x2,x3) and that V(x1,x2,x3,x4)=P(x4).

  3. Generalize the argument in Problem 62 to prove the formula in (25) by induction on n. Begin with the (n1)st-degree polynomial

    P(y)=|1x1x21xn111x2x22xn121xn1x2n1xn1n11yy2yn1|.
  4. Use the formula in (25) to evaluate the two determinants given next.

    1. |1111124813927141664|

    2. |11111248124813927|

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.137.169