Hacker News new | ask | show | jobs
by HelloNurse 475 days ago
Applications of quaternions to 3D geometry do not matter: as a field or vector space over real numbers quaternions are four dimensional because 1, i, j, k are linearly independent. Over complex numbers they are a two dimensional vector space instead.
3 comments

An unfortunate fact in mathematics in that the term "vector" is ambiguous.

There are vectors in the wide sense, i.e. elements of a linear space. Linear spaces are a.k.a. vector spaces, where "vector" is used in the wide sense.

Then there are vectors in the strict sense, which is the sense corresponding to the etymology of the word "vector", which have additional properties over the axioms of a linear space.

Vectors in the strict sense are elements of some particular linear spaces that are associated with the translations of affine spaces, and which are also associated with geometric algebras, where the dimensions of the geometric algebras as linear spaces over the real numbers are 2^N, where N is the dimension of the set of vectors as a linear space over the real numbers.

Quaternions as a linear space over the real numbers happen to be 4-dimensional, but this 4-dimensional space has no relationship whatsoever with a 4-dimensional space that would be an extension of the familiar 3-dimensional space of the Euclidean geometry, which models the space in which we live.

Since the quaternions are means for describing transformations of the 3-dimensional space of Euclidean geometry, all applications of the quaternions include the 3D geometry in a more or less disguised form, in the same way as any application of complex numbers includes the geometry of the Euclidean plane, even if that is not obvious because the applications are described in an abstract way, using only the axioms of the field of quaternions or of the field of complex numbers.

Many applications of complex numbers in electronics or digital signal processing become far more easier to understand when one thinks about the geometric transformations of a plane that correspond to complex numbers, instead of thinking only about the axioms of the field of complex numbers. The same happens for quaternions.

The physical space in which we live and that we can imagine, is modeled mathematically as an affine space, i.e. as a space of points. We can also imagine affine spaces with more dimensions than 3.

Some linear spaces are vector spaces in the strict sense, being sets of the translations of an affine space. Other linear spaces, like the set of quaternions, are not vector spaces in the strict sense. In order to help our perception of such abstract linear spaces, we may use tools like graphs or drawings that map some part of the abstract linear space to an affine space that we can visualize, e.g. on a computer display, but we must keep in mind that this is just a mapping and that the nature of that abstract linear space is different from the spaces that we can see.

And 3x3 matrices are 9 dimensional, yet usually you can interpret them perfectly fine with a 3d perspective. The dimension of the algebra is usually not very meaningful if you're trying to gain some intuition about it.
Saying this is why so many people can't understand quaternions. They are not independent over multiplication. They only are over addition. With multiplication they interact with eachother, transform into eachother. Its not the same independence as a normal x,y,z,w vector. Saying they are independent just to say they are 4 dimensional misses their entire point and dooms people into thinking imagining them is impossible when its a 3D mental operation like complex numbers are a 2D mental operation.