From the series: Differential Equations and Linear Algebra

*
Gilbert Strang, Massachusetts Institute of Technology (MIT)
*

Vectors *v _{1}* to

So as long as I'm introducing the idea of a vector space, I better introduce the things that go with it. The idea of its dimension and, all important, the idea of a basis for that space. That space could be all of three dimensional space, the space we live in. In that, case the dimension is three, but what's the meaning of a basis-- a basis for three dimensional space. Or a basis for other spaces.

OK, so I have to explain independence, basis, and dimension. Dimension's easy if you get the first two. OK, independence. Are those vectors independent? Well, if I draw them, in three dimensional space, I can imagine 2, 1, 5 going in some direction. Let me draw it. How's that? 2, 1, 5, whatever! Goes there. That's a1. OK.

Now is a2 on the same line? If a2 is on the same line then it would be dependent. The two vectors would be dependent if they're on the same line. But this one is not on that line. A 4, 2, 0. So it doesn't go up and all. It's somewhere in this plane, 4, 2, 0. I'll say there. Whatever. a2. So those are independent.

So their combinations give me a space. The combinations of a1 and a2 give me a plane, a flat plane, in three dimensional space. That plane is, I would say, they span the plane. a1 and a2 span a plane. And here's the key word: span.

So there are two vectors. They're in three dimensional space. And the plane they span is all their combinations. That's what we're always doing: taking all the combinations of these vectors. OK.

So there-- and actually, a1 and a2 are a basis for that pane. a1 and a2 are a basis for that plane because their combinations fill the plane. And also, they're independent. I need them both. If I threw away one, I would only have one vector left, and it would only span a line. OK.

Now let me bring in a third vector in three dimensions. Well, what shall I take for that third vector? Ha! Suppose I take a1 plus a2 as my third vector. So 6, 3, 5. What about the vector 6, 3, 5? Well, what do I know? It's obviously special. It's a1 plus a2. It's in the same plane. So if I took a3 equal 6, 3, 5, that would be dependent. The three vectors would be dependent with that a3.

They would span the plane still. Their combinations would still give the plane, but they wouldn't be a basis for the plane. a1 and 12 and a3 together, that's too much, too many vectors for a single plane. The vectors are dependent. And we don't-- a basis has to be independent vectors. You have to need them all. We don't need all three here.

So that's a dependent one. It can't go into a basis with a1 and a2 because the three vectors are dependent. Now let me make a difference choice. So that one's dead. That did not do it. All right.

Let me take a3 equal to some other, not a combination of these, but headed off in some new direction. Well, I don't know what that new direction is. Maybe 1, 0, 0. What the heck? I believe-- I hope I'm right-- that 1, 0, 0 is not a combination here. I say 1, 0, 0 goes off. It's pretty short. Here's a3. Better a3 then that loser 6, 3, 5. 1 0, 0 is a winner. These three vectors--

So now a1, a2, and let me add in a3, all three of them span a-- what do they span? What are all the combinations of a1, a2, a3? It's three dimensional? It's the whole three dimensional space. They span all of 3D, the whole three dimensional space. They're a basis for the whole three dimensional space. They're independent.

So let me-- you see that picture before I move it? a1, a2, a3 are independent. None of them is a combination of the others. They fill a three dimensional space. They're are a basis for that three dimensional space. And that space is, in this example, is the whole of our three.

So let me just write down on the next blackboard what I mean. Independent. Independent. So independent columns of a matrix. Independent columns of a matrix A means the only solution to Av equals 0 is v equals 0. So if I have independent columns, then I haven't got any null space. If I have independent columns, then the null space of the matrix is just the 0 vector.

So let me write down that example again. A was the matrix 2, 1, 5, 4, 2, 0, 1, 0, 0. So I believe that matrix has independent columns. So its column space is the full three dimensional space. It's null space only contains-- let me put it, make that clear that that's a vector. And now I'm ready to write down the idea of a basis.

So what is a basis for the space? A basis for a space, a subspace. Independent vectors. That's the key. Independent vectors that span the space, the subspace. Whatever it is.

By the way, if the column space is all a three dimensional space, as it is here, that's a subspace too. It's the whole space, but the whole space counts as a subspace of itself. And the 0 vector alone counts as the smallest possible. So if we're in three dimensions, the idea of subspaces has-- we have just the 0 vector. Just one point. That's a smallest.

We have the whole three dimensional space. That's the biggest. And then we have all the lines through 0. Those are on the small side. We have all the planes through 0. Those are a bit bigger. And those dimensions are 0, 1, 2, 3. The possible dimensions is told to us by how many basis vectors we need.

So let me look at that and then come to dimension. OK. So independent means that the only-- that no combination, no other combination of the vectors, no combination of these vectors gives the 0 vector except to take 0 of that, 0 of that, and 0 of that. So those are a basis for the column space because they're independent and their combinations give the whole column space. OK.

And now I wanted to say something about dimensions. OK. Dimension. It's a number. It's the number of basis vectors for the subspace. Oh! But you might say, that the subspace has other bases, not just the one you happen to think of first. And I agree. Many different bases. For this example, all I need to get a basis for, in this case, for three dimensional space is I need three independent vectors. Any three.

But the point is, the point about dimension is that I need exactly three. I can never get two vectors that span all of our three. And I can never get four vectors that are independent in our three. If I have fewer than the dimension number, I don't have enough. They don't span. If I have too many, than the dimension, they're dependent. They won't be independent. They can't be a basis.

Every basis has the same number. And that number is the dimension of the subspace. All right, let's just take an example, just with a picture. I'll stay in three dimensional space, but my subspace will just be a plane.

So here I'm in three dimensional space. Good. Now I have my subspace is a plane. So it goes through the origin, but it's only a plane. So I'm expecting that I could take a vector in the plane, and I could take another vector in the plane, and they could be independent. They are. They're different directions. I couldn't find a third independent vector in the plane. Every basis for the plane--

So here every basis for this plane contains two vectors. Always two. And that number two is the dimension of a plane. Well, I'm just saying the plane there is two dimensional. It's not the same as r2. it's not the same. That plane is a plane in r3. It's not ordinary two dimensional space. But its dimension is two because it takes any vector. And if I didn't like the looks of this one, well, that's no problem. Let me go that way. That's just as good.

Those two vectors are independent. They span the plane. They're a basis for the plane. The plane is two dimensional. That's the set of key ideas. Independent. Span. Basis. Basis is fundamental. Basis is a bunch of vectors. And dimension is how many vectors.

OK. Those are key ideas in linear algebra. And you'll see them come into the big picture of linear algebra. Thank you.

*dy/dt*
= *y, dy/dt*
= –*y, dy/dt*
= *2ty*
. The equation *dy/dt*
= *y*
**y*
is nonlinear.

*x ^{n}*
, sin(

*e ^{st}*
, from outside and exponential growth,

*t*
) produces an oscillating output with the same frequency ω (and a phase shift).

*q(s)*
by its growth factor and integrate those outputs*.*

*f =*
cos(ω*t*
) is the real part of the solution for *f = e ^{iωt}*
. That complex solution has magnitude

*e ^{-at}*
multiplies the differential equation, y’=ay+q, to give the derivative of

*–by ^{2}*
slows down growth and makes the equation nonlinear, the solution approaches a steady state

*t*
and the other in *y*
. The simplest is *dy/dt = y*
, when *dy/y*
equals *dt*
. Then ln(*y*
) = *t + C*
.

*f*
= cos(ω*t*
), the particular solution is *Y*
*cos(ω*t*
). But if the forcing frequency equals the natural frequency there is resonance.

*e ^{st}*
. The exponent

*g*
is the solution when the force is an impulse (a delta function). This also solves a null equation (no force) with a nonzero initial condition.

*y = G*
cos(ω*t –*
α). The damping ratio provides insight into the null solutions.

*L*
(inductance), *R*
(resistance), and *1/C*
(*C*
= capacitance).

*t*
, cosines/sines, exponentials), a particular solution has this same form.

*(at ^{2} + bt +c) e^{st}*
: substitute into the equation to find

*y _{1}*
and

*y(t)*
.

*s ^{2}Y*
and the algebra problem involves the transfer function

*(t)*
, the impulse response is *g(t)*
. When the force is *f(t)*
, the response is the “convolution” of *f*
and *g.*

*dy/dt = f(t,y)*
has an arrow with slope *f*
at each point *t, y*
. Arrows with the same slope lie along an isocline.

*(y, dy/dt)*
travels forever around an ellipse.

*y*
and *dy/dt*
. The matrix becomes a companion matrix.

*Y*
to the differential equation *y’ = f(y)*
. Near that *Y*
, the sign of *df/dy*
decides stability or instability.

*f(Y,Z)*
= 0 and *g(Y,Z)*
= 0. Near those constant solutions, the two linearized equations use the 2 by 2 matrix of partial derivatives of *f*
and *g*
.

*y’ = Ay*
are stable (solutions approach zero) when the trace of *A*
is negative and the determinant is positive.

*m*
by *n*
matrix *A*
has *n*
columns each in **R**
^{m}
. Capturing all combinations Av of these columns gives the column space – a subspace of **R**
* ^{m}*
.

*n*
nodes connected by *m*
edges (other edges can be missing). This is a useful model for the Internet, the brain, pipeline systems, and much more.

*A*
has a row for every edge, containing -1 and +1 to show the two nodes (two columns of *A*
) that are connected by that edge.

**x**
remain in the same direction when multiplied by the matrix (*A*
**x**
*=*
λ**x**
). An *n*
x *n*
matrix has *n*
eigenvalues.

*n*
independent eigenvectors. The diagonal matrix Λis the eigenvalue matrix.

*A*
= *V*
Λ*V ^{–1}*
also diagonalizes

*d*
**y**
*/dt = A*
**y**
contains solutions **y**
*= e ^{λt}*

**y**
*= e ^{At}*

*A*
and *B*
are “similar” if *B*
= *M ^{-1}AM*
for some matrix

*n*
perpendicular eigenvectors and *n*
real eigenvalues.

*d ^{2}y/dt^{2} + Sy =*
0 has

^{T}
Sv for every vector v. S = A^{T}
A is always positive definite if A has independent columns.

*A*
into an orthogonal matrix *U*
times a diagonal matrix Σ (the singular value) times another orthogonal matrix V^{T}
: rotation times stretch times rotation.

*y(0)*
and *dy/dt(0)*
to boundary conditions on *y(0)*
and *y(1)*
.

* ^{2}u/*
∂

*F(x)*
into a combination (infinite) of all basis functions cos(*nx)*
and sin(*nx)*
.

*F(–x) = F(x)*
) and odd functions use only sines. The coefficients *a _{n}*
and

*u*
(*r*
, θ) combines *r ^{n}*
cos(

*u*
/∂*t*
= ∂* ^{2}u*
/∂

* ^{2}u*
/∂

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

SelectYou can also select a location from the following list:

- Canada (English)
- United States (English)

- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)

- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)