Linear Algebra for Engineers lecture 16: Coordinates and Matrix Representations
Overview
Alex Townsend explains how a basis acts as a coordinate system and how choosing one suited to a problem can simplify calculations. Examples include computing powers of a matrix using eigenvectors, describing crystal-lattice points with integer coordinates, testing polynomial independence through coefficient vectors, and representing projection onto y = x with the diagonal matrix [[1, 0], [0, 0]] in a suitable basis.
Key takeaways
- If a matrix sends basis vectors to scalar multiples of themselves, powers of the matrix are easy to compute in that basis; the example's multipliers 1 and 0.4 become 1^k and 0.4^k.
- Coordinates are basis-dependent: the vector (1, 6) is represented by (1, 6) in the standard basis but by (-2, 3) in the basis ((1, 0), (1, 2)).
- Crystal-lattice centers are naturally indexed by integer pairs: for lattice vectors v1 and v2, every center is mv1 + nv2 for integers m and n.
- A polynomial of degree at most 3 can be encoded by four coefficients in the basis (1, t, t², t³), allowing polynomial independence to be checked by matrix pivots.
- Projection onto y = x has standard matrix [[1/2, 1/2], [1/2, 1/2]], but in the basis ((1, 1), (1, -1)) its matrix is [[1, 0], [0, 0]].
- A basis must both span the space and be linearly independent: spanning ensures every vector can be represented, while independence ensures its coordinates are unique.
Chapters
- For the example matrix P, the basis vectors satisfy P(v1) = v1 and P(v2) = 0.4v2, so repeated applications are easy to compute.
- Writing the initial vector as a linear combination of those vectors lets P^k act on each basis vector separately.
- The example uses coordinates 1 and -4/3 for the initial vector, yielding a general expression for P^k applied to it without multiplying P repeatedly.
- The standard basis for R2 is (1, 0), (0, 1); any other basis spanning R2 can describe the same vectors.
- Townsend introduces the basis (1, 0), (1, 2) as a skewed coordinate system.
- The vector (1, 6) has coordinates (-2, 3) in that basis because -2(1, 0) + 3(1, 2) = (1, 6).
- A vector's coordinates in a basis are the coefficients in its linear-combination representation using that basis.
- For the standard basis of Rn, the coordinate vector is the familiar list x1 through xn.
- Every vector has exactly one coordinate representation in a basis: spanning guarantees a representation exists, and linear independence guarantees uniqueness.
- Townsend describes a two-dimensional repeating crystal pattern using lattice vectors v1 = (√3/2, 1/2) and v2 = (√3/2, -1/2).
- A sample lattice point is 2v1 - v2, which has standard coordinates (√3/2, 3/2).
- In the lattice basis, every crystal center has the simpler form mv1 + nv2, where m and n are integers.
- Using lattice vectors avoids repeatedly expressing crystal centers with square roots and fractions in standard coordinates.
- In coursework, a question may specify a useful basis, while research can require discovering one that makes the problem simpler.
- The central practical choice is to represent objects using coordinates aligned with their structure.
- The polynomials lie in P3, the vector space of polynomials of degree at most 3, with basis (1, t, t², t³).
- Their coefficient vectors are (1, 0, 0, 2), (2, 1, -3, 0), and (0, 1, 2, -1).
- Representing polynomials as vectors lets linear-algebra methods handle them without manipulating polynomial expressions directly.
- Place the three polynomial coefficient vectors into a matrix as columns and test whether those columns are linearly independent.
- The row-reduced matrix has a pivot in every column, so the three polynomials are linearly independent.
- The same test asks whether a nonzero combination c1p1 + c2p2 + c3p3 can equal the zero polynomial; here, only the all-zero coefficients work.
- The transformation projects vectors orthogonally onto the line y = x.
- Both standard unit vectors, (1, 0) and (0, 1), map to (1/2, 1/2).
- Their images become the columns of the standard matrix, [[1/2, 1/2], [1/2, 1/2]].
- Townsend chooses the basis v1 = (1, 1), v2 = (1, -1), aligned with the projection line and its perpendicular direction.
- Projection leaves v1 unchanged because it lies on y = x, while v2 maps to (0, 0) because it is perpendicular to the line.
- These simple basis-vector images make the transformation's matrix much simpler than its standard-coordinate matrix.
- To form the matrix in basis B = ((1, 1), (1, -1)), apply the projection to each basis vector and express each output in B-coordinates.
- The first basis vector maps to coordinates (1, 0), and the second maps to (0, 0), giving the matrix [[1, 0], [0, 0]].
- The concise matrix depends on knowing the basis; changing coordinates simplifies how the projection is represented, not the transformation itself.
Transcript excerpt
0:00 the chapter that's confusing the first time you read it. Maybe confusing the second time you read it. Uh, [clears throat] maybe after the couple of times it it becomes uh easier. Anyway, so last time we were trying we were I showed you that if I wanted to compute a high power of a matrix times a vector you know and I I had this particular matrix at the time then there was a convenient basis to work in, a convenient way of looking at the problem, of looking at vectors so it made calculations like P to the K of a vector simple. If I had to do this without a clever choice of basis what did it entail? >> Uh, I'm going to >> Uh, if you yeah.
0:46 Uh, some Okay, if you want to do this with a without the clever choice of basis you have to apply the matrix P to a vector K times and it gets messy. And if you want to find out the general formula for any K you have to do that and like start spotting patterns which is really is really hard. It will take you half an hour at least to try to figure out what this is in general for any K. Instead, if I tell you this clever basis which I pulled out of my mathematician's hat right, just this basis here is still a basis for R two which means any vector can be written as a linear combination of these two vectors. But they're carefully chosen so that the action of P on the vectors, so P times each vector
1:34 is very simple to to describe to you because the first basis vector you get the same vector back. So P of this vector is the same vector
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.