Least Squares Formula PROOF

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น •

  • @martinzapata7289
    @martinzapata7289 2 ปีที่แล้ว +16

    This proof uses the minimising vector theorem, but I guess it’s fine not to explain it since the presentation is very visual. Very clear, I like it!

  • @JUXIX101
    @JUXIX101 2 หลายเดือนก่อน +1

    Best video I've seen on this topic thus far

  • @kevinnania3652
    @kevinnania3652 2 ปีที่แล้ว +5

    Absolutely beautiful.

  • @jaafars.mahdawi6911
    @jaafars.mahdawi6911 ปีที่แล้ว +2

    Indeed we liked it. Very. Well done.

  • @HimuraK1
    @HimuraK1 ปีที่แล้ว +3

    Excellent video! Thank you!

  • @MrRyanroberson1
    @MrRyanroberson1 2 ปีที่แล้ว +1

    Notice (AB)^-1 = B^-+ A^-1 and matrices are associative, therefore the final result is A^-1 b after simplification, so really this can be taken as a fancy way of inverting irregular shaped matrices

    • @chadx8269
      @chadx8269 ปีที่แล้ว

      Assuming (transpose A) has a left inverse.
      Then x= (inverse A)*b. But what if
      (Inverse (transpose A))* (transpose A) not equal to Identity.

  • @LQC783
    @LQC783 3 หลายเดือนก่อน +1

    Perfect explanation. Thank you!

  • @chadx8269
    @chadx8269 ปีที่แล้ว +2

    Very nice, now its stuck in my brain.

  • @SamKwak-q4m
    @SamKwak-q4m 7 หลายเดือนก่อน +1

    Fantastic. Keep it up!

  • @ShalevWen
    @ShalevWen ปีที่แล้ว

    Since A has only 2 columns, its rank is at most 2 and so is the rank of A^t*A, which means that if you have more than 2 data points there is no inverse

  • @noonesperfect
    @noonesperfect 2 ปีที่แล้ว +1

    Great explanation.

  • @aniruddhvasishta8334
    @aniruddhvasishta8334 2 ปีที่แล้ว +3

    Awesome! When I saw that everything was on a plane I assumed you would find the orthogonal projection of b with the projection matrix that I vaguely recall from my intro linalg class. This solution seems more elegant tho.

    • @virtually_passed
      @virtually_passed  2 ปีที่แล้ว +1

      Thanks for the kind words. Using the projection vector formula is indeed another method that can work :)

  • @chandraprakash934
    @chandraprakash934 2 ปีที่แล้ว +1

    Amazing ! keep up the good work :)

  • @zeroheisenburg3480
    @zeroheisenburg3480 2 ปีที่แล้ว +1

    Cool Video. May I asked what did you use to draw animation for 3d planes and coordinates system?

    • @virtually_passed
      @virtually_passed  2 ปีที่แล้ว +3

      Hey I used ManimCE. It's a python library made by 3b1b

  • @SuperSeaguard
    @SuperSeaguard 2 หลายเดือนก่อน

    I wish I had visualizations like this while learning calculus / differential equations.
    We humans are visual learners. Math without visualization is very difficult to learn.

  • @ShahbazKhalilli
    @ShahbazKhalilli ปีที่แล้ว +2

    this was insaneeee

  • @posi0504
    @posi0504 11 หลายเดือนก่อน +2

    Thank you!!!!

  • @AlokKumar-kk8pj
    @AlokKumar-kk8pj 2 ปีที่แล้ว +2

    Sir please don't put background music. Great content

  • @dothuong-f1e
    @dothuong-f1e ปีที่แล้ว

    Help me explain sensitivity of variable A

  • @tsunningwah3471
    @tsunningwah3471 8 วันที่ผ่านมา +1

    what does angle mean in higher dimension say a dot b = |a||b|cos theta what does theta mean if a b are like 5 dimension vectors? thanks

    • @virtually_passed
      @virtually_passed  2 วันที่ผ่านมา +1

      Intuitively I can only tell you what it means up to 3 dimensions. Imagine drawing two vectors in 3 dimensions. Then draw a plane that is spanned by both of those vectors. The angle on that 2 dimensional plane between these vectors will be theta.
      After 3 dimensions all intuition falls apart. I can only loosely tell you that theta is a measure of how 'similar' the two vectors are.

    • @tsunningwah3471
      @tsunningwah3471 2 วันที่ผ่านมา

      @ thanks

  • @gigastein3151
    @gigastein3151 2 ปีที่แล้ว

    Sir can you make a whole playlist of mechanics, I really understand you really well. Please sir

    • @virtually_passed
      @virtually_passed  2 ปีที่แล้ว

      Thanks for the comment. It's in the pipeline!

    • @gigastein3151
      @gigastein3151 2 ปีที่แล้ว

      @@virtually_passed Thanks sir, idk you are one of the best for mechanics, I am struggling with mechanics and your summary helped very much. I hope you will upload all of the playlist of the mechanics. Thanks for you efforts.

    • @gigastein3151
      @gigastein3151 2 ปีที่แล้ว

      @@virtually_passed sir do you use any social media, as if I have any conceptual doubt. I will ask you.

    • @virtually_passed
      @virtually_passed  2 ปีที่แล้ว

      @@gigastein3151 I have a Facebook page. But you can email me at virtuallypassed@gmail.com

    • @gigastein3151
      @gigastein3151 2 ปีที่แล้ว

      @@virtually_passed oh do you use applications like discord

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi 2 ปีที่แล้ว +2

    Wonderful

  • @nehalkalita
    @nehalkalita ปีที่แล้ว +1

    Which software do you use for the animations?

    • @virtually_passed
      @virtually_passed  ปีที่แล้ว +1

      I used Manim. A free python library

    • @nehalkalita
      @nehalkalita ปีที่แล้ว

      Okay. Since the background colour is not black and the font is different unlike many other videos of Manim, I could not figure out it was an output from the same tool.

  • @DavidKenny64
    @DavidKenny64 ปีที่แล้ว +1

    How much more complicated would it be if the pins were not in the shape of a circle, but maybe the shape of a horse? A picture in a silhouette.

    • @virtually_passed
      @virtually_passed  ปีที่แล้ว

      I think you meant to comment on my string art video? :} for the method shown in the video it's no additional hassle at all! It's the exact same method. The A matrix will just change. Fun fact: depending on which way you wrap your string around the nails, you can get a slightly different ending angle and starting angle, so you can effectively get 4x nails. This irregular spacing of nails can be stored in the A matrix

    • @DavidKenny64
      @DavidKenny64 ปีที่แล้ว

      @@virtually_passed You are correct. I had followed the link in your string art video to this one and then commented here. Do you plan to sell or release the calculations for people who just want to create computer art?

  • @juanramonvazquez3212
    @juanramonvazquez3212 2 ปีที่แล้ว +3

    bro, change the title while not many people has seen it yet lol (typo)

    • @virtually_passed
      @virtually_passed  2 ปีที่แล้ว +6

      Thanks for the warning! I've changed it. For those not knowing what this is about; I stupidly misspelled the word "squares" :x

  • @dariusgoh5314
    @dariusgoh5314 ปีที่แล้ว

    Doesn’t this proof only make sense for when A has 2 columns . Then the column space of A is a plane

    • @一個平民
      @一個平民 ปีที่แล้ว

      This video used a 3d to 2d projection for better visualization
      But i believe those concept used (projection, orthogonality, dot product etc) are still viable in higher dimensional spaces so the prove should be similar

    • @virtually_passed
      @virtually_passed  ปีที่แล้ว +1

      Yes you're right. But this idea can be generalized to N dimensions. Usually the projection is used and not a manual dot product as I showed. I did that because that seemed more intuitive and simple to me