Bill Shillito's Avatar

Bill Shillito

@solidangles.bsky.social

Math instructor at Oglethorpe University. Views my own. Talk to me about anything combinatorial game theory related! He/him. Pronounced SHILL-lit-toe. Websites: https://www.solidangl.es, https://1dividedby0.com

1,043 Followers  |  1,005 Following  |  129 Posts  |  Joined: 05.08.2023  |  2.7796

Latest posts by solidangles.bsky.social on Bluesky

A close-up of a parking meter with a digital display reading “SELECT SPACE LEFT / RIGHT.” Below the screen are colorful buttons: a blue plus, a blue minus, a green check mark, and a red X.

A close-up of a parking meter with a digital display reading “SELECT SPACE LEFT / RIGHT.” Below the screen are colorful buttons: a blue plus, a blue minus, a green check mark, and a red X.

Ah yes, the four basic operations: addition, subtraction, checkmark, and multiplication.

11.10.2025 21:06 — 👍 9    🔁 0    💬 2    📌 0

Cool thing I just realized about f-means!

If deg(f) < deg(g), then the f-mean of a data set is less than the g-mean.

So since f(x)=log x has "degree" 0 and g(x)=x has degree 1, the geometric mean is less than the arithmetic mean.

(I always forget which way it goes — now I'll always remember!)

10.10.2025 02:40 — 👍 6    🔁 0    💬 0    📌 0

I tend to remember it as:

∫ u dv = uv - ∫ v du

So for me, it's not "what's u and what's v" but "what's u and what's dv?"

09.10.2025 11:39 — 👍 2    🔁 0    💬 1    📌 0

I was worried that my musical example would fall flat. 🙃

09.10.2025 02:44 — 👍 1    🔁 0    💬 1    📌 0
A diagram on a dark green background showing how the quadratic mean relates to variance and standard deviation.

Top left: {−6, 1, 5}, with a rightward arrow labeled “QM” leading to ≈ 4.546 (standard deviation*).

A downward arrow labeled “( )²” points to {36, 1, 25}.

From {36, 1, 25}, a rightward arrow labeled “AM” points to 20⅔ (variance*).

An upward arrow labeled “√( )” connects 20⅔ back to 4.546.
At the bottom, the label reads “Quadratic Mean.”

A footnote adds: “*Technically this is for a population variance and standard deviation. If this were for a sample, we’d actually divide by n - 1 instead of n to account for underestimating the variability, so the sample standard deviation would be √31 ≈ 5.568.”

A diagram on a dark green background showing how the quadratic mean relates to variance and standard deviation. Top left: {−6, 1, 5}, with a rightward arrow labeled “QM” leading to ≈ 4.546 (standard deviation*). A downward arrow labeled “( )²” points to {36, 1, 25}. From {36, 1, 25}, a rightward arrow labeled “AM” points to 20⅔ (variance*). An upward arrow labeled “√( )” connects 20⅔ back to 4.546. At the bottom, the label reads “Quadratic Mean.” A footnote adds: “*Technically this is for a population variance and standard deviation. If this were for a sample, we’d actually divide by n - 1 instead of n to account for underestimating the variability, so the sample standard deviation would be √31 ≈ 5.568.”

UGH, more mistakes that of course I only catch after posting ... here's the corrected graphic.

One of these days I'll manage to post something completely right the first time. 😅

09.10.2025 02:31 — 👍 4    🔁 0    💬 0    📌 0

*Oops, this should have said "logarithms of the values" — plural.

And by the way, we could use any base log (and corresponding exponential) we want!

I chose log base 10 because scientific notation (and the English language) generally uses powers of 10.

09.10.2025 02:26 — 👍 3    🔁 0    💬 0    📌 0

What other relationships between these means have you come across? I’m sure there are more unexpected links I've left out — if you’ve got a favorite, please go ahead and share it! 🙂

[20/end]

09.10.2025 02:22 — 👍 2    🔁 0    💬 1    📌 0

And I think this topic shows an excellent interplay between the kinds of things we want students to do in mathematics:

* Understanding the concepts behind the procedures and the relationships between them

* Seeing how those ideas can be applied to real-world problems

BOTH are important.

[19]

09.10.2025 02:22 — 👍 2    🔁 0    💬 1    📌 0

So while the geometric, harmonic, and quadratic means seem like very different formulas, they're really just variations on a theme: "transform, average, undo."

It's just a matter of figuring out what shift in perspective helps you strike the right balance for the problem at hand.

[18]

09.10.2025 02:22 — 👍 3    🔁 0    💬 1    📌 0

Now, technically the squaring function isn't invertible because it's not one-to-one — for example, 3² = (-3)² = 9.

But if we're okay with only getting positive numbers as a result, we can just restrict the domain of f(x) = x² to x ≥ 0, and everything turns out just fine.

[17]

09.10.2025 02:22 — 👍 3    🔁 0    💬 1    📌 0

The root mean square may also sound familiar from physics — it's used in the kinetic molecular theory of gases for the same reason. (Remember, kinetic energy varies with velocity squared!)

It's also used for RMS voltage for alternating current, which also fluctuates about an equilibrium.

[16]

09.10.2025 02:22 — 👍 3    🔁 0    💬 1    📌 0
A diagram on a dark green background showing how the quadratic mean relates to variance and standard deviation.

Top left: {−6, 1, 5}, with a rightward arrow labeled “QM” leading to ≈ 4.546 (standard deviation*).

A downward arrow labeled “( )²” points to {36, 1, 25}.

From {36, 1, 25}, a rightward arrow labeled “AM” points to 45⅓ (variance*).

An upward arrow labeled “√( )” connects 45⅓ back to 4.546.
At the bottom, the label reads “Quadratic Mean.”

A footnote adds: “*Technically this is for a population variance and standard deviation. If this were for a sample, we’d actually divide by n - 1 instead of n to account for underestimating the variability, so the sample standard deviation would be √62 ≈ 5.568.”

A diagram on a dark green background showing how the quadratic mean relates to variance and standard deviation. Top left: {−6, 1, 5}, with a rightward arrow labeled “QM” leading to ≈ 4.546 (standard deviation*). A downward arrow labeled “( )²” points to {36, 1, 25}. From {36, 1, 25}, a rightward arrow labeled “AM” points to 45⅓ (variance*). An upward arrow labeled “√( )” connects 45⅓ back to 4.546. At the bottom, the label reads “Quadratic Mean.” A footnote adds: “*Technically this is for a population variance and standard deviation. If this were for a sample, we’d actually divide by n - 1 instead of n to account for underestimating the variability, so the sample standard deviation would be √62 ≈ 5.568.”

It turns out we can instead use the quadratic mean, aka the root mean square (RMS).

Squaring makes all the deviations positive, and square rooting at the end gets us back to our original units.

(BTW, here's a video on why squaring really is the best choice:
www.youtube.com/watch?v=q7se...)

[15]

09.10.2025 02:22 — 👍 4    🔁 0    💬 2    📌 0
A slide on a dark red background showing a data set and its mean and deviations.

Data: 10, 17, 21.

Arithmetic mean: AM{10, 17, 21} = (10 + 17 + 21) / 3 = 16.

Deviations listed:
10 − 16 = −6
17 − 16 = 1
21 − 16 = 5

On the right, under “Average deviation,” it shows AM{−6, 1, 5} = 0…?!, showing that the deviations cancel out.

A slide on a dark red background showing a data set and its mean and deviations. Data: 10, 17, 21. Arithmetic mean: AM{10, 17, 21} = (10 + 17 + 21) / 3 = 16. Deviations listed: 10 − 16 = −6 17 − 16 = 1 21 − 16 = 5 On the right, under “Average deviation,” it shows AM{−6, 1, 5} = 0…?!, showing that the deviations cancel out.

Let's look at one more application.

In statistics, we often want to describe not just the center but the spread of a data set.

The first thing most people try is averaging the deviations — but the overs will always cancel out the unders and give zero. So what can we do?

[14]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0
A diagram on a brown background illustrating the general process for finding an f-mean.

Top left: {a, b}, with a rightward arrow labeled “M_f” pointing to M_f{a, b} on the right.

A downward arrow labeled “f( )” leads from {a, b} to {f(a), f(b)}.

From {f(a), f(b)}, a rightward arrow labeled “AM” points to AM{f(a), f(b)}.

An upward arrow labeled “f⁻¹( )” connects AM{f(a), f(b)} back to M_f{a, b}.

At the bottom, the label reads “f-Mean.”

A diagram on a brown background illustrating the general process for finding an f-mean. Top left: {a, b}, with a rightward arrow labeled “M_f” pointing to M_f{a, b} on the right. A downward arrow labeled “f( )” leads from {a, b} to {f(a), f(b)}. From {f(a), f(b)}, a rightward arrow labeled “AM” points to AM{f(a), f(b)}. An upward arrow labeled “f⁻¹( )” connects AM{f(a), f(b)} back to M_f{a, b}. At the bottom, the label reads “f-Mean.”

It turns out these are both examples of a more general idea called an "f-mean." Here's the basic idea:

1. Apply some function f to your data.
2. Find the arithmetic mean.
3. Undo f with the inverse function f⁻¹.

The geometric mean uses f(x) = log x, and the harmonic mean uses f(x) = 1/x.

[13]

09.10.2025 02:22 — 👍 6    🔁 0    💬 1    📌 0

The harmonic mean is also useful for problems involving rates!

Say you travel 60 miles going 30 mph, and another 60 miles going 20 mph. What's your average speed?

See if you can convince yourself why the harmonic mean makes sense here.

Hint: average speed = total distance / total time.

[12]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0

One quick side "note" — that E isn't QUITE 660 Hz.

The 12-note chromatic scale many of us are accustomed to uses a geometric progression to evenly space the notes out.

So since a perfect fifth is 7 semitones, the real frequency is 440 · 2^(7/12) ≈ 659.255 Hz.

But hey, still pretty close!

[11]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0
A diagram on a dark purple background showing how the harmonic mean relates to reciprocals and the arithmetic mean.

Top left: {1/5, 1/7}, connected by a rightward arrow labeled “HM” to 1/6 on the right.

A downward arrow labeled “1/( )” leads from {1/5, 1/7} to {5, 7}.

From {5, 7}, a rightward arrow labeled “AM” points to 6.

An upward arrow labeled “1/( )” connects 6 back to 1/6.

At the bottom, the label reads “Harmonic Mean.”

A diagram on a dark purple background showing how the harmonic mean relates to reciprocals and the arithmetic mean. Top left: {1/5, 1/7}, connected by a rightward arrow labeled “HM” to 1/6 on the right. A downward arrow labeled “1/( )” leads from {1/5, 1/7} to {5, 7}. From {5, 7}, a rightward arrow labeled “AM” points to 6. An upward arrow labeled “1/( )” connects 6 back to 1/6. At the bottom, the label reads “Harmonic Mean.”

Again, why did this work?

Well, in physics, you learn that frequency and wavelength are inversely proportional. So can we do as follows:

1. Take the reciprocals of the data.
2. Find the arithmetic mean.
3. Undo the reciprocal with another reciprocal.

That's the harmonic mean.

[10]

09.10.2025 02:22 — 👍 6    🔁 0    💬 1    📌 0
A formula for the harmonic mean on a dark purple background. It shows “HM{1, ½} = 2 / (1/1 + 1/(½)) = 2/3,” with the label “Harmonic Mean” in bold.

Below is a violin with four labeled points along one string:

“A440 (open)” near the scroll for the full-length string,

A dotted line with an X about 1/4 of the way long the string, showing the incorrect location for E660.

“E660!” about 1/3 of the way along the string, that is, making the string 2/3 of its usual length.

“A880” halfway between the scroll and the bridge, indicating the octave point where the string length is halved.

A formula for the harmonic mean on a dark purple background. It shows “HM{1, ½} = 2 / (1/1 + 1/(½)) = 2/3,” with the label “Harmonic Mean” in bold. Below is a violin with four labeled points along one string: “A440 (open)” near the scroll for the full-length string, A dotted line with an X about 1/4 of the way long the string, showing the incorrect location for E660. “E660!” about 1/3 of the way along the string, that is, making the string 2/3 of its usual length. “A880” halfway between the scroll and the bridge, indicating the octave point where the string length is halved.

It turns out we need to use the harmonic mean: flip the string fractions upside-down, add, and divide 2 (the number of values) by the result.

So I have to place my finger to make the vibrating string 2/3 as long.

(BTW, if you lightly touch here, you get what's called a "string harmonic!")

[9]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0
A viola on a dark purple background with three labeled points along the A string:

Near the scroll, “A440 (open)” marks the full string length.

Along the neck, “E660?” indicates the conjectured location for the note E.

“A880” marks the halfway point between the scroll and the bridge, one octave above the open A.

A viola on a dark purple background with three labeled points along the A string: Near the scroll, “A440 (open)” marks the full string length. Along the neck, “E660?” indicates the conjectured location for the note E. “A880” marks the halfway point between the scroll and the bridge, one octave above the open A.

When I used to play viola in high school (alto clef represent!) I tuned to A440. An octave up the A string (making it half as long) is A880, and a perfect fifth is E660. (Almost — more on that later.)

Where should I put my finger to play that E?

It's NOT halfway to the octave mark!

[8, lol]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0

By the way, I'm using "trick" and "procedure" here because I don't think they're dirty words in math.

They highlight how useful — and fun — it is to recognize structure and turn it into a reusable technique.

(As long as we understand WHY they work.)

So how else can we use this trick?

[7]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0

It turns out that this "do A, do B, undo A" trick is one of the most useful algebraic techniques out there!

* Linear algebra → change of basis
* Group theory → conjugation (Rubik's cubes!)
* Differential equations → Laplace/Fourier transform

It's all about shifting your perspective.

[6]

09.10.2025 02:22 — 👍 7    🔁 0    💬 1    📌 0
A diagram on a dark blue background showing how the geometric mean relates to logarithms and the arithmetic mean.

Top left: {10⁵, 10⁷}, connected by a rightward arrow labeled “GM” to 10⁶ on the right.

A downward arrow labeled “log( )” leads from {10⁵, 10⁷} to {5, 7}.

From {5, 7}, a rightward arrow labeled “AM” points to 6.

An upward arrow labeled “10( )” connects 6 back to 10⁶.

At the bottom, the label reads “Geometric Mean.”

A diagram on a dark blue background showing how the geometric mean relates to logarithms and the arithmetic mean. Top left: {10⁵, 10⁷}, connected by a rightward arrow labeled “GM” to 10⁶ on the right. A downward arrow labeled “log( )” leads from {10⁵, 10⁷} to {5, 7}. From {5, 7}, a rightward arrow labeled “AM” points to 6. An upward arrow labeled “10( )” connects 6 back to 10⁶. At the bottom, the label reads “Geometric Mean.”

The trick is to use logarithms to extract the exponents!

We do a three-step procedure:

1. Take logarithms of the value.
2. Find the arithmetic mean.
3. Undo the logarithm with an exponential function.

What we get is the geometric mean.

(Fun exercise: check this algebraically!)

[5]

09.10.2025 02:22 — 👍 5    🔁 0    💬 2    📌 0

When we humans make low and high guesses, our over- and under-estimates are often off by an order of magnitude, NOT by a fixed linear width.

If, say, 10⁵ is too small, and 10⁷ is too large, then 10⁶ is often "just right."

So in what sense can we say 10⁶ in the "center" of 10⁵ and 10⁷?

[4]

09.10.2025 02:22 — 👍 6    🔁 0    💬 1    📌 0
A formula for the geometric mean on a dark blue background. It shows “GM{250, 4000} = √(250 × 4000) = 1000,” with the label “Geometric Mean” in bold below.

A formula for the geometric mean on a dark blue background. It shows “GM{250, 4000} = √(250 × 4000) = 1000,” with the label “Geometric Mean” in bold below.

We can get a more reasonable estimate with what's called the geometric mean: multiply the values and take a root (here a square root, since there were 2 numbers).

This gives a much better estimate — as you can check on Wikipedia.

But why did this work? How would anyone think to try this?

[3]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0

Let's say you're trying to estimate the weight of a moose.

250 lb (a bit more than me) is too low.
4000 lb (roughly a car) is too high.

So what might be a good "mid-range" guess?

The arithmetic mean would be 2125. But that seems a bit high somehow.

Can we do better?

[2]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0
A formula for the arithmetic mean on a dark red background. It shows “AM{5, 7} = (5 + 7)/2 = 6,” with the label “Arithmetic Mean” in bold below.

A formula for the arithmetic mean on a dark red background. It shows “AM{5, 7} = (5 + 7)/2 = 6,” with the label “Arithmetic Mean” in bold below.

Let's start with ol' reliable: the arithmetic mean. The average.

What it does is find the number that's in the "center" of a given data set by "redistributing" the sum evenly across all the values.

But as anyone who's studied triangles knows, there may be multiple kinds of "center!"

[1]

09.10.2025 02:22 — 👍 5    🔁 0    💬 1    📌 0
A four-panel graphic showing formulas for four types of means. Each panel includes the formula and the name of the mean in bold text below.

Top left (red background): Arithmetic Mean, labeled “AM = (x₁ + ⋯ + xₙ) / n.”

Top right (dark blue): Geometric Mean, labeled “GM = ⁿ√(x₁ ⋅ … ⋅ xₙ).”

Bottom left (purple): Harmonic Mean, labeled “HM = n / (1/x₁ + ⋯ + 1/xₙ).”

Bottom right (dark green): Quadratic Mean, labeled “QM = √((x₁² + ⋯ + xₙ²) / n).”

A four-panel graphic showing formulas for four types of means. Each panel includes the formula and the name of the mean in bold text below. Top left (red background): Arithmetic Mean, labeled “AM = (x₁ + ⋯ + xₙ) / n.” Top right (dark blue): Geometric Mean, labeled “GM = ⁿ√(x₁ ⋅ … ⋅ xₙ).” Bottom left (purple): Harmonic Mean, labeled “HM = n / (1/x₁ + ⋯ + 1/xₙ).” Bottom right (dark green): Quadratic Mean, labeled “QM = √((x₁² + ⋯ + xₙ²) / n).”

I've been thinking a lot about means recently!

Probably some combination of (1) teaching our data analysis unit in our STEM 101 course at Oglethorpe and (2) all of @howiehua.bsky.social's great posts surrounding Mean Girls Day.

I'd like to show how some of these various means are related.

🧵 [0]

09.10.2025 02:22 — 👍 26    🔁 6    💬 2    📌 0

But they did suggest that I’d be a better fit for PRIMUS, which seems more my bag anyway?

02.10.2025 13:57 — 👍 5    🔁 0    💬 1    📌 0

Welp, looks like my Erdős number is still infinity. 🙃

(My journal submission based on my dissertation research got outright rejected.)

02.10.2025 13:29 — 👍 4    🔁 0    💬 2    📌 0

…no idea what that link is supposed to be. I think I had a period spacing issue somewhere along the line and BlueSky assumed I was giving a link…?

25.09.2025 10:17 — 👍 0    🔁 0    💬 1    📌 0

@solidangles is following 20 prominent accounts