QR decomposition

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • QR Decomposition of a matrix and applications to least squares
    Check out my Orthogonality playlist: • Orthogonal sets
    Subscribe to my channel: / @drpeyam

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

  • @riccardocapellino7680
    @riccardocapellino7680 4 ปีที่แล้ว +96

    This guy always leaves a smile on my face

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

    Im at the point of the semester where I need to take whatever this guy took

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

    You are on my elite teachers list: Sal from Khan academy, The organic chemistry tutor, Professor Dave, and now Dr Peyam. Hats off to all of you for making my university life easier. Massive respect and love for all of you

    • @Rwko.
      @Rwko. 18 วันที่ผ่านมา

      Add Dr Trefor Bazett in that list. :)

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

    3 hrs of lecture and i didnt understand a word.
    5 mins of watching this video - and i undersand every thing !!
    thank you.

  • @ARNAKLDO
    @ARNAKLDO 4 ปีที่แล้ว +33

    You sir are a genius. This linear algebra extravaganza was super helpful!

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

      Glad you like it 😄

  • @joaofernandes8051
    @joaofernandes8051 5 ปีที่แล้ว +39

    And I thought it was something to do with QR codes :P

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

      🤔😅😁😁😀

  • @IlMarinz
    @IlMarinz 5 ปีที่แล้ว +6

    I've Always seen matrix decompositions (QR, LU) done with square matrix, it's a bit strange for me to see them in the nonsquare world. Also, I was told that Q must be Unitarian and Hermitian (I guess for IR orthogonal and symmetric would be fine) hence making QR only be possible in square matrices by definition. I wonder how much of a lie resides in what I just told

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

    And the next decomposition should be the very important SV decomposition which one typically uses in the matrix product state formalism. :D

  • @OrdinaryXtreme
    @OrdinaryXtreme 5 ปีที่แล้ว +16

    This is the funnest math tutorial video I've ever seen. You made the process seem so streamlined and easy, thank you!

  • @GangerPlayz
    @GangerPlayz 4 ปีที่แล้ว +4

    This was expained so well that i understood despite i talk spanish and dont know even a little of english

  • @vassisn2001
    @vassisn2001 5 ปีที่แล้ว +4

    Thank you for explaining a simple topic as it should be explained, in a simple way. Great explanation!

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

    the radiance of his positivity in his teachings make me love linear algebra XD

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

    That's awesome. I don't understand matrix and I don't understand english but with your funny explinations, I understand everything. Thank you so much.

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

    pleaseee in 03MIN.12 why the first resultat is 15/9 !!!

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

    Your enthousiasm is amazing, the only thing that triggers me is that you put your line of your Q on the wrong side !

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

      Enthusiasm increases by exp(2) when Watching it on 2x

  • @JohnDoe-sc4zf
    @JohnDoe-sc4zf 3 ปีที่แล้ว +1

    Hey, thanks for the amazing video. I just have one quick doubt. As you said Q is orthonormal matrix, then when I compute Q*Q' it does not give I. Please enlighten me, or am I misunderstanding something?

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

      It doesn’t have to. For nonsquare orthogonal matrices we don’t always have Q Q’ = I, that’s only true for square matrices

  • @fatty3910
    @fatty3910 10 หลายเดือนก่อน +1

    omg you're so cute i can watch you teach all day

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

    I wonder... Would a left-sided RQ decomposition ever be useful? And how easy is it to generate compared to QR?

  • @吳弘叡
    @吳弘叡 ปีที่แล้ว

    Thanks alot!!!!!!!!!!!!!!!!!!!!! Prepare to hand in my homework set~~~~~~~

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

    You're my hero!

    • @drpeyam
      @drpeyam  5 ปีที่แล้ว +4

      I’m Captain Peyamerica! 🙂

  • @gulrukhsor_akhmadjanova
    @gulrukhsor_akhmadjanova 5 หลายเดือนก่อน

    omg, thank you a lot for your priceless knowlage

  • @junior-ee5dm
    @junior-ee5dm ปีที่แล้ว

    t amo gringo, entendi como el putas no mk lo amo me ayudaste a estudiar para el parcial no nea feliz

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

    Thanks so much for explanation, It was clear and concise and to the point.

  • @DSKim-ej5uf
    @DSKim-ej5uf 5 ปีที่แล้ว

    Good video! I looked very good. What do you think of Jimmy Hendrix? If you like my guitar and harmonica you will be happy.

  • @holyshit922
    @holyshit922 3 ปีที่แล้ว

    Gram Schmidt is good for paper and pencil calculations but i heard that it is numerically unstable and I should avoid it when I write program for QR decomposition
    Householder reflections or Givens rotations are better choice for those who want to write a program
    Silly , or maybe not in Householder reflections we need transpose of matrix to get Q and square matrices are easy to transpose in place
    Transpose of rectangular matrix also can be done in place but it is not so easy

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

    The math people call this Q is semi-orthogonal matrix. They define that orthogonal matrix must be square.
    en.wikipedia.org/wiki/Semi-orthogonal_matrix

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

    Thank you so much. This really helped my understanding of qt decomposition

  • @enamanjgo8930
    @enamanjgo8930 5 หลายเดือนก่อน

    u are like the bob ross of math :) thank you

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

    This tutorial is amazing, thank you

  • @syedmuhammadabdullah2920
    @syedmuhammadabdullah2920 4 หลายเดือนก่อน

    Thankyou for being successful in successfully wasting my time

    • @drpeyam
      @drpeyam  4 หลายเดือนก่อน

      Awww you’re welcome!!

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

    Best QR decomposition video I've found. Well explained, straight to the point, easy to understand. Thank you.

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

    Orthogonal Matrices are a bit strange anyway. I will never understand why you call a Matrix with orthoNORMAL column-vectors orthoGONAL and not orthonormal.
    Most of the time I love maths, but sometimes I hate it xD.

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

      I agree with you. Luckily, there is a book where authors say orthonormal matrix. In my lectures I also say this.
      And there are other cases where I use the corresponding correct name. Similar, more terrible thing is 😄 "this infinite series is convergent". Math is nice, but the language created by persons is not necessarily correct.

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

      @@sandorszabo2470 Finally someone understands me :D

    • @drpeyam
      @drpeyam  5 ปีที่แล้ว

      I totally agree

    • @HilbertXVI
      @HilbertXVI 5 ปีที่แล้ว

      Eh useless semantics

  • @Handelsbilanzdefizit
    @Handelsbilanzdefizit 5 ปีที่แล้ว

    What, if you define a kind of Matrix-Product with the compositon of the elements: A = { {a11(x), a12(x)},{a12(x), a22(x)} } and B = { {b11(x), b12(x)},{b12(x), b22(x)} }
    So that, A°B = { { a11(b11(x)) + a21(b12(x)), a12(b11(x)) + a22(b12(x)) }, { a11(b21(x)) + a21(b22(x)), a11(b21(x)) + a21(b22(x)) } }
    Linear Algebra is boring, because I never understood it well. Make more videos about this crazy fractional calculus stuff!
    Something like this: (d/dx)^f(x) x = f'(x), where f(x) is the order of the derivative.
    Or functions that transform other functios to their derivatives: g1(f(x)) = f'(x), g2(f(x))= f"(x), ... where gn depends of (d/dx)^n f.
    Then you could "maybe" generalize derivatives by these functions --> g0.3(f) = (d/dx)^0.3 f

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

    God Bless you, man!

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

    3:16 what does he mean here? what is rescaling a vector ? just getting rid of the denominator ?

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

      Multiplying by a constant, here so that the components are integers

  • @kevinshao9148
    @kevinshao9148 3 ปีที่แล้ว

    thanks for the video! but one question, even if R' is not invertible (meaning A has linear dependency) , there still solution for LS right? just lose one dimension. No?

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

    thank you great video

  • @unruly_ronin
    @unruly_ronin 3 หลายเดือนก่อน

    Great video man

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

    in W1 , where did you get 1/3 ? and what is W1? you said its the lenght of vector[2 2 1] it should be 3 . but why its 1/3?? i dont get it

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

      You divide by the length of the vector to get a unit vector

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

      @@drpeyam I just understand that numerator 1 is part of the formula right ? that was my question . 😄

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

    The best explanation given on this topic!

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

    WOW this was explained really well, I wish my professor could teach like this :(

  • @harshala5385
    @harshala5385 10 หลายเดือนก่อน

    Thank you sir.

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

    Thank you so much. Very helpful

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

      Glad it was helpful!

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

    The watch steals the show

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

    Thank you sir👍

  • @mohammadburhanmanzoor3806
    @mohammadburhanmanzoor3806 3 ปีที่แล้ว

    How about its importance in finding evalues?

  • @mzeeshanzafar28
    @mzeeshanzafar28 4 หลายเดือนก่อน

    Dr Ariya from Krish

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

    Do you have videos on SVD? Thanks for this video

  • @huongtran7922
    @huongtran7922 3 ปีที่แล้ว

    What is the application of QR decomposition?

  • @miguelrodriguez-qc2uf
    @miguelrodriguez-qc2uf 3 วันที่ผ่านมา

    I want to kiss him :*

    • @drpeyam
      @drpeyam  3 วันที่ผ่านมา +1

      Awwwwww!!!

  • @counterko
    @counterko 3 ปีที่แล้ว

    6:50 known Q find R

  • @3ia18_prasetyaharkrisnowo7
    @3ia18_prasetyaharkrisnowo7 5 ปีที่แล้ว +1

    Do 100 integral challenge!!!

    • @drpeyam
      @drpeyam  5 ปีที่แล้ว

      There’s already a 100 T/F challenge

  • @RenegadeFury
    @RenegadeFury 3 ปีที่แล้ว

    I thought u2 hat was perpendicular to V1, but apparently that's what v2 is?
    Or is u2 hat supposed to be parallel to V1?

    • @drpeyam
      @drpeyam  3 ปีที่แล้ว

      No, u2-u2hat is perpendicular to v1

  • @judesharp6472
    @judesharp6472 3 ปีที่แล้ว

    man how did i not find you before, you're litteraly going to make me pass numerical analysis

  • @1.4142
    @1.4142 9 หลายเดือนก่อน

    IR=V fin.

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

    「動画の音が良くない」、

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

    Thanks a lot for your clear explanation!

  • @deepgems2246
    @deepgems2246 4 ปีที่แล้ว

    Your V's look exactly like your U's

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

    Very useful session thank you so much ❤

  • @peytonv.6614
    @peytonv.6614 ปีที่แล้ว

    I have been struggling with this topic, you explained this so well. Thank you!

  • @Mr.HugsHoney
    @Mr.HugsHoney 3 ปีที่แล้ว

    WOW THANK YOU DR. YOU ARE THE BEST

  • @carlosalbertodelgadoelizon4457
    @carlosalbertodelgadoelizon4457 4 ปีที่แล้ว

    Thanks a lot!! The example was very illustrating!

  • @samytee3282
    @samytee3282 3 ปีที่แล้ว

    Wow best explanation and nice style of teaching. Very precise and easy to understand

    • @samytee3282
      @samytee3282 3 ปีที่แล้ว

      I wanted SVD and two grid method too :)

  • @Matrioshka_Brain
    @Matrioshka_Brain 3 ปีที่แล้ว

    This was really good :)

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

    First uwu!

  • @Elisko245
    @Elisko245 4 ปีที่แล้ว

    Thanks you for an amazing explanation!

  • @sandorszabo2470
    @sandorszabo2470 5 ปีที่แล้ว

    A nice lin alg video again. I hope my students will also like it 😊

  • @jxw7196
    @jxw7196 3 ปีที่แล้ว

    What a living legend... Amazing Peyam

  • @stekim
    @stekim 4 ปีที่แล้ว

    thank dr peyam! I really liked the extension to least squares in the second half of the video.

  • @a.s.6898
    @a.s.6898 3 ปีที่แล้ว

    crazy good, thank you

  • @deniztunayildiz4518
    @deniztunayildiz4518 10 หลายเดือนก่อน

    08: 10

  • @059812
    @059812 4 ปีที่แล้ว

    Great explanation, thanks!

  • @vijayank1170
    @vijayank1170 5 ปีที่แล้ว

    Dr Peyam.. can you please explain what LU decomposition is.. I kind of noticed in my textbook... but no idea what it is..

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

      There’s a video on that

    • @vijayank1170
      @vijayank1170 5 ปีที่แล้ว

      @@drpeyam Ok thanks... I'll check it out

  • @rampage14x13
    @rampage14x13 4 ปีที่แล้ว

    Thanks this video series has really been helpful! Also, just wondering if you would be willing to share but I was wondering what watch you're wearing? I think it looks great

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

      It’s an Invicta watch, you can get it on amazon

    • @rampage14x13
      @rampage14x13 4 ปีที่แล้ว

      @@drpeyam Thanks for letting me know!

  • @joaomorais6101
    @joaomorais6101 5 ปีที่แล้ว

    Perfect explanation. Thx professor

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

    I love this man

  • @7amood40
    @7amood40 5 ปีที่แล้ว

    Could you do QZ decomposition.

  • @yapzhilin9857
    @yapzhilin9857 3 ปีที่แล้ว

    THANK YOU SO SO MUCH

  • @abdelrhmandameen2215
    @abdelrhmandameen2215 3 ปีที่แล้ว

    absolutely fantastic

  • @kolinnhtooaung2408
    @kolinnhtooaung2408 4 ปีที่แล้ว

    Thanks! Sir

  • @sabbaramine2719
    @sabbaramine2719 3 ปีที่แล้ว

    thx bro !!

  • @kyc3722
    @kyc3722 4 ปีที่แล้ว

    very very clear

  • @aminfadaei4056
    @aminfadaei4056 4 ปีที่แล้ว

    good job peyam

  • @rasikajayathilaka3516
    @rasikajayathilaka3516 4 ปีที่แล้ว

    Great!

  • @marce3893
    @marce3893 5 ปีที่แล้ว

    thanks for your work.

  • @eduardamachado7687
    @eduardamachado7687 5 ปีที่แล้ว

    Foi muito útil! Thank you so much!

  • @typo691
    @typo691 5 ปีที่แล้ว

    Do you put the slash in the wrong place in "Q" just annoy viewers like me!?

    • @drpeyam
      @drpeyam  5 ปีที่แล้ว

      No, that’s just the way I’m used to writing it

    • @typo691
      @typo691 5 ปีที่แล้ว

      @@drpeyam fair enough

    • @Sup3rlum
      @Sup3rlum 5 ปีที่แล้ว

      @@typo691 he is left handed so its easier to swipe down and away