logo

Lex Fridman Podcast

Conversations about science, technology, history, philosophy and the nature of intelligence, consciousness, love, and power. Lex is an AI researcher at MIT and beyond. Conversations about science, technology, history, philosophy and the nature of intelligence, consciousness, love, and power. Lex is an AI researcher at MIT and beyond.

Transcribed podcasts: 441
Time transcribed: 44d 9h 33m 5s

This graph shows how many times the word ______ has been mentioned throughout the history of the program.

The following is a conversation with Gilbert Strang.
He's a professor of mathematics in MIT
and perhaps one of the most famous
and impactful teachers of math in the world.
His MIT OpenCourseWare lectures on linear algebra
have been viewed millions of times.
As an undergraduate student,
I was one of those millions of students.
There's something inspiring about the way he teaches.
There's a once calm, simple, yet full of passion
for the elegance inherent to mathematics.
I remember doing the exercises in his book,
Introduction to Linear Algebra,
and slowly realizing that the world of matrices,
of vector spaces, of determinants and eigenvalues,
of geometric transformations and matrix decompositions
reveal a set of powerful tools
in the toolbox of artificial intelligence.
From signals to images,
from numerical optimization to robotics,
computer vision, deep learning, computer graphics,
and everywhere outside AI,
including, of course, a quantum mechanical study
of our universe.
This is the Artificial Intelligence Podcast.
If you enjoy it, subscribe on YouTube,
give it five stars on Apple Podcasts,
support on Patreon, or simply connect with me on Twitter.
Alex Friedman spelled F-R-I-D-M-A-N.
This podcast is supported by Zippercruiter.
Hiring great people is hard,
and to me is the most important element
of a successful mission-driven team.
I've been fortunate to be a part of
and to lead several great engineering teams.
The hiring I've done in the past
was mostly through tools that we built ourselves,
but reinventing the wheel was painful.
Zippercruiter is a tool that's already available for you.
It seeks to make hiring simple, fast, and smart.
For example, codable co-founder Gretchen Hebner
used Zippercruiter to find a new game artist
to join her education tech company.
By using Zippercruiter's screening questions
to filter candidates,
Gretchen found it easier to focus on the best candidates
and finally hiring the perfect person for the role
in less than two weeks from start to finish.
Zippercruiter, the smartest way to hire.
See why Zippercruiter is effective for businesses
of all sizes by signing up, as I did,
for free at zippercruiter.com slash lexpod.
That's zippercruiter.com slash lexpod.
This show is presented by Cash App,
the number one finance app in the app store.
I personally use Cash App to send money to friends,
but you can also use it to buy, sell, and deposit Bitcoin.
Most Bitcoin exchanges take days
for a bank transfer to become investable.
Through Cash App, it takes seconds.
Cash App also has a new investing feature.
You can buy fractions of a stock,
which to me is a really interesting concept.
So you can buy $1 worth, no matter what the stock price is.
Brokerage services are provided by Cash App Investing,
a subsidiary of Square and member SIPC.
I'm excited to be working with Cash App
to support one of my favorite organizations
that many of you may know and have benefited from,
called FIRST, best known for their FIRST robotics
and Lego competitions.
They educate and inspire hundreds of thousands of students
in over 110 countries and have a perfect rating
on charity navigator, which means the donated money
is used to maximum effectiveness.
When you get Cash App from the App Store or Google Play
and use code LEX Podcast, you'll get $10
and Cash App will also donate $10 to FIRST,
which again, is an organization
that I've personally seen inspire girls and boys
to dream of engineering a better world.
And now, here's my conversation with Gilbert Strang.
How does it feel to be one of the modern day rock stars
of mathematics?
I don't feel like a rock star.
That's kind of crazy for old math person.
But it's true that the videos in linear algebra
that I made way back in 2000, I think,
have been watched a lot.
And well, partly the importance of linear algebra,
which I'm sure you'll ask me and give me a chance to say
that linear algebra as a subject is just surged
in importance.
But also, it was a class that I taught a bunch of times.
So I kind of got it organized and enjoyed doing it.
It was just, the videos were just the class.
So they're on open courseware and on YouTube
and translated, and it's fun.
But there's something about that chalkboard
and the simplicity of the way you explain the basic concepts
in the beginning, to be honest, when I went to undergrad.
You didn't do linear algebra, probably.
Of course I did linear algebra.
Yeah, yeah, yeah, yeah, of course.
But before going through the course at my university,
I was going through open course where I was,
you were my instructor for linear algebra.
And that, I mean, we were using your book.
And I mean, the fact that there is thousands,
hundreds of thousands, millions of people
that watch that video, I think that's really powerful.
So how do you think the idea of putting lectures online,
what really MIT Open Courseware has innovated?
That was a wonderful idea.
I think the story that I've heard is the committee,
committee was appointed by the president,
President Vest at that time, a wonderful guy.
And the idea of the committee was to figure out
how MIT could be like other universities,
market the work we were doing.
And then they didn't see a way and after a weekend
and they had an inspiration and came back to the president
Vest and said, what if we just gave it away?
And he decided that was okay, good idea.
So.
You know, that's a crazy idea.
That's, if we think of a university as a thing
that creates a product.
Yes.
Isn't knowledge.
Right.
The kind of educational knowledge isn't the product
and giving that away.
Are you surprised that you went through?
The result that he did it.
Well, knowing a little bit President Vest
that was like him, I think.
And it was really the right idea, you know.
MIT is a kind of, it's known for being high level
technical things and this is the best way we can say,
tell, we can show what MIT really is like.
Cause in my case, those 1806 videos are just teaching
the class.
They were there in 26, 100.
They're kind of fun to look at.
People write to me and say, oh, you've got a sense of humor,
but I don't know where that comes through.
Somehow I've been friendly with the class.
I like students and linear algebra is the subject.
We gotta give the subject most of the credit.
It really has come forward in importance in these years.
So let's talk about linear algebra a little bit.
Cause it is such a, it's both a powerful and a beautiful
subfield of mathematics.
So what's your favorite specific topic in linear algebra
or even math in general to give a lecture on,
to convey, to tell a story, to teach students?
Okay.
Well, on the teaching side,
so it's not deep mathematics at all,
but I'm kind of proud of the idea of the four subspaces.
The four fundamental subspaces,
which are of course known before,
long before my name for them, but...
Can you go through them?
Can you go through the four subspaces?
Sure I can.
Yeah.
So the first one to understand is,
so the matrix, maybe I should say the matrix.
What is the matrix?
What's a matrix?
Well, so we have like a rectangle of numbers.
So it's got n columns, got a bunch of columns.
And also got an m rows, let's say.
And the relation between, so of course the columns
and the rows, it's the same numbers.
So there's gotta be connections there,
but they're not simple.
The columns might be longer than the rows
and they're all different.
Numbers are mixed up.
First space to think about is, take the columns.
So those are vectors.
Those are points in dimension.
What's a vector?
So a fist test would imagine a vector
or might imagine a vector as a arrow in space
or the point it ends at in space.
For me, it's a column of numbers.
You often think of, this is very interesting
in terms of linear algebra, in terms of a vector.
You think a little bit more abstract
than how it's very commonly used perhaps.
You think this arbitrary multidimensional space.
I'm right away, I'm in high dimensions.
In the dream land.
Yeah, that's right.
In the lecture, I try to...
So if you think of two vectors in 10 dimensions,
I'll do this in class and I'll readily admit
that I have no good image in my mind
of a vector of arrow in 10 dimensional space,
but whatever, you can add one bunch of 10 numbers
to another bunch of 10 numbers.
So you can add a vector to a vector
and you can multiply a vector by three.
And that's, if you know how to do those,
you've got linear algebra.
You know, 10 dimensions, there's this beautiful thing
about math.
If we look at string theory and all these theories,
which are really fundamentally derived through math,
but are very difficult to visualize.
How do you think about the things
like a 10-dimensional vector
that we can't really visualize?
Yeah.
Do you, and yet math reveals some beauty
Oh, great beauty, yeah.
Our world in that weird thing we can't visualize.
How do you think about that difference?
Well, probably, I'm not a very geometric person.
So I'm probably thinking in three dimensions.
And the beauty of linear algebra is that it goes on
to 10 dimensions with no problem.
I mean, if you're just seeing what happens
if you add two vectors in 3D,
you then you can add them in 10D.
You're just adding the 10 components.
So I can't say that I have a picture,
but yet I try to push the class to think of a flat surface
in 10 dimensions.
So a plane in 10 dimensions.
And so that's one of the spaces.
Take all the columns of the matrix.
Take all their combinations, so much of this column,
so much of this one.
Then if you put all those together,
you get some kind of a flat surface
that I call a vector space, space of vectors.
And my imagination is just seeing like a piece of paper
in 3D, but anyway.
So that's one of the spaces.
That's space number one, the column space of the matrix.
And then there's the row space, which is, as I said,
different, but came from the same numbers.
So we got the column space,
all combinations of the columns.
And then we got the row space,
all combinations of the rows.
So those words are easy for me to say,
and I can't really draw them on a blackboard,
but I try with my thick chalk.
Everybody likes that railroad chalk.
And me too, I wouldn't use anything else now.
And then the other two spaces are perpendicular to those.
So like if you have a plane in 3D,
just a plane is just a flat surface in 3D,
then perpendicular to that plane would be a line.
So that would be the null space.
So we've got two, we've got a column space, a row space,
and there are two perpendicular spaces.
So those four fit together in a beautiful picture
of a matrix, yeah, yeah.
It's sort of fundamental.
It's not a difficult idea.
It comes pretty early in 1806, and it's basic.
So planes in these multi-dimensional spaces,
how difficult of an idea is that to come to?
Do you think if you look back in time,
I think mathematically it makes sense,
but I don't know if it's intuitive for us to imagine,
just as what we're talking about.
It feels like calculus is easier to intuit.
Well, calculus, I have to admit calculus came earlier,
earlier than linear algebra.
So Newton and Leibniz were the great men
to understand the key ideas of calculus.
But linear algebra, to me, is like, okay,
it's the starting point,
because it's all about flat things.
Calculus has got all the complications of calculus,
come from the curves, the bending, the curved surfaces.
Linear algebra, the surfaces are all flat.
Nothing bends in linear algebra.
So it should have come first, but it didn't.
And calculus also comes first in high school classes
and in college class, it'll be freshman math,
it'll be calculus.
And then I say, enough of it, like, okay,
get to the good stuff.
And that-
Do you think linear algebra should come first?
Well, it really, I'm okay with it not coming first,
but it should, yeah, it should.
It's simpler.
Because everything's flat.
Yeah, everything's flat.
Well, of course, for that reason,
calculus sort of sticks to one dimension,
or eventually you do multivariate,
but that basically means two dimensions.
Linear algebra, you take off into 10 dimensions, no problem.
It just feels scary and dangerous
to go beyond two dimensions, that's all.
If everything's flat, you can't go wrong.
So what concept or theorem in linear algebra or in math
you find most beautiful?
That gives you pause that leaves you in awe.
Well, I'll stick with linear algebra here.
I hope the viewer knows that really mathematics
is amazing, amazing subject and deep connections
between ideas that didn't look connected.
Some, they turned out they were.
But if we stick with linear algebra,
so we have a matrix, that's like the basic thing,
a rectangle of numbers.
And it might be a rectangle of data,
you're probably gonna ask me later about data science,
where an often data comes in a matrix,
you have maybe every column corresponds to a drug
and every row corresponds to a patient.
And if the patient reacted favorably to the drug,
then you put up some positive number in there.
Anyway, rectangle of numbers, matrix is basic.
So the big problem is to understand all those numbers.
You got a big set of numbers.
And what are the patterns, what's going on?
And so one of the ways to break down
that matrix into simple pieces
is uses something called singular values.
And that's come on as fundamental in the last
and certainly in my lifetime.
Eigen values, if you have viewers who've done engineering
math or basic linear algebra,
Eigen values were in there.
But those are restricted to square matrices
and data comes in rectangular matrices.
So you gotta take that next step.
I'm always pushing math faculty, get on, do it, do it,
do it, singular values.
So those are a way to find the important pieces
of the matrix, which add up to the whole matrix.
So you're breaking a matrix into simple pieces.
And the first piece is the most important part of the data.
The second piece is the second most important part.
And then often, so a data scientist will like,
if a data scientist can find those first and second pieces,
stop there, the rest of the data is probably round off,
experimental error maybe, so you're looking
for the important part.
So what do you find beautiful about singular values?
Well, yeah, I didn't give the theorem.
So here's the idea of singular values.
Every matrix, every matrix, rectangular, square, whatever,
can be written as a product of three very simple
special matrices.
So that's the theorem.
Every matrix can be written as a rotation times a stretch,
which is just a matrix, a diagonal matrix,
otherwise all zeros except on the one diagonal.
And then the third factor is another rotation.
So rotation, stretch, rotation is the breakup
of any matrix.
The structure, the ability that you can do that,
what do you find appealing?
What do you find beautiful about it?
Well, geometrically, as I freely admit,
the action of a matrix is not so easy to visualize,
but everybody can visualize a rotation.
Take two-dimensional space and just turn it
around the center.
Take three-dimensional space, so a pilot has to know about,
well, what are the three, yaw is one of them?
I've forgotten all the three turns that a pilot makes.
Up to 10 dimensions, you've got 10 ways to turn,
but you can visualize a rotation.
Take the space and turn it, and you can visualize a stretch.
So to break a matrix with all those numbers in it
into something you can visualize, rotate, stretch, rotate,
it's pretty neat, it's pretty neat.
That's pretty powerful.
On YouTube, just consuming a bunch of videos
and just watching what people connect with
and what they really enjoy and are inspired by,
math seems to come up again and again.
I'm trying to understand why that is.
Perhaps you can help give me clues.
So it's not just the kinds of lectures that you give,
but it's also just other folks like with Numberphile,
there's a channel where they just chat about things
that are extremely complicated, actually.
People nevertheless connect with them.
What do you think that is?
It's wonderful, isn't it?
I mean, I wasn't really aware of it.
We're conditioned to think math is hard, math is abstract,
math is just for a few people,
but it isn't that way.
A lot of people quite like math,
and I get messages from people saying,
now I'm retired, I'm gonna learn some more math.
I get a lot of those.
It's really encouraging.
And I think what people like is that there's some order,
a lot of order and things are not obvious,
but they're true.
So it's really cheering to think
that so many people really wanna learn more about math.
Yeah.
In terms of truth, again, I'm sorry to slide
into philosophy at times,
but math does reveal pretty strongly
what things are true.
I mean, that's the whole point of proving things.
And yet sort of our real world is messy and complicated.
What do you think about the nature of truth
that math reveals?
Oh, wow.
Because it is a source of comfort like you've mentioned.
Yeah, that's right.
Well, I have to say, I'm not much of a philosopher.
I just like numbers.
As a kid, this was before you had to go in
when you had a filling in your teeth,
you had to kinda just take it.
So what I did was think about math,
take powers of two, two, four, eight, 16,
up until the time the tooth stopped hurting
and the dentist said you're through, or counting.
Yeah, so that was a source of peace almost.
Yeah.
What is it about math?
Do you think that brings that?
Yeah.
What is that?
Well, you know where you are.
Yeah, symmetry, it's certainty.
The fact that if you multiply two by itself 10 times,
you get 1,024 period.
Everybody's gonna get that.
Do you see math as a powerful tool or as an art form?
So it's both, that's really one of the neat things.
You can be an artist and like math,
you can be an engineer and use math.
Which are you?
Which am I?
What did you connect with most?
Yeah, I'm somewhere between,
I'm certainly not a artist type, philosopher type person.
Might sound that way this morning, but I'm not.
Yeah, I really enjoy teaching engineers
because they go for an answer.
And yeah, so probably within the MIT math department,
most people enjoy teaching students
who get the abstract idea.
I'm okay with, I'm good with engineers
who are looking for a way to find answers.
Yeah.
Actually, that's an interesting question.
Do you think for teaching and in general,
thinking about new concepts,
do you think it's better to plug in the numbers
or to think more abstractly?
So looking at theorems and proving the theorems
or actually building up a basic intuition of the theorem
or the methodology approach
and then just plugging in numbers and seeing it work.
Yeah, well, certainly many of us like to see examples.
First, we understand,
it might be a pretty abstract sounding example
like a three-dimensional rotation.
How are you gonna understand a rotation in 3D
or in 10D or but and then some of us like to keep going
with it to the point where you got numbers,
where you got 10 angles, 10 axes, 10 angles.
But the best, the great mathematicians is probably,
I don't know if they do that
because for them an example would be a highly abstract thing
to the rest of it.
Right, but nevertheless,
it's working in the space of examples.
Yeah, examples of structure.
Our brain seemed to connect with that.
Yeah, yeah.
So I'm not sure if you're familiar with them,
but Andrew Yang is a presidential candidate
currently running with a math in all capital letters
and his hats as a slogan.
I see.
Stands for make America think hard.
Okay, I'll vote for him.
So, and his name rhymes with yours, Yang Strang.
But he also loves math and he comes from that world.
But he also looking at it makes me realize
that math, science and engineering
are not really part of our politics,
political discourse about political life,
government in general.
What do you think that is?
Well.
What are your thoughts on that in general?
Well, certainly somewhere in the system
we need people who are comfortable with numbers,
comfortable with quantities.
You know, if you say this leads to that,
they see it and it's undeniable.
But isn't that strange to you that we have almost no,
I mean, I'm pretty sure we have no elected officials
in Congress or obviously the president
that either has an engineering degree or a math.
Yeah, well, that's too bad.
A few who could make the connection.
Yeah, it would have to be people
who understand engineering or science
and at the same time can make speeches
and lead, yeah.
Yeah, inspire people.
Yeah, inspire, yeah.
You were speaking of inspiration,
the president of the society
for industrial applied mathematics.
Oh, yes.
It's a major organization in math and applied math.
What do you see as a role of that society,
you know, in our public discourse.
Right.
In public.
Yeah, so, well, it was fun to be president at the time.
Couple years, years.
Two years, around 2000.
So that's present of a pretty small society,
but nevertheless, it was a time
when math was getting some more attention in Washington.
But yeah, I got to give a little 10 minutes
to committee of the House of Representatives
talking about who I met.
And then actually, it was fun
because one of the members of the House
had been a student, had been in my class.
What do you think of that?
Yeah, as you say, a pretty rare.
Most members of the House have had a different training,
different background, but there was one from New Hampshire
who was my friend, really, by being in the class.
Yeah, so those years were good.
Then, of course, other things take over
and importance in Washington.
And math just, at this point, is not so visible,
but for a little moment it was.
There's some excitement, some concern
about artificial intelligence in Washington now.
Yes, sure.
About the future.
And I think at the core of that is math.
Well, it is, yeah.
Maybe it's hidden, maybe it's wearing a different hat.
Well, artificial intelligence,
and particularly, can I use the words deep learning?
If the deep learning is a particular approach
to understanding data.
Again, you've got a big, whole lot of data.
Data is just swamping the computers of the world.
And to understand it, to out of all those numbers,
to find what's important in climate and everything.
And artificial intelligence is two words
for one approach to data.
Deep learning is a specific approach there,
which uses a lot of linear algebra.
So I got into it.
I thought, okay, I've got to learn about this.
So maybe from your perspective,
let me ask the most basic question.
Yeah.
How do you think of a neural network?
What is a neural network?
Yeah, okay.
So can I start with an idea about deep learning?
What does that mean?
Sure.
What is deep learning?
What is deep learning?
Yeah.
So we're trying to learn from all this data,
we're trying to learn what's important,
what's it telling us.
So you've got data.
You've got some inputs for which you know the right outputs.
The question is, can you see the pattern there?
Can you figure out a way for a new input,
which we haven't seen to understand
what the output will be from that new input.
So we've got a million inputs with their outputs.
So we're trying to create some pattern,
some rule that'll take those inputs,
those million training inputs, which we know about,
to the correct million outputs.
And this idea of a neural net
is part of the structure of our new way
to create a rule.
We're looking for a rule
that will take these training inputs to the known outputs.
And then we're gonna use that rule on new inputs
that we don't know the output and see what comes.
Linear algebra is a big part of defining that rule.
That's right.
Linear algebra is a big part.
Not all the part.
People were leaning on matrices, that's good, still do.
Linear is something special.
It's all about straight lines and flat planes.
And data isn't quite like that.
It's more complicated.
So you gotta introduce some complication.
You have to have some function that's not a straight line.
And it turned out non-linear, non-linear, not linear.
And it turned out that it was enough to use the function
that's one straight line and then a different one.
Halfway, so piecewise linear, one piece has one slope,
one piece, the other piece has the second slope.
And so that, getting that non-linear,
simple non-linearity in blew the problem open.
That little piece makes it sufficiently complicated
to make things interesting.
Because you're gonna use that piece over and over
a million times.
So it has a fold in the graph, the graph is two pieces.
And but when you fold something a million times,
you've got a pretty complicated function
that's pretty realistic.
So that's the thing about neural networks
is they have a lot of these.
A lot of these, that's right.
So why do you think neural networks
by using, so formulating an objective function,
very not a plain function of the-
Lots of folds.
Lots of folds of the inputs, the outputs.
Why do you think they work to be able to find a rule
that we don't know is optimal,
but it's just seems to be pretty good in a lot of cases.
What's your intuition?
Is it surprising to you as it is to many people?
Do you have an intuition of why this works at all?
Well, I'm beginning to have a better intuition.
This idea of things that are piecewise linear,
flat pieces, but with folds between them.
Like think of a roof of a complicated,
an infinitely complicated house or something
that curved, it almost curved, but every piece is flat.
That's been used by engineers.
That idea has been used by engineers,
is used by engineers.
Big time, something called the finite element method.
If you wanna design a bridge, design a building,
design a airplane, you're using this idea
of piecewise flat as a good,
simple, computable approximation.
But you have a sense that there's a lot of expressive power
in this kind of piecewise linear.
Yeah, that's-
You use the right word.
If you measure the expressivity,
how complicated a thing can this piecewise flat guys
express, the answer is very complicated, yeah.
What do you think are the limits
of such piecewise linear or just neural networks,
the expressivity of neural networks?
Well, you would have said a while ago
that they're just computational limits.
It's a problem beyond a certain size.
A supercomputer isn't gonna do it.
But those keep getting more powerful.
So that limit has been moved
to allow more and more complicated surfaces.
So in terms of just mapping from inputs to outputs,
looking at data, what do you think of,
in the context in your networks in general,
data is just tensor vectors, matrices,
and tensors, how do you think about learning from data?
How much of our world can be expressed in this way?
How useful is this process?
I guess that's another way to ask you,
what are the limits of this approach?
Well, that's a good question, yeah.
So I guess the whole idea of deep learning
is that there's something there to learn.
If the data is totally random,
just produced by random number generators,
then we're not gonna find a useful rule
because there isn't one.
So the extreme of having a rule is like knowing Newton's law,
you know, if you hit a ball it moves.
So that's where you had laws of physics.
Newton and Einstein and other great people
have found those laws and laws of the distribution of oil
in an underground thing.
I mean, so engineers, petroleum engineers
understand how oil will sit in an underground basin.
So there were rules.
Now the new idea of artificial intelligence is
learn the rules instead of figuring out the rules
with help from Newton or Einstein.
The computer is looking for the rules.
So that's another step.
But if there are no rules at all
that the computer could find, if it's totally random data,
well, you've got nothing, you've got no science to discover.
It's automated search for the underlying rules.
Yeah, search for the rules, yeah, exactly.
And there will be a lot of random parts,
a lot of, I mean, I'm not knocking random
because that's there, there's a lot of randomness built in
but there's gotta be some basic structure.
It's almost always signal, right?
In most things.
There's gotta be some signal, yeah.
If it's all noise then you're not gonna get anywhere.
Well, this world around us does seem to be,
does seem to always have a signal of some kind
to be discovered.
Right, that's it.
So what excites you more?
The, we just talked about a little bit of application.
What excites you more, theory
or the application of mathematics?
Well, for myself, I'm probably a theory person.
I'm not, I'm speaking here pretty freely about applications
but I'm not the person who really,
I'm not a physicist or a chemist or a neuroscientist.
So for myself, I like the structure
and the flat subspaces and the relation of matrices,
columns to rows.
That's my part in the spectrum.
So there really, science is a big spectrum of people
from asking practical questions and answering them
using some math, then some math guys
like myself who are in the middle of it
and then the geniuses of math and physics and chemistry
and who are finding fundamental rules
and then doing the really understanding nature.
That's incredible.
At its lowest, simplest level,
maybe just a quick and broad strokes from your perspective.
What is, where does linear algebra sit
as a subfield of mathematics?
What are the various subfields
that you think about in relation to linear algebra?
So the big fields of math are algebra as a whole
and problems like calculus and differential equations.
So that's a second, quite different field
than maybe geometry.
It deserves to be understood as a different field
to understand the geometry of high dimensional surfaces.
So I think, am I allowed to say this here?
I think this is where personal view comes in.
I think math, we're thinking about undergraduate math.
What millions of students study.
I think we overdo the calculus at the cost of the algebra,
at the cost of linear.
You have this dog title, calculus versus linear algebra.
That's right, that's right.
And you say that linear algebra wins.
So can you dig into that a little bit?
Why does linear algebra win?
Right, well, okay.
The viewer is gonna think this guy is biased.
Not true.
I'm just telling the truth as it is.
Yeah, so I feel linear algebra is just a nice part of math
that people can get the idea of.
They can understand something that's a little bit abstract
because once you get to 10 or 100 dimensions,
and very, very, very useful.
That's what's happened in my lifetime
is the importance of data,
which does come in matrix form.
So it's really set up for algebra.
It's not set up for differential equation.
And let me fairly add, probability.
The ideas of probability and statistics
have become very, very important.
I've also jumped forward.
So, and that's different from linear algebra,
quite different.
So now we really have three major areas to me.
Calculus, linear algebra, matrices,
and probability statistics.
And they all deserve a important place.
And calculus has traditionally had a lion's share of the time.
And disproportionate share.
It is, thank you, disproportionate.
That's a good word.
Of the love and attention from the excited young minds.
I know it's hard to pick favorites,
but what is your favorite matrix?
What's my favorite matrix?
Okay, so my favorite matrix is square.
I admit it, it's a square bunch of numbers.
And it has twos running down the main diagonal.
And on the next diagonal,
so think of top left to bottom right,
twos down the middle of the matrix.
And minus ones just above those twos
and minus ones just below those twos.
And otherwise all zeros.
So mostly zeros.
Just three non-zero diagonals coming down.
What is interesting about it?
Well, all the different ways it comes up.
You see it in engineering.
You see it as analogous in calculus to second derivative.
So calculus learns about taking the derivative,
the figuring out how fast something's changing.
But second derivative.
Now that's also important.
That's how fast the change is changing.
How fast the graph is bending.
How fast it's curving.
And Einstein showed that that's fundamental
to understand space.
So second derivatives should have a bigger place
in calculus.
Second, my matrices, which are like the linear algebra version
of second derivatives are neat in linear algebra.
Yeah.
Just everything comes out right with those guys.
Beautiful.
What did you learn about the process of learning
by having taught so many students math over the years?
Oh, that is hard.
I'll have to admit here that I'm not really a good teacher
because I don't get into the exam part.
The exam is the part of my life that I don't like
and grading them and giving the students A or B or whatever.
I do it because I'm supposed to do it,
but I tell the class at the beginning,
I don't know if they believe me, probably they don't.
I tell the class, I'm here to teach you.
I'm here to teach you math
and not to grade you.
And, but they're thinking, okay, this guy,
it's gonna, you know, when's he gonna give me an A minus?
Is he gonna give me a B plus?
What?
What did you learn about the process of learning?
Of learning.
Yeah, well, maybe to be,
to give you a legitimate answer about learning,
I should have paid more attention to the assessment,
the evaluation part at the end,
but I like the teaching part at the start.
That's the sexy part,
to tell somebody for the first time about a matrix.
Wow.
Is there, are there moments,
so you are teaching a concept,
are there moments of learning
that you just see in the student's eyes,
you don't need to look at the grades,
but you see in their eyes that you hook them,
that, you know, that you connect with them in a way
where, you know what, they fall in love with this beautiful
world of math.
They see that it's got some beauty there.
Or conversely, that they give up at that point,
is the opposite, the darker say that math,
I'm just not good at math, I don't wanna walk away.
Maybe because of the approach in the past,
they were discouraged, but don't be discouraged.
It's too good to miss.
Yeah, I, well, if I'm teaching a big class,
do I know when, I think maybe I do.
Sort of, I mentioned at the very start,
the four fundamental subspaces and the structure
of the fundamental theorem of linear algebra.
The fundamental theorem of linear algebra.
That is the relation of those four subspaces,
those four spaces.
Yeah, so I think that, I feel that the class gets it.
When they see, yeah.
What advice do you have to a student just starting
their journey in mathematics today?
How do they get started?
Oh, yeah, that's hard.
Well, I hope you have a teacher,
a professor who is still enjoying what he's doing,
what he's teaching, still looking for new ways to teach
and to understand math.
Cause that's the pleasure to the moment when you see,
oh, yeah, that works.
So it says about the material you study.
It's more about the source of the teacher
being full of passion.
Yeah, more about the fun.
Yeah, the moment of getting it.
But in terms of topics, linear algebra?
Well, that's my topic, but oh,
there's beautiful things in geometry to understand.
What's wonderful is that in the end,
there's a pattern there.
There are rules that are followed in biology
as there are in every field.
You describe the life of a mathematician as 100% wonderful,
except for the grade stuff and the grades.
Except for grades.
Yeah, when you look back at your life,
what memories bring you the most joy and pride?
Well, that's a good question.
I certainly feel good when I,
maybe I'm giving a class in 1806,
that's MIT's linear algebra course that I started.
So sort of there's a good feeling that,
okay, I started this course,
a lot of students take it, quite a few like it.
Yeah, so I'm sort of happy
when I feel I'm helping make a connection
between ideas and students,
between theory and the reader.
Yeah, I get a lot of very nice messages
from people who've watched the videos and it's inspiring.
I'll maybe take this chance to say thank you.
Well, there's millions of students who you've taught
and I am grateful to be one of them.
So Gilbert, thank you so much, it's been an honor.
Thank you for talking to me.
It was a pleasure.
Thanks.
Thank you for listening to this conversation
with Gilbert Strang.
And thank you to our presenting sponsor, Cash App.
Download it, use code LEX Podcast.
You'll get $10 and $10 will go to first,
a STEM education nonprofit
that inspires hundreds of thousands of young minds
to learn and to dream of engineering our future.
If you enjoy this podcast, subscribe on YouTube.
You get five stars in Apple Podcasts.
Support on Patreon.
I'll connect with me on Twitter.
Finally, some closing words of advice
from the great Richard Feynman.
Study hard what interests you the most,
in the most undisciplined, irreverent,
and original manner possible.
Thank you for listening and hope to see you next time.