### Comments

- No comments found

12/08/2021

One of the things that most young mathematicians (think eight years old or so) learn is that pie are square, a fact which is immediately refuted with the confused observation "No they're not!

Pies are round!" Later, of course, they discover algebra and geometry, where in fact it is proven demonstrably that, well, the circumference of a circle and the area of the same circle are related by two simple equations:

C=2πr

and

A=πr^2

The first law was at least known at the time of Euclid, though it would be a few centuries later that Archimedes actually calculated the ratio of the diameter (twice the radius) to the circumference to be roughly 3 1/7 (though in fact, he was able to get it right to within eight digits eventually, in Greek numeric notation). However, it would be early in the eighteen century AD that Welsh mathematician William Jones would use the Greek letter π (pi) for this particular ratio.

The great mathematician Leonhard Euler would eventually pull together the use of π, the base of the natural logarithms (e, approximately 2.71828) and the square root of negative one (called i) into one of the more fundamental equations of mathematics:

e^(πi) = -1

For the next three hundred years, π would reign supreme in mathematics as perhaps the single most well known constant ever. However, for several years, Euler debated whether to use π to indicate the circumference of a circle divided by the diameter (a ratio of about 3.1415927...) or to indicate the circumference divided by the ratio (a ratio of 6.2831854...). His decision, ultimately, to go with the former may have complicated mathematics far more than he'd planned.

In 2010, theoretical physicist Michael Hartl wrote a paper that would eventually become known as the Tau Manifesto, in which he proposed using the letter tau (τ) for the ratio of the circumference divided by radius, the aforementioned 6.28 value. His arguments were actually quite compelling:

- One
*τ*is precisely one turn around a circle, or one revolution (360°).*τ*/2 is half a circle or 180°,*τ*/4 is one fourth of a circle, or 90° and so forth. Compare this with 2*π*,*π*, and*π*/2 respectively. In general, this becomes the same as C=*τ*r, as opposed to C= x*n*-- - Euler's equation (which laid the foundation for complex numbers), can be expresse
*d*with τ as:

e^(τi) = 1

- Similarly, the area of a circle takes on the same characteristics as other power laws in mathematics and physics:

A = \dfrac{1}{2} \tau r^2; E= \dfrac{1}{2} m v^2;

A=(1/2)τr^2 ; E = (1/2) mv^2

Where it really shines, however, is in areas such as trigonometry and complex matrix algebra. For instance, if you had trigonometric functions built around τ, you can state that

e^(iθ) = cos(θ) + **i** sin(θ), where 0 < θ < τ

This equation makes it clear that a quarter of the way through a revolution, the equation has the value +**i**, at halfway it's -1, at 3/4 of the revolution, the equation is -**i**, and at one full revolution you're right back to where you started. It also highlights the close association between exponential functions and rotations.

This becomes especially useful in gaming and 3D applications, in which the square root of -1 (the ** i** part) is treated as an axis of rotation. In three dimensions, you end up with three such axes:

These quaternions become especially important when dealing with rigging in three-dimensional work, involving vectors connecting end to end. These are also known as gimbals, again from the camera mounts that allow for orienting in any dimension. While in data science this can be done using matrix transformations, quaternion calculations are often faster and less time consuming to set up.

The skeleton of a 3D figure is made up of vectors, with quaternions acting as gimbals at the joints to help move the figure around.

The value of Tau (and the relationship between Tau revolutions and complex numbers, inspired me to write a small Javascript library that both defined some Tau helper functions (the Tau class, made up exclusively of static) and an immutable TauComplex class that was built specifically with Tau revolutions in mind. These scripts are available at https://github.com/kurtcagle/tau.

The complex class is reasonably complete for complex number manipulation, including handling addition and multiplication of complex numbers, creating complex conjugates, moduli, and equations for rotating, scaling and translating such numbers in the complex plane. A test script (TauTest.js) illustrates how these functions are invoked:

with this test script generating the following output :

One of the critical points about this library is that the complex numbers are meant to be treated as immutable, with any operation on a complex number generating a new complex number. For instance, if you wanted to add three complex numbers, you'd create an expression such as:

Complex numbers factor heavily in both pure and applied mathematics, and can be proved to be the largest complete set of numbers - you cannot construct another space of numbers that cannot be decomposed into complex numbers. Additionally, the equations used to create approximations of surfaces, known as the Taylor Series, makes extensive use of complex numbers.

There is one final point to be made in this particular article. There is a tendency to look at either Python or R when dealing with mathematics, but it's worth noting that it is perfectly possible to create mathematics libraries and classes in JavaScript as well. Indeed, Javascript contains its own equivalents of both Pandas (Danfo.js) and NumPy (nympy.js), two of the foundational classes, and Google's TensorFlow library has been ported over to Javascript as well (primarily around the node.js version). In some cases, Javascript is even faster than Python in the analytics space, especially given recent optimizations for handling binary data types.

- No comments found

Kurt is the founder and CEO of Semantical, LLC, a consulting company focusing on enterprise data hubs, metadata management, semantics, and NoSQL systems. He has developed large scale information and data governance strategies for Fortune 500 companies in the health care/insurance sector, media and entertainment, publishing, financial services and logistics arenas, as well as for government agencies in the defense and insurance sector (including the Affordable Care Act). Kurt holds a Bachelor of Science in Physics from the University of Illinois at Urbana–Champaign.

#### 1 Exploring Standards for Responsible AI

Ahmed Banafa#### 2 The Future of VIN Decoding: How Advanced Data Insights are Revolutionizing Vehicle Purchases

Felix Yim#### 3 Unleashing Creativity in Marketing Approaches

Nitish Mathur#### 4 Performance Testing: What They Are, Types, and Their Importance?

Anas Bouargane#### 5 How Technology is Making Entertainment More Accessible

Mihir Gadhvi

## Leave your comments

## Post comment as a guest