1 of 76

CHAPTER 3�DETERMINANTS

Elementary Linear Algebra

R. Larson (8 Edition)

3.1 The Determinant of a Matrix

3.2 Determinant and Elementary Operations

3.3 Properties of Determinants

3.4 Application of Determinants

投影片設計製作者

淡江大學 電機系 翁慶昌 教授

2 of 76

CH 3 Linear Algebra Applied

Volume of a Tetrahedron (p.114) Engineering and Control (p.130)

Sudoku (p.120)

Comet Landing (p.141) Software Publishing (p.143)

2/76

3 of 76

3.1 The Determinant of a Matrix

  • the determinant of a 2 × 2 matrix:
  • Note:

Elementary Linear Algebra: Section 3.1, p.110

3/76

4 of 76

  • Ex. 1: (The determinant of a matrix of order 2)
  • Note: The determinant of a matrix can be positive, zero, or negative.

Elementary Linear Algebra: Section 3.1, p.110

4/76

5 of 76

  • Cofactor of :
  • Minor of the entry :

The determinant of the matrix determined by deleting the ith row and jth column of A

Elementary Linear Algebra: Section 3.1, p.111

5/76

6 of 76

  • Ex:

Elementary Linear Algebra: Section 3.1, p.111

6/76

7 of 76

  • Notes: Sign pattern for cofactors

Elementary Linear Algebra: Section 3.1, p.111

3 × 3 matrix 4 × 4 matrix n × n matrix

  • Notes:

Odd positions (where i+j is odd) have negative signs, and

even positions (where i+j is even) have positive signs.

7/76

8 of 76

  • Ex 2: Find all the minors and cofactors of A.

Sol: (1) All the minors of A.

Elementary Linear Algebra: Section 3.1, p.111

8/76

9 of 76

Elementary Linear Algebra: Section 3.1, p.111

Sol: (2) All the cofactors of A.

9/76

10 of 76

  • Thm 3.1: (Expansion by cofactors)

(Cofactor expansion along the i-th row, i =1, 2,…, n )

(Cofactor expansion along the j-th row, j =1, 2,…, n )

Let A is a square matrix of order n.

Then the determinant of A is given by

or

Elementary Linear Algebra: Section 3.1, p.113

10/76

11 of 76

  • Ex: The determinant of a matrix of order 3

Elementary Linear Algebra: Section 3.1, Addition

11/76

12 of 76

  • Ex 3: The determinant of a matrix of order 3

Elementary Linear Algebra: Section 3.1, p.112

Sol:

12/76

13 of 76

  • Ex 5: (The determinant of a matrix of order 3)

Sol:

Elementary Linear Algebra: Section 3.1, p.114

13/76

14 of 76

  • Ex 4: (The determinant of a matrix of order 4)

Elementary Linear Algebra: Section 3.1, p.113

  • Notes:

The row (or column) containing the most zeros is the best choice

for expansion by cofactors .

14/76

15 of 76

Sol:

Elementary Linear Algebra: Section 3.1, p.113

15/76

16 of 76

  • The determinant of a matrix of order 3:

Add these three products.

Subtract these three products.

Elementary Linear Algebra: Section 3.1, p.114

16/76

17 of 76

  • Ex 5:

–4

0

16

–12

0

6

Elementary Linear Algebra: Section 3.1, p.114

17/76

18 of 76

  • Upper triangular matrix:
  • Lower triangular matrix:
  • Diagonal matrix:

All the entries below the main diagonal are zeros.

All the entries above the main diagonal are zeros.

All the entries above and below the main diagonal are zeros.

Elementary Linear Algebra: Section 3.1, p.115

  • Note:

A matrix that is both upper and lower triangular is called diagonal.

18/76

19 of 76

  • Ex:

upper triangular

lower triangular

diagonal

Elementary Linear Algebra: Section 3.1, p.115

19/76

20 of 76

  • Thm 3.2: (Determinant of a Triangular Matrix)

If A is an n × n triangular matrix (upper triangular, lower triangular, or diagonal), then its determinant is the product of the entries on the main diagonal. That is

Elementary Linear Algebra: Section 3.1, p.115

20/76

21 of 76

  • Ex 6: Find the determinants of the following triangular matrices.

(a)

(b)

|A| = (2)(–2)(1)(3) = –12

|B| = (–1)(3)(2)(4)(–2) = 48

(a)

(b)

Sol:

Elementary Linear Algebra: Section 3.1, p.115

老師,這個例題只有(a)小題,請確認是否需要修改

21/76

22 of 76

Key Learning in Section 3.1

  • Find the determinant of a 2 × 2 matrix.
  • Find the minors and cofactors of a matrix.
  • Use expansion by cofactors to find the determinant of a matrix.
  • Find the determinant of a triangular matrix.

22/76

23 of 76

Keywords in Section 3.1

  • determinant : 行列式
  • minor : 子行列式
  • cofactor : 餘因子
  • expansion by cofactors : 餘因子展開
  • upper triangular matrix: 上三角矩陣
  • lower triangular matrix: 下三角矩陣
  • diagonal matrix: 對角矩陣

23/76

24 of 76

3.2 Evaluation of a determinant using elementary operations

  • Thm 3.3: (Elementary row operations and determinants)

Let A and B be square matrices.

Elementary Linear Algebra: Section 3.2, p.119

24/76

25 of 76

  • Ex:

Elementary Linear Algebra: Section 3.2, Addition

25/76

26 of 76

  • Notes:

Elementary Linear Algebra: Section 3.2, Addition

26/76

27 of 76

Note:

A row-echelon form of a square matrix is always upper triangular.

  • Ex 2: (Evaluation a determinant using elementary row operations)

Sol:

Elementary Linear Algebra: Section 3.2, p.119

27/76

28 of 76

Elementary Linear Algebra: Section 3.2, p.119

28/76

29 of 76

  • Notes:

Elementary Linear Algebra: Section 3.2, Addition

29/76

30 of 76

  • Determinants and elementary column operations

Elementary Linear Algebra: Section 3.2, p.120

Let A and B be square matrices.

  • Thm: (Elementary column operations and determinants)

30/76

31 of 76

  • Ex:

Elementary Linear Algebra: Section 3.2, p.120

31/76

32 of 76

  • Thm 3.4: (Conditions that yield a zero determinant)

(a) An entire row (or an entire column) consists of zeros.

(b) Two rows (or two columns) are equal.

(c) One row (or column) is a multiple of another row (or column).

If A is a square matrix and any of the following conditions is true, then det (A) = 0.

Elementary Linear Algebra: Section 3.2, p.121

32/76

33 of 76

  • Ex:

Elementary Linear Algebra: Section 3.2, Addition

33/76

34 of 76

Cofactor Expansion

Row Reduction

Order n

Additions

Multiplications

Additions

Multiplications

3

5

9

5

10

5

119

205

30

45

10

3,628,799

6,235,300

285

339

  • Note:

Elementary Linear Algebra: Section 3.2, p.122

34/76

35 of 76

  • Ex 5: (Evaluating a determinant)

Sol:

Elementary Linear Algebra: Section 3.2, p.122

35/76

36 of 76

  • Ex 6: (Evaluating a determinant)

Sol:

Elementary Linear Algebra: Section 3.2, p.123

36/76

37 of 76

Elementary Linear Algebra: Section 3.2, p.123

37/76

38 of 76

Key Learning in Section 3.2

  • Use elementary row operations to evaluate a determinant.
  • Use elementary column operations to evaluate a determinant.
  • Recognize conditions that yield zero determinants.

38/76

39 of 76

Keywords in Section 3.2

  • determinant : 行列式
  • elementary row operation: 基本列運算
  • row equivalent: 列等價
  • elementary matrix: 基本矩陣
  • elementary column operation: 基本行運算
  • column equivalent: 行等價

39/76

40 of 76

3.3 Properties of Determinants

  • Notes:
  • Thm 3.5: (Determinant of a matrix product)

(1) det(EA) = det(E) det(A)

(2)

(3)

det (AB) = det (A) det (B)

Elementary Linear Algebra: Section 3.3, p.126

40/76

41 of 76

  • Ex 1: (The determinant of a matrix product)

Sol:

Find |A|, |B|, and |AB|

Elementary Linear Algebra: Section 3.3, p.126

41/76

42 of 76

|AB| = |A| |B|

  • Check:

Elementary Linear Algebra: Section 3.3, p.126

42/76

43 of 76

  • Ex 2:

Find |A|.

Sol:

  • Thm 3.6: (Determinant of a scalar multiple of a matrix)

If A is an n × n matrix and c is a scalar, then

det (cA) = cn det (A)

Elementary Linear Algebra: Section 3.3, p.127

43/76

44 of 76

  • Ex 3: (Classifying square matrices as singular or nonsingular)

A has no inverse (it is singular).

B has an inverse (it is nonsingular).

Sol:

  • Thm 3.7: (Determinant of an invertible matrix)

A square matrix A is invertible (nonsingular) if and only if

det (A) ≠ 0

Elementary Linear Algebra: Section 3.3, p.128

44/76

45 of 76

  • Ex 4:

(a)

(b)

Sol:

  • Thm 3.8: (Determinant of an inverse matrix)
  • Thm 3.9: (Determinant of a transpose)

Elementary Linear Algebra: Section 3.3, pp.128-130

45/76

46 of 76

If A is an n × n matrix, then the following statements are equivalent.

(1) A is invertible.

(2) Ax = b has a unique solution for every n × 1 matrix b.

(3) Ax = 0 has only the trivial solution.

(4) A is row-equivalent to In

(5) A can be written as the product of elementary matrices.

(6) det (A) ≠ 0

  • Equivalent conditions for a nonsingular matrix:

Elementary Linear Algebra: Section 3.3, p.129

46/76

47 of 76

  • Ex 5: Which of the following system has a unique solution?

(a)

(b)

Elementary Linear Algebra: Section 3.3, p.129

47/76

48 of 76

Sol:

(a)

This system does not have a unique solution.

(b)

This system has a unique solution.

Elementary Linear Algebra: Section 3.3, p.129

48/76

49 of 76

Key Learning in Section 3.3

  • Find the determinant of a matrix product and a scalar multiple of a matrix.
  • Find the determinant of an inverse matrix and recognize equivalent conditions for a nonsingular matrix.
  • Find the determinant of the transpose of a matrix.

49/76

50 of 76

Keywords in Section 3.3

  • determinant: 行列式
  • matrix multiplication: 矩陣相乘
  • scalar multiplication: 純量積
  • invertible matrix: 可逆矩陣
  • inverse matrix: 反矩陣
  • nonsingular matrix: 非奇異矩陣
  • transpose matrix: 轉置矩陣

50/76

51 of 76

3.4 Applications of Determinants

  • Matrix of cofactors of A:
  • Adjoint matrix of A:

Elementary Linear Algebra: Section 3.4, p.134

51/76

52 of 76

  • Thm 3.10: (The inverse of a matrix given by its adjoint)

If A is an n × n invertible matrix, then

  • Ex:

Elementary Linear Algebra: Section 3.4, p.135

52/76

53 of 76

  • Ex 1 & Ex 2:

(a) Find the adjoint of A.

(b) Use the adjoint of A to find

Sol:

Elementary Linear Algebra: Section 3.4, pp.134-135

53/76

54 of 76

cofactor matrix of A

adjoint matrix of A

inverse matrix of A

  • Check:

Elementary Linear Algebra: Section 3.4, pp.134-135

54/76

55 of 76

  • Cramer’s Rule

Cramer’s Rule uses determinants to solve a system of linear equations in variables. This rule applies only to systems with unique solutions.

Elementary Linear Algebra: Section 3.4, pp.136

55/76

56 of 76

  • Ex 3: (Using Cramer’s Rule)

Sol: Find the determinant of the coefficient matrix

Use Cramer’s Rule to solve the system of linear equations.

Elementary Linear Algebra: Section 3.4, pp.136

56/76

57 of 76

  • Thm 3.11: (Cramer’s Rule)

(this system has a unique solution)

Elementary Linear Algebra: Section 3.4, p.137

57/76

58 of 76

( i.e.

)

Elementary Linear Algebra: Section 3.4, p.137

58/76

59 of 76

Pf:

Ax = b,

Elementary Linear Algebra: Section 3.4, p.137

59/76

60 of 76

Elementary Linear Algebra: Section 3.4, p.137

60/76

61 of 76

  • Ex 4: Use Cramer’s rule to solve the system of linear equations.

Sol:

Elementary Linear Algebra: Section 3.4, p.137

61/76

62 of 76

  • Area of a triangle in the xy-plane:

A triangle with vertices

where the sign (±) is chosen to give a positive area.

Pf:

Consider the three trapezoid

Trapezoid 1: (x1, 0), (x1, y1), (x3, y3), (x3, 0)

Trapezoid 2: (x3, 0), (x3, y3), (x2, y2), (x2, 0)

Trapezoid 3: (x1, 0), (x1, y1), (x2, y2), (x2, 0)

Elementary Linear Algebra: Section 3.4, p.138

62/76

63 of 76

If the vertices do not occur in the order x1x2x3 or if the vertex (x3, y3) is not above the line segment connecting the other two vertices, then the formula above may yield the negative of the area. So, use ± and choose the correct sign to give a positive area.

Elementary Linear Algebra: Section 3.4, p.138

63/76

64 of 76

  • Ex 5: (Finding the Area of a Triangle)

Sol:

The area of the triangle is square units.

If three points in the xy-plane lie on the same line, then the determinant in the formula for the area of a triangle is zero.

Find the area of the triangle whose vertices are

(1, 1), (2, 2), and (4, 3).

Elementary Linear Algebra: Section 3.4, p.138-139

64/76

65 of 76

  • Test for collinear points in the xy-plane:

Three points (x1, y1), (x2, y2), and (x3, y3) are collinear if and only if

  • Two-point form of the equation of a line:

An equation of the line passing through the distinct points

(x1, y1) and (x2, y2) is given by

Elementary Linear Algebra: Section 3.4, p.139

65/76

66 of 76

  • Ex 6: (Finding an Equation of the Line Passing Through Two Points)

Sol:

Find an equation of the line passing through the points

(2, 4) and (-1, 3).

Elementary Linear Algebra: Section 3.4, p.139

66/76

67 of 76

  • Volume of a Tetrahedron:

The volume of a tetrahedron with vertices (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4) is

where the sign (±) is chosen to give a positive area.

Elementary Linear Algebra: Section 3.4, p.140

67/76

68 of 76

  • Ex 7: (Finding the Volume of a Tetrahedron)

Sol:

The volume of the tetrahedron is 12 cubic units.

Find the volume of the tetrahedron shown in the following figure, whose vertices are (0, 4, 1), (4, 0, 0), (3, 5, 2), and (2, 2, 5).

Elementary Linear Algebra: Section 3.4, p.140

68/76

69 of 76

  • Test for coplanar points in space:

Four points (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4) are coplanar if and only if

  • Three-point form of the equation of a line:

An equation of the line passing through the distinct points

(x1, y1, z1), (x2, y2, z2), and (x3, y3, z3) is given by

Elementary Linear Algebra: Section 3.4, p.140

69/76

70 of 76

  • Ex 8: (Finding an Equation of the Plane Passing Through Three Points)

Sol:

Find an equation of the plane passing through the points (0, 1, 0), (−1, 3, 2), and (-2, 0, 1).

Elementary Linear Algebra: Section 3.4, p.141

70/76

71 of 76

Key Learning in Section 3.4

  • Find the adjoint of a matrix and use it to find the inverse of the matrix.
  • Use Cramer’s Rule to solve a system of n linear equations in n variables.
  • Use determinants to find area, volume, and the equations of lines and planes.

71/76

72 of 76

Keywords in Section 3.4

  • matrix of cofactors : 餘因子矩陣
  • adjoint matrix : 伴隨矩陣
  • Cramer’s rule : 克萊姆法則
  • area: 面積
  • volume: 體積
  • triangle: 三角形
  • tetrahedron: 四面體

72/76

73 of 76

  • Volume of a Tetrahedron

Recall that a tetrahedron is a polyhedron consisting of four triangular faces. One practical application of determinants is in finding the volume of a tetrahedron in a coordinate plane. If the vertices of a tetrahedron are (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), and (x4, y4, z4), then the volume is

You will study this and other applications of determinants in Section 3.4.

3.1 Linear Algebra Applied

Elementary Linear Algebra: Section 3.1, p.114

73/76

74 of 76

  • Sudoku

In a Sudoku puzzle, the object is to fill out a partially completed 9🞨9 grid of boxes with numbers from 1 to 9 so that each column, row, and 3🞨3 sub-grid contains each of these numbers without repetition. For a completed Sudoku grid to be valid, no two rows (or columns) will have the numbers in the same order. If this should happen, then the determinant of the matrix formed by the numbers will be zero. This is a direct result of condition 2 of Theorem 3.4.

3.2 Linear Algebra Applied

Elementary Linear Algebra: Section 3.2, p.120

74/76

75 of 76

  • Engineering and Control

Systems of linear differential equations often arise in engineering and control theory. For a function f(t) that is defined for all positive values of t, the Laplace transform of f(t) is

provided that the improper integral exists. Laplace transforms and Cramer’s Rule, which uses determinants to solve a system of linear equations, can sometimes be used to solve a system of differential equations. You will study Cramer’s Rule in the next section.

3.3 Linear Algebra Applied

Elementary Linear Algebra: Section 3.3, p.130

75/76

76 of 76

  • Comet Landing

On November 12, 2014, European Space Agency’s Rosetta orbiting spacecraft landed the probe Philae on the surface of the comet 67P/Churyumov-Gerasimenko. Comets that orbit the Sun, such as 67P, follow Kepler’s First Law of Planetary Motion. This law states that the orbit is an ellipse, with the sun at one focus of the ellipse. The general equation of a conic section, such as an ellipse, is

ax2 + bxy + cy2 + dx + ey+ f = 0.

To determine the equation of the comet’s orbit, astronomers can find the coordinates of the comet at five different points (xi, yi) where i = 1, 2, 3, 4, and 5, substitute these coordinates into the equation

3.4 Linear Algebra Applied

Elementary Linear Algebra: Section 3.4, p.141

and then expand by cofactors in the first row to find a, b, c, d, e, and f. For example, the coefficient of x2 is

Knowing the equation of 67P’s orbit helped astronomers determine the ideal time to release the probe.

76/76