Ch3-Determinants

Содержание

Слайд 2

Ch03_

3.1 Introduction to Determinants

Definition
The determinant of a 2 × 2 matrix A

Ch03_ 3.1 Introduction to Determinants Definition The determinant of a 2 ×
is denoted |A| and is given by
Observe that the determinant of a 2 × 2 matrix is given by the different of the products of the two diagonals of the matrix.
The notation det(A) is also used for the determinant of A.

Слайд 3

Ch03_

Definition
Let A be a square matrix.
The minor of the element aij is

Ch03_ Definition Let A be a square matrix. The minor of the
denoted Mij and is the determinant of the matrix that remains after deleting row i and column j of A.
The cofactor of aij is denoted Cij and is given by
Cij = (–1)i+j Mij
Note that Cij = Mij or −Mij .

Слайд 4

Ch03_

Example 2

Solution

Determine the minors and cofactors of the elements a11 and a32

Ch03_ Example 2 Solution Determine the minors and cofactors of the elements
of the following matrix A.

Слайд 5

Ch03_

Definition
The determinant of a square matrix is the sum of the products

Ch03_ Definition The determinant of a square matrix is the sum of
of the elements of the first row and their cofactors.
These equations are called cofactor expansions of |A|.

Слайд 6

Ch03_

Example 3

Evaluate the determinant of the following matrix A.

Solution

Ch03_ Example 3 Evaluate the determinant of the following matrix A. Solution

Слайд 7

Ch03_

Theorem 3.1

The determinant of a square matrix is the sum of the

Ch03_ Theorem 3.1 The determinant of a square matrix is the sum
products of the elements of any row or column and their cofactors.
ith row expansion:
jth column expansion:

Слайд 8

Ch03_

Example 5

Evaluate the determinant of the following 4 × 4 matrix.

Solution

Ch03_ Example 5 Evaluate the determinant of the following 4 × 4 matrix. Solution

Слайд 9

Ch03_

Example 6

Solve the following equation for the variable x.

Solution

There are two solutions

Ch03_ Example 6 Solve the following equation for the variable x. Solution
to this equation, x = – 2 or 3.

Слайд 10

Ch03_

Computing Determinants of 2 × 2 and 3 × 3 Matrices

Ch03_ Computing Determinants of 2 × 2 and 3 × 3 Matrices

Слайд 11

Ch03_

Homework

Exercises will be given by the teachers of the practical classes.

Ch03_ Homework Exercises will be given by the teachers of the practical classes.

Слайд 12

Ch03_

Let A be an n × n matrix and c be a

Ch03_ Let A be an n × n matrix and c be
nonzero scalar.
If then |B| = c|A|.
If then |B| = –|A|.
If then |B| = |A|.

3.2 Properties of Determinants

Theorem 3.2

Слайд 13

Ch03_

Example 1

Solution

Evaluate the determinant

Ch03_ Example 1 Solution Evaluate the determinant

Слайд 14

Ch03_

Example 2

If |A| = 12 is known.
Evaluate the determinants of the

Ch03_ Example 2 If |A| = 12 is known. Evaluate the determinants
following matrices.

Solution

Thus |B1| = 3|A| = 36.
Thus |B2| = – |A| = –12.
Thus |B3| = |A| = 12.

Слайд 15

Ch03_

Theorem 3.3

Let A be a square matrix. A is singular if
all the

Ch03_ Theorem 3.3 Let A be a square matrix. A is singular
elements of a row (column) are zero.
two rows (columns) are equal.
two rows (columns) are proportional. (i.e., Ri=cRj)

Proof

(c) If Ri=cRj, then , row i of B is [0 0 … 0].
⇒ |A|=|B|=0

Definition
A square matrix A is said to be singular if |A|=0.
A is nonsingular if |A|≠0.

Слайд 16

Ch03_

Example 3

Show that the following matrices are singular.

Solution

All the elements in column

Ch03_ Example 3 Show that the following matrices are singular. Solution All
2 of A are zero. Thus |A| = 0.
Row 2 and row 3 are proportional. Thus |B| = 0.

Слайд 17

Ch03_

Theorem 3.4

Let A and B be n × n matrices and c

Ch03_ Theorem 3.4 Let A and B be n × n matrices
be a nonzero scalar.
|cA| = cn|A|.
|AB| = |A||B|.
|At| = |A|.
(assuming A–1 exists)

Proof

Слайд 18

Ch03_

Example 4

If A is a 2 × 2 matrix with |A| =

Ch03_ Example 4 If A is a 2 × 2 matrix with
4, use Theorem 3.4 to compute the following determinants.
(a) |3A| (b) |A2| (c) |5AtA–1|, assuming A–1 exists

Solution

|3A| = (32)|A| = 9 × 4 = 36.
|A2| = |AA| =|A| |A|= 4 × 4 = 16.
|5AtA–1| = (52)|AtA–1| = 25|At||A–1|

Слайд 19

Ch03_

Example 6

Prove that if A and B are square matrices of the

Ch03_ Example 6 Prove that if A and B are square matrices
same size, with A being singular, then AB is also singular. Is the converse true?

Solution

(⇒) |A| = 0 ⇒ |AB| = |A||B| = 0
Thus the matrix AB is singular.

(⇐) |AB| = 0 ⇒ |A||B| = 0 ⇒ |A| = 0 or |B| = 0
Thus AB being singular implies that either A or B is singular. The inverse is not true.

Слайд 20

Ch03_

Homework

Exercises will be given by the teachers of the practical classes.

Solution

Ch03_ Homework Exercises will be given by the teachers of the practical classes. Solution

Слайд 21

Ch03_

3.3 Numerical Evaluation of a Determinant

Definition
A square matrix is called an upper

Ch03_ 3.3 Numerical Evaluation of a Determinant Definition A square matrix is
triangular matrix if all the elements below the main diagonal are zero.
It is called a lower triangular matrix if all the elements above the main diagonal are zero.

Слайд 22

Ch03_

Example 1

Numerical Evaluation of a Determinant

Ch03_ Example 1 Numerical Evaluation of a Determinant

Слайд 23

Ch03_

Numerical Evaluation of a Determinant

Example 2

Evaluation the determinant.

Ch03_ Numerical Evaluation of a Determinant Example 2 Evaluation the determinant.

Слайд 24

Ch03_

Example 3

Evaluation the determinant.

Solution

Ch03_ Example 3 Evaluation the determinant. Solution

Слайд 25

Ch03_

Example 4

Evaluation the determinant.

Solution

Ch03_ Example 4 Evaluation the determinant. Solution

Слайд 26

Ch03_

Example 5

Evaluation the determinant.

Solution

Ch03_ Example 5 Evaluation the determinant. Solution

Слайд 27

Ch03_

3.4 Determinants, Matrix Inverse, and Systems of Linear Equations

Definition
Let A be an

Ch03_ 3.4 Determinants, Matrix Inverse, and Systems of Linear Equations Definition Let
n × n matrix and Cij be the cofactor of aij.
The matrix whose (i, j)th element is Cij is called the matrix of cofactors of A.
The transpose of this matrix is called the adjoint of A and is denoted adj(A).

Слайд 28

Ch03_

Example 1

Give the matrix of cofactors and the adjoint matrix of the

Ch03_ Example 1 Give the matrix of cofactors and the adjoint matrix
following matrix A.

The matrix of cofactors of A is

The adjoint of A is

Слайд 29

Ch03_

Theorem 3.6

Let A be a square matrix with |A| ≠ 0. A

Ch03_ Theorem 3.6 Let A be a square matrix with |A| ≠
is invertible with

Слайд 30

Ch03_

∴ A⋅ adj(A) = |A|In

Proof of Theorem 3.6

If i ≠ j, let

Ch03_ ∴ A⋅ adj(A) = |A|In Proof of Theorem 3.6 If i

row i = row j in B

Matrices A and B have the same cofactors
Cj1, Cj2, …, Cjn.

Слайд 31

Ch03_

Theorem 3.7

A square matrix A is invertible if and only if |A|

Ch03_ Theorem 3.7 A square matrix A is invertible if and only
≠ 0.

Proof

(⇒) Assume that A is invertible.
⇒ AA–1 = In.
⇒ |AA–1| = |In|.
⇒ |A||A–1| = 1
⇒ |A| ≠ 0.
(⇐) Theorem 3.6 tells us that if |A| ≠ 0, then A is invertible.

A–1 exists if and only if |A| ≠ 0.

Слайд 32

Ch03_

Example 2

Use a determinant to find out which of the following matrices

Ch03_ Example 2 Use a determinant to find out which of the
are invertible.

Solution

|A| = 5 ≠ 0. A is invertible.
|B| = 0. B is singular. The inverse does not exist.
|C| = 0. C is singular. The inverse does not exist.
|D| = 2 ≠ 0. D is invertible.

Слайд 33

Ch03_

Example 3

Use the formula for the inverse of a matrix to compute

Ch03_ Example 3 Use the formula for the inverse of a matrix
the inverse of the matrix

Solution

Слайд 34

Ch03_

Homework

Exercises will be given by the teachers of the practical classes.
Exercise
Show

Ch03_ Homework Exercises will be given by the teachers of the practical
that if A = A-1, then |A| = ±1.
Show that if At = A-1, then |A| = ±1.

Слайд 35

Ch03_

Theorem 3.8

Let AX = B be a system of n linear equations

Ch03_ Theorem 3.8 Let AX = B be a system of n
in n variables.
(1) If |A| ≠ 0, there is a unique solution.
(2) If |A| = 0, there may be many or no solutions.

Proof

If |A| ≠ 0
⇒ A–1 exists (Thm 3.7)
⇒ there is then a unique solution given by X = A–1B (Thm 2.9).
(2) If |A| = 0
⇒ since A ≈…≈ C implies that if |A|≠0 then |C|≠0 (Thm 3.2).
⇒ the reduced echelon form of A is not In.
⇒ The solution to the system AX = B is not unique.
⇒ many or no solutions.

Слайд 36

Ch03_

Example 4

Determine whether or not the following system of equations has an

Ch03_ Example 4 Determine whether or not the following system of equations has an unique solution.
unique solution.

Слайд 37

Ch03_

Theorem 3.9 Cramer’s Rule

Let AX = B be a system of n

Ch03_ Theorem 3.9 Cramer’s Rule Let AX = B be a system
linear equations in n variables such that |A| ≠ 0. The system has a unique solution given by
Where Ai is the matrix obtained by replacing column i of A with B.

Слайд 38

Ch03_

xi, the ith element of X, is given by

Proof of Cramer’s Rule

Ch03_ xi, the ith element of X, is given by Proof of Cramer’s Rule

Слайд 39

Ch03_

Example 5

Solving the following system of equations using Cramer’s rule.

Ch03_ Example 5 Solving the following system of equations using Cramer’s rule.

Слайд 40

Ch03_

Giving
Cramer’s rule now gives

Ch03_ Giving Cramer’s rule now gives

Слайд 41

Ch03_

Example 6

Determine values of λ for which the following system of equations

Ch03_ Example 6 Determine values of λ for which the following system
has nontrivial solutions.Find the solutions for each value of λ.

Solution

homogeneous system
⇒ x1 = 0, x2 = 0 is the trivial solution.
⇒ nontrivial solutions exist ⇒ many solutions

⇒ ⇒ ⇒
⇒ λ = – 3 or λ = 2.