Rotation matrix derivation (step-by-step prove)

Поделиться
HTML-код
  • Опубликовано: 22 дек 2024

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

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

    📣 Studying math and science? 👉Visit www.ai-tutor.io for your personal homework assistant! 🚀

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

      I think if you only want to rotate the coordinate system by alpha, you can multiply Matrix of unit vectors of original system by rotation matrix. And then as someone said before, multiply the new rotated vector by the inverse of the rotation matrix to get the vector back.

    • @PenandPaperScience
      @PenandPaperScience  Год назад +2

      Yes, you can also do that. I even think it boils down to the same thing. (: What you're doing in your scenario is basically transforming a matrix, instead of two vectors.@@PRIYANSH_SUTHAR

  • @liquidportal9082
    @liquidportal9082 8 месяцев назад +17

    By far the best derivation for rotational matrices on RUclips. Excellent work.

    • @PenandPaperScience
      @PenandPaperScience  8 месяцев назад +2

      Thank you for the kind words!
      I'm glad I could help :))

  • @khaledsalah9248
    @khaledsalah9248 Месяц назад +3

    The world would be a better place if every educational video was as good as this one, thanks : )

  • @marcbennet4346
    @marcbennet4346 2 месяца назад +6

    concise, complete, accurate: elegant

  • @sebafranzo
    @sebafranzo Год назад +4

    Wow! Ive never heard anyone actually using the correct pronuciation for plus and beta like that! As an italian and a greek/latin student I really appreciate that!

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

      :D
      That's a nice comment to get, thanks!
      (Belgian btw)

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

      as a russian i appreciate that too :^)

  • @povdata
    @povdata 9 месяцев назад +3

    Best explanation in the Internet!

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

    Wow, thank you so much, this video is awesome. I watched so many videos about rotation matrices and I was so confused about how you compute the x' and y' (I didn't know if you multiply x' by everything in the rotation matrix and then what abt x and y, etc.). But now I understand it's split into rows. Thank you so much!

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

      You are very welcome, I'm super happy the video was helpful :)

  • @MOXTHEGAMER
    @MOXTHEGAMER 9 месяцев назад +2

    This is a wonderful video. I tried using my textbook to learn this, but this video made it so easy to understand. Absolutely love this video.

    • @PenandPaperScience
      @PenandPaperScience  9 месяцев назад +1

      Wow, thanks for the kind words! I motivates me to make more videos :))

  • @EnduroDEV
    @EnduroDEV 2 года назад +15

    Thank you, I was looking for exactly this kind of explanation.

  • @ilredeldeserto
    @ilredeldeserto 2 года назад +15

    so if I understand, here we want rotate a vector counterclockwise keeping the reference system fixed and so I have to use matrix in the video. But if I want keeping the vector fixed and rotate the reference system I have to use the inverse matrix of the matrix showed at the end because it's like to take the vector rotated in the new system and rotate it back clockwise. Is for this reason that there is confusion about where to put the - sign in the sen() of the matrix, it depends on what I want to rotate: the reference system or the vector. Am I right?

    • @PenandPaperScience
      @PenandPaperScience  2 года назад +8

      You are completely right and put it nicely into words! Nice :)

  • @ameliedzinka
    @ameliedzinka 9 месяцев назад +2

    Finally, a normal explanation. Because everybody starts with a vector rotated from 0 angle.

  • @WakeUp4L1fe
    @WakeUp4L1fe 19 минут назад

    Very visual and clear explanation of the rotation matrix. I like the colors you use to add an accent to each variable and function. And the colors itself are pleasant to look at. What program did you use to draw your presentation?

  • @breakdancerQ
    @breakdancerQ Год назад +5

    Didn't understand about cos/sin identities yet, but when I got that and came back to this I finally understand the derivation of this whole thing!

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

      Awesome! That's what learning mathematics is about (:

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

      they didn't teach this/mentioned this at all in trig classes that angle sums is the rotation matrix

  • @samuelbabu8439
    @samuelbabu8439 Месяц назад +2

    Very well explained sir. Thankyou very much.

  • @Jenny-kq9jv
    @Jenny-kq9jv 8 месяцев назад +1

    Hi, I love the video, but I have one question: when I change the x and y values of a function to xcos(b)-ysin(b) and xsin(b)+ycos(b) on Desmos graphing calculator , where b is the degree we want to rotate the function by, the function actually rotates in a clockwise direction instead of anticlockwise like shown in the diagram in the video, and I’m very confused about why?

    • @PenandPaperScience
      @PenandPaperScience  8 месяцев назад +3

      You raise an excellent point. The difference has to do with your point of view: In this video I show how to derive the rotation matrix if you want to rotate a vector within a fixed coordinate system (x-y). But: if you use this same matrix and apply it to your x and y axes, you are basically rotating your coordinate axis, and not the vector. Now imagine the following: rotating your coordinate axes clockwise over an angle b, then what that equivalently does is rotating any vector (or function) inside that coordinate system *counter clockwise* over the same angle.
      Does that make sense? :)

  • @luuksemmekrot4509
    @luuksemmekrot4509 Месяц назад +1

    Bro thank you such a clear explanation!

  • @labloom5254
    @labloom5254 Год назад +3

    Thank you, I am studying analytic geometry and this helped a lot

  • @27ksv
    @27ksv 25 дней назад +1

    wow such a beautiful derivation!

  • @sameer8056
    @sameer8056 Месяц назад +1

    wow its really exciting when you understand the math and concepts loved how you explained....🧠💡

    • @PenandPaperScience
      @PenandPaperScience  Месяц назад +2

      Yes, it is a deeply satisfying feeling that cannot be described in words.

  • @MuhammadSadiq-gz8go
    @MuhammadSadiq-gz8go 9 месяцев назад +2

    I am very lucky to found this video what a good explanation

    • @PenandPaperScience
      @PenandPaperScience  9 месяцев назад +1

      Again, thanks for commenting! I am very happy I could help :)

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

    Love this style. Subscribed!

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

    Finally… many thanks. You saved me!

    • @PenandPaperScience
      @PenandPaperScience  Год назад +2

      You're very welcome! Thanks for taking the time to let me know :D

  • @leandrogcosta
    @leandrogcosta 8 месяцев назад +4

    Very good!

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

    Is it applicable to anti-clockwise rotation as well?

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

      Yes, in that can you just apply the exact same dataframe, but change the angle to minus the angle: alpha -> -alpha.

  • @mr.chindo8570
    @mr.chindo8570 Год назад +1

    in other videos the -sin theta is in 2nd row first column unlike your video where it is in 1st row second column.. any idea why?

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

      Rotation is always relative with respect to the axis, whether you rotate the vector over an angle beta, or you rotate the axis over an angle -beta is the same. Since the sine is an odd function, if you change beta with -beta, the sign in front of the sine changes.

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

      There are two cases to consider. This transformation rotates a vector but keeps the coordinate system unchanged. The transformation you are referring to rotates the coordinate system and doesn’t change the vector.

  • @sonic-ee1dd
    @sonic-ee1dd 4 месяца назад +1

    thanks man, i study physics and they always used the rotation matrixes but they never explained them. Thanks a lot for the explanation now i understand how i can know if its an sin or cos.

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

      You're very welcome! I agree that they should do better in most universities! (:

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

    Best mathematical explanation about rotation matrix, but i miss intuion bro 😢

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

      You found the example video yourself already! (:
      ruclips.net/video/ipTekpr9kx8/видео.html

    • @chinnuchinnu966
      @chinnuchinnu966 2 месяца назад +1

      @@PenandPaperScience thanks bud 😀

  • @NateRiver-h4p
    @NateRiver-h4p 4 месяца назад +1

    Very instructive, thanks

  • @Svd_Saurav
    @Svd_Saurav 2 месяца назад +1

    which app do you use to draw and write with digital pen?

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

    thank you. however i was hoping for a more visual proof with geometry of why x' is given by x * cos(beta) - y * sin(beta), or why y' is given by x* sin(beta) + y* cos(beta). i can't find this anywhere. is it possible for you to do this?

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

      You're very welcome, and merry Christmas!
      I will try and think of a visual proof as I don't know one on the top of my head. If I find one, I will let you know through this comment :)

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

    Thank you, mister.

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

    if the question says it rotate 30 degrees clockwise does it mean i need to substract it from its origin degree?

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

      Hello!
      I'm not sure what you mean with origin degree. 30 degrees clockwise would mean rotating over an angle of +30 degrees, and you can fill that in in the rotation matrix.

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

    thank u sir, was really helpful 😊

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

      My pleasure, I'm glad it helped you! Also, thank you for taking the time to comment :D

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

    Thanks for your video - you made it extremely easy to understand :)

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

      Awesome! I'm glad it had the effect I hoped for! :) Thanks for the comment.

  • @2fifty533
    @2fifty533 Год назад +1

    makes a lot more sense to me now, thanks

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

      You're very welcome! That's why I make these videos (:

    • @2fifty533
      @2fifty533 Год назад

      @@PenandPaperScience yeah, from my experience, school just teaches us various formulas and concepts at face value without really going into how they work, which is a shame because there is usually a lot of cleverness and ingenuity behind it but all we see is a magic equation where you plug your numbers in and get stuff out no questions asked
      so it feels pretty nice to actually have an understanding of the thing that you are working with

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

    Great explanation thank you very much for this video

    • @PenandPaperScience
      @PenandPaperScience  Год назад +2

      Thank you for taking to time to comment! I'm super glad the video was useful to you! :))

  • @rajesh321r
    @rajesh321r Год назад +3

    It would be nice if you can make 3 dimensional matrix as well.

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

      That would mean having two angles, and thus 3 dimensions. This becomes difficult to draw, but maybe I'll try Manim (:

  • @jasonzhang7725
    @jasonzhang7725 8 месяцев назад +1

    THANK YOU VERY MUCH!!!!

  • @AryanAgarwal-u7q
    @AryanAgarwal-u7q Год назад +1

    really good video, thank you so much!

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

      Thank you for taking to the time to say that. Really means a lot to me (:

  • @xxxhristopher
    @xxxhristopher 6 месяцев назад +1

    This was wonderful 🤧

  • @ProofDetectives
    @ProofDetectives 10 месяцев назад +1

    Thank you.

  • @animenmusic16
    @animenmusic16 2 месяца назад +1

    Can you show it for 3D?

    • @PenandPaperScience
      @PenandPaperScience  2 месяца назад +1

      It becomes messy to draw it. I might do a Manim simulation in the future. However, it would be an excellent exercise for you to attempt it :)

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

    👉🚀Concrete Example Exercise: ruclips.net/video/EZufiIwwqFA/видео.html

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

    thank you so much

    • @PenandPaperScience
      @PenandPaperScience  Год назад +2

      You are very welcome! (:
      Good luck with your math endeavours!

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

    cool tut!!!

  • @zazaza5535
    @zazaza5535 2 месяца назад +1

    Thank you

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

    Can you do the same for 3x3 ... Please

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

    Excellent👍

  • @ranjankumarsahu998
    @ranjankumarsahu998 4 месяца назад +1

    Thanks brother

  • @mr.chindo8570
    @mr.chindo8570 Год назад +1

    how to write in terms of alpha instead of beta

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

      Beta is the angle central to the problem: it is the angle over which we perform the transformation (rotation). Therefore, you cannot write the rotation over beta as something with alpha, beta must always be present.

  • @realdragon
    @realdragon 8 месяцев назад +1

    Great video

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

    super helpful

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

      Thank you for taking the time to comment! I'm glad I could help :)

  • @harbhajanjutt
    @harbhajanjutt 2 месяца назад +1

    impressive sir

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

    Woow very very very helpful vedio

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

      Thank you very very very much! :D
      Share the love for science

  • @BCSFM-ku2fr
    @BCSFM-ku2fr 8 месяцев назад +1

    loved ittttt

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

    学会了,太牛逼了,非常感谢❤

  • @Rey-zb8el
    @Rey-zb8el Год назад

    What if my starting point is not (1,0) for x ? Is the starting point fixed to be 1,0 ?

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

      I'm not sure what you mean with the starting point. Can you be more specific? (:

    • @Rey-zb8el
      @Rey-zb8el Год назад +1

      I made an error in my calculation and I understand it now.
      keep up the good works ! Your explanation is excellent and the visualization provided is highly effective!

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

      @@Rey-zb8el Good to hear! And thank you for the kind words (:

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

    thanks😄

  • @MohammadIsrar-ck2qi
    @MohammadIsrar-ck2qi Год назад +1

    In Virginia university slides....the trig identity of y' = r sin() sin() + r cos() cos()
    And here is y' = r cos() sin() + r sin() cos()

    • @MohammadIsrar-ck2qi
      @MohammadIsrar-ck2qi Год назад

      Please Guide me

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

      Are you sure that the y' in the slides is the same entity on the graph as the y' in this video? Because what you say for y' is what I have for x', perhaps the axes are different?

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

    my teacher did such a bad explanation in this in linear algebra, thank you sir

  • @ghostrider4463
    @ghostrider4463 26 дней назад +1

    Nice

  • @barichm0
    @barichm0 Год назад +2

    Why use trigonometric identities? The values in the matrix just represent the rotated axis. That is all you need.
    The trigonometric values are of the angles with respect to the axis, not the point. That is why you don't need to calculate the distance.
    The explanations I've seen of this are unnecessarily complex.

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

      I don't quite get what you mean. Could you point me to an explanation that is not overly complex like you mention?

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

      @@PenandPaperScience What I mean is, you don't need to know the trigonometric identities. If you understand how matrix transformations work, the values are just the trigonometric values of the rotated axis. What they are depends on how the axis are oriented.
      When I was 13 years old, before I learned the equations, I wrote a computer game that did rotation by calculating the distance and using the arc tangent to get the original angle. That was inefficient, and it had bugs.
      When I learned the equations, I was confused, because I thought that the trigonometric values were supposed to be multiplied by the radius. The programming book where I read about them didn't even explain how they were derived; it said, "Rather than explain the geometry that derives these equations, we'll look at them from a user standpoint."
      Many years later, I saw an explanation in another programming book of how they are derived. It explained that they work by rotating the axis themselves rather than the point, but it used polar coordinate rotation and trigonometric identities. I have felt that there should be a simpler explanation.
      I have since figured it out: The values just represent axis vectors that are rotated and added together.

    • @AlFredo-sx2yy
      @AlFredo-sx2yy Год назад +2

      @@barichm0 in short your comment says "the rotation is obtained by making a rotation". You never really explain where you obtain the formulas from, just that you read them on programming books. Thats cool and all that you can apply highschool level math, everyone go ahead and clap, but like, the purpose of this video is to understand where the rotation matrix comes from so ... yeah?

  • @muthuraj3010
    @muthuraj3010 11 месяцев назад

    Top Notch

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

    ❤👍

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

    Ik kon direct horen dat je een belg was haha, moest dit even opfrissen voor bachelorproject robotica

  • @user02834
    @user02834 Год назад +2

    why tf dont nobody just for once do this with numbers stop fkn yappin and start explaining instead of just repeatedly saying words nobody understands this is so frustrating all channels kinda the same

    • @PenandPaperScience
      @PenandPaperScience  Год назад +2

      I can do an example with number if you like. Do you prefer a real-life example, or just one where I fill in a number for the angle and compute the end result?

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

      @@PenandPaperScience would be really nice if you rotated a square or some 2d shape for better comprehension

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

      @@user02834 Here you go :)
      ruclips.net/video/ipTekpr9kx8/видео.html

  • @FardinRiyad-r4m
    @FardinRiyad-r4m 2 месяца назад +1

    • @PenandPaperScience
      @PenandPaperScience  2 месяца назад +1

    • @FardinRiyad-r4m
      @FardinRiyad-r4m 2 месяца назад +1

      @@PenandPaperScience your explanation gives me a clear idea about rotational matrix ...❤️❤️