![]()
MATH347DS L07: Row-echelon form, determinants,
eigendecomposition
|
Reduction to echelon form
Determinants
Eigenvalues, eigenvectors
![]()
Row-echelon, column echelon forms
|
Form a lower triangle of zeros by row Gauss elimination to obtain row echelon form
left-most non-zero component on a non-zero row is to the right of non-zero entry of rows above, e.g.
if all leading non-zero entries are 1, matrix is in reduced row echelon form.
Form an upper triangle of zeros by column Gauss elimination to obtain column echelon form
![]()
Determinants
|
Definition. The determinant of a square matrix is a real number
giving the (oriented) volume of the parallelepiped spanned by matrix column vectors.
![]()
Determinants of dimensions 2,3
|
Computation of a determinant with
Computation of a determinant with
Where do these determinant computation rules come from? Two viewpoints
Geometric viewpoint: determinants express parallelepiped volumes
Algebraic viewpoint: determinants are computed from all possible products that can be formed from choosing a factor from each row and each column
![]()
Determinant in 2D gives area of parallelogram
|
![]() |
In two dimensions a “parallelepiped” becomes a parallelogram with area given as
Take as the base, with length . Vector is at angle to -axis, is at angle to -axis, and the angle between , is . The height has length
Use , , ,
![]()
Determinant in 3D gives volume of parallelepiped
|
Determinant in 3D gives volume of parallelepiped
The volume is (area of base) (height) and given as the value of the determinant
![]()
Determinant calculations
|
The geometric interpretation of a determinant as an oriented volume is useful in establishing rules for calculation with determinants:
Determinant of matrix with repeated columns is zero (since two edges of the parallelepiped are identical). Example for
This is more easily seen using the column notation
Determinant of matrix with linearly dependent columns is zero (since one edge lies in the 'hyperplane' formed by all the others)
![]()
Determinant calculation rules
|
Separating sums in a column (similar for rows)
with
Scalar product in a column (similar for rows)
with
Linear combinations of columns (similar for rows)
with .
![]()
Determinant expansion
|
A determinant of size can be expressed as a sum of determinants of size by expansion along a row or column
![]()
Algebraic definition of determinant
|
The formal definition of a determinant
requires operations, a number that rapidly increases with
A more economical determinant is to use row and column combinations to create zeros and then reduce the size of the determinant, an algorithm reminiscent of Gauss elimination for systems
Example:
The first equality comes from linear combinations of rows, i.e. row 1 is added to row 2, and row 1 multiplied by 2 is added to row 3. These linear combinations maintain the value of the determinant. The second equality comes from expansion along the first column
![]()
Review of main linear algebra problems
|
Compute the coordinates in a new basis, also known as solving a linear system when square, non-singular
Compute factorization,
Solve by forward substitution
Solve by backward substition
Compute the cl
osest approximation to a high dimensional vector by linear combination of vectors , , also known as the least squares problem
Compute factorization, . The projector onto is
Projection of onto is . Set this equal to a linear combination of columns of , , Since , solve the triangular system to find
For a square matrix find those non-zero vectors whose directions are not changed by multiplication by , , known as the eigenvalue problem.
![]()
Characteristic polynomial of a matrix
|
Consider the eigenproblem for with , and . Rewrite as
Since , a solution to eigenproblem exists only if is singular or
Investigate form of
Recall algebraic definition of a determinant as sum of products of index permutations to deduce that is an degree polynomial in , defined as the characteristic polynomial of