Linear Algebra for Engineers lecture 21: Determinants and Their Properties
Overview
Alex Townsend reviews how to compute a change-of-basis matrix by solving for the coordinates of each input-basis vector in the output basis, then introduces determinants as signed volume scaling factors. He builds determinant rules from geometry, including the effects of swapping, scaling, and combining rows, and shows how those rules justify using elimination to compute determinants without cofactor expansion.
Key takeaways
- A change-of-basis matrix from B to C is formed by writing each vector in B in C-coordinates and placing those coordinate vectors as columns.
- The determinant represents signed volume scaling: its magnitude tracks area or volume, while its sign records orientation.
- Swapping two rows negates the determinant, multiplying one row by t multiplies it by t, and subtracting a multiple of one row from another leaves it unchanged.
- A matrix with two identical rows has determinant zero because swapping those rows leaves the matrix fixed but must negate its determinant.
- A zero row forces determinant zero, and Gaussian elimination can reveal such a row without changing the determinant during row-replacement steps.
- The determinant is additive in one row when the other rows are fixed, but generally det(A + B) is not det(A) + det(B).
Chapters
- Two bases for the same vector space have the same number of vectors, equal to the space's dimension.
- For the example in R², Townsend expresses each basis vector from B as a linear combination of the vectors in C.
- Solving both right-hand sides together by row-reducing the augmented matrix produces the change-of-basis matrix with columns (6, 5) and (4, 3).
- Using one augmented matrix is faster than separately solving two systems with the same coefficient matrix.
- A determinant is a number associated with every square matrix, written det(A) or with vertical bars around A.
- Townsend motivates determinants as a way to calculate areas and volumes of parallelograms, parallelepipeds, and higher-dimensional analogues.
- The lecture prioritizes elimination for computation rather than cofactor expansion, which becomes impractical for large matrices.
- The determinant of the identity matrix is 1, matching the area of the unit square in two dimensions.
- Townsend initially interprets matrix rows as the vectors forming the parallelogram, following the textbook's convention.
- The same unit-volume idea extends to a hypercube with side lengths of 1 in any dimension.
- Exchanging two rows multiplies the determinant by −1; for example, swapping the rows of a 2×2 matrix reverses its determinant's sign.
- The parallelogram's ordinary area remains unchanged, but its orientation reverses when the row vectors switch order.
- The determinant is therefore a signed area or volume, preserving orientation information used in contexts such as the right-hand rule.
- Multiplying one row by a scalar t multiplies the determinant by t, corresponding to stretching one side or height of the shape.
- Scaling both rows of a 2×2 matrix by t multiplies the determinant by t², since each row contributes one factor.
- This rule applies one row at a time, an important distinction when tracking determinant changes during elimination.
- The determinant is additive in a single row: replacing one row by a sum separates the determinant into a sum of determinants with that row varied.
- Townsend uses parallelogram areas to motivate why combining two row vectors relates the areas of the corresponding shapes.
- This property does not imply det(A + B) = det(A) + det(B), because adding matrices changes multiple rows at once.
- Row scaling, row combinations, and row swaps provide the rules a computer needs to simplify a matrix while tracking its determinant.
- If two rows are identical, swapping them leaves the matrix unchanged but reverses the determinant's sign.
- A number equal to its own negative must be zero, so any matrix with repeated rows has determinant zero; geometrically, its volume collapses.
- Subtracting k times one row from another leaves the determinant unchanged, matching the row-replacement step used in Gaussian elimination.
- For a 2×2 example, expanding the modified row produces the original determinant plus a term with two identical rows.
- The extra term vanishes by the repeated-row rule, leaving the original determinant intact.
- A matrix with an all-zero row has determinant zero because one dimension of its associated parallelepiped has collapsed.
- Algebraically, scaling the zero row by any scalar t leaves the matrix unchanged, while the scaling rule says the determinant must be multiplied by t.
- If elimination ends with a zero row, the original matrix's determinant is zero because row replacement preserves it.
Transcript excerpt
0:00 we're doing lecture 21 and we're moving on to determinants. But first I I thought we should have we should do a little review of change of bases. And because now we have all the tools to change bases between any coordinate system and any other. Okay, so this is section so the determinant sections are section 1 .3.1 to 3.23 so we're going back in the book. But we're not going to cover the annoying things. Uh like no cofactors. Okay, if you know what that is you know how annoying that is. Because um computationally we don't do we don't use cofactors. I'm going to teach you determinants through elimination which is what computers use to calculate
0:48 determinants. So right if you know the cofactor formula you know how complicated it is and you only did it for 3x3 right imagine 10x10 a million a thousand by a thousand. A computer has a faster way of calculating determinants and that's called elimination. So I'll be teaching it that way uh which is just uh spilling out not doing the annoying stuff. Anyway so uh just to recap we have a basis we have another basis for a vector space V. What we know all that we know is that these two bases if they're both bases for the same vector space V they must have the same number of elements. Because this is the dimension of V right?
1:34 Every okay every vector space has infinitely many I'm not everyone but those vector spaces have infinitely many bases. But they all the thing they all have in common always is that they have the same number of elements for a given vector space because the number of elements is the dimension. So we can write down an n x n matrix in
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Alex Townsend.