ENGG2013 Unit 10 n n determinant and an application to cryptography
ENGG2013 Unit 9 3x3 Determinant Feb, 2011.. Last time 2 2 determinant Compute the area of a...
-
date post
21-Dec-2015 -
Category
Documents
-
view
220 -
download
5
Transcript of ENGG2013 Unit 9 3x3 Determinant Feb, 2011.. Last time 2 2 determinant Compute the area of a...
Last time
• 22 determinant• Compute the area of a parallelogram by
determinant• A formula for 2x2 matrix inverse
kshum ENGG2013 2
Today
• 33 determinant and its properties• Using determinant, we can
– test whether three vectors lie on the same plane– solve 33 linear system– test whether the inverse of a 33 matrix exists
kshum ENGG2013 3
Vector Notation
• We will use two different notations for a point in the 3D space
kshum ENGG2013 4
(x,y,z)
x
z
y
x
z
y
Rule of Sarrus
kshum ENGG2013 7
+ + + – – –
Pierre Frédéric Sarrus (1798 – 1861)
Volume of parallelepiped
• Geometric meaning– The magnitude of 33 determinant is the
volume of a parallelepiped
kshum ENGG2013 8
z
y
x
Co-planar zero determinant
• Determinant = 0 Volume = 0
the three vectors lie on the same plane
kshum ENGG2013 9
z
y
x
A collection of vectorsare said to be co-planarif they lie on the same plane.
Volume of parallelepiped
• In computing the volume of a parallelepiped, it does not matter whether we write the vector horizontally or vertically in the determinant
kshum ENGG2013 12
Volume of parallelepiped with vertices(0,0,0), (1,2,0), (2,0,1), (–1, 1, 3) equals tothe absolute value of
or
x
y
z
Cramer’s rule
• If the determinant of a 33 matrix A is non-zero, we can solve the linear system A x = b by Cramer’s rule.
• The solution to
is
kshum ENGG2013 14
Gabriel Cramer (1704-1752)
or equivalently
A bx
How to show that Cramer’s rule does give the correct answer?
• The Cramer’s rule is a theorem, which requires a proof, or verification.
• We need some properties of determinant.
kshum ENGG2013 16
Properties of determinant
1. Taking transpose does not change the value of determinant
kshum ENGG2013 17
We have already verified this property in p.11
Meta-property
• Because1. After taking the transpose of a matrix, columns
become rows, and rows become column.2. Taking the transpose of a matrix does not
change the value of its determinant.
• Therefore, any row property of determinant is automatically a column property, and vice versa.
kshum ENGG2013 18
Properties of determinant
2. If any row or column is zero, then the determinant is 0.
For example
kshum ENGG2013 19
Properties of determinant3. If any two columns (or rows) are the identical, then the determinant is zero.
For example, if the second column and the third column are the same, then
kshum ENGG2013 20
Properties of Determinant
4. If we exchange of the two columns (or two rows), the determinant is multiplied by –1.
For example, if we exchange the column 2 and column 3, we have
kshum ENGG2013 21
The first kindof elementaryrow operation
Multiply by a constant
5. If we multiply a row (or a column) by a constant k, the value of determinant increases by a factor of k.
For example, if we multiply the third row by a constant k,
kshum ENGG2013 22
The 2nd kindof elementaryrow operation
An additive property
6. If a row (or column) of a determinant is the sum of two rows (or columns), the determinant can be split as the sum of two determinants
kshum ENGG2013 23
For example, if the first column is the sum of two column vectors, thenwe have
Properties of Determinant
7. If we add a constant multiple of a row (column) to the other row (column), the determinant does not change.
For example, if we replace the 3rd column by the sum of the 3rd column and k times the 2nd column,
kshum ENGG2013 24
The 3rd kindof elementaryrow operation
Summary on the effect of theelementary row (or column) operations on determinant
• Exchange two rows (or columns) change the sign of determinant
• Multiply a row (or a column) by a constant k multiply the determinant by k
• Add a constant multiple of a row (column) to another row (or column) no change
kshum ENGG2013 25
Proof of the Cramer’s rule• The solution to
is
Verification for x1: Substitute the value of b1, b2 and b3 in the first column of A.
Verification for x2: Substitute the value of b1, b2 and b3 in the second column of A.
Etc.
kshum ENGG2013 26
Cramer’s rule in wikipedia
kshum ENGG2013 27
Because x1, x2, x3 satisfy the system of linear equations, we have
By substitution
Property 6
Property 5
=0 =0 By Property 3
Another way to compute det
Group the six terms as
kshum ENGG2013 29
33 determinant can be computed in terms of 22 determinant
Minor and cofactor
• A minor of a matrix is the determinant of some smaller square matrix, obtained by removing one or more of its rows and columns.
• Notation: Given a matrix A, the minor obtained by removing the i-th row and j-th column is denoted by Aij. It is also called the minor of the (i,j)-entry aij in A.
kshum ENGG2013 30
The sign pattern
kshum ENGG2013 34
Expansion on the first row
Expansion on the second row
Expansion on the last row
Column expansion
kshum ENGG2013 35
For example,
We have similar recursive formula fordeterminant by column expansion
Computation on the third column is easy, because there are lots of zeros.
Cofactor
• The minor together with the appropriate sign is called cofactor.
• For
The cofactor of Cij is defined as
Expansion on the i-th row (i=1,2,3):
Expansion on the j-th column (j=1,2,3):
kshum ENGG2013 36
The minor of aij
The sign
A formula for matrix inverse
kshum ENGG2013 37
Suppose that det A is nonzero.
Three steps in computing above formula1. for i,j = 1,2,3, replace each aij by cofactor Cij
2. Take the transpose of the resulting matrix.3. divide by the determinant of A.
Usually called the adjoint of A
(Beware of thesubscripts)