The meaning of the dot product | Linear algebra makes sense

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2018
  • This video explains why the dot product is about how much vectors point the same way.
  • НаукаНаука

Комментарии • 257

  • @Improbabilities
    @Improbabilities 5 лет назад +191

    Just for the record, I do notice the effort you put into these videos. You're doing great! Keep it up!

    • @LookingGlassUniverse
      @LookingGlassUniverse  5 лет назад +14

      Thank you, that’s very very kind of you :)

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

      Looking Glass Universe yeah, please know it doesn’t go unnoticed by us!

    • @LookingGlassUniverse
      @LookingGlassUniverse  5 лет назад +11

      I really really appreciate that :)

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

      IM SO GRATEFUL FOR THESE textbooks arent doing much for me with numbers and formulas :') so thank you mam

  • @KHANPIN
    @KHANPIN 3 месяца назад +2

    Honestly, I wasn't expecting those pauses in the video, but turns out, they helped a lot with just grasping the concept and understanding. Thanks!

  • @FortniteMaster-vi6qt
    @FortniteMaster-vi6qt 3 года назад +15

    This is incredible, taking a concept that confused me to no end and helping me understand in 13 min. Thank you so much

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

    I've been looking at a lot of videos and forums looking for the practical meaning of a dot product. Every video and forum I found only defined what dot product is and they were very technical about it. This video gave me the answer after 5 seconds. Thank you!

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

    Suddenly discovered this channel. Loving it!

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

    The amount of creativity in this video , the amount of efforts you have put in editing this. Salute. 🔥🔥

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

    You're videos are amazing! Really helped me understand super daunting subjects. You're ability to break these topics down and explain them in a straightforward way is so awesome!!!

  • @sanjalisubash6307
    @sanjalisubash6307 2 года назад +2

    Wow! I just started linear algebra and was already confused as to why dot products matter. The way you explain this is so good and you can really make out the effort in the videos. I can't believe I haven't seen your content before! Subbed right away!!

  • @f1cti
    @f1cti 23 дня назад

    Outstanding explanation of the dot product! This is the first video-and I've seen plenty- that's helped me get an intuition for this concept. Thanks so much!

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

    Finally a video on RUclips that gives a really intuitive visualisation of the dot product. Well done. Thank you.

  • @Anna-qp1fi
    @Anna-qp1fi 2 года назад +1

    The first 8 seconds literally answered a question I've been trying to solve for the last 20 minutes with multiple websites and textbooks.

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

    Wow. Finally i understand whats the point of the dot product. Should be called "similarity product" or something to point to it's meaning. Can't believe i went on all this years not understanding this basic idea.

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

    I cant even imagine how much work you did for this video , its great

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

    literally the thumbnail alone explained it better than everyone else

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

    this is actually so sick, a lot of work went into this and it really did help me

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

    Amazing! Our human brain is evolved such a way that we understand anything very easily if it is intuitive & your techniques are so intuitive and gripping that anyone who is very weak in maths can learn by heart the very concept behind "dot product". In that way, your techniques can be called "compatible with evolution". Richard Feynman also had this ability. Go ahead!

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

    It's truly awesome (in every aspect) the videos you make. You don't need to feel bad about taking some time off. For me at least your videos are a gift and it is not fair with you that we demand anything. That's just my long way to say thank you!

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

    How deeply you explained it!...OMG!...This is the only video in youtube I came across, to know more deeply dot product and it's significance...You are really doing great. 🌈

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

    Ain't u gonna extend the playlist?
    I loved ur explanation.

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

    With gems like this we can partially forget or tolerate the crap that youtube is filled with.
    Thank you for the video and please keep making. How about PDEs or probability?

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

    Wow the production quality on this vid is crazy! Thank you for the great explanation too!

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

    Yay i found another great math channel!, thank you very much now i can understand this not like those "explanations" that basically say the definition and the properties

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

    finaly i understand the dot product i have been looking for this kind of an explanation for so long but only now i realy understand it thanks thanks thanks!!!

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

    New favorite math channel! wow this was the style of explanation I've been searching for, such a helpful conceptual take.

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

    Amazing videos. This really helped me understand the dot product.

  • @Anna-qp1fi
    @Anna-qp1fi 2 года назад

    Definitely subscribing! This is an amazing channel!!! Very well explained :)

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

    WOW.
    This video is better than any classes I had in school or college.
    I'll watch again later and do the "youtube homeworks" in paper and not half-way in my mind.
    Thanks

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

    Thank you so much! You're an extremely talented teacher.

  • @FF7EverCrisis
    @FF7EverCrisis 2 месяца назад

    This is the best explanation to dot product. Thank u

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

    While studying I listened to an old creepy prof. For hours and hours.
    And you run that down in less that 14 min AND with your sweet voice...thanks :)

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

    Excellent video, and I loved the toothpast tip!

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

    We have been missing you! Every video you make is a little gem.

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

    This channel is actually amazing

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

    This video was awesome. A beautiful lecture that help the viewer better understand a confusing topic.

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

    Excellent video and explanation. I applaud your efforts.

  • @mmoonchild276
    @mmoonchild276 9 месяцев назад

    May God bless you!
    This is beyond great.

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

    I know nothing about filming but this does look good! :) Also, it's so good to finally learn the meaning behind this formulas I've known for years. Thank you!

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

      Yay! Thanks for noticing the 1% (probably lower) increase in video quality.

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

    I am madly in love with your voice!

  • @acborgia1344
    @acborgia1344 3 года назад +7

    For Homework 2:
    If we take v_b as the unit vector on its axis,
    from the previous exercise we know that
    x = v_u . v_b / ||v_b|| and y = v_v . v_b / ||v_b||
    Now we add v_u and v_v
    v_u + v_v = (x+y) * v_b + perp
    We apply the same theorem on x+y as on x and y
    (x+y) = (v_u + v_v) . v_b / [[v_b||
    Now replace x and y by their expressions (the ||v_b||s cancel out)
    v_u . v_b + v_v . v_b = (v_u + v_v) . v_b (1)
    This shows the distributivity of the dot product
    (v_a * k) . (v_b . s) = ||v_a * k|| * ||v_b*s|| * cos(theta) = k * s * ||v_a|| * ||v_b|| * cos(theta) = k * s * v_a . v_s
    This shows the scalar multiplication property of the dot product (not sure if that's the right term lol)
    v_u = alpha * v_v1
    v_v = beta * v_v2
    Now we replace v_v and v_u in the formula (1)
    (alpha * v_v1 ) . v_b + (beta * v_v2) . v_b = (alpha * v_v1 + beta * v_v2) . v_b
    From last property this is the same as:
    alpha * v_v1 . v_b + beta * v_v2 . v_b = (alpha * v_v1 + beta * v_v2) . v_b
    This shows the dot product is bilinear
    Homework 2 finished

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

    You're a great teacher.

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

    Excellent video, thank you for your hard work.

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

    I cant tell exactly how gladful im after this point of view, i thought about it a lot and now thinga makes more sense!

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

    Yay, she's back!

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

    Amazing, you are incredible!

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

    Amazing. Thank you very very much.

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

    Underrated video. Thank you

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

    Kudos! You are an amazing teacher! Well done. Keep up the good work.

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

      وَحَدَّثَنَاهُ قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكِ بْنِ أَنَسٍ، عَنْ أَبِي بَكْرِ بْنِ نَافِعٍ، عَنْ أَبِيهِ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ أَمَرَ بِإِحْفَاءِ الشَّوَارِبِ وَإِعْفَاءِ اللِّحْيَةِ ‏.‏
      This hadith is in Sahih Muslim. Growing beard is a wajib act and not growing it is a sin.

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

    I totally forgot about this and we started using dot products for the first time since calc 3, thank you!

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

    perfect didactic and editing, youre very talented :)

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

    It was a really nice one :) ,it actually gave me a clear picture of dot product

  • @baqeralzaki9234
    @baqeralzaki9234 9 месяцев назад

    I realised the depth of the info you share, not just the rules of it. I love it. Just a recommendation, I think it would be much better if it was less distracted. I wanted to focus on sth, but I just kept looking here and there on the necessary graphs, forgetting the point.

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

    Great video but I have a question.
    I like how using unit vectors creates a range of -1 to 1 when rotating one of the two parallel vectors wrt the other. But if the lengths of the two parallel vectors is 5, then the range is -25 to 25. Using your definition of the dot product gives "The dot product shows how much of a vector is in the direction of the other. Therefore 5i dotted with 5i...500% of one vector is in the direction of the other vector. Does that sound a little odd? Thanks!

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

    Answer for the last question:
    So we have vectors a and b that can be written as a1x + a2y for vector a and b1x and b2y for b. Given the linearity formula for the dot product. a•b = (a1x + a2y)•(b)
    = a1x•b + a2y•b
    Substitute for b and we get:
    a1x•(b1x + b2y) + a2y•(b1x + b2y)
    a1x•b1x + a1x•b2y + a2y•b1x + a2y•b2y
    The dot products of orthogonal vectors is 0 so the equation simplifies to:
    a1x•b1x + a2y•b2y
    Since the are facing in the same directions, the is the same as multiplying their magnitudes together. Thus
    a•b = a1b1 + a2b2 ...

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

    Holy crap I just wanted to understand dot product for my Physics class but I somehow ended up in Linear Algebra.

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

    This is the best intuitive explanation for the dot product .Can you please do the same for cross product

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

    So well explained. I appreciate it 🙂

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

    you are great....the animation is great, the moment trig enters DHAN TAN TAAAAA... i laughed very hard..😂😂😂😂 i'll never forget this for my life ,,,, I m very glad i watched it. thank you for this video, it explains very neatly and clearly the basic. I found exactly what i was looking for

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

    You deserve more views

  • @lightyagami-rk2my
    @lightyagami-rk2my 2 года назад

    Thanks for this video. I searched for this

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

    Love the vid as always!!! : )
    Will you do the cross product too? I actually don't know why it works...

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

      Thank you! I wasn’t planning to, since 1)I don’t know the answer (though it could be fun to figure it out) 2) the cross product doesn’t generalise nicely like the dot product. Sorry!!

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

    I never knew I had all these problems. But luckily I can solve (most) of them! 🧠

  • @jeevanandam.exll-a8867
    @jeevanandam.exll-a8867 2 года назад

    Yeah I take some time to get that it is cos but where did you get this concept ,

  • @pennyl8773
    @pennyl8773 2 года назад +2

    For 8:09, if x = u cos theta, then why isn't y = u sin theta? For u.v2 , wouldn't the angle be 90 - theta? Thanks.

  • @Thror251
    @Thror251 5 лет назад +10

    Is it usual to write the dot product with the dot at the bottom? Everyone I know always writes it with the dot in the center (in LateX this would be \cdot).

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

      Thror251
      There’s many ways
      Some write it like this

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

      @Mi Les yup :) I write it down because I use \cdot for multiplication sometimes. But it doesn't matter too much!

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

      @@duckymomo7935
      Or .

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

      @@LookingGlassUniverse
      I use \bdot for the dot product, but I also use bold symbols for vectors. I define it as:
      \usepackage{amsmath}

      ewcommand{\bdot}{\boldsymbol\cdot}
      and for the cross product

      ewcommand{\cross}{\boldsymbol\times}

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

      Oh, that’s a nice way to do it!

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

    Awesome video !

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

    this type of teaching is very good and very useful for beginners .

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

    Well done.

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

    YaY you are back!!

  • @breadyogurt3957
    @breadyogurt3957 2 года назад +2

    Can we reboot the series, starting with the cross product? 👀

  • @Steve-mo4qp
    @Steve-mo4qp 3 года назад

    This is great.

  • @anegativecoconut4940
    @anegativecoconut4940 5 лет назад +44

    3:35 No God! No God Please no. No! NO! NOOOOO!

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

    lol the toothpick thing is relatable. I use chalk to represent a 3d vector on a chalkboard sometimes :D

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

    Yes, an identical unit vector in the opposite direction should be minus. (And this means the dot product has to be Zero). I think I get it!
    I really like your question, to what extent are the two vectors going the same way.

  • @55562009
    @55562009 Месяц назад

    dot product between one orthonormal basis vector with itself comes out to be 1 because 1*1*cos 0 =1 and with any other orthonormal basis vector it becomes 0 because they are orthogonal i.e. cos 90. Therefore we get the neat formula to multiply corresponding coordinates to get dot product between 2 vectors. Thanks I really had that doubt why this formula works.

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

    Thanks for not explaining homework one now I have no clue how to do the rest

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

    wth this video is so good

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

    put a hat on the vectors so that you don't have to remember you have made them unit vectors ;)

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

    6:10 Awwww, I like your toothpick vectors!

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

    really nice video !

  • @dragonlovesdiamond9512
    @dragonlovesdiamond9512 Месяц назад

    I have a question, isn’t the dot product also used for how much two vectors are alligned? How can the formula also use this definition and how much these are pointing the same way

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

    Nice video, curl next?

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

    Perfect

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

    please mam make some videos about Isospin ,Hyperchage (particle physics)

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

    I would be so so grateful if you answer my question.
    2:56 how is the x ( -1) and not (1) ...
    I mean.. the magnitude couldn't be negative one .. it makes sense that the direction is neg 1 but then x is denotes magnitude..
    I'm confused ..ease help me dear

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

    You are awesome...or at least your videos are!

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

    The animations 😍

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

    Hi. The video started with:
    We want some way to describe - how much 2 vectors are pointed in same direction?
    And answer is dot products helps in achieving that.
    But why can't we use simply angle between 2 vectors for the same thing. (I am not talking about cos(theta) ) simply angle.
    Reason why we can't use angle in this case is, it will work in 2D but not in higher dimension. So we need some other way to describe it.
    Is this geometrically correct statement?

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

    If the dot product of two vectors can be thought of as a measure of how much the two vectors are pointing in the same direction, would there be any significance to generalizing this idea to n vectors?

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

      I’ve never seen such a thing, but maybe you could? You can at least certainly generalise the dot product for n dimensional vectors, but that’s not the same thing. So yeah, I don’t have a great answer, sorry!

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

    I just watched is spinning angular momentum video,
    When particle does larmor precession why don't its angular momentum go on increasing?

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

    Doesn't almost organic solvent you buy at the chemist's work for wiping off the marker from the white board?

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

      I was using whiteboard cleaner and it ruined my board. Now nothing but toothpaste really works. It’s really ugly in real life, but I just put the contrast on high so you don’t see it

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

    Shouldn't the answer be Cos . a? Because cos = x/a, right?

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

    OK here's a weird thought. As you draw a vector in various positions around a circle, I notice that the dot product is not unique. 0 (zero) occurs twice as the vector rotates in a circle, once at 90 degrees and once at 270 degrees. But the vector is in different positions!! So are there different zeros here? Is zero not always equal to zero? It seems like there should be some way to distinguish between those different positions.

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

      Gojira There are, but not with the dot product. We go from two vectors of two or more dimensions, to a single real number, so some information gets lost: we can’t distinguish between an angle and its full circle complement, or between acute and obtuse angles, or between negative and positive angles. The dot products tells us how much the vectors point in the same way, but not where they initially pointed.

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

      Really nice observation/ question, and great answer. That’s exactly right, the dot product doesn’t uniquely determine where the other vector is relative to the first. Come to think of it, that’s why when you want to specify a vector wrt a orthonormal basis, you need specify the dot product of it with every basis vector

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

      To handle with nonuniqueness, assuming all the vectors are in the same quadrant may help. Just a triggered thougt, why nonnegativity is so important for recommendation systems. Since all components have positive value, comparing two client's rankings by using dot product is a well suited approach.

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

    This is really great, once in a while I look at a dot product and I'm like "why the heck sr cos() again?"

  • @prathamnalawade6948
    @prathamnalawade6948 9 месяцев назад

    Where is the next video?

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

    the reason the dot product increases the more similar two vectors are and is smaller the less similar they are is because:
    1. you can breakup each vector into the same basis components that can have opposite magnitude pieces of each other when two vectors point in different directions.
    2. those negatives cancel out a lot in the calculation with the positives

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

    9:40 hold on how does this make sense at all. we know that a•b is the part of a in the direction of b, right? so it's a bit like, where the projection of a on b is, that's the vector a, minus the "orthogonal to b" bit. so why does the length of b matter? if I make b very large, and have a stay the same, wouldn't the projection land in the same spot? and if I make a really big, wouldn't it then land on a different spot instead? and also, why is it logical at all that you have to devide by the length of b? since, how exactly does its length change the projection?

  • @bitslay
    @bitslay 7 месяцев назад

    -1
    Cos
    u • V1
    a • b

  • @77kiki77
    @77kiki77 11 месяцев назад +1

    Why don't you write 1/√2 as (√2)/2 ? It's easier to understand, and more flagrant with the remarkable trigonometric value than just 1/√2.
    Though I appreciated this video, twas really helpful, 'cuz it's not ony about understanding the formulas and applying these, it's also about understanding what does it mean. Thanks to you, I did

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

    The intro is hilarious

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

    I've not afraid of trig or anything (I really love math in general) but the flashy flashy of a right triangle at around 3:30 seemed kinda creepy to me.