Docsity

Geometric Interpretation and Properties of Determinants in Linear Algebra, Slides of Linear Algebra

Toggle sidebar
bg1
4 Determinant. Properties
Let me start with a system of two linear equation:
a11x1+a12x2=b1,
a21x1+a22x2=b2.
I multiply the first equation by a22, second by a12 and subtract the second one from the first one. I
get
x1(a11a22 −a21a12 ) = b1a22 −b2a12.
Now I multiply the second equation by a11, first by a21, and subtract the first one from the second
one:
x2(a11a22 −a21a12 ) = a11b2−a21 b1.
Assuming that a11a22 −a21a12 = 0 I get the solution
x1=b1a22 −b2a12
a11a22 −a21a12
,
x2=a11b2−a21b1
a11a22 −a21a12
.
The expressions in numerator and denominator have certain symmetry and I am tempted to introduce
a definition for such objects. Namely, I define the determinant of a 2 ×2 matrix A= [aij ] as
det A= det [a11 a12
a21 a22]=
a11 a12
a21 a22
=a11a22 −a12a21 .
Then, if I also introduce the matrices
B1=[b1a12
b2a22],B2=[a11 b1
a21 b2],
then I can rewrite my solution in the following elegant form
x1=det B1
det A, x2=det B2
det A.
It turns out that it is also possible to define the determinant for square matrices of an arbitrary
size but any definition by a formula does not really look motivated (in part, due to the reasons that all
the general formulas for the determinant of an arbitrary size square matrix look really complicated),
and this served in part as a reason to abandon determinants from courses of linear algebra. On the
other hand determinants are indispensable for many theoretical concepts in mathematics and basically
unavoidable1. Hence, as a compromise, I will introduce the determinant by its properties and only
after it I will present several (not extremely useful computationally) formulas for the determinant.
Math 329: Intermediate Linear Algebra by Artem Novozhilov c
e-mail: [email protected]. Spring 2017
1It is impossible, for example, to learn how to make a change of variables in multiple integral without some basic
understanding of determinants
1
pf3
pf4
pf5

Partial preview of the text

Download Geometric Interpretation and Properties of Determinants in Linear Algebra and more Slides Linear Algebra in PDF only on Docsity!

4 Determinant. Properties

Let me start with a system of two linear equation:

a 11 x 1 + a 12 x 2 = b 1 , a 21 x 1 + a 22 x 2 = b 2.

I multiply the first equation by a 22 , second by a 12 and subtract the second one from the first one. I get x 1 (a 11 a 22 − a 21 a 12 ) = b 1 a 22 − b 2 a 12.

Now I multiply the second equation by a 11 , first by a 21 , and subtract the first one from the second one: x 2 (a 11 a 22 − a 21 a 12 ) = a 11 b 2 − a 21 b 1.

Assuming that a 11 a 22 − a 21 a 12 ̸= 0 I get the solution

x 1 = b 1 a 22 − b 2 a 12 a 11 a 22 − a 21 a 12

x 2 = a 11 b 2 − a 21 b 1 a 11 a 22 − a 21 a 12

The expressions in numerator and denominator have certain symmetry and I am tempted to introduce a definition for such objects. Namely, I define the determinant of a 2 × 2 matrix A = [aij ] as

det A = det

[

a 11 a 12 a 21 a 22

]

a 11 a 12 a 21 a 22 = a 11 a 22 − a 12 a 21.

Then, if I also introduce the matrices

B 1 =

[

b 1 a 12 b 2 a 22

]

, B 2 =

[

a 11 b 1 a 21 b 2

]

then I can rewrite my solution in the following elegant form

x 1 =

det B 1 det A , x 2 =

det B 2 det A

It turns out that it is also possible to define the determinant for square matrices of an arbitrary size but any definition by a formula does not really look motivated (in part, due to the reasons that all the general formulas for the determinant of an arbitrary size square matrix look really complicated), and this served in part as a reason to abandon determinants from courses of linear algebra. On the other hand determinants are indispensable for many theoretical concepts in mathematics and basically unavoidable^1. Hence, as a compromise, I will introduce the determinant by its properties and only after it I will present several (not extremely useful computationally) formulas for the determinant.

Math 329: Intermediate Linear Algebra by Artem Novozhilov ⃝c e-mail: [email protected]. Spring 2017 (^1) It is impossible, for example, to learn how to make a change of variables in multiple integral without some basic understanding of determinants

The properties of the determinant are motivated by the fact that the determinant of a 2 × 2 matrix, how I defined it above, has a very simple geometric meaning. Let A = [aij ] 2 × 2 and I introduce two column vectors

a 1 =

[

a 11 a 21

]

, a 2 =

[

a 12 a 22

]

such that my matrix is A = [a 1 | a 2 ]. These two vectors define a parallelogram on the plane, which has as its two sides these two vectors. The value | det A| = |a 11 a 22 − a 12 a 21 | is actually the area of this parallelogram (see Fig. 4.1 for two examples).

Exercise 1. Can you prove the last claim?

Figure 4.1: Geometric meaning of the determinant. R^2 is on the left and R^3 is on the right.

Therefore, I will think of the properties of a determinant of an arbitrary square matrix as the properties that should be in place for the volume of a parallelogram defined by the columns of this matrix (Fig. 4.1). I note that I allow negative values for the determinant and hence talk about the signed volume. First, the determinant must be linear in each argument. This technically means that I postulate that (all the bold small letters denote column vectors with n components).

det[a 1 |... | αak + bk |... | an] = α det[a 1 |... | ak |... | an] + det[a 1 |... | bk |... | an]. (4.1)

Here α is some scalar. The “volume justification” is that the usual formula tells me that the volume is equal to the area times height, and if my vector multiplied by a constant α then, intuitively, the height is also multiplied by the same constant; if a vector is the sum of two vectors then the corresponding height is also the sum of two heights. Intuitively, the volume of a parallelogram, which is built on some vectors such that two of them coincide, should be zero (think, e.g., of a three dimensional case). That is

det[a 1 |... | αak |... | ak |... | an] = 0. (4.2)

Exercise 2. Carefully write down a proof for claim 4 in the proposition.

Example 4.2. Compute

det

Note that (^) 

The determinant of the last matrix is 1 · (−1) · (−12) = 12. I recall that while I was row reducing the matrix, I switch columns once. Therefore the determinant of the original matrix is −12.

Corollary 4.3. The system Ax = b with a square matrix A has a unique solution if and only if det A ̸= 0

Lemma 4.4. Let A be a square matrix and E be an elementary matrix of the same size. Then

det(AE) = det A det E.

Proof. Since E = IE and det I = 1, I know determinants of any elementary matrix. (If the previous sentence is not clear: Take, e.g., the elementary column operation of the first type; I know that the multiplication from the right by an elementary matrix of type 1 changes two columns, therefore, using the properties of the determinant, I conclude that the determinant of this elementary matrix must be −1; analogously for other elementary matrices.) Since the multiplication by an elementary matrix amounts to an elementary column operation, the conclusion follows. 

Corollary 4.5. For elementary matrices E 1 ,... , Ek

det(AE 1... Ek) = det A det E 1... det Ek.

Theorem 4.6. For square matrices A, B:

  1. det A = det A⊤.
  2. det(AB) = det A det B.

Proof. 1. I will rely on two facts. First, for any elementary matrix E I have det E = det E⊤, which can be checked by direct calculations. Second, if A is not invertible then A⊤^ is also not invertible and both determinants are zero, hence it is sufficient to prove the claim only for the invertible matrices. Let A be invertible, then it can be represented as a product of elementary matrices

A = E 1... Ek.

Taking the transpose of both sides, using Corollary 4.5, and the fact that det E = det E⊤^ conclude the proof.

  1. If B is invertible, the proof follows from the fact that B can be represented as a product of elementary matrices and Corollary 4.5. If B is not invertible then the product AB is also not invertible (why?) and I get 0 = 0. 

Exercise 3. Prove that if B is not invertible then AB for any A is also not invertible.

Remark 4.7. The first point in the last theorem actually tells us that everything which was said about properties of determinants with respect to elementary column operations is true for elementary row operations.

Remark 4.8. Since the properties of determinants are so important, let me list them again, all together. Here A is a square matrix.

  1. Determinant is linear in each row (column) when the other rows or columns are kept fixed.
  2. det(αA) = αn^ det A.
  3. If two rows (columns) are switched the determinant changes its sign.
  4. If there is a zero column or row then det A = 0.
  5. For a triangular matrix det A is equal to the product of the elements on the main diagonal. In particular, det I = 1.
  6. det A = 0 if and only if A is not invertible (or, equivalently, det A ̸= 0 if and only if A is invertible).
  7. Ax = b has a unique solution if and only if det A ̸= 0.
  8. det A does not change is we perform elementary row or column operations of the third type (take a row or a column, multiply by a constant, and add to another row or column).
  9. det A = det A⊤.
  10. det(AB) = det A det B.
  11. det A−^1 = (det A)−^1.

So, we know a lot properties of determinants, the row or column operations allow us to calculate the determinants. Do we need anything else? Actually, yes. We are still lacking a proof of uniqueness of a determinant (note that existence is actually guaranteed by the finite number of elementary operations required to put a given matrix into a reduced row or column echelon form). We still have no proof that if we perform the elementary operations in different orders we’ll end up with the same answer. For this we need to show that our property (4.1)–(4.3) define a unique function, which would guarantee that the determinant is unique.