Live data from Hacker News

A trick to eliminate 2π (sometimes)

marci.gunyho.com

51–60 of 179 posts

Re: A trick to eliminate 2π (sometimes)

#51
post #24

You should call it d/dx bar. Anyway, I love the choice of theta because a while ago I came up with a nice notation for sin and cos and this fits it really well. When I first learned trig, it was by way of skipping into physics early. I only understood cos as the magic button for getting x components from angles, and y as the button for y components. So my notation is based on this very literal brute understanding. Al…

It says that in TFA :)

Re: A trick to eliminate 2π (sometimes)

#52
post #13

Also, π is the wrong constant. The very definition is awkward: the ratio of two radiuses to the circumference. How about one radius? It is much more natural to work with 2π. Some people use the letter τ (Tau) to denote 2π, and it simplifies almost all naturally occurring expressions. For example, what is more elegant? e^(π*i) = -1 e^(τ*i) = 1

> t simplifies almost all naturally occurring expressions

basically the point of the Tau Manifesto: https://tauday.com/tau-manifesto

And would ya look at the date today... 6/28...

Re: A trick to eliminate 2π (sometimes)

#53

Earlier quoted context omitted.

Angles are absolutely more dimensionless than lengths are. For an easy check you can't add quantities where the dimension differs, which means it doesn't make sense to add a length to its cube. On the other hand it does make sense to add an angle to its cube - this is a necessary component of computing sin(angle) by the power series sin(angle) = angle - (angle^3)/6 + ...

How can we compute angle - (angle^3)/6? 360 - (360^3)/6 = -7M degrees or is it this? 2*pi - (2 * pi)^3 / 6 = -35 radians = -2k degrees Or maybe this? 1 - (1^3)/6 = 0.8 turns = 300 degrees They're wildly inconsistent because I'm not taking the units into account and we have to take the units into account.

Units are not the same as dimensions, something can have a dimension of 1 (which is what we usually mean by "dimensionless") and still have different units, just as something can have a dimension of length but still be measured in meters or feet.

As far as you three examples go, which is "correct" depends on what you are trying to calculate - if you want this to approximate the power series for sin close to 0 you should use radians. Otherwise you use something else.

Re: A trick to eliminate 2π (sometimes)

#54

Earlier quoted context omitted.

I'm curious how blind people normally engage with math. For me, engaging with math almost always means conjuring up a visual representation in my mind. Failing that, an equation. Since visualization is so fundamental to doing math, and since mathematical symbols and equations are a written language for which there is no spoken analog, I really can't imagine engaging with math without my eyes. Even reading equations a…

The way I've heard those distinguished in spoken math is x + b^2 is said "x plus b squared" and (x + b)^2 is said "x plus b all squared. There's a similar approach for divide "x plus b over 8" vs "x plus b all over 8". That was often enough but if it wasn't you'd be reduced to pronouncing brackets.

Using postfix operations in the Way of Forth would be unambiguous and of course otherwise superior as well as is well known [citation needed]. “x b plus squared” vs “x b squared plus”. Well, at least as long as it’s agreed on whether “x b” means two variables or one with a two-letter name. But the latter don’t really exist in math. You just expand to new alphabets when you run out of letters.

Re: A trick to eliminate 2π (sometimes)

#55
post #11

Unrelated to the content but complaining about the website is a popular thing to do here so I'd like to share my experience, as a blind user. Here is what my screen reader sees for this page: Recently, I came up with a trick that can get rid of in many cases. It’s pretty simple, but it has some interesting implications. This is the trick: I just define a new derivative operator, like so: That’s all. You just take the…

Author here, I'm sorry to hear that it doesn't work well with a screen reader. I tested it with the reader mode of Firefox, which renders MathML perfectly, although I don't know how that would translate to a screen reader. Safari reader mode renders the math inline, like this:

   I just define a new derivative operator, like so: dxđ f(x)≡2π1 ⋅dxd f(x). That’s all.
while Chrome's reader mode just fails to recognize the content entirely, even though it's the most basic

... structure possible. I have basically zero web dev experience so I don't know how to fix this, maybe I need to tweak the KaTeX settings.

I think it's quite sad that math is so difficult on the web. While setting up the blog, I looked around and it seemed like FF is the only browser with proper MathML support, but I think that was also being phased out because it's apparently buggy and hard to maintain. IMO, the screen reader version should just basically be the LaTeX source, which is probably kind of awful when read out loud, but at least it would be unambiguous.

Re: A trick to eliminate 2π (sometimes)

#56
People have proposed introducing a symbol for 2π before, most often τ. I like to go a step further and introduce a symbol for 2πi. I use pi with a dot above it, pronounced "pi dot". Pi dot can be defined as the period of the exponential function (which can be defined in terms of its Taylor series). Then 2π is pi dot / i, and π is pi dot / 2i. Of π, 2π, and 2πi, 2πi is probably the most natural, even though it's imaginary. I suppose that depends on the type of math you're doing though.

On a similar note, when doing quantum physics, I like to introduce h dot, which is i × h bar. There are tons of formulas where you either get i × h bar or -i / h bar, but these are just h dot and 1 / h dot, so this removes a little sign confusion and saves a little handwriting.

People will argue that real constants are more natural, but maybe they're not. Maybe radians are naturally imaginary, so if h bar is meant to have dimensions of energy time per radian, then it's better to use the imaginary h dot.

Re: A trick to eliminate 2π (sometimes)

#57
To address the problem they discuss at the end with defining Θ = e^2πi, they could instead define Θ(x) = e^2πix, the circular analog to the exponential function exp (which is really more fundamental than exp(1) = e anyways).

Re: A trick to eliminate 2π (sometimes)

#58
post #13

Also, π is the wrong constant. The very definition is awkward: the ratio of two radiuses to the circumference. How about one radius? It is much more natural to work with 2π. Some people use the letter τ (Tau) to denote 2π, and it simplifies almost all naturally occurring expressions. For example, what is more elegant? e^(π*i) = -1 e^(τ*i) = 1

e^pi + 1 = 0, of course

e^i*tau = 1 is pretty elegant, too.

Re: A trick to eliminate 2π (sometimes)

#59
post #13

Also, π is the wrong constant. The very definition is awkward: the ratio of two radiuses to the circumference. How about one radius? It is much more natural to work with 2π. Some people use the letter τ (Tau) to denote 2π, and it simplifies almost all naturally occurring expressions. For example, what is more elegant? e^(π*i) = -1 e^(τ*i) = 1

Coincidentally, happy Tau Day! (6.28)

Re: A trick to eliminate 2π (sometimes)

#60
The argument about why not to include the i in 2 pi i is incorrect. The problem is he says (e^x)^i2pi = e^i2pix does not work because ln(e^i2pi)=0. But he needs to use the complex logarithm. And for the complex logarithm ln(e^z) =z for z in C.

If that wasn't the case calculation rules of logarithms and exponentials would depend on if arguments are complex or real, a lot of physics would become much more complicated suddenly.

Post reply on HN