Linear Algebra for Engineers lecture 14: Bases and Dimension
Overview
Alex Townsend connects vector spaces and subspaces to practical matrix problems, then uses an 8-by-6 incidence matrix for a graph with 8 edges and 6 nodes to show how null spaces encode graph structure. He defines a basis as a spanning, linearly independent set and presents dimension through the number of independent directions, illustrating how to find bases by removing redundant vectors or adding independent ones.
Key takeaways
- For an m-by-n matrix A, Null(A) lies in R^n, while Col(A) lies in R^m; the matrix dimensions identify the ambient spaces.
- The 8-by-6 incidence matrix has a one-dimensional null space generated by the all-ones vector because every directed-edge row contains one -1 and one +1.
- The transposed incidence matrix has three free variables in the example, so its null space is a three-dimensional cycle space with three independent loop directions.
- A basis must satisfy two conditions at once: it spans the space and is linearly independent; either condition alone is insufficient.
- For a matrix column space, the pivot columns of the original matrix provide a basis, while nonpivot columns are redundant for spanning that space.
- A basis can be constructed by pruning a redundant spanning set or by adding independent vectors until no more can be added.
Chapters
- Alex Townsend identifies the lecture with textbook sections 4.1 and 4.2 and says Prelim One covers lectures 1 through 13.
- A vector space is a collection of objects where linear combinations stay inside the collection, enabling linear algebra with more than ordinary vectors.
- Polynomials illustrate the broader idea: differentiation and integration can be represented computationally through linear algebra.
- For an m-by-n matrix A, its null space is the set of solutions to Ax = 0 and is a subspace of R^n.
- The column space is the span of A's columns, so it is a subspace of R^m.
- Polynomials of degree at most n form a subspace of the larger space of polynomials of degree at most n + 1, and likewise of higher-degree polynomial spaces.
- The transpose changes an m-by-n matrix into an n-by-m matrix by making its kth column the kth row.
- Transposing requires no arithmetic operations, but a computer may still spend time rearranging or copying stored matrix entries.
- Alex introduces the transpose to analyze graph incidence matrices and their null spaces.
- The example graph has 8 directed edges and 6 nodes, so its incidence matrix has 8 rows and 6 columns.
- Each edge row contains a -1 at the node it leaves, a +1 at the node it enters, and zeros at the other nodes.
- This matrix representation makes it possible to investigate graph properties using linear algebra.
- Row-reducing the 8-by-6 incidence matrix leaves one free variable, so its null space is one-dimensional in R^6.
- Setting the free variable to 1 and reading off the pivot-variable values gives the all-ones vector as a null-space generator.
- The result follows directly from the edge rows: each has one -1 and one +1, so summing all six columns gives zero.
- The transpose is a 6-by-8 matrix, and its row-reduced form has three free variables, giving a three-dimensional null space in R^8.
- Setting each free variable to 1 in turn and the others to 0 produces three independent null-space vectors, associated with edges in the graph.
- Alex traces these vectors as cycles and explains that other loops can be formed by combining the independent ones.
- The cycle-space calculation connects incidence matrices with circuit analysis and Kirchhoff's laws.
- A spanning set can contain redundant vectors, as when all columns of a matrix span a space but are not linearly independent.
- For the example matrix, the pivot columns of the original matrix form a basis for its column space; the free column is redundant.
- A basis must both span the space and be linearly independent, giving a concise description without unnecessary directions.
- The standard unit vectors form a basis for R^n because they span every vector and are linearly independent.
- A basis is not unique: scaling basis vectors or rotating the coordinate directions can produce another basis.
- For a column space, selecting pivot columns avoids the common error of treating every column as part of a basis.
- One way to form a basis is to start with a spanning set and remove vectors one at a time while preserving the span.
- In the graph example, a cycle vector that is a combination of other cycle vectors can be discarded without losing the full cycle space.
- Continue pruning until the remaining vectors are linearly independent; the result is a minimal spanning set.
- The complementary method starts with no vectors and adds vectors from the space only when they are linearly independent of those already chosen.
- Stop when no additional independent vector can be added; the resulting maximal independent set spans the space and is a basis.
- For the three-dimensional null space of the transposed incidence matrix, three independent cycle directions form a basis.
Transcript excerpt
0:00 So, uh this is lecture 14. Uh corresponds to I don't know why 4.1 and 4.2 of the textbook. So, um in terms of prelim one, I I actually announced some information about prelim one, which is on the 18th of October. Um the in terms of what will be covered in prelim one, it's lectures one to 13. So, actually by now you have all the information for prelim one. Except I do think prelim 14 uh lecture 14 does cement some of the concepts in lecture 13, at least the first half of this lecture.
0:48 Lecture 14. Uh every single class I've been putting the number at the top. Okay. So, this is the maybe the first part of this lecture is is useful. Uh and then for prelim one, and then uh after that we move on to stuff that will be on the semifinal as opposed to So, the prelim is later this year than usual in terms of the content in terms of where it falls in the semester in terms of my teaching. But I've kept it on the same material, so all the through past prelims are valid. And then when we get to the semifinal, all the prelim two past prelim twos will be valid. So, try to keep it so there's some coherence between this year and the previous years.
1:34 Anyway, so uh uh last time we were looking at vector space bags of objects that satisfy certain rules. There are those 10 rules that they must satisfy. That just mean that you can do linear combinations. So, that on a computer uh you can compute using linear algebra with anything that you can write down as a vector space. It doesn't have to be vectors. All right? We've We've already seen that
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.