Це відео не доступне.
Перепрошуємо.

a quaternion version of Euler's formula

Поділитися
Вставка
  • Опубліковано 14 сер 2024
  • WHAT IS THIS? INK? INK?! SINCE WHEN ARE YOU INTO...UGH...INK? OH MY GOODNESS HOW COUL-
    :AHHHHHHHHH: "Chalk wake up" hhAHHHHHHHHHHHHHHH "CHALK!!!", slap "CHALK HECKIN DARN TOOTIN WAKE UP!!!" AHHHHH....AHH....OH .....OH....oh...oh what...it...it...itwasjustadream. whew. Thank goodness now I can comment "I really liked this video because of all the math this dude did. what a guy" because I'm awesome and watched the video 5 times in a row to help boost it around the UA-cam Tub.
    Link to short referenced in video: • #quaternion exponents ...
    🌟Support the channel🌟
    Patreon: / michaelpennmath
    Merch: teespring.com/...
    My amazon shop: www.amazon.com...
    🟢 Discord: / discord
    🌟my other channels🌟
    mathmajor: / @mathmajor
    pennpav podcast: / @thepennpavpodcast7878
    🌟My Links🌟
    Personal Website: www.michael-pen...
    Instagram: / melp2718
    Twitter: / michaelpennmath
    Randolph College Math: www.randolphcol...
    Research Gate profile: www.researchga...
    Google Scholar profile: scholar.google...
    🌟How I make Thumbnails🌟
    Canva: partner.canva....
    Color Pallet: coolors.co/?re...
    🌟Suggest a problem🌟
    forms.gle/ea7P...

КОМЕНТАРІ • 237

  • @MrDynamite110
    @MrDynamite110 Рік тому +396

    I think you should read the description.

  • @tylerdancey6085
    @tylerdancey6085 Рік тому +5

    I really liked this video because of all the math this dude did. what a guy

  • @Tehom1
    @Tehom1 Рік тому +74

    Fascinating, especially the last result which I hadn't seen before.
    I find that an easy way to grasp quaternionic behavior under exponentiation is to see that any single quaternion (other than a purely real one) defines a complex sub-algebra of the quaternions and that sub-algebra behaves the same way as the complex numbers; its purely imaginary part, unitized, plays the same role as the complex number i. A lot of unintuitive stuff got much simpler when I understood that.

  • @manucitomx
    @manucitomx Рік тому +54

    What a gnarly way to start the week.
    Thank you, professor.

  • @la6mp
    @la6mp Рік тому +36

    This is the first time quaternions made any sense to me, in spite of several attemps. As ususal presented in a clear no-nonsense way. Thanks a lot!❤

    • @mohammedfarhaan9410
      @mohammedfarhaan9410 2 місяці тому

      haha same this makes alot more sense then anything ive seen

  • @kapoioBCS
    @kapoioBCS Рік тому +13

    I am waiting to see the octonions video with the nonassocietivity hell 😂

  • @adandap
    @adandap Рік тому +12

    Fun video. BTW, the matrix representation of the quaternions is related to the groups SU(2) and its covering group SO(3), and thus they can be used to represent rotations in three dimensions.

    • @fjg9657
      @fjg9657 10 місяців тому +1

      Nice connection. Thanks!

  • @felipegabriel9220
    @felipegabriel9220 Рік тому +48

    wow, never though that i^j would be equal to i*j=k, thats is cool. Nice video as always Michael! :D

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

      Well, ofc you wouldn't think that because it's BY DEFINITION. It's one of the things that make quaternions... quaternions! 😉
      Just like i^2 = i*i = -1 is by definition what makes a complex number complex.

    • @iang0th
      @iang0th Рік тому +7

      @@mikeiavelli The definition says i*j=k, but it's not immediately obvious from the definition that i^j=k, at least not to me.

    • @fsponj
      @fsponj 17 днів тому +1

      Wait what about i^^j

  • @lorisschirar6680
    @lorisschirar6680 Рік тому +9

    Both of those formulae are special cases of the Clifford algebra formulation of 3D rotations :)

  • @ntesla66
    @ntesla66 Рік тому +24

    I loved this! Would love to see this extended to the Clifford representation.

    • @zemoxian
      @zemoxian Рік тому +13

      Whenever I see a video about complex numbers I automatically wonder about quaternions. Whenever there’s quaternions I automatically wonder about geometric algebras.
      Fun fact about Euclidean (Clifford) geometric algebra is that the basis vectors square to 1. Products of non-parallel vectors create bivectors. Unit bivectors square to -1 so they act like i in Euler’s formula. In fact, the scalars plus bivectors form a sub algebra that’s equivalent to the quaternions!

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

      @@zemoxian Even when the vectors have more than 3 dimensions?

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

      if you feed vectors into it you get hyperbolic rotations

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

      @@Apollorion clifford/geometric algebra works independent of the dimension of the vector space that you feed it. It just requires a vector space *and* the inner product structure you feed it (i.e. if some of the vectors square to -1, or even 0).
      Even a generalization of the cross product called the 'wedge product' works in a geometric algebra generated by a vector space of more than 3 dimensions. It comes down to the way the cross working based off what the orthogonal complement *is* of the vector you're feeding it (and the cross product fails, because it demands to output just a vector while there are more than 1 orthogonal vectors now to a given vector in 4D. The wedge product which works on multivectors doesn't have this limitation)
      EDIT: One more thing I want to add is a lot of people will mention wedge-products as not having a visualization to them. I would be wary of statements like these, they can be represented as the plane spanned by those two vectors you're 'wedging' (but this plane, or circle, or whatever also has an orientation to it. So e1 ^ e2 has the opposite orientation to e2 ^ e1). They may have very good algebraic explanations, but not the geometric explanation handy, and that's totally ok! (the vice-versa also can happen, and you should be wary of that too when/if you run into it).

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

      @@monadic_monastic69 Thank you for your response. I realise I do not know enough about the clifford/geometric algebra yet.

  • @ScienceTalkwithJimMassa
    @ScienceTalkwithJimMassa Рік тому +10

    This was a very interesting, fun presentation. Thank you professor))

  • @FractalWoman
    @FractalWoman 2 місяці тому

    I came up with a better, simpler and easier to understand implementation of Euler's formula in quaternion form that can be implemented directly into a computer program to do rotations about an arbitrary axis in 3D space. @FractalWoman "Demystifying Sir William Rowan Hamilton's Quaternions" ua-cam.com/video/vXyNA0ORYfA/v-deo.htmlsi=62Eao0gdh7O5LPRp A link to the computer code is available in the description.

  • @MooImABunny
    @MooImABunny Рік тому +5

    when I learned that Pauli matrices have such a similar Euler's identity I was really surprised. But if you add the identity you get exactly the quaternion algebra, so knowing that, the quaternion exponentiation makes perfect sense

  • @FractalWoman
    @FractalWoman 2 місяці тому

    At the 19:42 mark, shouldn't the lower left "i" be "-i" ? In other words, shouldn't the lower left of your matrix "-c+di actually be -(c+di) = -c-di. When you do this, then you get the matrix [0 c+di], [-c-di 0] and when you let c=0 you get [0 i], [-i 0] = k. I can see this clearly when I use the 4x4 matrix implementation of quaternions directly which I show in my video: @FractalWoman "Demystifying Sir William Rowan Hamilton's Quaternions" ua-cam.com/video/vXyNA0ORYfA/v-deo.htmlsi=62Eao0gdh7O5LPRp

  • @scalex1882
    @scalex1882 Рік тому +7

    Exponentiation of a matrix is just applying the series representation of the exponential to the matrix. It is so amazing to see the concept of exponentials generalize this way... Same for the logarithm. Thank you for making the video!!

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

      Yes. My favorite example of generalized exponentiation is the math of squeezed light, such as what LIGO uses. It's the sinh and cosh of the sum/ difference of the creation and annihilation operators, the quantum mechanical operators that mean "add a particle" and "remove one". Since sinh and cosh are just sums of exponentials, we are exponentiating to the power of "add a particle" etc and it actually works!

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

      ​@@Tehom1this sounds awesome, is there a UA-cam resource you can point to??

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

      @@scalex1882 I read this in a scientific paper and I'm afraid I don't know of a youtube video about it, sorry.

  • @protocol6
    @protocol6 Рік тому +11

    Consistency with the order of the imaginary and its coefficient might be a good idea, especially when you start getting into quaternions.
    I mean, if you try to go the route of complexifying a complex number, (a + bi) + (c + di)j = a + bi + cj + dk is fine but (a + ib) + j(c + id) = a + ib + jc - kd is slightly problematic.
    You could do (a + ib) + j(c - id) = a + ib + jc + kd, of course, which is a nice callback to the particular complex matrix form you use; though I prefer a different form.
    Anyway, the signatures are pretty arbitrary here (as sign is, generally) so long as you are consistent, throughout.
    I'd just stick with trailing imaginaries, personally, but then you run into a formatting issue with Euler's formula. If you want to use the leading i in Euler's and the conjugate imaginary component in the matrix it's probably best to stick with leading everywhere to avoid problems.

  • @cd-zw2tt
    @cd-zw2tt Місяць тому

    8:46 almost fell over but kept the balance. well done professor

  • @doronl7254
    @doronl7254 24 дні тому

    Very interesting and beautiful results. Thanks for sharing.

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

    The title for this video is quite clear and descriptive. The title card is also quite clear and descriptive. Thank you.

  • @paulkohl9267
    @paulkohl9267 Рік тому +3

    Lovely video, as usual. Great channel to watch. Cheers.

  • @riccardofroz
    @riccardofroz Рік тому +3

    I actually finally understand quaterions now.

  • @jacksonstarky8288
    @jacksonstarky8288 Рік тому +8

    I was introduced to quaternions by the video done by 3Blue1Brown... and they keep getting stranger and more interesting with every new thing I learn about them. The exponential transformations exposed in this video are an especially brain-bending result.

    • @monadic_monastic69
      @monadic_monastic69 Рік тому +9

      I'd suggest looking into the clifford/geometric algebra way of looking at quaternions next. They'll certainly get more interesting, but less strange (an algebra on planes, and there are three planes in 3D space: xy, yz, zx. Oh btw, i, j, k, are basically the normal vectors to these guys if you wanted to think of it that way), and though I like 99.9999% of 3blue1brown's vids, I don't agree with the framing of quaternions as inherently "4-dimensional creatures" (and the clifford/geometric algebra view on this clears this up, also clears up what exponentials mean when you're putting in different objects in there).
      While at the same time, if you *want* 4D things, you can look at the clifford/geometric algebra generated by a 4D vector space: 'space-time algebra'.

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

      @@monadic_monastic69 Unless the number of videos produced by 3blue1brown is a multiple of a million, the percentage of them you like cannot be 99.9999.

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

    We're nudging closer to the Clifford Algebra and Geometric Algebra

  • @thefunpolice
    @thefunpolice 9 місяців тому +1

    God I love mathematics. It's so lovely to play with ideas in this way.

  • @peersvensson9253
    @peersvensson9253 Рік тому +6

    As a physicist I feel like you should discuss the connection to SU(2). It's quite simple to show the version of Euler's formula in that context as well.

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

    Fun video. Lord Kelvin declared that quaternions, “though beautifully ingenious, have been an unmixed evil to those who have touched them in any way, including Clerk Maxwell” 👿

  • @whendiditfall
    @whendiditfall Рік тому +11

    It is not clear to me why i^j should be k instead of -k. Why do we say that (e^(i*pi/2))^j is e^(ij*pi/2) instead of e^(ji*pi/2)?

    • @rehanchopdar617
      @rehanchopdar617 Місяць тому

      Because multiplication is not commutative it is anti commutative that is just (iπ/2)j that is ijπ/2 but if we were to write jiπ/2 we need to add a -ve signed as well so the exponent can be written as -jiπ/2

    • @alnfsyh9403
      @alnfsyh9403 16 днів тому

      ​@rehanchopdar617
      I'd like to ask for clarification on why the multiplication of the exponents would lead only for i to be multiplied by j and not j to be multiplied by i
      I understand that the Hamiltonians aren't commutative. I am just asking why the exponents would multipy by that order.

    • @rehanchopdar617
      @rehanchopdar617 16 днів тому +1

      @@alnfsyh9403 how do you interpreted (a^m)^n. I would say a^(m×n) like I said multiplication is anti commutative m×n=-n×m there are lots of ways to prove the exponent and multiplication anti commutativity, you can search them up

  • @MessedUpSystem
    @MessedUpSystem Рік тому +6

    Some years ago I calculated a general formula for a quaternion raised to a quaternion power. Quite messy and arduos, but was fun and the result is quite neat, a scaled rotation along the axis of both original quations followed by a rotation about the axis of their cross product. (Everytime I say "the axis of" I mean the axis defined by the purely imaginary part, and the cross product being within the imaginary parts also)
    Edit: of course, this was all abusing notation and glossing over the sketchiness of using exponentials on a non-commutative algebra, but I was on my first year of college so chill I didn't have the knowledge to take that much into consideration xD

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

      In a way, e^{i\theta} is an abuse of notation.

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

      @@cxpKSip notations are made to be abused stretched to the ultimate - that's how all ideas are tested and great ones are created. Keep it up!

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

    for the exercise at 5:27, writing q for a + bi + cj + dk and q*/|q|^2 for (a - bi - cj - dk)/(a^2 + b^2 + c^2 + d^2), one needs to check _both_ q(q*/|q|^2) = 1 and (q*/|q|^2)q = 1, since quaternions are noncommutative - we have |q| ≠ 0 if and only if q ≠ 0 so q*/|q|^2 gives the inverse of any nonzero quaternion, and one can clear the denominators in the checks, meaning it is equivalent to check that qq* = |q|^2 = q*q.

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

      You do not really need to look at both if you find that one of them is |q|². If you found that qq*=|q|², you could note that q*q=(qq*)*=(|q|²)*=|q|², and say that you found the answer since |q|² is a real number.
      If you would find that q*q≠|q|², this would be a non-issue since therefore q^(-1)≠q*/|q|² as noted above.

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

    I love the way you present the ideas. Engaging and clear.
    You asked about the red-brown chalk once. It is a bit hard to see, for example at 2:06. around "example calculations". But these are quibbles. It works for boxes and lines, and the rest of the boards are clear to follow.

    • @Fire_Axus
      @Fire_Axus 22 дні тому

      your feelings are irrational

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

    My first introduction to quaternions was glancing through an applied electrical engineering text. Fascinating something so theoretical is so essential to describe electrical behavior.

    • @AkamiChannel
      @AkamiChannel 6 місяців тому +3

      The unit quaternion algebra is isomorphic to su(2), which is the Lie algebra that describes the angular momentum of fermionic particles (in other words, the so-called 1/2 spin of the elementary matter particles such as the electron, quark, and neutrino). And the "vector algebra" (dot product and cross product) which is used to write the classical laws of EM were historically extracted from the quaternion algebra to begin with. It is indeed fascinating.

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

    regarding the end, there: it feels as though we'd need to define a separate left-sided exponentiation to account for the lack of commutativity, at a bare minimum

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

    I think the contradiction showed in the short video can also be seen here.
    when you take i^j=(e^{i*pi/2})^j pulling j inside of the exponential isn't well defined I think, would it necessarily be multiplication from the left or should it be from the right? because of the commutation relations i and j have it can be either e^{k*pi/2} or e^{-k*pi/2}.

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

      also, as usual great video- I love those videos of yours where you push poke known math in unusual ways to see what comes out

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

    The reason we use H for the quarternions is only secondarily because the letter H stands for Hamilton.
    Firstly: we can't use the now obvs is Q because that's already taken.
    This is, of course, a rational reason.

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

    That description though lol

  • @elgefe5442
    @elgefe5442 Рік тому +8

    i^j = ±k depending on how you apply rule for the exponential of an exponential (right vs left).

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

      This is true of matrix exponentiation as well-it gives rise to two kinds of exponentiation-left and right-which for commutative multiplication are the same. What is less obvious to me is what the principal branch of the quaternion logarithm should be. If you have the Log of -1, which quaternion do you use? Any purely imaginary quaternion with modulus 1 will work.

  • @seneca983
    @seneca983 Рік тому +3

    18:45 Why is it log(A)*B rather than e.g. B*log(A)? Isn't that rather arbitrary choice (unless the matrices commute)?

  • @-.......-
    @-.......- Рік тому +17

    I really liked this video because of all the math this dude did. what a guy :)

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

    There's a Quarternion version? Damn, you learn something new everyday.

  • @jhuyt-
    @jhuyt- Рік тому +1

    I did not expect spinors to make a surprise appearance at the end. But you are spinning things so I guess I should've

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

    Do you know the Dihedrons? ua-cam.com/video/lqH4BLHGsFw/v-deo.html
    What should be the Euler formula for them?

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

    What is this video description lol
    Great vid, I love seeing quaternions at the zoo like this. Wish I saw more in the wild...maybe.

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

    i suggest you start with q=a+b1*i+b2*j+b3*k and b=sqrt(b1^2+b2^2+b3^2) then q=a+b*Î with î the specific normalized quarternion here with |î|=1 and î=b1/b*i+b2/b*j+b3/b*k, then e^q becomes very simular to the complex case: q=a+b*î and e^q=e^a*(cos(b)+sin(b)*î) which notation seems much more alike that in the complex situation. Right?

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

    Hi Michael, there is a major simplification when applying the Power Rule for Exponents to the quaternions, you said exp(i * pi /2) ^ j is exp(i * j * pi / 2) yet I think j being on the right side of i is not so obvious. Why is this the case? Since normally this rule was applied to commutative numbers, now with quaternions there must be a special explanation of this specific order.
    Edit: Probably this is related to the problem you mention in the short video.

  • @Thalesfreitas96
    @Thalesfreitas96 Рік тому +3

    What are the connection between the quaternions and the Pauli matrices?

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

      The Pauli matrices are generators of the Lie group of the unitary 2x2 matrices with determinant +1, i.e. SU(2). The key relation is
      U = exp(b sigma_x + c sigma_y + d sigma_z)
      in which
      sigma_x = [0 1]
      [1 0]
      sigma_y = [0 -i]
      [i 0]
      sigma_z = [1 0]
      [0 -1]
      (i.e. the Pauli matrices)
      b, c and d are real coefficients
      U is an arbitrary member of SU(2)
      The relation to quaternions is by putting
      sigma_x = i, sigma_y = j, sigma_z = k
      U = q, an arbitrary quaternion of modulus 1
      Michael's result for a=0 is
      q = exp(bi + cj + dk) = cos(B) + I sin(B)
      with I = (bi + cj + dk)/B, B = sqrt(b^2+c^2+d^2)

  • @gab_14
    @gab_14 Рік тому +3

    Quaternions written as matrices were the theme of French most difficult math contest (X-ENS, Maths A) last week, to enter the best engineering school.

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

    1:09 The 'where' could/should include ijk = -1. Then the 6 relations below that follow from these 4 relations, which are easier to remember.

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

    13:45 ... My heart sank as I expected you to say " and this would be a nice place to stop" I watched to the end and to be honest, didn't need the matrix stuff, I was already knocked out by the beauty of it all. I dare some elerctrickery wiz will find some use for 'i' and 'k' in their modelling.

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

    I really loved the video it's very good . Thank you sir😊 we will support you

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

    More Quaternions!

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

    Great explanation of a tough topic. Great Job!

  • @sciphyskyguy4337
    @sciphyskyguy4337 Рік тому +6

    When teaching the addition of many disparate components, I like to underline the components as I deal with them.
    This establishes a bookkeeping methodology for the students (and me!) that prevents losing track of terms in a long list.

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

    THE DESCRIPTION LMAO

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

    Professor Penn,
    Why do I think you are a genius?

  • @det-tn5qf
    @det-tn5qf Рік тому

    I bearly understand normal math and then there is this

  • @DavidFMayerPhD
    @DavidFMayerPhD Рік тому +7

    How much of Complex analysis can be extended to the Quaternions? I have often wondered about this.
    Do you have any sources or references?
    Using i as quaternion and complex in same equation is VERY confusing.

    • @Noam_.Menashe
      @Noam_.Menashe Рік тому

      It's somewhat related to multivariate complex analysis. But I'm not an expert and I don't know how the loss of commutativity changes the analysis.

    • @michaelaristidou2605
      @michaelaristidou2605 Рік тому +5

      Not much, because they are non commutative. For example, the Foundamental Theorem of Algebra fails!

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

      @@michaelaristidou2605 Thanks.

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

      The analogue of complex analysis for quaternions is called quaternionic analysis.

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

      @@schweinmachtbree1013 Is it good for anything?

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

    thanks for your persistence

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

    Editor note: @5:26 - don't use red chalk for text, just outline. Can't read "exercise". Also, it seems there is a mild glare in the center of your board. Change to position lights or camera to not glare.

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

    Plotting the unit circle we see that the form given in this video is related to the identity cos squared plus sin squared = 1 by multiplying by the complex conjugate

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

    This is exactly what I needed!!

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

    The ending is a bit concerning, as you mentioned.
    We can still define exp(a+BꞮ) = e^a(cos(B)+Ɪsin(B)). From here, let's define the modulus of a quaternion q = a+bi+cj+dk as |q| = sqrt(a^2+b^2+c^2+d^2).
    Then, letting q = a+bi+cj+dk = a+BꞮ as above, we can define a quaternionic logarithm as
    log(q) = ln|q| + Ɪarccos(a/|q|), for some choice of arccos(a/|q|)
    Then we can check that exp(log(q)) = q for all quaternions q.
    Next, given two quaternions p and q, the next question is how to define q^p. The sneaky part here is that we have two reasonable options: exp(log(q)*p) or exp(p*log(q)). Note that these two do _not_ have to be equal to each other since quaternion multiplication is noncommutative.
    My proposal, then, is to define two versions of exponentiation - right exponentiation and left exponentiation. At the risk of confusing with tetration, we use the following notations:
    qᵖ = "q right exponentiated by p" = exp(log(q)*p)
    ᵖq = "q left exponentiated by p" = exp(p*log(q))
    So in your example of i raised to the j, we have to consider a few things:
    For q = i, we have a = 0, B = 1, Ɪ = i, |q| = 1, so log(i) = ln(1)+i*arccos(0) = iπ/2, let's say.
    iʲ = "i right exponentiated by j" = exp(log(i)*j) = exp(ijπ/2) = exp(kπ/2) = cos(π/2)+k*sin(π/2) = k
    ʲi = "i left exponentiated by j" = exp(j*log(i)) = exp(jiπ/2) = exp(−kπ/2) = cos(−π/2)+k*sin(−π/2) = −k
    This explains the discrepancy in your short where you talk about this.
    Some interesting things to point out here: if r is a positive real number, then log(r) = ln|r|, which is a real number and commutes with all quaternions. So for any quaternion p and positive real number r, we have rᵖ = ᵖr (i.e., right and left exponentiation of r by q produces the same result). So we haven't introduced an incompatibility between e^p and exp(p) (using a good choice of argument).

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

      As a bit of an addendum, in general, exp(p+q) will not be equal to exp(p)*exp(q) since quaternions don't commute. And certainly p^(q+s) will not be equal to p^q * p^s for quaternions p, q, and s (for either left or right exponentiation).
      As a bit of fun, we can even consider
      i¹⁺ʲ = exp(log(i)*(1+j)) = exp(iπ/2*(1+j)) = exp(iπ/2+kπ/2) = cos(π/√2) + i*√(2)sin(π/√2)/π + k*√(2)sin(π/√2)/π
      whereas i¹*iʲ = i*k = −j
      So these are very different results.

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

    Wonderful! Thanks so much 😮

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

    I would love to thank you a lot for the video.
    I have a question (extremely curious):
    Is that method applicable for the higher Hypercomplex Numbers such as Octonions and Sedenions or there will be some differences in the "B" and "I" construction?

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

      Generally, every time you go up to a 'next level' of complexity, the algebra changes; in quaternions for instance, commutativity of components under multiplication is lost. I haven't played with Octonions yet, but expect it's a different game.

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

    Is this an example of the exponential map from a Lie algebra to its Lie group? The group being the multiplicative group of quaternions of magnitude 1 (so-called versors, isomorphic to SU(2)) and the algebra being the infinitesimal displacements from the identity element, q=1.
    I'd be grateful for a reply though I'm not sure if I'd understand it -- despite Michael's efforts, Lie algebras still turn my brain to jelly!

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

    Quaternions' didn't click for me until I learned a little geometric algebra.

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

    Nice can you do maxwells equations next?!

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

    Really interesting, thanks!

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

    The quatirion field post in exam MathA 2023 in France is beautiful exam to more understanding the quaternions field specialy her matrix represtation

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

    interesting ! thank you very much

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

    I guess the description is a mathematical secret code

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

    Very very interesting video.Million thanks from Morocco.

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

    Suddenly I feel thankful for Heaviside's version of Maxwell's equations

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

    13:41 this is in fact the quaternionic version of this formula

  • @sidimohamedbenelmalih7133
    @sidimohamedbenelmalih7133 2 місяці тому

    that was really helpful

  • @paulkohl9267
    @paulkohl9267 Рік тому +3

    For pedagogical reasons I understand why you left out the multivaluedness of various results, but when it comes to H ≃ M_2(C) matrices being brought to powers of each other, that has A LOT of multivaluedness going on! Log comes with all integer multiples of 2πi times identity matrix.

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

    Can jAe^jB((iCe^iD) - (iEe^iF)) be put in the form I*Ge^I*H, where i is complex, j is part of the quaternions, and I is the same as your notation?

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

    Gently press

  • @runnow2655
    @runnow2655 2 місяці тому

    Wait so I know i = e^i * pi/2 and j and k but what aboit a general quaternion like i+2j+k? What is that in exponential form?

  • @toygartumer7385
    @toygartumer7385 2 місяці тому

    I really like this video this guy is awesome CHALK CHALK CHALK BLACK BOARD

  • @ArthurRainbow
    @ArthurRainbow Місяць тому

    May I ask what is the definition of exponential?
    I know many of them, but I admit I don't know how well they extend to quaternion.
    As a series, I fear that noncommutativity of functions makes me doubt that we can do anything interesting with series anymore.
    As the unique solution of f'=f with f(0) = 1, I must admit that I have no idea how to prove that such a function exists. I knew the proof of its existence by showing that the series satisfy this property, and analysis showing that this ODE has a unique solution. But it's far from clear that all the mathematics tools created for complex analysis extends to quaternion.
    So yeah, if we accept that exponential exists and behave similarly on pure imaginary of modulus 1, I can follow you. But it's a huge assumption for me to accept without proof

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

    interesting that the complex numbers can't just be treated as a plane within the quarternions, but I guess that kind of makes sense the same way that imaginary numbers can't be treated like a number line within the complex numbers

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

    Any chance of getting a link to the video you're talking about that explains why this definition is sketchy? :)

  • @thefunpolice
    @thefunpolice 9 місяців тому

    Question: can you take the logarithm of a matrix by using the spectral decomposition? I've never seen that done but it seems to me that if you can use the spectral decomposition to exponentiate a matrix then it should also be possible to take a matrix and use the spectral decomposition to take its logarithm.

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

    At 12:38 that seems to be to be a huge leap of faith. I expect that if you, say, expanded e^x to a series, stuck I in it, and simplified, I can see you could get the stated result, but saying it is so just because I^2=-1 seems like an awful stretch.

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

    This comes from Clifford algebra, or as it's known these days, geometric algebra.

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

    19:45 Not sketchy at all. In fact you just proved what I have established long ago:
    ALL QUATERNIONS ARE NATURAL LOGS AND MUST THEREFORE OBEY ALL THE RULES OF EXPONENTS.
    Thus by the power rule of exponents i^j=i*j=k.
    You can prove this using DeMoivre's formula. You can also prove it by using his [j^j=e^(-pi/2)]=j*j=-1 if the negative sign preceding pi is i^2 and you treat ^j and i^2 like exponents. In fact you would get e^(i*pi)=-1.

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

    Quaternion multiplication is order-dependent (not commutative): ij = -ji.
    Does this mean that (a^b)(a^c) = a^(b+c) does not hold (even if a is real)?
    Or is there some other reason that
    k = ij = (e^i(pi/2))(e^j(pi/2)) = e^((i+j)(pi/2)) = e^((j+i)(pi/2)) = (e^j(pi/2))(e^i(pi/2)) = ji = -k
    is not a valid derivation?

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

    I wonder if we can use the properties of the exponential to write
    exp(a+bi+cj+dk) = exp(a) exp(bi) exp(cj) exp(dk) = exp(a)(cos b + i sin b)(cos c + j sin c)(cos d + k sin d)
    ... but this looks very _sketchy_, given that i, j and k do NOT commute. Probably the right way to go about this path is to write the exp as a series and take proper care of the commutation relations.

    • @angeldude101
      @angeldude101 Рік тому +3

      You're right in that it's sketchy. In general, the power laws only actually apply when multiplication is commutative. You can pull out the scalar part since it commutes with the rest, but you can't split up the imaginary part.

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

      It is definitely a wrong proof/derivation. The rigors generalized way to deal with something like that is using representation theory

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

    17:13: as far as I know exponent rules for complex numbers are not the same as for real numbers

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

    You can likewise show that j^i = 1/k, which is pretty cool.

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

    Well, it doesn't commute, I was waiting for that...
    It's linear transformations, I use those tools a lot for 3D cg

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

    Several people say they find quaternions confusing. Let me as a physicist day how I get intuitive about them. Let me know (with likes or comments) how far you find this helpful.
    --->> Feel free to ignore me if you don't find this helpful; or if you are such a pure mathematician that you don't take input from those of us who should the pretty of your subject by actually applying it to anything else.
    Having met 3d Vector algebra before quaternions i find it helpful to think in terms of the scalar and vector products of two 3-vectors, together with the result of multiplying two scalars and the result of multiplying a scalar by a vector. So i know without stopping to think how each of these products work. I know that one of these is anticommutative (ie a×b = -b×a) and the other products commute.
    I'm already familiar with the letters i j k and how they multiply together.
    Here comes the only unexpected fact that whereas the dot product of i.i is unity on vector algebra, the quaternion product i i is negative That's my first and only surprise. Everything else is already familiar.
    Before i get to differential operators, sticking with numbers I imagine the new mathematical entity (r, v) where r is a real, and v is a three vector.
    Nomenclature:
    From relational algebra I'd call that a tuple on (R, V) but I would welcome better suggestions from you or math guys here.
    Then the product q1 q2 is nothing more than the product
    (r1, v1) (r2, v2)
    Remembering to calculate four possible cross terms, and to preserve order. That's necessary because we have a mix of communicative and anti commutative terms.
    Then it all works out from the existing multiplication rules, so long as I continue to remember that the real result of parallel components is the opposite to what would have expected from the dot product
    That inverted sign of the dot product really is the only tricky thing about them, in my opinion. And even that's obvs from complex numbers.
    I'm sufficiently familiar with each of those five products that I don't have to learn much that's new.
    that if we ignore the real parts of the inputs and the outputs then multiplication of quaternions is the same as that for vector cross products. Even the letters i j k have roles which are isomorphic if we ignore the real parts throughout.
    Next: then the real part of the result of quaternion multiplication is simply the product of the real parts MINUS the scalar product of the two vectors. That turns out to be very useful in special relativity.
    And, to jump ahead to really advanced stuff
    I'm already geared up to understand that div V in vector algebra will have a differential operator on the quarternion imaginary parts called conv V. Because of the different sign convention, one operator tells you how a field diverges from a point, and the other how that same field converges.
    I won't think, when i read Maxwell's original paper that he got his signs wrong, as many undergrad physicists do. Maxwell was working with the imaginary parts of quaternions, though he called them something else, so where we have div E in his equations be actually wrote conv E.
    (senior moment here: remind me please what the numbers are called when you project (r, V) onto my modified V -- I know I used to know a name for these numbers, which are simply the imaginary parts of the apartments here. This is unconventional number set because of course they are not closed under multiplication)

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

    Thought it would be a quaternion form of Eulerian angles:
    exp(iθ+jφ+kψ)
    =ABC-abc +i(aBC-Abc)+j(AbC-aBc)+k(ABc-abC)
    where Α,a= cosθ, sinθ; B,b: φ; C,c:ψ

  • @BBBey
    @BBBey 9 місяців тому

    This is quite an intuitive reconstruction of Euler’s formula. But after watching, I’m left to wonder: what about infinite tetrations of quaternions? Are there any that converge to a real and/or transcendental number? And what about the reciprocal of an infinite tetration of quaternions?

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

    Quaternions, octonions, tetrads, tensors, twistors and vectors are devices for physical description of movement and variation of quantities.
    This is STRICT computer graphics. Hamilton among many other mathematicians are geniuses.

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

    Recall at 18:20, why is a+b*i+c*j+d*k equal to this matrix?
    The Rest is clear, you can prepare i by setting a=c=d=0 and b=1, j by setting a=b=d=0 and c=1, using exponent rules, matrix multiplication along with A^B=(e^(logA))^B to get i^j=k

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

      It is not equal, it is just different representation called the complex matrix representation..

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

      Michael shouldn't have used an equals sign, he should have used something like a ⇿ (I mean a two-headed arrow, like ←→ as one symbol, but when I put the default two-headed arrow ↔ it comes out as an emoji XD)

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

    Seems like people are very interested in algebraic structures

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

    Equals evil in biome

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

    Isn't it necessary to prove that e^(BI) = cos B + I sin B, instead of just stating it as a fact, with the argument "because I behaves in a similar way as the complex number i"?

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

      You only need that I^2 = -1 which is easily verified. After that the series expansions work in exactly the same way as with e^(Bi)

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

      @@pwmiles56 OK, that makes sense.

  • @eastherwilson9356
    @eastherwilson9356 21 день тому

    how we can define quaternion j and k without any matrix ?
    IN case of imaginary number i , i = square root of -1 but in quaternoins they use matrix but matrix is not a operation like square root , matrix is use for telling dimension of any thing , matrix is not a operation .