Besides being the first and last letters of the alphabet, why do we like abc and xyz so much?
In algebra, both abc and xyz are used, and occasionally pqr as well. Why those specifically? And for vectors, one of the notations is ij. Why is that? And in programming, it is a convention to use loops with ijk as the index. Why not something like cde (for count) or tuv(tally)? Why index? And in coordinates, we use xyz. Why is that? Why not abc? What about ijk, pqr, etc.? Also, why is y and z flipped in some 3D programs, and why is in some 2D programs, up is negative y rather than positive?
Finally, why do these kind of triplet letter combinations always use the Latin alphabet? Why aren’t there any conventions that use Cyrillic, Greek, Arabic, or the Latin letters with cool hats? Is it because English became the dominant language? That can’t be the only reason, as we still use some Greek symbols for some things like pi, phi, alpha(for angles as well as the particle), beta, gamma (rays), etc. The Greeks figured out things like coordinates, algebra, etc., so why Latin letters? Is it because of the Romans?
NorthWestWind@lemmy.world 1 day ago
The following are not-properly-researched theories I made up
I think x came from “unknown”. Perhaps at one point people used a cross (x) to represent something unknown. The symbol may have extended to mean “variable”. Then math advanced and people begin making graphs with variables and the logical next variable is y.
abc are used when these variables run out, because they are intuitive to pick.
ijk in programming loops came from “index”. The reason we use “index” and not “count” or “tally” is because in early computer days, someone decided to use “index”. For example, your browser still automatically fetches “index.html” if a path doesn’t return a valid response.
ijk in vectors may have come from quaternions, which in turn came from complex/imaginary numbers. Since i represents “imaginary”, that could have been carried over to vectors.
The xyz orientation in 3D program is purely a choice by the developer. It is which ever orientation they are comfortable with developing.
y is up because of it’s commonly used for graphs, but y is down for computer graphics. The top-left corner of a screen is (0, 0) and as the position moves downwards, y increases.
We do use Greek letters in other coordinate systems! For example, a spherical coordinate system often uses (r, θ, φ). I think these symbols may have already had connections with other aspects of math (like θ is commonly used for angles). They are not used generally to avoid confusion.
LifeInMultipleChoice@lemmy.world 1 day ago
Everything you said fits what I remember. Although I remember abc being more for constants where xyz were variable. Maybe I’m remembering wrong.