Determinants
Artem Los (arteml@kth.se) February 6th, 2017
Artem Los (arteml@kth.se) Determinants February 6th, 2017 1 / 16
Determinants Artem Los (arteml@kth.se) February 6th, 2017 Artem - - PowerPoint PPT Presentation
Determinants Artem Los (arteml@kth.se) February 6th, 2017 Artem Los (arteml@kth.se) Determinants February 6th, 2017 1 / 16 Overview What is a Determinant? 1 Rules and Theorems 2 Area of a Parallelogram 3 Artem Los (arteml@kth.se)
Artem Los (arteml@kth.se) February 6th, 2017
Artem Los (arteml@kth.se) Determinants February 6th, 2017 1 / 16
1
What is a Determinant?
2
Rules and Theorems
3
Area of a Parallelogram
Artem Los (arteml@kth.se) Determinants February 6th, 2017 2 / 16
Artem Los (arteml@kth.se) Determinants February 6th, 2017 3 / 16
Determinant
In linear algebra, the determinant is a useful value that can be computed from the elements of a square matrix.
(from https://en.wikipedia.org/wiki/Determinant) Artem Los (arteml@kth.se) Determinants February 6th, 2017 4 / 16
Determinant
In linear algebra, the determinant is a useful value that can be computed from the elements of a square matrix.
(from https://en.wikipedia.org/wiki/Determinant)
For example, Deducing if matrix A is invertible, i.e. ∃A−1 Finding area of a parallelogram Calculating eigenvalues (next week)
Artem Los (arteml@kth.se) Determinants February 6th, 2017 4 / 16
The neat property of determinants is that we can always express a determinant of matrix n × n using determinants of size (n − 1) × (n − 1).
Artem Los (arteml@kth.se) Determinants February 6th, 2017 5 / 16
The neat property of determinants is that we can always express a determinant of matrix n × n using determinants of size (n − 1) × (n − 1). Base case. 2 × 2
b c d
Artem Los (arteml@kth.se) Determinants February 6th, 2017 5 / 16
The neat property of determinants is that we can always express a determinant of matrix n × n using determinants of size (n − 1) × (n − 1). Base case. 2 × 2
b c d
Increasing dimension. 3 × 3
b c d e f j h i
f h i
f j i
e j h
Determinants February 6th, 2017 5 / 16
The neat property of determinants is that we can always express a determinant of matrix n × n using determinants of size (n − 1) × (n − 1). Base case. 2 × 2
b c d
Increasing dimension. 3 × 3
b c d e f j h i
f h i
f j i
e j h
b c d e f j h i
f h i
c h i
c e f
Determinants February 6th, 2017 5 / 16
b c d e f j h i
f h i
f j i
e j h
Determinants February 6th, 2017 6 / 16
b c d e f j h i
f h i
f j i
e j h
+ − + − + − + − +
Artem Los (arteml@kth.se) Determinants February 6th, 2017 6 / 16
b c d e f j h i
f h i
f j i
e j h
+ − + − + − + − + In general, the coefficient is (−1)i+j for element in ith row and jth column
Artem Los (arteml@kth.se) Determinants February 6th, 2017 6 / 16
A = 1 2 1 1 3 3 6
Artem Los (arteml@kth.se) Determinants February 6th, 2017 7 / 16
A = 1 2 1 1 3 3 6 Step 1: ”Golden rule of determinant calculations: be lazy”. Pick the row/column with most zeros. Why? A =
2 1 1 3 3 6
2 1 3
Artem Los (arteml@kth.se) Determinants February 6th, 2017 7 / 16
Artem Los (arteml@kth.se) Determinants February 6th, 2017 8 / 16
figure out the determinant. The rules differ from elementary row
Artem Los (arteml@kth.se) Determinants February 6th, 2017 9 / 16
figure out the determinant. The rules differ from elementary row
compute.
Artem Los (arteml@kth.se) Determinants February 6th, 2017 9 / 16
Constant term factorization. det B = c det A
c ∗ 2 c ∗ 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9
Determinants February 6th, 2017 10 / 16
Constant term factorization. det B = c det A
c ∗ 2 c ∗ 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9
det B = − det A
2 3 4 5 6 7 8 9
5 6 1 2 3 7 8 9
Determinants February 6th, 2017 10 / 16
Constant term factorization. det B = c det A
c ∗ 2 c ∗ 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9
det B = − det A
2 3 4 5 6 7 8 9
5 6 1 2 3 7 8 9
det B = det A
1 3 1 1 6 7 8 9
1 3 6 7 8 9
Determinants February 6th, 2017 10 / 16
det A = det AT
Artem Los (arteml@kth.se) Determinants February 6th, 2017 11 / 16
det A = det AT det A−1 =
1 det A
Artem Los (arteml@kth.se) Determinants February 6th, 2017 11 / 16
det A = det AT det A−1 =
1 det A
det AB = det A det B
Artem Los (arteml@kth.se) Determinants February 6th, 2017 11 / 16
det A = det AT det A−1 =
1 det A
det AB = det A det B If two rows are equal = ⇒ det A = 0
Artem Los (arteml@kth.se) Determinants February 6th, 2017 11 / 16
det A = det AT det A−1 =
1 det A
det AB = det A det B If two rows are equal = ⇒ det A = 0
statements are equivalent: det A = 0 rank(A) = n A is invertible
Artem Los (arteml@kth.se) Determinants February 6th, 2017 11 / 16
A = 1 1 2 1 3 1 2 3 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2.
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
1 2 −1 1 1 1 −4 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
1 2 −1 1 1 1 −4 1 4
1 2 1 −1 1 −3 1 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
1 2 −1 1 1 1 −4 1 4
1 2 1 −1 1 −3 1 1 4
= −
−1 1 −3 1 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
1 2 −1 1 1 1 −4 1 4
1 2 1 −1 1 −3 1 1 4
= −
−1 1 −3 1 1 4
1 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
A = 1 1 2 1 3 1 2 3 1 4 Step 1: (using known theorem): det (ATA) = (det A)2. Step 2: Find det A.
1 2 1 3 1 2 3 1 4
1 2 −1 1 1 1 −4 1 4
1 2 1 −1 1 −3 1 1 4
= −
−1 1 −3 1 1 4
1 1 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 12 / 16
Artem Los (arteml@kth.se) Determinants February 6th, 2017 13 / 16
Area y x
Given a vectors u, v that span a parallelogram, the area is given by: Area =
u1 u2 v1 v2
Determinants February 6th, 2017 14 / 16
Area y x
Given a vectors u, v that span a parallelogram, the area is given by: Area =
u1 u2 v1 v2
u, v don’t lie in the same plane (eg. u, v ∈ R3) Area = || u × v|| =
i j k u1 u2 u3 v1 v2 v3
Determinants February 6th, 2017 14 / 16
Problem. Given that a parallelogram is spanned by vectors u = (1, 2) and v = (3, 4), find its area.
Artem Los (arteml@kth.se) Determinants February 6th, 2017 15 / 16
Problem. Given that a parallelogram is spanned by vectors u = (1, 2) and v = (3, 4), find its area. Step 1: Plug vectors into a matrix:
2 3 4
Artem Los (arteml@kth.se) Determinants February 6th, 2017 15 / 16
Problem. Given that a parallelogram is spanned by vectors u = (1, 2) and v = (3, 4), find its area. Step 1: Plug vectors into a matrix:
2 3 4
Step 2: Take the absolute value, since it’s an area: | − 2| = 2
Artem Los (arteml@kth.se) Determinants February 6th, 2017 15 / 16
Problem. Given that a parallelogram is spanned by vectors u = (1, 2) and v = (3, 4), find its area. Step 1: Plug vectors into a matrix:
2 3 4
Step 2: Take the absolute value, since it’s an area: | − 2| = 2 ∴ Area is equal to 2 area units.
Artem Los (arteml@kth.se) Determinants February 6th, 2017 15 / 16
Given vectors u, v, w ∈ R3, the volume of the parallelepiped that they span up is: Volume = | w · ( u × v)| =
u1 u2 u3 v1 v2 v3 w1 w2 w3
Determinants February 6th, 2017 16 / 16
Given vectors u, v, w ∈ R3, the volume of the parallelepiped that they span up is: Volume = | w · ( u × v)| =
u1 u2 u3 v1 v2 v3 w1 w2 w3
converting | w · ( u × v)| to the determinant form.
Artem Los (arteml@kth.se) Determinants February 6th, 2017 16 / 16