video_id
stringclasses
5 values
text
stringlengths
2
65
start
float64
0
4.67k
duration
float64
0.12
26.1
ZK3O402wf1c
Hi.
8.711
0.499
ZK3O402wf1c
This is the first lecture in MIT's course 18.06,
9.21
5.02
ZK3O402wf1c
linear algebra, and I'm Gilbert Strang.
14.23
5.2
ZK3O402wf1c
The text for the course is this book,
19.43
4.01
ZK3O402wf1c
Introduction to Linear Algebra.
23.44
2.63
ZK3O402wf1c
And the course web page, which has got a lot of exercises from
26.07
6.659
ZK3O402wf1c
the past, MatLab codes, the syllabus for the course,
32.729
5.741
ZK3O402wf1c
is web.mit.edu/18.06.
38.47
5.59
ZK3O402wf1c
And this is the first lecture, lecture one.
44.06
3.29
ZK3O402wf1c
So, and later we'll give the web address for viewing these,
49.92
5.57
ZK3O402wf1c
videotapes.
55.49
1.78
ZK3O402wf1c
Okay, so what's in the first lecture?
57.27
1.93
ZK3O402wf1c
This is my plan.
62.68
2.85
ZK3O402wf1c
The fundamental problem of linear algebra,
65.53
3.81
ZK3O402wf1c
which is to solve a system of linear equations.
69.34
4.54
ZK3O402wf1c
So let's start with a case when we
73.88
2.33
ZK3O402wf1c
have some number of equations, say n equations and n unknowns.
76.21
5.23
ZK3O402wf1c
So an equal number of equations and unknowns.
81.44
2.38
ZK3O402wf1c
That's the normal, nice case.
83.82
3.04
ZK3O402wf1c
And what I want to do is -- with examples, of course --
86.86
5.01
ZK3O402wf1c
to describe, first, what I call the Row picture.
91.87
5.36
ZK3O402wf1c
That's the picture of one equation at a time.
97.23
3.64
ZK3O402wf1c
It's the picture you've seen before in two
100.87
3.11
ZK3O402wf1c
by two equations where lines meet.
103.98
2.37
ZK3O402wf1c
So in a minute, you'll see lines meeting.
106.35
3.11
ZK3O402wf1c
The second picture, I'll put a star
109.46
2.77
ZK3O402wf1c
beside that, because that's such an important one.
112.23
2.84
ZK3O402wf1c
And maybe new to you is the picture -- a column at a time.
115.07
6.53
ZK3O402wf1c
And those are the rows and columns of a matrix.
121.6
3.84
ZK3O402wf1c
So the third -- the algebra way to look at the problem is
125.44
3.53
ZK3O402wf1c
the matrix form and using a matrix that I'll call A.
128.97
4.82
ZK3O402wf1c
Okay, so can I do an example?
133.79
3.7
ZK3O402wf1c
The whole semester will be examples and then see what's
137.49
5.93
ZK3O402wf1c
going on with the example.
143.42
1.69
ZK3O402wf1c
So, take an example.
145.11
2.88
ZK3O402wf1c
Two equations, two unknowns.
147.99
2.44
ZK3O402wf1c
So let me take 2x -y =0, let's say.
150.43
7.86
ZK3O402wf1c
And -x 2y=3.
158.29
7.06
ZK3O402wf1c
Okay.
165.35
1.18
ZK3O402wf1c
let me -- I can even say right away --
166.53
4.15
ZK3O402wf1c
what's the matrix, that is, what's the coefficient matrix?
170.68
6.97
ZK3O402wf1c
The matrix that involves these numbers --
177.65
2.94
ZK3O402wf1c
a matrix is just a rectangular array of numbers.
180.59
4.6
ZK3O402wf1c
Here it's two rows and two columns, so 2 and --
185.19
4.42
ZK3O402wf1c
minus 1 in the first row minus 1 and 2 in the second row,
189.61
4.81
ZK3O402wf1c
that's the matrix.
194.42
2.28
ZK3O402wf1c
And the right-hand -- the, unknown --
196.7
4.91
ZK3O402wf1c
well, we've got two unknowns.
201.61
1.48
ZK3O402wf1c
So we've got a vector, with two components, x and y,
203.09
4.28
ZK3O402wf1c
and we've got two right-hand sides that go into a vector
207.37
3.78
ZK3O402wf1c
0 3.
211.15
1.79
ZK3O402wf1c
I couldn't resist writing the matrix form, right --
212.94
5.32
ZK3O402wf1c
even before the pictures.
218.26
2.79
ZK3O402wf1c
So I always will think of this as the matrix A,
221.05
3.98
ZK3O402wf1c
the matrix of coefficients, then there's a vector of
225.03
4.41
ZK3O402wf1c
unknowns.
229.44
0.59
ZK3O402wf1c
Here we've only got two unknowns.
230.03
1.76
ZK3O402wf1c
Later we'll have any number of unknowns.
231.79
2.31
ZK3O402wf1c
And that vector of unknowns, well I'll often --
234.1
3.52
ZK3O402wf1c
I'll make that x --
237.62
2.2
ZK3O402wf1c
extra bold.
239.82
1.33
ZK3O402wf1c
A and the right-hand side is also a vector
241.15
3.7
ZK3O402wf1c
that I'll always call b.
244.85
3.38
ZK3O402wf1c
So linear equations are A x equal b and the idea now
248.23
5.56
ZK3O402wf1c
is to solve this particular example
253.79
3.03
ZK3O402wf1c
and then step back to see the bigger picture.
256.82
4.12
ZK3O402wf1c
Okay, what's the picture for this example, the Row picture?
260.94
3.69
ZK3O402wf1c
Okay, so here comes the Row picture.
264.63
2.11
ZK3O402wf1c
So that means I take one row at a time
270.21
2.68
ZK3O402wf1c
and I'm drawing here the xy plane
272.89
5.63
ZK3O402wf1c
and I'm going to plot all the points that
278.52
5.47
ZK3O402wf1c
satisfy that first equation.
283.99
3.87
ZK3O402wf1c
So I'm looking at all the points that satisfy 2x-y =0.
287.86
5.26
ZK3O402wf1c
It's often good to start with which point on the horizontal
293.12
5.88
ZK3O402wf1c
line -- on this horizontal line, y is zero.
299
3.48
ZK3O402wf1c
The x axis has y as zero and that -- in this case, actually,
302.48
4.03
ZK3O402wf1c
then x is zero.
306.51
1.21
ZK3O402wf1c
So the point, the origin --
307.72
3.51
ZK3O402wf1c
the point with coordinates (0,0) is on the line.
311.23
5.33
ZK3O402wf1c
It solves that equation.
316.56
1.73
ZK3O402wf1c
Okay, tell me in -- well, I guess I have to tell you
318.29
4.05
ZK3O402wf1c
another point that solves this same equation.
322.34
4.64
ZK3O402wf1c
Let me suppose x is one, so I'll take x to be one.
326.98
5.11
ZK3O402wf1c
Then y should be two, right?
332.09
2.84
ZK3O402wf1c
So there's the point one two that also solves this equation.
334.93
5.32
ZK3O402wf1c
And I could put in more points.
340.25
2.59
ZK3O402wf1c
But, but let me put in all the points
342.84
2.88
ZK3O402wf1c
at once, because they all lie on a straight line.
345.72
5.09
ZK3O402wf1c
This is a linear equation and that word linear
350.81
2.73
ZK3O402wf1c
got the letters
353.54
0.77
ZK3O402wf1c
Okay, thanks. for line in it.
354.31
2.45
ZK3O402wf1c
That's the equation -- this is the line that ...
356.76
3
ZK3O402wf1c
of solutions to 2x-y=0 my first row, first equation.
359.76
8.93
ZK3O402wf1c
So typically, maybe, x equal a half, y equal one will work.
368.69
5.37
ZK3O402wf1c
And sure enough it does.
374.06
1.6
ZK3O402wf1c
Okay, that's the first one.
375.66
1.94
ZK3O402wf1c
Now the second one is not going to go through the origin.
377.6
5.15
ZK3O402wf1c
It's always important.
382.75
1.64
ZK3O402wf1c
Do we go through the origin or not?
384.39
2.51
ZK3O402wf1c
In this case, yes, because there's a zero over there.
386.9
3.12