Keywords
[1] . Then, cofactor divided by the determinant of
[2] Cramer’s Rule computes from
[3] Area of parallelogram = if the four corners are
[4] Volume of box = if the rows of (or columns of ) give the sides of the boc
[5] The cross product is . Also, . are cofactors of row 1. Notice and .
Cramer’s Rule
Cramer’s Rule solves algebraically not by elimination. The idea is simple and makes sense.
Suppose we have a matrix . First, we construct an identity matrix with its first column replaced by then its determinant is . Then, we multiply this matrix with and the result becomes .
Now we repeat this process for all the other to get the all solutions.
Cramer’s Rule
If is nonzero, then is solved by determinants:
where the matrix is the matrix with column replaced by the vector .
[Note] But Cramer’s Rule evalutes determinants and each one is the sum of terms, resulting in terms in total. It would be very inefficient to calculate this (factorial increase very quickly).
Let’s take an example of 2 by 2 matrix . We now find the columns of by solving
We can break down this equation for each and .
Now, we need to calculate and determinants for .
The last four determinants are . Notice that they’re cofactors!.
Using the Cramer’s Rule, we get
Then,
The idea is that involves the cofactors. The determinant of each in Cramer’s Rule is a cofactor of .
The entry of is the cofactor divided by :
or
where is the cofactor matrix where the cofactors go into . The transpose of leads to
Area of a Triangle
|
---|
Introduction to Linear Algebra, 5th edition |
How do we find the area of a triangle with the corners . The best way is to use the determinants.
Area by Determinant
The triangle with corners has .
Proof
For the second case, why is the area equal to ?
Consider the case when . Let’s remove the factor to get the parallelogram which is made of two identical triangles.
|
---|
Introduction to Linear Algebra, 5th edition |
This book uses an exotic proof that the area has the same properties as the determinant.
[1] When , the parallelogram becomes the unit square. Its area is
[2] When rows are exchanged, the determinant reverses sign. The absolute value stays the same - it is the same parallelogram
[3] If row 1 is multiplied by , the area is also multiplied by .
|
---|
Introduction to Linear Algebra, 5th edition |
Hence, the area satisfies the properties of the determinant.
Cross Product
The cross product is a special application for three dimensions. Consider vectors and . The cross product is a vector in three dimensions denoted by .
The components of cross product are 2 by 2 cofactors.
Definition
The cross product of and is a vector
This cross product is perpendicular to and . The cross product .
Length of Cross Product
Property 1
becuase it reverses two rows
Its direction is perpendicular to and pointing “up” or “down” by the right hand rule (from to ).
Property 2
The cross product is perpendicular to and .
Property 3
The cross product of any vector with itself is = 0. This is obvious because the determinant with two equal rows is .
Cross vs Dot Product Length
Area of parallelogram
The length of equals the area of the parallelogram with sides and .
Triple Product = Determinant = Volume
Recall is a vector so we can take its dot product with another vector . This combination produces the triple product which is a scalar value which is equal to the volume of the box.
when lie in the same plane
The reasons are
[1] is perpendicular to that plane so its dot product with is zero.
[2] Three vectors in a plane are dependent. The matrix is singular (det=0)
[3] Zero volume when box is squashed onto a plane
References
[1] Introduction to Linear Algebra, 5th edition