Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 2 тыс.

  • @GustavoMerchan79
    @GustavoMerchan79 8 лет назад +7526

    These should be STANDARD pre-course material for any linear algebra student ... Imagine going to those lectures having watched them first :)

    • @ericcooke2661
      @ericcooke2661 8 лет назад +535

      In my Linear Algebra class we never discussed what the determinant, null space, or rank actually meant. We did discuss the Algebraic theory behind it very well but never touched the Geometric concepts. These videos are filling a lot of holes in my knowledge.

    • @ProfessorEisenoxid
      @ProfessorEisenoxid 8 лет назад +37

      +Gustavo Merchan I am going to have this pleasure! And I can picture that I will recommend this videos to a bunch of people!

    • @reezis1619
      @reezis1619 7 лет назад +12

      Can someone help me understand the intuition behind 5:33? Why does the vector x move when the basevectors change but vector v is just lying there untouched? Shouldn't the vector v also move to a different position? Why is only the vector x repositioning? I don't understand the logic behind it

    • @abduladeshina3501
      @abduladeshina3501 7 лет назад +14

      +iFoxx16 the intuition behind the x=A^-1*v transformation is quite simple. at first you're given the Ax=v transformation, that is the transformation A that takes the x vector and *transforms* it to the v vector, so going by pure math when you multiply the equation by A's inverse, you get the corresponding value of the x vector (which in the case of a real life problem you'd be looking for) and diagrammatically the inverse function of A takes the v vector and transforms it into the x vector.
      *So summarized A turns x into v so intuitively A inverse turns v into x*
      (Sorry for the long post hope it helped :))

    • @reezis1619
      @reezis1619 7 лет назад +8

      +Abdul Adeshina Ahh, thanks bro. The video misguided me. I thought the video showed the base vectors changing in a linear transformation. But the intuition behind linear transformation is that you multiply it with a transformation matrice and your vector can change it's direction and length, it isn't the base vectors changing, I get it now.

  • @ChumX100
    @ChumX100 8 лет назад +2536

    These videos have the opposite effect on me than a regular lecture, they put me in a relaxed meditative state, concentrating on deep intuitions instead of a hectic state lost in calculations

    • @joulesjams20
      @joulesjams20 8 лет назад +32

      I sorta have that as well

    • @pranaygulati270
      @pranaygulati270 5 лет назад +45

      Wow, can't believe you managed to put that into words

    • @MohaMMaDiN55
      @MohaMMaDiN55 5 лет назад +4

      You’re right. Hahaha

    • @marcusstoica
      @marcusstoica 5 лет назад +16

      That is exactly what math is at its core.

    • @benhaze7468
      @benhaze7468 4 года назад +2

      literally this.

  • @austinsimpson8
    @austinsimpson8 3 года назад +645

    Holy crap dude, you've just synchronized an entire semester of lukewarm understanding into one single video that connects all the dots, absolutely wild.

    • @bikespike4150
      @bikespike4150 Год назад +12

      I know right. It’s such a weird sensation for some reason.

    • @sairaj6875
      @sairaj6875 Год назад +3

      all the dots and crosses * :D

  • @julijanailic3475
    @julijanailic3475 10 месяцев назад +36

    I am probably one of the lucky students that discovered this series during my linear algebra 1 course, and I have to say thank you from the bottom of my heart. Not only have you awaken my passion for math through your other videos and make me want to study it at university but you have also helped me intuitively understand these key concepts. Often times professors give us definition that don't make sense in your head until you see an exemple. And you series is exactly that illustration I need to fully understand. Keep up the amazing content Grant!

    • @Lotschi
      @Lotschi 9 месяцев назад +2

      This is exactly the problem I also have with the lectures. I quickly lost the understanding how all the things belong together. I‘s a pity I only see those videos now.

  • @RunstarHomer
    @RunstarHomer 2 года назад +162

    There will never be a channel that tops 3Blue1Brown. After months of studying, this video made all the difference in the world in 12 minutes.

  • @xatirig
    @xatirig 5 лет назад +1895

    God bless you even just for that Nullspace visualization.

    • @123gregery
      @123gregery 5 лет назад +25

      you understood it? I got nothing!

    • @obi-wankenobi8237
      @obi-wankenobi8237 5 лет назад +126

      @@123gregery Watch it again and again and again.. You guys really give up fast! I've watched this for like the 5th time and now everything seems natural since I practiced the computations too. The explanations are nearly perfect, and thee commenters help extend that.

    • @DavidS7474
      @DavidS7474 5 лет назад +18

      For the first time I understood that, and makes sense in my mind. If you go by the teacher explanation you may never get to fully understand the concept.

    • @That_One_Guy...
      @That_One_Guy... 4 года назад +27

      I was mind blown by that Nullspace visualization, so that was what Nullspace meaning is

    • @gustafbstrom
      @gustafbstrom 4 года назад +7

      My problem with understanding was when he suddenly takes A*v (it has been A*x until then) and calls that column space.

  • @markoruzic3568
    @markoruzic3568 5 лет назад +313

    I have to stop every 5 minutes just so i can pull myself together, this is so mind blowing that they are not showing this in all classes to all the students

  • @CoasterMagicX2
    @CoasterMagicX2 6 лет назад +507

    In high school math, we recently learned this way to use matrices to calculate linear equations. But, without the intuition that you teach here and *WITHOUT LEARNING WHAT MATRICES ARE*. It felt like magic how we plugged in numbers into our calculators and watched it give us the answers. Math should never feel like magic. Thanks to you, I now know where it comes from, and it doesn't feel like magic anymore. Keep making these videos!

    • @ultimatedude5686
      @ultimatedude5686 4 года назад +42

      Math still feels like magic but the mathematicians feel like wizards

    • @assholable
      @assholable 3 года назад +21

      I dont like the way you are using 'magic' in a negative sense. The intuitive part is what is so magical about math

    • @rowdysrohan5641
      @rowdysrohan5641 2 года назад +19

      @@assholable he just means something unknown dude

    • @eterty8335
      @eterty8335 2 года назад +8

      @@rowdysrohan5641 yeah but you gotta admit, "math shouldn't feel like magic" sounds bad even if you force yourself to not hear it that way, like something an evil, antagonistic cartoon show maths teacher would say

    • @OwlyFisher
      @OwlyFisher 5 месяцев назад +4

      ​@@eterty8335 i think a better word for this feeling is "maths shouldnt be a black box"

  • @ffggddss
    @ffggddss 5 лет назад +706

    I must tell you that I'm very impressed with your treatment of lin-alg in this series of videos. You've packed a solid chunk of a good LA course into a handful of 12-min videos, at a seemingly leisurely pace, with loads of intuition-provoking effects that help make the key concepts stick. It reinforces for me, the reason I subscribed to your channel.
    I'd also like to add - around the 1-minute mark in this chapter, where you're talking about the importance of matrices - a suggestion of another very strong reason:
    • the way they allow characterizing continuous, non-linear transformations as being locally approximated by linear ones.
    This really is something that makes them universally useful. It takes us into the concept of tangent spaces, and, ultimately, tensor calculus, which is the natural language of general relativity and other applications of curved manifolds, by relating nearby tangent spaces. Of course, this more full-blown explanation is well beyond the level of your series here, but I'm confident that you could drop the hints in a most understandable way about this, without going into unnecessary detail...Or maybe in a followup series that delves deeper.
    Meanwhile, I'm sitting back, enjoying the show! [Now where's that microwave popcorn...?]
    Fred

    • @ffggddss
      @ffggddss 4 года назад +45

      @@downsonjerome7905 Congratulations!
      The other Fred

    • @scientificshrey2089
      @scientificshrey2089 2 года назад +6

      And other resource(books or lectures) equivalent to these brilliant lectures to learn this stuff?

    • @MiScusi69
      @MiScusi69 Год назад +2

      Well said, @ffggddss

  • @doctoridk9442
    @doctoridk9442 5 лет назад +222

    words can't describe how mind-clearing this series is

  • @thekillermuffin9557
    @thekillermuffin9557 7 лет назад +2026

    Can you please do a similar course on probability? Love these!

  • @Titurel
    @Titurel 8 лет назад +703

    I eat popcorn when I watch these...It's THAT entertaining...

    • @iicin
      @iicin 5 лет назад +2

      Same XD It was a relaxing lesson!

    • @77Evangelico
      @77Evangelico 5 лет назад

      Jajaj

    • @kamalvaishya1468
      @kamalvaishya1468 5 лет назад

      Same here

    • @ritikravichandran4255
      @ritikravichandran4255 4 года назад +19

      guess you were eating kernels while learning about kernels...I'll show myself out

    • @ayushgupta7273
      @ayushgupta7273 4 года назад

      I just take out a notebook and start making notes lol

  • @mazisilas7974
    @mazisilas7974 6 лет назад +2938

    Leave me alone. I'm not crying because I'm sad, I'm crying because I get it.

    • @playitothebeat7911
      @playitothebeat7911 4 года назад +118

      I was in a series of shocks after each word he said, so I paused the video each time and felt like I wanna cry

    • @yahavhazut
      @yahavhazut 4 года назад +55

      Every word here is so correct

    • @zepherius9997
      @zepherius9997 4 года назад +30

      That's exactly what's happening to me right now

    • @123chen9
      @123chen9 4 года назад +11

      Yes,He says fantastic good

    • @kevinshen9391
      @kevinshen9391 4 года назад +7

      A strange feeling indeed

  • @playitothebeat7911
    @playitothebeat7911 4 года назад +727

    the vibe that every one is feeling in the comments section is priceless

    • @nicholascunningham6936
      @nicholascunningham6936 2 года назад +16

      This is what happens when education is done right. Imagine if all teachers and professors taught this way. I think many students would actually start to enjoy school. More than halfway through my linear algebra course and I only _now_ finally understand what everything means thanks to this playlist. It really is just mind-blowing. Before, I was just memorizing a bunch of steps to find an answer that had no meaning to me. Like, great, I found the determinant, not sure wtf that is but here's my answer for it, now give me my grade.

  • @nirmalaliyanaarachchi8724
    @nirmalaliyanaarachchi8724 5 лет назад +1804

    This whole series has been a collection of "holy sh*t", dispersed at different time stamps.

    • @dineshdange5883
      @dineshdange5883 4 года назад +2

      Why?

    • @SagaxCorvinus
      @SagaxCorvinus 4 года назад +73

      @@dineshdange5883 Because it's full of moments where you come to realize things that you possibly didn't understand during formal education. These videos focus on the _why_ , not the _how_ , if you get what I mean.

    • @shashikantkumar5095
      @shashikantkumar5095 4 года назад +8

      @@dineshdange5883 Cuz in every video when I learn something I feel like saying "holy sh*t"

    • @abrpapa
      @abrpapa 3 года назад +16

      The biggest holy shit moment for me on this vid was 10:34

    • @63ch31
      @63ch31 3 года назад +8

      I have holy shit-ed so many times troughout this series. I have spent numerous hours feeling retarded while watching the lectures provided by my school, only to grasp it all right now within the span of minutes.

  • @fossilfighters101
    @fossilfighters101 8 лет назад +197

    3Blue1Brown, as a student in pre-calc right now, I find these a perfect accompaniment, both helping me intiutionalize (I'm making it a word) vectors and matrices and adding on extra, more complex things as icing on the cake.
    Thank you, sir.

    • @bengski68
      @bengski68 8 лет назад +18

      +fossfighters101 "intuit" is a nice word for "intuitionalize".

    • @3blue1brown
      @3blue1brown  8 лет назад +93

      I prefer "intuinternalize"

    • @fossilfighters101
      @fossilfighters101 8 лет назад +2

      Thank you.

    • @fossilfighters101
      @fossilfighters101 8 лет назад

      :D

    • @bengski68
      @bengski68 8 лет назад +1

      +goohz essence and meaning... you mean the intuition? That is, the intuitionalization?

  • @RiotGearEpsilon
    @RiotGearEpsilon 8 лет назад +335

    This is one of the most enlightening video series i've ever seen.

  • @kjekelle96
    @kjekelle96 4 года назад +183

    0:00 intro
    0:28 what about computations?
    0:51 system of equations
    2:38 visual
    4:15 inverse and identity transformations
    5:39 link with the determinant
    8:02 “rank”
    8:54 "column space"
    9:38 "null space"
    10:56 in sum

  • @qwerty69600
    @qwerty69600 Год назад +16

    This guy is epic. A great indication of how well someone understands a particular topic is how elegant and/or imaginative their explanations are. I've always found a lot of math a bit hard work. Not hard work in that I couldn't get through it, but hard work in that I always felt I was remembering arbitrary systems for solving arbitrary problems. This guy truly brings math to life and inspires me to learn more. Absolutely nobody, ever, not in anything I've ever read/heard/watched has managed that. Amazing.

  • @meganarnold5912
    @meganarnold5912 Год назад +7

    I wish these videos were around when I was in school. I'm going back for a master's and these are the most informative refresher I could have asked for. Knowing the intuition behind the concepts, I remember the equations from school without issue.

  • @markjbaldwin
    @markjbaldwin 6 лет назад +81

    I remember in college as a math major having the intuition squished out of me by the professors bent on formal rigor. I was never any good at abstract math after that. I am happy to see that intuition is making a comeback. I think that all breakthrough mathematics is a result of intuition. I really like what this guy is doing for the intuitives.

    • @rickroller1566
      @rickroller1566 2 года назад

      wait till you find out that 1 = 0.99999... or the infinity of the size of the reals is bigger than the size of the integers

    • @vazn4143
      @vazn4143 2 года назад +18

      @@rickroller1566 That's quite intuitive, it's just not trivial intuition.
      I'm sure those things were obvious for great mathematicians of the past.
      Intuition is way more powerfull than analysis.

    • @taylorward7576
      @taylorward7576 Год назад +2

      @@vazn4143 I always thought of it as intuition solves problems more creatively and can solve problems you don't already know better than rigorous analysis, but is prone to error. The best approach I've found is to search for an intuitive solution to a problem and then back it up with rigorous symbolic logic to make sure my intuition makes sense. That said I'm a physics and engineering student so maybe pure math runs on different rules.

    • @vazn4143
      @vazn4143 Год назад +3

      @@taylorward7576 I think from my experience i could say there's two types of math person.
      There's the guy that so much into the formal "side" of math that he can just juggle with the symbols and obtain proofs without even asking himselfwhat is the meaning of the things he juggle with.
      And there's people like me, who rely on the meaning of things and symbols to solve problems. It's doesn't mean that you lose abstraction because your symbols could have an abstract meaning in whatever mathematical structure you're working in. But its necessary to me. And then my intuition arise from the meaning of those ideas.
      It could be geometric intuition, algebraic or anything.
      But i would not be able to do any math at all (and i would not like math anyways) it i couldn't develop this intuition so yeah its pretty important in my opinion

    • @nothing0x4D2
      @nothing0x4D2 6 месяцев назад

      @@rickroller1566 Thats pretty intuitive, like 0.999999... is trying to be as close to 1 as possible, may as well be equal to 1.
      Same goes for infinity the size of reals being bigger, since we know there are infinitely many reals between any two integers, you would intuitively think there are more reals.

  • @2Cerealbox
    @2Cerealbox 8 лет назад +2365

    I'm already sad that this series is finite. ):

    • @OrangeC7
      @OrangeC7 8 лет назад +54

      Ya... but infinite videos would be... really, really short. I mean, Aleph Null length videos would be nothing compared to w^2 long videos. ( ͡° ͜ʖ ͡°)

    • @OrangeC7
      @OrangeC7 8 лет назад +3

      +Baumgarten Ralph Quite Exactly. 😅

    • @azureorbit
      @azureorbit 8 лет назад +25

      vsauce? ( ͡° ͜ʖ ͡°)

    • @duckymomo7935
      @duckymomo7935 8 лет назад +9

      linear algebra stil researched and infinite

    • @swalscha
      @swalscha 7 лет назад +12

      Go see the series of Maththebeautiful's channel to complete your knowledge of linear algebra.

  • @timmyaol5071
    @timmyaol5071 8 лет назад +26

    Hi. Thank you.
    A) thank you for your honesty stating that you are focused on the intuition and not the calculation.
    B) thank you for actually focusing on the intuition rather than the calculation. You make linear algebra so much easier to understand.
    C) as a side note - thanks for the awesome graphics.

  • @xrenynthemusicmage6422
    @xrenynthemusicmage6422 5 лет назад +40

    Our maths professor explained everything mentioned in this playlist almost only numerically. Watching this got me more mind blows than ever before in such a short amount of time!
    PS: You truly saved my semester, dear sir

    • @Idontknow-vm1iy
      @Idontknow-vm1iy 2 года назад +4

      I feel you. Luckily, my calculus professor often provides geometric intuition for the lessons he teaches. That is what most professors miss in my opinion, they focus on us remembering the equations as opposed to having an intuitive understanding of what the equations mean, and their implications for other concepts in math. For example, I understood the concept of the derivative mostly through what it meant when applied in physics. This applied concept helped me understand the fundamental math behind it even more. Every class becomes a lot more beneficial when you focus less on remembering equations and focus more on solving problems.

  • @ashwith
    @ashwith 5 лет назад +29

    7:55 And all the cases for Cramer's rule for the case when the determinant is zero suddenly makes sense. You're beyond brilliant! Wish I saw these videos before.

  • @kramer3d
    @kramer3d 8 лет назад +215

    I think I spotted an error. At 8:56 where you define Column Space... shouldn't it be ... Set of all possible outputs Ax?

    • @3blue1brown
      @3blue1brown  8 лет назад +236

      Oh! Good catch. I guess technically it doesn't matter, since for that sentence there's no reason the symbol v can't stand for the input. But certainly for clarity's sake it would have been better to have used an x.

    • @WeirdAlSuperFan
      @WeirdAlSuperFan 5 лет назад +23

      @@3blue1brown This comment really helped me! I was really confused about the whole idea of "output for your matrix" until I saw this, even though I've watched the rest of the series up until this point.

    • @waiitwhaat
      @waiitwhaat 4 года назад +5

      So basically, 8:59 :)

    • @anjalikumar9193
      @anjalikumar9193 4 года назад +4

      @@WeirdAlSuperFan same here too ..i was als9 confused and hence went to check the comments..finally satisfied

    • @patricklao9762
      @patricklao9762 4 года назад +3

      phew. thanks for the catch. i was kinda confused as well! thank you grant for this wonderful video!

  • @cutcc
    @cutcc 5 лет назад +38

    Very interesting how systems of equations is in the 7th episode of this series whereas in school, it's the first thing you learn. Really shows the difference between institutionalized learning and conceptual/intuitive learning.

  • @Tritiuhm
    @Tritiuhm 6 лет назад +171

    "... Plus, in practice, we usually get software to compute this stuff anyway."
    Not for me, my professor(s) have essentially outlawed the use of calculators. :'(

    • @maurofoti526
      @maurofoti526 5 лет назад +48

      That is correct, you need to know how to calculate them to rellay learn the meaning. Of course in real life you will not calculate a simple 3x3 matrix and you'll use a calculator, but you still need to understand what the calculator or the software is doing. That's why in all algebra and calculus exam calculators are forbidden but the exam itself only require very simple calculations, if you know the method of course

  • @louiebajarias8931
    @louiebajarias8931 Год назад +11

    My comment will be another in a sea of many, but I wanted to express my gratitude for your existence. Your goal of giving maths a more intuitive approach really helps people like me who don't like to accept rules and formulas as they are and just use them. Please keep the good work up, it is invaluable.

  • @CupcakePump
    @CupcakePump 4 года назад +58

    I am in my first year of bachelor in physics and astrophysics and this playlist helps me so much! It kind of reconnects me with reality and what everything actually means instead of what we see at uni. There we just see all the math part, computing and the (seemingly very important) proofs. Grant, I think you're doing an amazing job of explaining quite complex math while keeping your and our feet on the ground! I really love your way of explaining things. Thank you

  • @Lemonickous
    @Lemonickous 8 лет назад +383

    To understand non full rank transformations, I like to think about it in the language that: "It loses information".

    • @Lemonickous
      @Lemonickous 8 лет назад +37

      Would be interesting to see your coverage of tensors as well by the way. Your videos are great fun :)

    • @learningsuper6785
      @learningsuper6785 7 лет назад +31

      Since non full rank matrices are not invertible, it does seem to lose information after the transformation.

    • @huverdoose
      @huverdoose 6 лет назад +5

      I just want you to know that Dr. Susskind was insulted by this comment.

    • @davidk7212
      @davidk7212 6 лет назад +4

      This is exactly how I think about it

    • @ayonbiswas4186
      @ayonbiswas4186 6 лет назад +5

      Dimensions, to be more precise.

  • @timbektu8829
    @timbektu8829 4 года назад +9

    I will die a happy man if you make a similar set of videos for Probability and Statistics. Having watched these videos, I will never be able to look at Matrices the same old-boring-cryptic way. Tight Hugs!

  • @karannchew2534
    @karannchew2534 Год назад +54

    Notes for my future revision.
    8:55
    .Column of matrix
    = where basis vector lands.
    .A column space of a matrix
    = All possible output of matrix of all columns
    = The space (across the dimensions) the transformed basis vectors.
    It's not where the basis vectors landed, but the resulting *dimension*.
    In short,
    Column space of a matrix
    = Column span
    = Span of (all) columns
    = Span of transformed basis vectors
    .Span of transformed basis vectors (can be lower dimension or same dimensions as the original vector basis)
    = The space with all column spaces included
    = All possible output (from all basis vectors) after the matrix transformation
    = The space (within the new dimension) where the vectors could possibly be transformed into
    ---
    Rank (of a matrix)
    = Number of dimensions of the column space
    = Number of dimensions after basis vectors being transformed by the matrix
    Full rank matrix
    = When the rank is as high as it can be
    = When the rank equals to number of dimensions
    = When the rank equals to the number of columns
    Not full rank matrix
    = Matrix that squishes input to a lower dimension
    ---
    09:38
    Zero vector
    = [0, 0]
    = Origin
    = Always included in column space
    = Always present after any transformation
    In a full rank transformation, the original span is maintained, so the only vector that lands at the origin is [0, 0].
    For a non-full rank transformation, many vectors collapse to the origin.
    For example, when a 2D span (a plane) became 1D span (a line), there is a line in the 2D span that collapses to [0,0].
    ---
    Null space
    = Kernel
    = The space (of set of vectors) that collapse into the origin/null/zero vector
    ---
    10:47
    When the v happens to be the zero vector, the null space gives all the possible solution to the equation.
    Ax = v
    If v = zero vector, the values of x will be within the null space.
    ---
    In a system of equation, ax + by + cz = ... or Ax=v, the solution refers to the values of x,y,z or vector x.
    Column space helps to understand when a solution even exists (i.e. when the resulting vector v lies within column space of matrix A).
    Null space helps to understand what the set of possible solution can look like.

  • @disappointedbutnotsurprised17
    @disappointedbutnotsurprised17 5 месяцев назад +3

    This is mind blowing. I can't believe a lecture on maths (something I've been running from all my life) of all things has managed to seize my attention so much that my dopamine addicted brain is actually "studying" instead of watching shorts or anime.

  • @stuartlane2921
    @stuartlane2921 5 лет назад +18

    This series is incredible - I use linear algebra every day but the deep level of intuition I'm gaining is astounding (and I'm only half way through!)

  • @ToaP2
    @ToaP2 7 лет назад +10

    I took linear algebra 2.5 years ago and ever since I always wondered what is the meaning of a determinant and this series blew my mind. I wish they'd mentioned your channel to new students. This is pure gold right there!

  • @Haz2288
    @Haz2288 8 лет назад +28

    When I got a notification for this at work, I immediately went to the break area, popped in headphones, and watched it. You're doing a great thing, my friend

  • @beezball38
    @beezball38 8 лет назад +12

    I absolutely love this.
    I learned Linear Algebra in a very good setting, but I never quite understood the linear transformation side of things until this series.
    this is one of the best series on youtube. bravo.

  • @willw4096
    @willw4096 Год назад

    6:15 as long as det != 0, there is a A-1; 6:43 when det == 0, there is no inverse (A-1); 7:42 ~ 8:01; 8:22 Rank 1, 2 & 3; 8:54 what's called "the Column space of a matrix"; 10:3310:45 null space; 10:45 ~ 10:55 null space usage; 11:12 ~ 11:23 column space & null space's high level usage;

  • @kingxdedede7327
    @kingxdedede7327 3 года назад +3

    I had an epiphany at 4:35 watching the numerical representation of the rightward and leftward sheer (which numbers in the matrix were multiplied by -1) which finally gave me an understanding of why the identity matrix is a diagonal of 1s from top left to bottom right, which as a kid learning random facts about higher math with no context seemed so bizarre. The n by n identity matrix is a representation of the basis vectors in n-dimensional space that have had no transformation applied to them, and as a result are their own inverse. Being its own inverse then uniquely defines it as the identity matrix. Being able to come to this conclusion on my own feels intuitive and invaluable. (I paused the video to type all this up)
    I kept watching before posting this comment because I figured it would be your next point. My linear algebra class starts tomorrow. Thank you Grant for these incredible and intuitive explanations and animations :)

  • @GrimKage
    @GrimKage 3 года назад +31

    Dude, you haven't just given me solid insight and understanding of these concepts but also injected a desire for me to practice math. Thank you!

  • @zixuannie5038
    @zixuannie5038 8 лет назад +498

    I really wish that I had watched this before I learned Linear Algebra

    • @JackHou-vw7hs
      @JackHou-vw7hs 6 лет назад +28

      i haven't taken linear algebra yet and im watching and understanding them just fine. 3b1b did a great job

    • @henryg.8762
      @henryg.8762 6 лет назад +4

      I'm watching this in *this number has been removed for security reasons*th grade, and I am loving it!

    • @rickole7404
      @rickole7404 5 лет назад +3

      @TheBlueRaven This. I agree that it's better to have a rough idea of the concept before getting into those videos...

    • @NoorquackerInd
      @NoorquackerInd 5 лет назад

      I watch Essence of Calc before Calc BC and I'm not doing so well.
      Maybe I should've went Essence of Calc -> Khan Academy's Calc BC -> Actual class, where a grade matters

    • @qbtc
      @qbtc 5 лет назад +5

      @@NoorquackerInd If you really want to learn math, you must do problems. Learning math and physics is not the same as knowledge based subjects like biology. You must build problem solving skills and a working knowledge. That's why you can understand this stuff intuitively and still fail your exams. Math tests are tests of skill not knowledge. I recommend Professor Leonard's RUclips lectures and solving problems in a standard textbook or pausing his videos and solving along with him to really do well in your classes.

  • @kvamshi4561
    @kvamshi4561 5 лет назад +95

    I'll definitely support you on Patreon after getting a job!

    • @dddiyamirza
      @dddiyamirza 4 года назад +2

      How was your GATE result?

    • @kvamshi4561
      @kvamshi4561 4 года назад +4

      @@dddiyamirza I'm going to give my 1st attempt in 2021

    • @dddiyamirza
      @dddiyamirza 4 года назад +3

      vamshi goud Oh great! I am also preparing for 2021!

    • @kvamshi4561
      @kvamshi4561 4 года назад +1

      @@dddiyamirza cool!

    • @kvamshi4561
      @kvamshi4561 4 года назад +1

      @@dddiyamirza branch?

  • @hassening
    @hassening 6 месяцев назад +1

    The Nullspace visualization just eluminated so much, it linked to the topic of Eigen values and gave me the biggest "Ohhh" moment. God bless you.

  • @adsurbum
    @adsurbum Год назад

    Amazing video again. Linear algebra becomes interesting and beautiful, and not just a bunch of boring abstract definitions. Continue to watching.

  • @asvz7375
    @asvz7375 7 лет назад +35

    pls make the whole measure theory or topology. that would be of great value since there are few lectures about those topics online

  • @babakparvizi2425
    @babakparvizi2425 7 лет назад +11

    It's unbelievable how these animations make it so intuitive and easy to understand while dry text from a book has the opposite effect.

  • @duckymomo7935
    @duckymomo7935 8 лет назад +108

    Rank-nullity theorem:
    Rank(A) + Nullity(A) = dim(A)

    • @High_Priest_Jonko
      @High_Priest_Jonko 6 лет назад +8

      That don't make a damn bit of sense

    • @preben3453
      @preben3453 6 лет назад +96

      @@High_Priest_Jonko It sure does! Observe that the rank of a matrix A is the number of dimensions in the output of the matrix transformation and the nullity (dimension of the null space) is simply the number of dimension in whatever span of vectors that gets 'squished' to the origin. If we look at a matrix transformation that squishes 3D space into 2D space, we observe that a whole line (lines are 1 dimensional) of vectors gets 'squished' to the origin which in turn means that the nullity is 1. The rank of the transformation, we defined to be the number of dimensions in the output, which we know to be 2D. Now we see that rank(A)+nullity(A)=2+1=3 which should give us the dimension of our matrix A. Well, because we looked at a matrix that squishes 3D space this has to be true!

    • @Es97Coqui
      @Es97Coqui 5 лет назад +4

      Preben That was beautifully articulated, my friend. Well done!

    • @tramquangpho
      @tramquangpho 4 года назад

      1

    • @basittanweer3204
      @basittanweer3204 4 года назад +2

      @@preben3453 beautifully explained! Thanks

  • @winstonmisha
    @winstonmisha 5 лет назад +1

    This is seriously the future of education. Boring academic books kill all motivation whereas this is exciting and engaging.

  • @oxidhdazoth5214
    @oxidhdazoth5214 5 лет назад +9

    10:08 This is an awesome illustration of the Rank's formula! Thank you, you made me understand a lot.

  • @alextsvetkov3211
    @alextsvetkov3211 Год назад +3

    The nullspace visualization BLEW MY MIND BRO. I was SOOOOOO lost. I literally feel like my mind has been transformed to R^n

  • @enricolucarelli816
    @enricolucarelli816 7 лет назад +14

    Wow! Simply superb! I was used to sit endless time trying to grasp in depth a few concepts like these. Now, barely 12 minutes of watching a video and everything seems soooo clear and sooo easy, and in such an amusing way, that it feels almost like cheating! Thank you very much for all these interesting videos!

  • @vector8310
    @vector8310 6 лет назад +4

    Whoever you are, you're a godsend. Intuition and motivation are simply indispensable to appreciating analytical expressions, and you are unparalleled in providing both through these productions.

  • @Radi0_
    @Radi0_ Год назад +1

    I watched these videos almost 2 years ago in absolute desparation of understanding linear algebra and it already was an eye-opener back then. But coming back to rewatch this after having taken other math classes it finally feels like it's all clicking together. What you're teaching with these animations could never be accomplished on some lecture slides. Thank you!

  • @JordanPurcell92
    @JordanPurcell92 5 лет назад +4

    I got a solid A in my Linear Algebra course, but I have taken away more intuition about the subject in these videos than I did in that course. It isn't a slight at my old instructor either, you are legitimately an amazing instructor. Thank you so much for giving us these gifts.

  • @LomaxQ
    @LomaxQ 2 года назад +3

    All of these videos from the series just keeps blowing my mind.

  • @AntoshaPushkin
    @AntoshaPushkin 8 лет назад +51

    I saw those images only in my imagination, I am very glad that now I can see them as a real-life video and I will definitely recommend this set of videos to my friends who don't understand algebra

    • @AntoshaPushkin
      @AntoshaPushkin 8 лет назад +24

      By the way, do you have a patreon account? I think you are doing a great job and this job definitely has to be rewarded, animations are beautiful, the quality of the sound is nice, and overall impression after watching your videos is great

    • @3blue1brown
      @3blue1brown  8 лет назад +50

      Thanks for the offer! These videos come to you courtesy Khan Academy.

  • @elminaqueen9751
    @elminaqueen9751 5 лет назад +56

    I want to hug this guy he is a gift from god

  • @natejack2292
    @natejack2292 3 года назад +1

    It's amazing how many properties of rank, nullity, and column space instantly began popping into my head watching this. In my abstract linear algebra class we were so focused on pumping out proofs about n-dimensional vector spaces that I never really got these.
    It makes sense that nullity and rank add up the way they do

  • @gdhammr8113
    @gdhammr8113 7 месяцев назад +1

    The part at 10:33 made so many things make sense to me. I'm currently studying for my LA final, and this is the first time I've been able to properly visualize so many of these concepts. Thank you Grant.

  • @hari8568
    @hari8568 7 лет назад +4

    I just want you to know I feel a sense of joy watching these videos I really can't describe especially after how professors teach us. Your videos are the highlight of my day

  • @TheViolaBuddy
    @TheViolaBuddy 8 лет назад +20

    11:18 What do you mean by "the idea of a null space helps us to understand what the set of all possible solutions look like"? I can understand that that's the case where the v vector is the zero vector, but otherwise, how does the null space help?

    • @bengski68
      @bengski68 8 лет назад +23

      +ViolaBuddy Remember: linear transformations preserve linear combinations. So, let's say that x is a solution to Ax = v, and let's say that u is any element of the nullspace. Then
      A(x + u) = Ax + Au = v + 0 = v
      On the other hand, if x and y are two solutions so that Ax = Ay = v, then
      Ay - Ax = A(y - x) = 0
      which means that y-x is some element of the nullspace, which is to say that y = x + u for some u in the nullspace.
      The point is this: there is an exact correspondence between the solutions to Ax = 0 (the nullspace) and the solutions to Ax = v. If x is one solution to Ax = v, then every other solution to Ax = v can be written in the form x + u for some u in the nullspace. Geometrically, the solution to Ax = v is the nullspace *shifted over* by x (which gives us a space "parallel" to the nullspace).

    • @TheViolaBuddy
      @TheViolaBuddy 8 лет назад +5

      Oh, that makes so much sense, actually! Thanks! This probably leads into orthogonality and the dot product that he's going to talk about next time, since it seems that the null space is necessarily perpendicular to the column space (and geometric perpendicularity corresponds with linear algebra orthogonality).

    • @bengski68
      @bengski68 8 лет назад +9

      +ViolaBuddy Your hypothesis that the nullspace is necessarily perpendicular to the column space is interesting in that it is *generally false*, but true for a very important subset of cases. For example, if you take the matrix
      0..1
      0...0
      You'll find that the column space and nullspace not only fail to be perpendicular, but are in fact exactly the same! It is true, however, that if A is a *symmetric* matrix, then the column space and null space will be perpendicular. More generally, it is the *row space* of A which is necessarily orthogonal to its column space, which I expect 3blue1brown will touch on when he gets to dot-products.
      Geometrically, symmetric matrices (unlike general linear transformations) correspond to stretches, squishes, and flips along perpendicular axes.

    • @TheViolaBuddy
      @TheViolaBuddy 8 лет назад +7

      bengski68
      Ah wait, I see where my mental image breaks down. Gah, the accursed human intuition that never seems to match up with actual math! It seems that null space is more about the input vectors x whereas column space is more about the output vectors v, and so there's of course no relationship between the two in the general case (please correct me again if I'm wrong!). Though saying it that way, that should've been obvious by definition: null space is the collection of all x's such that Ax = 0 for a given A, whereas column space is the collection of all v's such that there exists an x such that Ax = v.
      ...I think I'll have to stare at examples a bit more to fully grasp this, especially the part about row space and symmetric matrices - or I may just wait until (hopefully) 3blue1brown covers it. In any case, thanks again.

    • @bengski68
      @bengski68 8 лет назад +9

      No problem!
      You have a lot of the right ideas; your guesses about input vs output vectors (which are mostly correct) become a lot clearer when you start thinking about non-square matrices. In general, the column space lives in the "output space" which is of one dimension (i.e. number of dimensions), and the null space lives in the "input space", which might be of a different dimension. The row space, on the other hand, is there in the "input space" along with the null space.

  • @dineshprasadgupta4625
    @dineshprasadgupta4625 7 лет назад +4

    great job. I in my late 40s and wanted to learn linear algebra for my thesis. And
    nothing could have been better than these series of videos to start with. Gob bless you.

  • @eljuanman999
    @eljuanman999 4 года назад +1

    With the help of this great video and a quick review of my old linear algebra textbook, I was finally able to understand many things intuitively, for example why the dimension of any vector space is the sum of the dimensions of the kernel and the image of any linear transformation whose domain is that vector space, and what the transformation does such that it holds. It's just amazing. Thank you, 3Blue1Brown!

  • @BinhAnCB
    @BinhAnCB 2 года назад +1

    0:28 what about computations?
    0:51 systems of equations
    1:21 "linear system of equations"
    2:04 into a single vector equation
    2:38 visual
    3:14 simple examples
    4:15 inverse transformation
    4:59 the identity transformation
    5:39 considering the determinants
    7:26 special case with det(A) = 0
    7:43 "rank" (squishes)
    8:54 "column space"
    9:38 "null space"
    10:56 in sum

  • @suharsh96
    @suharsh96 7 лет назад +206

    holy. shit. this was whats 'inverse' was all about

  • @MrWater2
    @MrWater2 5 лет назад +84

    It's saturday night my girlfriend go out with her friends while I'm watching these videos that I LOVE!!!

  • @derek8482
    @derek8482 5 лет назад +6

    i love you, seriously this is amazing i mean you revealed the simplicity and the beauty of linear algebra.
    When i studied it i was sure it was more logical but the book was extremely (lame) and now i am wandering in the internet to get it the RIGHT way like here.

  • @shawon265
    @shawon265 5 лет назад +2

    Wow... From this video I got some intuition of what is an eigenvector. All I knew is this is a thing and you have to calculate it. Damn this visualization is good. I was even able to formulate a problem, "what should be the eigenvector of rotation matrix?" Never have I ever thought I could get an intuition of eigenvectors let alone create a problem! Thank you very much.

  • @adamanimations7525
    @adamanimations7525 3 месяца назад

    I watched this course a long time ago (about 6 years ago) when I started my undergraduate studies, and now I am a PhD candidate, and I am reviewing some of your videos. I like how you geometrically explain why a matrix isn't invertible when the determinant is 0, as it's more than just seeing what happens in the formula for the inverse of a 2x2 and/or 3x3 matrix. since you get a 1/0 occurrence. Excellent video as an introduction to the world of invertibility. Concise, clear, and cohesive, and the course as a whole is perfect as a jumpstart for a journey into linear algebra.

  • @harsh.jaluka
    @harsh.jaluka 4 года назад +4

    Thank you very much for this series! I was able to solve questions of linear algebra before but never really understood the meaning behind it. You're a gift to education!

  • @tyfooods
    @tyfooods 7 лет назад +7

    Holy sh*t! I'm finally understanding it!
    I have been trying to self-study linear algebra for about 3 days now, and nothing was really making sense intuitively, till I watched these videos.
    Thank you so much!

  • @omar2046
    @omar2046 Год назад +37

    Take notes professors, this is how teaching is done.

  • @user-ro1cc8tz6d
    @user-ro1cc8tz6d 3 года назад +1

    Thanks!

  • @mwu365
    @mwu365 3 года назад +1

    The null space explanation is probably the single best example of what this channel is about.

  • @SafeAndEffectiveTheySaid
    @SafeAndEffectiveTheySaid 8 лет назад +38

    I've finally understood it.

  • @mihiriseneviratne3424
    @mihiriseneviratne3424 4 года назад +5

    I honestly cannot comprehend the artistry of your teaching ❤️ it's absolutely flawless and it inspires me beyond explicable words...

  • @Cubinator73
    @Cubinator73 8 лет назад +8

    By the fourth minute of this video you implicitly explained in just *one sentence*, why a linear system of equations A*x=b with n equations has exactly one solution if Rank(A)=Rank([A b])=n, multiple solutions if Rank(A)=Rank([A b])

  • @ringo8530
    @ringo8530 25 дней назад

    Wow. This lecture is just mind blowing. EVERY Linear Algebra course should introduce this series at the beginning of their course.

  • @Xman3456
    @Xman3456 4 года назад +1

    There's no words for how thankful I am. Not even for the algebra, but for finally feeling like I'm good enough. So many years as a child and adolescent being made to feel like I was of average intelligence because I couldn't get math or science.
    I now realize that math is easy, it's the schools and teachers who make it hard to understand.

  • @fatachu
    @fatachu 8 лет назад +105

    For some reason, I was so excited for this video to come out. This was the highlight of my day. I live a sad life :(

    • @alexsere3061
      @alexsere3061 8 лет назад +13

      me too, I get even more hyped now that they are published every week rather than everyday

    • @imaginaryunit.
      @imaginaryunit. 8 лет назад +11

      That or his videos are that good!

    • @AtanasNenov
      @AtanasNenov 8 лет назад +5

      These videos are pretty cool, they get to touch the core of mathematics and life. I don't think one such video being the highlight of your day necessarily means you live a sad life.

    • @aeroscience9834
      @aeroscience9834 8 лет назад +44

      The only thing sad about your life is that you think that's a bad thing

    • @alexsere3061
      @alexsere3061 8 лет назад +1

      Aeroscience but dont lie, seeing in your subrcriptions a video of this channel really hypes you up

  • @nanabel5909
    @nanabel5909 2 года назад +27

    i feel like i have opened my third eye

  • @seanxiang1060
    @seanxiang1060 7 лет назад +19

    I would nail my linear algebra exam if I could find this series earlier

  • @Exhora
    @Exhora 5 лет назад +1

    I love this channel! I can't even describe how enlightened I feel now. I've been totally lost in math classes during my master's and PhD. Now I feel I can actually understand the concepts I've been trying to use all those years.

  • @juliabivens1807
    @juliabivens1807 2 года назад +1

    I've just discovered your channel, and I appreciate this series!
    In my university class, I am learning how to do linear algebra computations and memorizing all of the processes to derive answers. However, your videos help me understand what actually occurs with those computations. Understanding the reasoning for linear algebra will help me as a math teacher much more than memorizing a series of formulas/processes.

  • @StPeeper
    @StPeeper 7 лет назад +12

    Holly shit, after 2 years in math engineering you blew my mind at 2:47, now it all makes sense!

    • @benmaghsoodi2067
      @benmaghsoodi2067 5 лет назад

      @Pedro Takahashi Gunderson apparently something that doesn't help you learn linear algebra in any reasonable time scale.

  • @osamaakhtar6525
    @osamaakhtar6525 4 года назад +3

    I hope you see this comment , sir! I love your videos, they've literally changed my view on Linear Algebra, and math in general. It would be awesome if the quality of these videos was 60fps, for more crisp visuals :D

  • @New_Hercules
    @New_Hercules 5 лет назад +3

    You have added a great deal of value for me. And from the looks of it, for a lot of other people as well. Thank you so much.

  • @Ale-ff6ob
    @Ale-ff6ob 5 лет назад +2

    It's really incredible ... during my studies of linear algebra in Computer Science degree - almost 20 years ago - no one explained in this way and everything was very abstract and to be memorized without understanding what it was !! Compliments, I'll follow also your Calculus set for Analysis

  • @benjaminchen4367
    @benjaminchen4367 2 года назад +1

    I want to say though, that there is a good intuitive understanding of how gaussian elimination works.
    The standard way this is taught, when you have Ax = b, you stick A and b together into an augmented matrix, and perform row operations on that until you get to RREF. Knowing how multiplication works make it pretty obvious why you get the solution to the system from that form, but it's not entirely clear what it means intuitively to stick A and b together and then do row operations on that matrix.
    To understand this, you need to realize that row operations can actually be represented as linear transformations i.e. they can be represented as matrix multiplication. So, if you perform some sequence of row operations to get to RREF, that sequence can be represented as a single linear transformation, which can then be represented as a single matrix multiplication. If we call that matrix R, then what you're really doing is R*(Ax) = R*(b). From there, it makes sense why you can stick b and A together and do the same operations, because you're really multiplying them by the same transformation matrix R. It also makes sense why the row operations don't "change" the system - because they're all just linear transformations. So geometrically, Ax = b is asking "what vector x, when linearly transformed by A, results in b"? and applying the same linear transformation to both sides of that doesn't change the relationship.
    Thinking about gaussian elimination as a sequence of row operations that can actually be represented as a linear transformation makes a lot of the other calculations, like finding inverses, make a lot more intuitive sense

  • @birdieboy02
    @birdieboy02 4 года назад +3

    this is oddly relaxing. like i could see my mom enjoying this

  • @LetszGoo
    @LetszGoo Год назад +2

    I am reborn after watching this playlist.

  • @carlossoto9511
    @carlossoto9511 8 лет назад +9

    in 7:09, isn't there a function that maps a line onto the plane? Of course it's non-linear, but I think it's worth a mention

    • @3blue1brown
      @3blue1brown  8 лет назад +5

      You mean one from the number line to 2d space? Or are you referring to something space-filling like a Hilbert curve?

    • @carlossoto9511
      @carlossoto9511 8 лет назад +1

      The hilbert curve, you could in theory map each vector in the line to a point of the plane.
      You don't need something that fancy anyway, say your vector is (x, y), you take the length squared of the vector L = x^2 + y^2, and then you would construct the output vector the following way: every even digit in the decimal expansion of L goes to the x coordinate of the out vector, and every odd digit goes to the y coordinate of the out vector. (Than actually only covers the quadrant I, but could can surely fix it)

    • @3blue1brown
      @3blue1brown  8 лет назад +5

      I whole-heartedly agree that this is a fascinating topic, which is why I made a video about the Hilbert Curve :). As it is, I'm struggling to get all I want about linear algebra into the scope of this series, which has so far required a ruthless exclusion of the many fascinating things that are not quite in the "essence".

    • @franzluggin398
      @franzluggin398 8 лет назад

      Why do you start with (x,y), don't you want to start with only one number, since you look for a function f: *R* --> *R*²?
      If you're looking at an input value x, you could of course say x=n.d_1 d_2 d_3 d_4 d_5 ..., with n being natural and d_m a digit for every natural m. Even only looking at the unit square [0,1]x[0,1], though, there is no way you could hit anywhere near (0.45, 0.45), or any other number far away from numbers with only even / odd digits. There is a reason the hilbert curve is so famous in mathematics. It's not trivial to come up with such a function.
      Also, many, many numbers are mapped onto the same point, 1.12, 2.11 and 1.21 for example all go to (1.1,2), or (.11,.2) if you want to add them all after the comma.
      My first guess for hitting as much space as possible (with relatively easy functions and no recursion or limits) would be x |--> (tan(x),floor(x/pi)), so every time the tan jumps, it goes "one step up", hitting at least *RxN*, which is still far, far less than *R*², but I'm lazy.

    • @carlossoto9511
      @carlossoto9511 8 лет назад

      +Franz Luggin The transformation I wan to create is from R×R to R×R, but I want it to have the propety that the null space of the function he mentions (a line through the origin) maps to the whole plane, to do that I think of that line passing through the origin as a numberline, and then do the trick with the digits. Of house I'd have to fix it for the sign but it's possible. Having said that, the way I defined the function many values map to the same place, but that doesn't mean it's not a function, it's still valid (any linear transformation of rank 0 maps all points to the same value, and it's still valid).
      Definig a function that does what the Hilbert curve does is not hard, the thing is that the Hilbert curve is more "nice mathematically"

  • @mngmn
    @mngmn 11 дней назад

    iam in the middle of taking linear algebra in uni and learnt some before while doing graphics programming,
    when doing gp i was like : wow linear algebra is so cool and usefull i need to learn that!
    then uni: what is even goin on why do i calculate random abstract things with no meaning at all??
    this series: wow ok now everything clicks and makes sense!!!!
    you sir are the literal glue between abstract uni concepts and the actual usefulness of the nonsense it seems to be.
    without it i would've probably finished the course and forgot all of this but now iam absolutely hooked. THANK YOU!!

  • @weaya47
    @weaya47 3 года назад

    I wish that this visualization was presented to all college students when they learned linear algebra. Back in 2003, 2004 I did this in my university without learning the essence of this work. Thank you so much for producing these videos. I wish that I can watch a video about geodesic as well. I was so determined to learn about it back then. Now I have a hope that there is someone out here to give visual interpretation to it.

  • @louisferreira1012
    @louisferreira1012 4 года назад +33

    "this isn't meant to teach you anything"
    proceeds to explain everything i didn't understand

  • @jeremyphillips7827
    @jeremyphillips7827 2 года назад +5

    Loving this series of videos. I didn't have linear algebra in school, and I'm finding it fascinating. But I don't understand what the difference is between the definition given for "span" near the beginning of this playlist and that of "column space" given in this video. From what I understood, the span of a pair or trio of vectors is the plane or space defined by all of their linear combinations. What is the difference in meaning between that and the span of the column vectors in a matrix/transformation? What am I missing? I tried googling for an answer, and the best I could find was that column space is "a very special case of span," but it wasn't more specific than that.

    • @guesswho-og2wv
      @guesswho-og2wv Год назад

      The Columns of a matrix don't just represent any vector. They represent the "Basis Vectors" after the transformation..i hope you catch the idea now

    • @RonaldABG
      @RonaldABG 4 месяца назад

      Column space is the span of the vectors forming the columns of the matrix. So span is more general because it could refer to any set of vectors, it does not matter if you have them together in a matrix or not.

  • @MrCardeso
    @MrCardeso 8 лет назад +14

    Waiting for the next one with bated breath!

  • @0Fallen0
    @0Fallen0 2 года назад +2

    10:15 Beautifully explained. Couldn't need anything more to understand the nullspace.

  • @Eric-hb9rm
    @Eric-hb9rm 5 лет назад

    9:16 column space: the span of the column vectors;
    rank: the dimension of the column space;
    full rank: rank equal to the number of the columns;
    9:16 null space/kernell: for none-full rank matrix, the set of vectors that land onto origin(0,0)