The Startup
Published in

The Startup

Visualizing the Geometric and Harmonic Means

Long after I learned how to calculate the geometric and harmonic means, I was still unclear about what exactly they were doing for me. I ended up clarifying this to myself by generating a series of visualizations which I’ll show you in this post.

First, a quick review of the algorithms themselves.

The Pythagorean means. 𝑎 is a tuple/array/list. 𝑛 is the length of 𝑎. (∑ notation) (∏ notation)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store