Just a tiny rant: In my view complex numbers are really about the concept of "orthogonality". The complex 'dimension' is orthogonal to the 'real' dimension, but anything in reality that's a continuum of values can be seen as a dimension, and therefore each one must have an orthogonal. That is, whenever you have a direction in a higher dimensional space (regardless of dimensionality) any vector will have a normal dire…
I really like the welch labs series on imaginary numbers which covers the first part of what you talk about -- leveling up the notion of what a complex number is. Though his focus was more on solving simple equations with no real roots, but really detailing how/what is really going on. It is a great precursor to then thinking about quaternions https://www.youtube.com/watch?v=T647CGsuOVU&list=PLiaHhY2iBX...
Quaternions and spherical trigonometry
21–30 of 53 posts
Re: Quaternions and spherical trigonometry
#22Just a tiny rant: In my view complex numbers are really about the concept of "orthogonality". The complex 'dimension' is orthogonal to the 'real' dimension, but anything in reality that's a continuum of values can be seen as a dimension, and therefore each one must have an orthogonal. That is, whenever you have a direction in a higher dimensional space (regardless of dimensionality) any vector will have a normal dire…
But while the octonions at least have some mathematical relevance (they're actually connected to various exceptional objects, such as the exception Lie group G_2!), the sedenions and beyond basically don't. They have a tiny bit of associativity but not enough that they connect to any things or that hardly anyone wants to study them -- and worse yet, there are zero divisors so cancellation (ab=ac => b=c for nonzero a) doesn't even hold. (Inverses exist, yes, but without associativity, inverses don't imply cancellation! And therefore aren't much use.)
As another commenter mentioned, what you might be looking for instead if it's orthogonality you're focused on is Clifford algebras (aka geometric algebra). However, if you want to get the complex numbers or quaternions out of it, you'd need to use a negative-definite quadratic form -- if you use a positive-definite one, you'd instead get the split-complex numbers, which are much less interesting (and you'd get something similar instead of the quaternions).
Re: Quaternions and spherical trigonometry
#23Earlier quoted context omitted.
Geometric algebra would be what you're looking for here. This is a great intro to the topic: https://geometry.mrao.cam.ac.uk/1993/01/imaginary-numbers-ar...
Also the (provocatively titled) "Let's Remove Quaternions from every 3d Engine" [1] Spoiler alert: rotors are mechanically identical to quaternions, while being easier to understand. If you understand rotors, you understand quaternions. You can fit the laws you need to understand rotors on a business card. Plus, rotors abstract to higher and lower (well, there's only one plane and its two respective orientations in 2…
I wonder how/if any of this can be applied to LLMs 'Semantic Space'. As you might know, Vector Databases are used a lot (especially with RAG - Retrieval Augmented Generation) mainly for Cosine Similarity, but there is a 'directionality' in Semantic Space, and so in some sense we can treat this space as if it's real geometry. I know a TON of research is done in this space, especially around what they call 'Mechanistic Interpretability' of LLMs.
Re: Quaternions and spherical trigonometry
#24Omg wow... the theoretical physics I’m talking about is just quaternions and Lie Algebra isn’t it? Oh… dont tell me Quantum Spin just called Spin because it’s a Spinor rather than something actually metaphorically spinning?!
Please chime in if you know what I’m talking about and can confirm this or shoot it down.
Re: Quaternions and spherical trigonometry
#25Just a tiny rant: In my view complex numbers are really about the concept of "orthogonality". The complex 'dimension' is orthogonal to the 'real' dimension, but anything in reality that's a continuum of values can be seen as a dimension, and therefore each one must have an orthogonal. That is, whenever you have a direction in a higher dimensional space (regardless of dimensionality) any vector will have a normal dire…
Orthogonality is captured linear algebra over R^2, but R^2 isn't a field or an algebra.
Re: Quaternions and spherical trigonometry
#26Related: https://eater.net/quaternions
https://github.com/jdranczewski/optical-levitation-raytracin... for my repo, and https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.5165 for the rotational dynamics with quaternions.
Re: Quaternions and spherical trigonometry
#27Hold up! Omg, can someone who’s done physics chime in please… whenever I’ve looked at GUT etc, I’ve always seen U(n), SU(n), but never knew what they were - are they what’s referred to in this article? Is that just the Unitary Group and Special Unitary Group??! All that time I thought it was all impenetrable but it’s just algebra? Omg wow... the theoretical physics I’m talking about is just quaternions and Lie Algebr…
Re: Quaternions and spherical trigonometry
#28Hold up! Omg, can someone who’s done physics chime in please… whenever I’ve looked at GUT etc, I’ve always seen U(n), SU(n), but never knew what they were - are they what’s referred to in this article? Is that just the Unitary Group and Special Unitary Group??! All that time I thought it was all impenetrable but it’s just algebra? Omg wow... the theoretical physics I’m talking about is just quaternions and Lie Algebr…
Yes, Quantum Field Theory can be explained through Lie groups. SU(2) is isomorphic to the quaternions of norm 1, and SU(2) is important if you want to understand the Lorentz group and Poincare group, which represent the symmetries of spacetime and special relativity. Check out the text book Physics From Symmetry by Jakob Schwichtenberg if you would like an approach that derives modern physics primarily from algebra
You DO NOT understand how happy I am right now. Truely!
I did general physics for a year at uni as part of my Computer Engineering course, then switching to Computer Science where I picked up a year of quantum mechanics. Since then whenever I lay in bed and thought about physics I would end up awake for hours. So damn interesting but the maths always held me back, so sadly gave up.
I don’t know what’s changed (maybe maturity or maybe Vyvanse lol) but I’m slowly putting the pieces together. It’s always been in my outer periphery but still out of reach. Your confirmation has and will change my life. Maybe not career wise or life altering seen from the outside, but hot damn you have at least cleared my constant nagging guilt for not perusing maths and physics because you’ve just made it slightly closer within reach. Can’t wait for the book to arrive. Thank you!!!
Re: Quaternions and spherical trigonometry
#29Hold up! Omg, can someone who’s done physics chime in please… whenever I’ve looked at GUT etc, I’ve always seen U(n), SU(n), but never knew what they were - are they what’s referred to in this article? Is that just the Unitary Group and Special Unitary Group??! All that time I thought it was all impenetrable but it’s just algebra? Omg wow... the theoretical physics I’m talking about is just quaternions and Lie Algebr…
Re: Quaternions and spherical trigonometry
#30Just a tiny rant: In my view complex numbers are really about the concept of "orthogonality". The complex 'dimension' is orthogonal to the 'real' dimension, but anything in reality that's a continuum of values can be seen as a dimension, and therefore each one must have an orthogonal. That is, whenever you have a direction in a higher dimensional space (regardless of dimensionality) any vector will have a normal dire…
I don't agree. Complex numbers are the algebraic closure of the reals. Or the quotient of the real polynomial ring by (x^2+1=0). Or whatever other construction. The multiplication rule is the essence of C. Orthogonality is captured linear algebra over R^2, but R^2 isn't a field or an algebra.