3D Rotations in General: Rodrigues Rotation Formula and Quaternion Exponentials

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • In this video, we will discover how to rotate any vector through any axis by breaking up a vector into a parallel part and a perpendicular part. Then, we will use vector analysis (cross products and dot products) to derive the Rodrigues rotation formula and finish with a quaternion point of view. Using quaternions allows us to write a very compact formula which will be familiar to those who have used quaternions to do rotations.

КОМЕНТАРІ • 176

  • @pieter-cs
    @pieter-cs Рік тому +9

    I am blown away by your series on the derivation of Rodriguez formula and its quaternion equivalent! The fact that you're willing to share your gift of teaching intricate maths concepts with the world for free is just wonderful. Thanks so much and keep up these videos!

  • @sambaradaran2633
    @sambaradaran2633 9 днів тому

    This was the best video on Rodrigers I found anywhere!

  • @Costplus2255
    @Costplus2255 2 місяці тому +1

    I watched several videos on quaternions where they did not define terms, assumed you knew a lot of esoteric information, and basically said that quaternions were confusing and sort of black magic. You series was very complete and each section built on the previous. You explained things a pace and order where you could follow along at a reasonable rate. I give you 6 out of 5 stars for taking an interesting an useful subject and explaining it completely and clearly.

  • @sibonelomabuyakhulu2329
    @sibonelomabuyakhulu2329 11 місяців тому +1

    You earned my subscription. I have been trying to understand the derivation of the Rodrigues Rotation formula for a long time now. Many thanks.

  • @robinhilliard
    @robinhilliard 4 роки тому +1

    This series has untied decades of knots in my understanding of quaternions - bravo!

  • @thegozer100
    @thegozer100 7 років тому +17

    This is so awesome! I've been trying to understand quaternions for quite some time but I was never able to find a good explaination. This video made it clear after watching it one time and without pain

  • @iwonakozlowska6134
    @iwonakozlowska6134 5 років тому +11

    This is my favorite video about quaternions.

  • @nandha0150
    @nandha0150 5 років тому

    Thank you very much.
    Best quaternion explanation and rotation video ever in UA-cam.
    Love from India!

  • @SaadTaameOfficial
    @SaadTaameOfficial 8 років тому +12

    Mystery of rotations with quaternions resolved. These videos about rotation are going to help me implement a Quaternion object to be used in my game projects. Far better explanations than any other videos I have seen or any articles I have read about rotations with quaternions. Keep up and thank you :)

    • @Math_oma
      @Math_oma  8 років тому +6

      +Saad Taame
      Thanks! Not to be too cocky, but most of the other videos on UA-cam about quaternions are quite bad, poorly thought out, and do not explain why the formulas work or where they came from. As you can see, the rotation formula isn't conceptually much different than working with complex numbers in 2D and it isn't difficult to explain if you tackle it step-by-step. A lot of other references just present you with the formula with no other background and that leads straight to confusion.

    • @SaadTaameOfficial
      @SaadTaameOfficial 8 років тому +2

      That is true and there is a reason for that: almost all of the people who cover these things come from a computer graphics background and they've learned the formulae in the same way they present them.

    • @Math_oma
      @Math_oma  8 років тому +3

      +Saad Taame
      For me, I have zero computer graphics experience and much more physics and math experience. My particular interest is that quaternions are a special case of a more general topic called "Clifford algebra", so that's why my approach is almost totally mathematical.

    • @SaadTaameOfficial
      @SaadTaameOfficial 8 років тому +3

      I have been watching your videos a lot lately. I really like how you explain things. I am a programmer and curious about maths. I find it really depressing when the subject matters but the person explaining it skips important details. But you are doing a great job really, keep it up ! I wrote a blog post about rotation using quaternions if you want to check it. Link: blog.saadtaame.org/2016/09/matrix-representation-of-quaternion.html

    • @Math_oma
      @Math_oma  8 років тому +2

      +Saad Taame
      Also, I forgot to mention that you might be interested in geometric algebra, which is a generalization of complex numbers, quaternions, and vectors. I'll probably make some videos on this topic eventually. There are some subtle conceptual difficulties with using quaternions as vectors because they are actually pseudovectors.

  • @siddgangadhar1234
    @siddgangadhar1234 6 років тому +13

    I think, of all the videos I found on youtube regarding quaternions, I found your video playlist most informative and meaningful. It's amazing how you've so effortlessly explained a rather complex (wink wink!) topic. Thank you so much for you time and effort.

  • @jonathanpearl9180
    @jonathanpearl9180 8 років тому +3

    After watching through all the videos in this series, getting to 28:08 felt like a christmas present all on its own. As an engineer who deals a lot with 3D orientations, quaternions pop up all the time. It's nice to finally understand where all of the "black magic" comes from rather than the dull unexplained equation slapping that goes on in other videos of the same subject. Happy Holidays, Mathoma -- I'll definitely be sharing these videos with my colleagues.

    • @Math_oma
      @Math_oma  8 років тому +1

      +Jonathan Pearl
      Then 28:08 is my Christmas gift to you engineers. Merry Christmas!

    • @kenfaulds8818
      @kenfaulds8818 5 років тому

      @@Math_oma thanks very much appreciated.

  • @j50313j50313
    @j50313j50313 4 роки тому

    Most comprehensive and thorough guide to 3D rotation! Thanks!

  • @ewanfawns547
    @ewanfawns547 4 роки тому

    Thank you so much. I've been looking for over 8 hours from reading several books and looking at several videos for someone who isn't a complete weirdo to explain this to me like a normal person. You are actually the only one.

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

    Dude, seriously thank you very much for create this videos. Your explanations are awesome.

  • @andranik3949
    @andranik3949 7 років тому

    This video is sooooo valuable for someone (definitely not me) who's been trying to get a grasp of quaternions magic formula for the last week! Thanks a lot!

  • @danielssandu5578
    @danielssandu5578 4 роки тому

    Very clear, it is exactly what I expected to see and understand fast. Thank you!

  • @danielwalker5682
    @danielwalker5682 3 місяці тому

    Outstanding clarity and brevity. Thank you.

  • @mefuri_k
    @mefuri_k 4 роки тому +1

    The book i use told me to create a rotation matrix to rotate points (interpreted as vectors) which is programatically slow. Yep, then instead of using rotation matrix, I'll just operate it straight to the points, now it runs around 100 times faster. Thanks mathoma.

  • @scientifically5812
    @scientifically5812 10 місяців тому

    Too bad that I have not found you 7 years ago. Great work.

  • @williejohnson5172
    @williejohnson5172 6 років тому

    THANK YOU!!!!! I've read several books trying to understand how this quaternion rotator was derived, that is q[p]*q. All the books have the quaternions making these inscrutable loop de loops. You cleared that up for me quite nicely. I don't know if you know it or not but the rotator is actually a derivative. Remember your v= vparallel + vperp equals the hypotenuse which is equal to the tangent which is a derivative. The rotator rotates the tangent to a new position v'. Also if v is perpendicular to n then (v'/v)=e^((theta/2)n)=y/x=rate =f'(x). Note the theta/2 is there because of Euler's formula. e^((n(pi/2))i ) where n is now some integer multiple of pi/2 radians. I've reawakened Hamilton's and Tait's use of the quaternion for differential calculus.

  • @spicemasterii6775
    @spicemasterii6775 8 років тому +19

    Wow! What's this? Magic?!
    Amazing video. Thanks for clear explanation.

    • @Math_oma
      @Math_oma  8 років тому +7

      It is quite miraculous that quaternions do this rotational job pretty well, though admittedly not as well as Clifford algebra.

  • @NGBigfield
    @NGBigfield 4 роки тому +2

    27:45
    I just sat alone in my chair, and clapped.
    That was brilliant !

  • @waqarhussain2510
    @waqarhussain2510 4 роки тому

    I can just say a great job because you removed the vagueness.

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

  • @fatimamirza9510
    @fatimamirza9510 8 років тому +12

    THANK YOU SO MUCH :D. SO HELPFUL. MAY GOD BLESS YOU!

  • @vivekdabholkar5965
    @vivekdabholkar5965 10 місяців тому

    Very nice indeed! Great videos and friendly explanations. Are there any other such videos?

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

    excellent presentation, as usual. Thanks.

  • @AlMQTB
    @AlMQTB 7 років тому +2

    Immensely thank you, author! Great detailed explanation!

  • @ju-seungbyun1203
    @ju-seungbyun1203 8 років тому

    Wonderful!! Best explanation, I've ever seen. Thank you very much.

    • @Math_oma
      @Math_oma  8 років тому

      +juseung Byun
      You're welcome

  • @ScienceDiscoverer
    @ScienceDiscoverer 7 років тому

    The Essencial math for game programmers book just skipped thorou all of this steaps, presenting quaternions like magic. Now, thanks to you, I know its logic, not magic!

  • @ian.ambrose
    @ian.ambrose 2 роки тому

    Thank you, such a beautiful professor you are.

  • @jmsequeira
    @jmsequeira 8 років тому

    Thanks to you, I've got it. Please, keep publishing those videos. Thanks a lot! :-)

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

    Wow, that was really a great interpretation for quaternion, can you please share to us the reference that you used for this video.
    I really appreciate your great effort

  • @astronautjupiter4225
    @astronautjupiter4225 7 років тому

    Finally I can implement asynchronous timewarp for my VR project thank to awesome Mathoma!

  • @vishalramadoss668
    @vishalramadoss668 2 роки тому

    Very well explained and presented

  • @neelarjuna2536
    @neelarjuna2536 6 років тому

    Thanks for the video dude.
    Keep uploading still more.....!

  • @nizarouarti1312
    @nizarouarti1312 3 роки тому

    I wondered if you are writing books about geometry, because you are very good at it. I am always amazed by the quality of your explanations!

    • @Math_oma
      @Math_oma  3 роки тому

      No, I've just studied and thought about it a while.

    • @pixelrobotics6399
      @pixelrobotics6399 3 роки тому

      @@Math_oma Because of people like you, I think internet can be a beautiful place. Thank you very much for the time you spent to share your passion! It is very communicative!

  • @abnereliberganzahernandez6337

    nice videos I needed to know the derivatives of quaternions

  • @roberthayter157
    @roberthayter157 8 місяців тому

    Really wonderful video. Thanks.

  • @gigi12gigi12
    @gigi12gigi12 8 років тому +2

    Hello! I watched all of your videos on the quarternions and understood most of it, but I still have unanswered questions.
    1. When you refer to turning your v vector to a quarternion at the end of the video(30:00), do you mean it as a 4D vector with 0 as a scalar component, or a matrix as you showed it in the "Quaternions as 4x4 Matrices" video(7:15)?
    2. If you use the cos-sin formula, isn't it possible that you will end up with a 4D vector with not 0 as a scalar =>you can't turn it into a 3D vector again?
    Probably I would have the answers to these questions if you had showed an example with the formula at the and of the video, but you hadn't. Maybe could you make a short video with some examples about using the formula to rotate vectors?

    • @Math_oma
      @Math_oma  8 років тому

      +gigi12gigi12
      Yeah, when I say turn the vector into a quaternion, I mean let the scalar be 0. And when you use the rotation formula, you'll always get a quaternion with a 0 in the scalar part. It's a little tedious to show that, but it can be done.
      As far as examples, I'll consider making a little video on it, but it's something that is quite common on UA-cam. This formula is a little tedious and you'd probably want to write a program to do the calculation for you. Usually people do the opposite - show all examples but never go over why the formula works.

    • @gigi12gigi12
      @gigi12gigi12 8 років тому

      Thabk you for the quick answer! I just wanted to ensure that I understood everything correctly so I won't make errors in my code but I'll probably handle the coding and do some tests afterwards.
      Anyways, thank you for the detailed explanations! They helped me very much!

    • @Math_oma
      @Math_oma  8 років тому +1

      +gigi12gigi12
      Well I hope this stuff works. There's another way to think of rotations using "geometric algebra" which is more natural and is completely in 3D (no 4D quaternions). You get almost the same formula, but quaternions will do the job.

    • @gigi12gigi12
      @gigi12gigi12 8 років тому

      Just a quick note: I managed to solve an example and I indeed got 0 for scalar so I calmed down :)

    • @Math_oma
      @Math_oma  8 років тому +1

      +gigi12gigi12
      Haha, very good! Like I said, if you slog through the computations you could prove that you'll always have a 0 in the scalar part if the thing you put in has a 0 in the scalar part.

  • @bernhardriemann3821
    @bernhardriemann3821 4 роки тому +1

    the video was just amazing, it is probably one of the best math videos on youtube. just one question, does this formula work for rotating points in higher dimension beyond 3d.rodrigues formula utilizes cross product , but cross product dont work on dimensions higher than 3 except 7, so are there other formulas for rotation in higher dimension or is it impossible to rotate vectors in higher dimension?

    • @npathegenius5733
      @npathegenius5733 4 роки тому +1

      These formulas do not work in dimensions greater than 3 other than 7, because there is ambiguity regarding the orthogonal axis’ to the axis of rotation. For example, in 4D for any axis of rotation there are more than 1 possible planes of rotation. If you wish to extend rotations to n-dimensions, consider using defined planes of rotation. These are used in the form of Bivectors in Geometric Algebra, which mathoma has an outstanding series on.

    • @bernhardriemann3821
      @bernhardriemann3821 4 роки тому

      @@npathegenius5733 I know there are multiple planes of rotation in 4d by some linear algebra but are there any formulas for rotation if a particular plane of rotation is defined?

    • @npathegenius5733
      @npathegenius5733 4 роки тому

      @@bernhardriemann3821 Yes, though the only ones coming to mind are from Geometric Algebra. e^(theta/2 * PoR) * v * e^(-theta/2 * PoR)
      Where PoR is a bivector and v is a vector.

    • @bernhardriemann3821
      @bernhardriemann3821 4 роки тому

      @@npathegenius5733 thanks

  • @rahularvindshinde
    @rahularvindshinde 6 років тому

    This series helped a lot. Thanks!

  • @아지-d3r
    @아지-d3r 4 роки тому

    It was a fantastic tour... Thank you.

  • @Sopiro
    @Sopiro 2 роки тому

    Thank you so much! Amazing explanation!

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

    At the start what function is the plane and therefore n performing. Surely the plane can always be defined so that v is on it?

  • @314dez
    @314dez 6 років тому

    Thank you Sir! Two more hystorical questions, if you allow.
    1) Why are fairly simple cross and dot products (which formula I discovered for myself by simply multiplying and summing up other components: (v1y*v2z+v1z*v2y, and etc.)), were researched after quaternions, which are more complicated?
    2) How could Rodrigues use a cross and a dot products if his (Rodrigues) formula was researched before quaternions?

  • @shaypatrickcormac2765
    @shaypatrickcormac2765 5 років тому +6

    Better than video of 3blue1brown guy

  • @cgcode
    @cgcode 2 роки тому

    Thank you for awesome^10000000 video. It helps a lot!

  • @PauloSustelo
    @PauloSustelo 5 років тому

    This is the most clear explanation I saw on the subject quaternions. Thank you very much.
    After seeing your explanation of the compact formula with the exponentials, I wondered if it would be possible to use the properties of exponentials to make successive rotations. But I have blocked at this point : the multiplication of quaternions does not comute, however the addition is clearly commutative. Why adding the exponents does not work?

  • @Ehs_Houssam
    @Ehs_Houssam 2 роки тому

    Such a good explanation!
    thnx

  • @arthuran4361
    @arthuran4361 5 років тому

    good videos, easy to understand...

  • @jamesbean9396
    @jamesbean9396 2 роки тому

    Does anyone know where the original video that goes over the derivation of the Rodriguez equitation is? as far as i can see the previous video in this series doesn't cover it? Apologies if i've missed it! Great video regardless :)

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

      Search on his playlist, he has only two videos on 3D rotation

  • @debendragurung3033
    @debendragurung3033 6 років тому

    Sweet, please keep them coming

  • @MrGeorgerififi
    @MrGeorgerififi 4 роки тому

    AT LAST i get why rotation needs the inverse in v' = qvq^-1 !!!! thank u so much

  • @pratapbhanusolanki6613
    @pratapbhanusolanki6613 6 років тому

    Hey @Mathoma, these videos are clear and to the point. Well explained with good presentation too. I am wondering if you can or already explained a physical (geometrical) significance of a quaternion somewhere?

  • @username1125
    @username1125 4 роки тому

    Can you rotate a vector around an axis which it doesnt intersect or connect with?

  • @Vastasoceans7532
    @Vastasoceans7532 4 роки тому

    Which is the previous video?

  • @lt4376
    @lt4376 8 років тому

    7:15
    Would the V parallel formula term be zero if one had the plane that the V prime and V made together? In other words, if one had information on the axis of rotation that V and V prime rotated about, not just the perpendicular components of V and V prime, then the V parallel formula term would be zero - 14:40. Will you give some situations where one would rather use an axis of rotation in which the perpendicular components of V and V prime rotated about than using the axis of rotation for V and Vprime? Thank you.

    • @Math_oma
      @Math_oma  8 років тому

      +Louis Tkach
      I don't quite grasp your question - perhaps you could try reformulating it. Does the video immediately before this one answer any of your questions?

    • @lt4376
      @lt4376 8 років тому

      Doh! I thought that the axis of rotation was different for this video (which had vector components parallel to the axis of rotation) than the axis of rotation in the previous video.
      So, the axis of rotation remains the same (in this video as the one in the previous video) despite having parallel vector components along the axis of rotation - all other things being equal. Is that true? Thank you.

    • @Math_oma
      @Math_oma  8 років тому

      +Louis Tkach
      I'm considering any arbitrary axis of rotation in both videos. In the _special case_ video, I only consider rotating vectors completely in the plane defined by the axis (equivalently, orthogonal to the axis). In this video, I consider rotation of any vector, which will, in general, have a component parallel to the axis and a component orthogonal to the axis.

    • @lt4376
      @lt4376 8 років тому

      Alright - thank you

  • @leiladousti3769
    @leiladousti3769 4 роки тому

    excellent, Thank for your explanations .

  • @rosyluo7710
    @rosyluo7710 7 років тому

    Very clear explanation! THX a lot ~

  • @b43xoit
    @b43xoit 8 років тому +1

    The final form of the rotation formula looks like some of the matrix formulae that come up in quantum mechanics, but in one case you see the quaternion conjugate and in the other, the Hermitian conjugate of a matrix of complex numbers.

    • @Math_oma
      @Math_oma  8 років тому +1

      +B. Xoit
      Yes, there are many similarities to physics, that two-sided operator being one of them. Another connection is that the Pauli matrices are basically a rediscovery of the quaternions.

  • @EW-mb1ih
    @EW-mb1ih Місяць тому

    Very Nice !

  • @rpgtalkout8793
    @rpgtalkout8793 7 років тому +1

    Beginner trying to understand the initial equation, why does "^n" or the length of the angle of rotation factor in at all?

  • @yxhuang3239
    @yxhuang3239 6 років тому

    Thank you so much for these videos!!

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

    Outstanding.

  • @MotraZotra
    @MotraZotra 5 років тому

    I am still confused what Quaternions ARE.
    A quaternion with a scalar 0 can be thought of as a vector?
    But a quaternion with a scalar cos(theta) can be thought of as a rotation?
    I guess what would complete the missing link for me is when you can think of quaternions as vectors and when as rotations, when both or something else?
    For instance in complex numbers if you put the real component on the x axis and the imaginary component on the y axis. You can imagine i as the axis y.
    Multiplying i by i can be thought of as rotating i with the already rotated i. Which rotates it into -1.
    So a vector could be thought as both a position in the system and as a rotation of the 1 vector into it's own position?
    I am not sure how to transfer what seem intuitive in complex numbers to quaternions.

  • @johannesugb
    @johannesugb 4 роки тому

    Man, this is so cool. Thank you so much! Are you still making math videos? What's going on with your patreon? Is that still active?

    • @johannesugb
      @johannesugb 4 роки тому

      Anyways, you've got yourself a new patron. I hope that we'll get new math videos in the future. Your explanations are extraordinary.

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

  • @pratiktohidayat1746
    @pratiktohidayat1746 8 років тому +1

    Sir, I don't understand why "e^n = cos(theta) + sin(theta) nx i + sin(theta) ny j + sin(theta) nz k" and not "e^n = cos(theta) + sin(theta) nx i + cos(theta)+ sin(theta) ny j + cos(theta) + sin(theta) nz k"? Thank you

    • @pratiktohidayat1746
      @pratiktohidayat1746 8 років тому

      in 18:21

    • @Math_oma
      @Math_oma  8 років тому +3

      +Pratikto Hidayat
      First, remember that's e^(theta*n) not just e^n.
      I cover that in a little more detail in the previous "special case" video, but imagine you had e^(theta*i) instead of e^(theta*n). By Euler's formula, we know that's e^(theta*i)=cos(theta)+sin(theta)*i. Now, just replace that "i" with an "n" to get e^(theta*n)=cos(theta)+sin(theta)*n. Remember that n is a unit vector n = nx i + ny j + nz k which squares to -1 just like "i" does, so replace that into the previous equation to get e^(theta*n)=cos(theta)+sin(theta)*(nx i + ny j + nz k) and distribute that sin(theta) to those three terms to get the final quaternion e^(theta*n).
      The key conceptual thing here, I think, is that n squares to -1 (if n is a unit vector) which means you can manipulate it in these exponentials just like you might be used to with complex numbers.

    • @pratiktohidayat1746
      @pratiktohidayat1746 8 років тому

      okay, I get it. thanks for explanation

  • @cpsctutor168
    @cpsctutor168 8 років тому

    Thank you so much. Save my project night

    • @Math_oma
      @Math_oma  8 років тому

      +wei wei
      You're welcome.

  • @hariharanramamurthy9946
    @hariharanramamurthy9946 2 роки тому

    sir, is v_vec.sin(theta) = |v_vec|.sin(theta)

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

    Hmmm... Rodriguez invented his formula years before Hamilton invented the quaternions. But the dot product and cross product used in the Rodriguez formula came from quaternions. I'm confused 🤔🤔🤔

  • @ilafya
    @ilafya 5 років тому

    You are the Manˋ

  • @darovan4398
    @darovan4398 7 років тому

    You are a legend !

  • @mathematicsclub6740
    @mathematicsclub6740 7 років тому

    Hello how come that any q= (cos@,nsin@) and how do you derive e^n@=cos @ + nsin @ so cos @+ isin@+jsin@+ksin@
    Where n is the base of 3D so it is i , j , k does that come from the fact that n = i + j +k and Taylor has thereby actually 3
    Infinite sums corresponding to sinx . Thx

    • @mathematicsclub6740
      @mathematicsclub6740 7 років тому

      And also why it is somewhere @/2 and here just @

    • @Math_oma
      @Math_oma  7 років тому

      +mathmaticsclub
      I've got a separate video on Euler's formula for quaternions if you wanted to check that out. When the quaternion is q=(cos(θ),sin(θ)n) where n is a unit vector, this means n squares to -1 under the quaternion product - this is exactly what an imaginary unit, i, would do in the complex numbers so I can equate (cos(θ),sin(θ)n)=e^(θn). Notice how you're just replacing i in Euler's formula with n. Furthermore, expanding out (cos(θ),sin(θ)n) gives me: cos(θ)+n_x*sin(θ)i+n_y*sin(θ)j+n_z*sin(θ)k where n_x, n_y, n_z are the components of the unit vector, n.
      As to why formulas sometimes contain θ/2 and sometimes θ comes from the derivation I have at the end of this video, so I'd recommend reviewing this. In general, rotation acts as a two-sided operation with half-angles in the arguments and in special cases simplifies to a one-sided operation with the full angle in the argument. The half-angle also arises from the fact that double reflections produce an equivalent rotation, but a rotation by twice the angle between the vectors responsible for the double reflection. That's really the reason you have to actually start with half the angle of the desired rotation in the general two-sided rotation formula. On that point, I'd recommend checking out the geometric algebra series to learn more about that, as it's much clearer in geometric algebra compared to quaternions.

  • @sheidadanesh
    @sheidadanesh 8 років тому +2

    AAAhahahah "that mushroom asshole!"
    really helpful and clear video. Thanks!

  • @seculardharma
    @seculardharma 8 років тому

    I have a feeling the equation does not take into account only the rotation parallel to the plane. But what do we want if we want a general rotation in any axis.

    • @Math_oma
      @Math_oma  8 років тому

      +anmol monga
      Do you have a counterexample?

    • @seculardharma
      @seculardharma 8 років тому

      I mean by , If we rotate the the vector parallel to the plane only then the same rotation will be projected onto the plane. If rotation occurs in direction with components in the line perpendicular to the plane . The same angle will not be projected onto the plane.

    • @Math_oma
      @Math_oma  8 років тому

      +anmol monga
      I'm still not sure what you're thinking of. Can you give an example (counterexample) where the formula doesn't produce the correct rotation? I divided this topic into two parts to handle the special case where the vector is orthogonal to the axis (equivalently, in the plane of rotation) then the general case.

    • @AnikHalder
      @AnikHalder 6 років тому

      Wonderful video! Thanks a lot! I think anmol monga wants to say that for the general rotation you've depicted in this video, the vector v is rotated through an (azimuthal) angle theta while keeping the polar angle (angle between v and n) fixed. I presume the question is what happens when the polar angle also changes? I guess we then need to treat the azimuthal and the polar rotations separately.

  • @SandburgNounouRs
    @SandburgNounouRs 7 років тому

    Could you make the transposition to computer quaternions [4x4] matrices at some steps?

    • @Math_oma
      @Math_oma  7 років тому +1

      +SandburgNounouRs
      Sure, you can always convert the ordered 4-tuple form to the matrix form using the matrix form shown in the other video. Also, if you need a conjugate of a quaternion in matrix form, that would be the matrix transpose.

  • @matematica_do_zero
    @matematica_do_zero 5 років тому

    Saved my life! Thanks!!!

  • @arbab64
    @arbab64 8 років тому

    Great lecture

  • @ilafya
    @ilafya 5 років тому

    You are the Man

  • @moseschuka7572
    @moseschuka7572 2 роки тому

    I would give a super like if I could. Thanks

  • @andrerossa8553
    @andrerossa8553 3 роки тому

    thanks a lot!

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

  • @Timo4eus
    @Timo4eus 6 років тому

    This is gold, thanks.

  • @SimchaWaldman
    @SimchaWaldman 4 роки тому

    30:58 Well said! #VacuousTruth

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

    Thank you twice

  • @HearTruth
    @HearTruth 8 років тому

    thank you for this ...

  • @freshofftheufo
    @freshofftheufo 6 років тому

    love your lessons, I don't even have to smoke dope to understand them!

  • @MEan0207
    @MEan0207 2 роки тому

    Why theta/2

  • @bouchemalbillel3285
    @bouchemalbillel3285 6 років тому

    thank you very much

  • @MagneBugten
    @MagneBugten 8 років тому

    Omg, i've spent hours listning to quaternions now and im none the wiser. It's not that you don't explain well, because you do, but this is all purely mathematical. I have:
    q0 = -0.329936
    q1 = -0.045088
    q2 = 0.114060
    q3 = 0.936001
    And i still have no idea what to do with them! I mean yes im drunk, and its way to late but I must have fallen off at a very early stage here. I guess I can theoretically use quaternions to rotate vectors in three dimensions, thanks to you, but damnit! I'm sure this is just one of those things mathematicians invented to piss off engineers for fun. Please help.

    • @Math_oma
      @Math_oma  8 років тому

      +Magne Bugten
      Actually just by examining your q1,q2,q3 I read off the axis as (-0.045088,0.114060,0.936001). No need to normalize it like I did above. That scalar part q0 tells you by what angle you're rotating along this axis, remember that's q0 = cos(theta/2).

    • @Math_oma
      @Math_oma  8 років тому

      +Magne BugtenActually, if you've understood theoretically what quaternions are doing, I've done my job. Many people have trouble with that but can crunch the numbers. But computers are for crunching numbers, right? We humans do the theory.

  • @lucasvargas7515
    @lucasvargas7515 7 років тому

    i'll use for simulation in racing cars

  • @carlosrojas5125
    @carlosrojas5125 5 років тому

    Thanks

  • @may8049
    @may8049 3 роки тому

    Legend

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

    • @may8049
      @may8049 3 роки тому +1

      @@ian.ambrose it's the dot product projection, ua-cam.com/video/LyGKycYT2v0/v-deo.html

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      @@may8049 Thank you. Really appreciate your help.

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

  • @abublahinocuckbloho4539
    @abublahinocuckbloho4539 3 роки тому

    you have a habit of misspeaking. at about 8:01 you say "and v parallel is going to be eventually rotated", but you had just set up the argument that v perpendicular is going to be the only component of v that rotates. you might want to make sure you dont contradict yourself or misspeak as it can be confusing to follow on from that point.

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

  • @yogeshjainbhansali8082
    @yogeshjainbhansali8082 6 років тому

    Nothing but thanks!

  • @kablouserful
    @kablouserful 3 роки тому

    Holy balls!

    • @ian.ambrose
      @ian.ambrose 3 роки тому

      12:44
      Hi, do you know what projection formula this is? Where can I read the derivation of that formula? Thank you!

  • @fefeisbored1958
    @fefeisbored1958 7 років тому

    Why the hell do you need Quarternions for this?

  • @mrigank8822
    @mrigank8822 7 років тому

    Quarternions FTW. Euler basically fixed maths by fucking over sin and cos.

  • @Dan474834
    @Dan474834 7 років тому +2

    It's too complicated, which is why they eventually just switched to using rotation matrices

    • @Math_oma
      @Math_oma  7 років тому +1

      +gfgf fgff
      What's too complicated?

    • @Dan474834
      @Dan474834 7 років тому +1

      The application of quaternions to 3D rotation. That's why their use is obsolete in most problems.

    • @Math_oma
      @Math_oma  7 років тому +2

      +gfgf fgff
      That might be true, although I've been told by many people that quaternions are the superior approach. At the theoretical level, quaternions and related concepts are the most natural objects for describing rotations - the simplicity of the formula is a good clue that this is true.

    • @Dan474834
      @Dan474834 7 років тому +2

      Perhaps the concept may be more intuitive, but using algebra is so much easier in practice.

    • @0LoneTech
      @0LoneTech 7 років тому +3

      Quaternions are far from obsolete. They're heavily used where we want to separate the operations of translation and rotation. A 4x4 matrix can express rotation, scaling, translation, shearing and reflections, as well as be applied to another of its kind. When we want only rotation and translation, it can be reduced to 3x4, but is still a bit hard to verify that it isn't reflecting, reducing to a plane, etc. If we use a vector and quaternion, we can verify the quaternion is of unit length far easier, and it takes 7 scalars rather than 12 (or 16). In storage, transfer and even calculation it is common that size is more important than number of operations, so e.g. a skeletal system based around quaternions has large advantages, even if the final rendering form is through matrices. Another example I've encountered recently is a 6DoF tracking system, where the rotational frame may not necessarily be aligned to the translational frame yet.

  • @nickelodeonserije5130
    @nickelodeonserije5130 4 роки тому

    H