Math 208 Interactive Notebooks © 2024 by Soham Bhosale, Sara Billey, Herman Chau, Zihan Chen, Isaac Hartin Pasco, Jennifer Huang, Snigdha Mahankali, Clare Minerath, and Anna Willis is licensed under CC BY-ND 4.0
License: OTHER
ubuntu2204
Chapter 5: Determinants
By: Soham Bhosale
The determinant of a matrix is a single numerical value which is used when calculating the inverse or when solving systems of linear equations. Let's look at some basic examples first.
The determinants of 2x2 matrices can be generated using a special formula
Let's apply to an example matrix
Now we are going to look at some interesting properties of Determinants.
The first property of determinants we are going to look at is regarding multiplying determinants. Multiplying matrices and computing arithmetic operations requires a lot of computation. However, the relationship between the determinant of the product of matrices and the product of their individual determinants, it more simple.
And
This property holds commutatively as well!
After seeing this neat property of multiplying determinants, it may be tempting to assume that adding determinants work the same way. Namely, that the determinant of the sum of two matrices is the same as the sum of their individual determinants. In math notation, . However, this property is not true. Here's an example of when it is not true.
However, there are some instances where this property does hold true. Here is an example:
Determinants of matrices can be calculated using something called the cofactor expansion method.
Here is the formula:
Where are the cofactors of .
We can represent this using an example to see how sage calculates it
Elementary Matrices
Instead of using cofactor expansion to compute the determinant. It is more efficient to convert the matrix to echleon form using row operations and then multiply the terms along the diagnonal
First, let's see how elementary matrices change a matrix (row-operations)
Remember the three elementary operations are
Interchanging two rows
Multiplying a row by a constant c
Adding a mulitple of one row to another
Affect of Elementary Matrices on the Determinant
Here is the affect of elementary matrices on the Determinant. This table from the textbook does a great job summarizing it.
Elementary Matrix Switching Rows
The determinant of the matrix produced by interchanging two rows of the original matrix is -det(B)
Multiplying a row by a constant multiplies the determinant by that constnant c
Now here is a function I wrote that represents the recursive nature of finding determinants using cofactor expansion
Some more properties!
Determinant of the inverse of a matrix A is
has the same Determinant As A
Inverses from Determinants
In the textbook, we learn that If A is an invertible matrix, then
Cramer's Rule
Cramer's rule is a formula using determinants that can be used to find the solution to Ax = b where A is an n x n matrix and b is a vector.
If A = [] and b is in , then let denote the matrix A after replace with b
Determinants Can Also Represent Area
Let T:
Example Problems
A functionality that computers provide is the ability to compute fast. Thus we can use this to our advantage to find examples of certain examples or counterxamples of matrices. Here are some practice problems from the book representing this