Remix.run Logo
The Shape of Inequalities(andreinc.net)
75 points by nomemory 5 hours ago | 12 comments
incognito124 3 hours ago | parent | next [-]

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 !!

StefanKarpinski an hour ago | parent | prev | next [-]

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 an hour ago | parent [-]

That's actually a good advice. Does a separate, "static" screenshot also work?

StefanKarpinski an hour ago | parent [-]

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 an hour ago | parent [-]

Ok. I will add them tomorrow. Also I will fix the first animation (b doesn't grow there as it should).

Sniffnoy 2 hours ago | parent | prev | next [-]

In case people aren't aware, the inequality of these specific four means is a special case of the more general power mean inequality: https://en.wikipedia.org/wiki/Generalized_mean#Generalized_m...

abnry 2 hours ago | parent [-]

Which IIRC are all a consequence of Jensen's inequality.

foldU 2 hours ago | parent | prev | next [-]

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 2 hours ago | parent [-]

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.

dhosek 3 hours ago | parent | prev [-]

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 3 hours ago | parent [-]

Weird, in Canada (at least some provinces) I think that's a pretty standard part of both high school and undergraduate maths.

dhosek 26 minutes ago | parent [-]

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).