Rendered at 06:47:32 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
incognito124 14 hours ago [-]
My favorite bit of trivia is related to the following game:
Start with 2 numbers, a and b and calculate HM and GM
Now you have 2 numbers again, so you can play the game again with the new values
Every step brings the results together, one from above, the other from below, sandwiching the value in the limit. That value is called Geometric-Harmonic Mean
This works for all 3 pairs of means (HM-GM, GM-AM, HM-AM). The fun fact I was talking about is about the last combination: playing the game with two "extremal" means, the AM and HM, the value they converge to is GM !!
cperciva 2 hours ago [-]
Also fun: The Arithmetic-Geometric Mean can be used to calculate Pi! (Most usefully, the AGM of 1 and sqrt(1/2).)
dhosek 14 hours ago [-]
There’s a whole pile of math like this that kind of lies in this nether land between more advanced than you’ll get in most high school math¹ but less advanced than you’ll get in most college high school math that I was only ever exposed to when I took the classes for my teaching credential. One of my favorite was how cos/sin, tan/cot and sec/csc all can be derived from right triangles on a unit circle with the first setting the hypotenuse to the radius, the second with a vertical side tangent to the circle at x = ±1 and the third with the horizontal side tangent to the circle at y = ±1 (you can use similarity and Pythagoras to get all the standard identities like tan = sin/cos, etc.)
⸻
1. I kind of did a speed run through high school math, taking essentially 5+ years of math in three years, so it’s likely that I ended up missing/glossing over stuff that people who were learning at a more rational pace did learn, although I think some of my teachers were too intimidated by me to try actually teaching me, much to my detriment.
epgui 13 hours ago [-]
Weird, in Canada (at least some provinces) I think that's a pretty standard part of both high school and undergraduate maths.
dhosek 11 hours ago [-]
The relationships between the functions are pretty standardly taught, but their derivation from the right triangles on the unit circle less so (other than sin and cos).
Which IIRC are all a consequence of Jensen's inequality.
arjvik 11 hours ago [-]
This I didn’t know!
cubefox 10 hours ago [-]
I think this is not quite right as stated there because the root mean square (quadratic mean) is always positive or 0 while the arithmetic mean can be negative, making it smaller. I guess the inequality only holds for positive numbers.
That's actually one argument for not calling the root mean square a "mean", because a mean should arguably have the property that it is always a number between the largest and smallest value. But the RMS of two negative numbers is positive. (On the other hand, the median would qualify as a mean in this sense, even though it is not a "power mean".)
foldU 13 hours ago [-]
The geometric representation of AM/GM is very cool, but the first animation seems wrong to me, it should be varying the value of `b`, not the location of the circle, for it to make sense, no?
nomemory 13 hours ago [-]
Thanks for spotting this. I've mixed two ideas. Need to comeback to it. The smaller circle has to increase its size as b grows. As it is now it works because o triangle degeneration.
kwar13 4 hours ago [-]
The first chart is super confusing. The OP line is changing size as the circles move, yet (a-b)/2 is a constant.
StefanKarpinski 12 hours ago [-]
The animated visuals are very cool, but I desperately want to turn them off in order to understand what they depict and reason about it geometrically. A pause button would be greatly appreciated.
nomemory 12 hours ago [-]
That's actually a good advice. Does a separate, "static" screenshot also work?
StefanKarpinski 12 hours ago [-]
Sure, that would work just as well. Plus, then you get to pick a "good" placement instead of making the user try to find one.
nomemory 12 hours ago [-]
Ok. I will add them tomorrow. Also I will fix the first animation (b doesn't grow there as it should).
delhanty 5 hours ago [-]
Oh, these are really nice Andrei! Thanks for posting them.
Start with 2 numbers, a and b and calculate HM and GM Now you have 2 numbers again, so you can play the game again with the new values Every step brings the results together, one from above, the other from below, sandwiching the value in the limit. That value is called Geometric-Harmonic Mean
This works for all 3 pairs of means (HM-GM, GM-AM, HM-AM). The fun fact I was talking about is about the last combination: playing the game with two "extremal" means, the AM and HM, the value they converge to is GM !!
⸻
1. I kind of did a speed run through high school math, taking essentially 5+ years of math in three years, so it’s likely that I ended up missing/glossing over stuff that people who were learning at a more rational pace did learn, although I think some of my teachers were too intimidated by me to try actually teaching me, much to my detriment.
That's actually one argument for not calling the root mean square a "mean", because a mean should arguably have the property that it is always a number between the largest and smallest value. But the RMS of two negative numbers is positive. (On the other hand, the median would qualify as a mean in this sense, even though it is not a "power mean".)