❖ Rotating Points Using Rotation Matrices ❖

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • In this video I justify the formula used involving matrices to help find the new coordinates of a point after a counter clockwise rotation. There is one quick example as well at the end! The formula is pretty easy to use so long as your remember matrix multiplication so I spent more time on the justification part since it is more interested!
    This topic would be useful for people in animation or design if you want to understand the mathematics occurring in the background.

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

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

    Hi all! Wanna help a RUclips education OG? Please post comments, questions and anything else on your mind in the comment section! so, don’t forget to LIKE, THUMBS UP, and SUBSCRIBE! I’d appreciate it greatly as it helps me :)

  • @kseshan731
    @kseshan731 5 лет назад +20

    I am a chemist (retired professor) and I am trying to understand how animation works (matrices and graphics). You are a wonderful teacher. Thanx for helping me to come to this solution for rotating vectors using mathematics I learned at school (and remember still). Brilliant lesson.

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

      thanks for the kind words. good luck in your studies!

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

    MAD respect doing explainers in SHARPEE. NO mess ups. Great work!

  • @cheatman05
    @cheatman05 7 лет назад +5

    Finally I can think of something when someone says "transformation matrices", because those were nothing but a bunch of vectors for me till now. Thank you for making this great, clear explanation.

  • @varus7993
    @varus7993 5 лет назад +32

    I watched your videos since I was an undergraduate student, now I am studying in Ph.D and still watch your videos XD. Thank you so much for everything you have made for us. I am really appreciated

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

      I am like 15 years old and in my country this comes in when you’re like 17. And I am still doing it lmao.

    • @ian.ambrose
      @ian.ambrose 2 года назад

      @@yupitzmeeee That means you are very smart! Congrats!

  • @AlexMcClung97
    @AlexMcClung97 7 лет назад +98

    Great explanation, thanks! It would be great to see a derivation of the 3D case (3x3 rotation matrix) also.

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

      Please

    • @vijaishankar3942
      @vijaishankar3942 3 года назад +9

      ​@@delandoduggan7698 It's the same for 3D, here we are rotating along the z-axis, so if you want to rotate along the y axis then substitute x and y with x and z. So it's just a matter of changing the axis.

    • @dhanush.n290
      @dhanush.n290 2 года назад +1

      @@vijaishankar3942 I need full answer for 3×3 matrix

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

      @@dhanush.n290 the Z stretches out of the plane, so rotating the other two does not affect it. Therefore, you would append a Z’(0) to the end of the pre-existing equations. For the third equation, you are rotating/performing transformations with the Z-axis directly, not the other two. Therefore, they are x’(0) y’(0) by the logic used previously. Z would be Z’(1) because it is now being transformed.

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

    Thank you so much Patrick!! I had an assignment of this. You almost saved my grade of Engineering Mathematics :D

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

    We pay a million bucks in tuition but the guy from RUclips teaches way better for free OMG thank you very much Sir

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

      hey! i have a name! :)
      glad you like the video :)

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

      @@patrickjmt no problem man. I appreciate you taking the time to teach this Patrick

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

    You just made my life easier, I can't thank you enough!

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

    soo clear!! thank you!!
    no fancy tricks, just clarity...sigh
    again thank you!

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

    I am a robotics software engineer and use rotation matrix for differential robot position estimation in my code. However, I was not aware of the mathematics behind it. Thank you so much for this great explanation.

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

    Dude you have no idea how much this video helped me understand the -sin theta, i forgot about trig identities and this is just what I needed to carry on my 2 link manipullator research. Thank you

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

    Quite eloquent and straight to the point.
    I find this quite helpful
    Thanks

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

    You are shockingly good at freehanding straight lines.

  • @keithturner1069
    @keithturner1069 6 лет назад +1

    Hey mate, I'm currently doing a mathematical exploration of matrices as part of a teaching degree. I stumbled upon the rotation matrix through some guess work, but I didn't understand where it came from until your video, what a great explanation! I would have never gave thought to use that trig identity. Cheers and keep up the good work :)

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

    never thought id need this so when i learnt in school i didnt understand, now i need it for my code, funny how that works, im so interested this time, last time didnt even care enough to remember

  • @veronicagonzalez5411
    @veronicagonzalez5411 7 лет назад +1

    thanks for all the help, you have saved me many times in my time of need and i just wanted to say thank you

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

    Made the topic so clear
    thnk u man

  • @password6975
    @password6975 7 лет назад

    Some of the best material on youtube

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

    You explained in 9 mins what my lecturer tried explaining in a week

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

    Thank you. Awesome explanation. Some class just gave the matrix for 3D without saying how it got there. Your explanation is spot on.

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

    Amazing lecture! You are a great teacher.

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

    nice video! if you aren't interested in the derivation, start at 10:50 and for the "shortcut" start at 15:21

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

    I have been banging my head the whole day trying to rotate a triangle and if it were not for you I would have lost my sanity. Thank you!

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

    Spectacularly clear explanation! Thank you!

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

    Dude, you're the best! This is indeed the best and simplest explanation and derivation of that rotation matrix. Other guides on the net just complicate things. I love your videos. Perhaps you could make a video demonstrating how, using this formula, the y=1/x curve is actually the hyperbola [(x^2)/2 - (y^2)/2 = 1] rotated 45 degrees counter-clockwise.

  • @imme.8736
    @imme.8736 4 года назад +1

    I love this video. It's super clear. Thank you a lot.

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

    As always, a very helpful video.

  • @ShahbazKhan-rg7fd
    @ShahbazKhan-rg7fd 3 года назад

    Thanks man, really helped with understanding some Matlab code for my uni project

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

    Great video. Very easy to follow.

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

    Its a wonderful explanation Mr. Patric.... thanks man

  • @djgulston
    @djgulston 6 лет назад

    You are saving lives, sir!

  • @unsolvedmystery7408
    @unsolvedmystery7408 5 месяцев назад

    Very very helpful seriously very helpful thankyou so much, i was working on an HTML canvas project and this helped me alot

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

    I was able to work it out after the half way mark, but thank you. The way it's taught in books left me wanting more. I never felt it was properly explained. Was it sin(theta) or -sin (theta). Utilizing trig identities, it explains where one places the minus sin.

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

    Water clear explanation, thanks!

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

    You are way better at explaining this than Khanacademy. Praise the lord!

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

    Really thank you 🙏 best teacher 👨‍🏫

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

    Thanks, great vid really helped me with the spinning donut

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

    Absoluting amazing explanation, kudos!

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

    Thank you for the great explanation!

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

    Thank you mate.It's been useful.

  • @dr.sudharsanaraopotturu1380
    @dr.sudharsanaraopotturu1380 3 года назад

    Excellent explanation, thanks for your efforts. Keep it up sir

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

    Fantastic explanation!

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

    Thanks buddy

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

    Can you please do 3D rotational Matrices!!!!!! Honestly your way of teaching is the only way I can understand!

  • @sam90o48
    @sam90o48 7 лет назад +3

    tysm for showing me this ,it will help me. in solving many problems

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

    Great explanation thanks fella

  • @gidonkessler1799
    @gidonkessler1799 7 лет назад +1

    just what i needed for my programming :)

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

    Thank you very much. I didn't know how to represent a point in matrice form.

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

    Thanks sir for this great explaination

  • @Stella-yv2ns
    @Stella-yv2ns 2 года назад

    Thank you very much, very good explanation!

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

    finally I can understand now thank you so much

  • @wellbangok8959
    @wellbangok8959 7 лет назад +26

    I don't know why I'm here but DIFF EQ is a nightmare.

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

    this explanation helped me a lot thanks.

  • @leah.2520
    @leah.2520 4 года назад

    thank you very much, i always wondered where this matrix came from !!!!!!

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

    thanks for sharing it with us very nicely explained

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

    Thank you so much for the video

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

    thank you so much!!! my prof didn't show this on her slides

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

    Thank you for your lecture.

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

    True content, no bullshit.

  • @hartonianwar3607
    @hartonianwar3607 7 лет назад +1

    wow I like this video.
    very good at explaining the material

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

    Sheeeeshh!! You're excellent!

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

    Great explanation! Thanks

  • @ivanurbina2422
    @ivanurbina2422 14 дней назад

    Beautiful explained

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

    This is gold!

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

    YOU ARE A LIFE SAVER THANK YOOOOOOOOOOOOOOOOOU

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

    Thanks Patrick, this was really helpful!

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

    amazing, thank you so much!

  • @jonas26a
    @jonas26a 6 лет назад

    Very helpful and explained well. Thank you

  • @TheCharbMusic
    @TheCharbMusic 6 лет назад

    Very good explanation, thank you very much !!

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

    This is exactly what i need. Thanks you

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

    great video. thanks

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

    讲解很清晰,感谢

  • @JimmyGray
    @JimmyGray 6 лет назад

    Great demo!! Thanks!

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

    Thank you so much Patrick. Its great.

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

    amazing! thank you

  • @Jafar-is6te
    @Jafar-is6te 3 года назад

    When - sin is in the second row, that makes a clockwise rotation.
    When it is in the first it will be counter-clockwise.

  • @domenicodifraia7338
    @domenicodifraia7338 7 лет назад

    Great video man, thanks!

  • @HabibKhan-jr9id
    @HabibKhan-jr9id 6 лет назад

    Thanks. That was very helpful.

  • @ProfDiaz-19
    @ProfDiaz-19 5 лет назад

    Excelente explicación hermano se gano un seguidor.

  • @EverydaySimulations
    @EverydaySimulations 7 лет назад +2

    Love it if you'd do the 3 dimensional version! Thanks pat

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

    Nice video for my surface orientation system from game character on slope. I love trigonometrics 7w7

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

    thank you so much

  • @kemibello6812
    @kemibello6812 7 лет назад

    Very helpful, thanks

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

    Bull eyes explanations dude you have logic great

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

    Awesome Buddy.

  • @spoofvideo2361
    @spoofvideo2361 6 лет назад +1

    Hey friend, Very helpful video => Gret
    Perfect 2D Rotation.

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

    my program actually works yay
    now i just need to figure out how to rotate vectors in 3d

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

    thank you a lot

  • @nehalahmed2515
    @nehalahmed2515 6 лет назад

    Love you Bro

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

    I love you, man...

  • @MuhammadSohailKhan
    @MuhammadSohailKhan 7 лет назад

    its really helpful :)

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

    nice one..

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

    thank you so much !!!

  • @frankmsigwa6674
    @frankmsigwa6674 6 лет назад

    Thank you sir

  • @MdAbdullahAlMuyid_nowho
    @MdAbdullahAlMuyid_nowho 6 лет назад

    Thanks yo. A lifesaver : )

  • @mariamgarba1416
    @mariamgarba1416 6 лет назад +2

    thanks for this, is there a 3D (X,Y,Z) explanation of this videos?

  • @mathguy4264
    @mathguy4264 7 лет назад

    perfect. Thank you.

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

    Great explanation, thank you! But how would I change this method to rotate around an arbitrary point, instead of the origin?

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

      Add the value of the point to the end result.

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

    Awesome video! very clear explanation ...thank you so much !
    would like to ask... how do you get the left side matrix if you know the initial and final coordinates... thank you so much!