← Back to context

Comment by K0balt

18 days ago

They sound shiny and mysterious?

I know you know, just practical intuition for 3D graphics in case someone finds it useful:

There's a 1-1 mapping between complex numbers and 2D rotation matrices that only do rotation and scaling. The benefit is that the complex number only has two coefficients, not four like the matrix. Multiplying these complex numbers is the same as multiplying the equivalent matrices. Quaternions are the same idea just in 3 dimensions (so with 3 imaginary units i j k, not just i, one per plane).

  • > Quaternions are the same idea just in 3 dimensions (so with 3 imaginary units i j k, not just i, one per plane).

    I justify quaternions to myself with the intuition from [1]. In essence quaternions represent rotations in 4D, where multiplying by a "unit" (i,j,k), rotates two distinct planes by 90 degrees. The reason introducing a single unit j doesn't work is the same reason this rotation-is-multiplication trick doesn't work in 1D (or really any odd-number of dimensions). Anyways if we call this 4th axis w and pick a simple rule like ij = k then we get some nice properties like

        - multiplying by i rotates xy + zw planes by 90 degrees
        - j rotates xz + yw
        - k rotates xw + yz
        - 1 rotates nothing
    

    Notably this definition covers all 6 unique planes. But if we want to rotate only a single plane, we have to make up a new property, something that lets us rotate say xz by 90 and yw by -90. So we make up another rule that multiplying by a unit on the right does this, which algebraically looks like ij = -ji. This is incidentally why the rotation formulas have 1/2 everywhere, because if we want to rotate xy by 90, we multiply on the left by i/2 then on the right by -i/2.

    [1] https://www.reedbeta.com/blog/why-quaternions-double-cover/

Then why not geometric / Clifford algebra?

  • Why anything except universal algebra? I mean, granted, I myself dove right into topos theory...

  • "Quaternions" definitely sounds shinier and more mysterious than "geometric algebra". Indeed I can’t immediately come up with any math term more shiny and mysterious, except maybe "transcendental", but as a concept transcendentals are much more familiar to most than quaternions.

    • true on the naming, but i think geometric/clifford algebra has its own mysterious aura precisely because it can be framed as "suppressed" or "overlooked".. plus it genuinely does have elegant mathematical structure backing up the hype

      funny thing is quaternions had that exact same energy in the computer graphics community for years. after ken shoemake introduced them to CG in 1985, there was a long period of "why are we using euler angles like cavemen when this exists??". now quaternions are well known tooling for people in graphics and the mystique has worn off at least in that community.