Least Squares Formula PROOF

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 46

  • @martinzapata7289
    @martinzapata7289 2 роки тому +14

    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!

  • @kevinnania3652
    @kevinnania3652 Рік тому +4

    Absolutely beautiful.

  • @LQC783
    @LQC783 День тому +1

    Perfect explanation. Thank you!

  • @ShahbazKhalilli
    @ShahbazKhalilli 10 місяців тому +2

    this was insaneeee

  • @jaafars.mahdawi6911
    @jaafars.mahdawi6911 Рік тому +2

    Indeed we liked it. Very. Well done.

  • @HimuraK1
    @HimuraK1 Рік тому +2

    Excellent video! Thank you!

  • @user-en5er8oe4r
    @user-en5er8oe4r 8 місяців тому +2

    Thank you!!!!

  • @chadx8269
    @chadx8269 Рік тому +2

    Very nice, now its stuck in my brain.

  • @SamKwak-q4m
    @SamKwak-q4m 4 місяці тому +1

    Fantastic. Keep it up!

  • @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 :)

  • @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.

  • @noonesperfect
    @noonesperfect 2 роки тому +1

    Great explanation.

  • @chandraprakash934
    @chandraprakash934 Рік тому +1

    Amazing ! keep up the good work :)

  • @ShalevWen
    @ShalevWen 11 місяців тому

    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

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi 2 роки тому +2

    Wonderful

  • @DavidKenny64
    @DavidKenny64 10 місяців тому +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  10 місяців тому

      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 10 місяців тому

      @@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?

  • @AlokKumar-kk8pj
    @AlokKumar-kk8pj 2 роки тому +2

    Sir please don't put background music. Great content

  • @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

  • @user-th6tf6pb7i
    @user-th6tf6pb7i 9 місяців тому

    Help me explain sensitivity of variable A

  • @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.

  • @gigastein3151
    @gigastein3151 Рік тому

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

    • @virtually_passed
      @virtually_passed  Рік тому

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

    • @gigastein3151
      @gigastein3151 Рік тому

      @@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 Рік тому

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

    • @virtually_passed
      @virtually_passed  Рік тому

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

    • @gigastein3151
      @gigastein3151 Рік тому

      @@virtually_passed oh do you use applications like discord

  • @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

    • @user-ts4jc4pk3k
      @user-ts4jc4pk3k Рік тому

      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