Averages/Pythagorean means: Difference between revisions

Restoring visibility to server-side formula graphics in task description (hidden by under-tested cosmetic edits of 23:05, 3 June 2016)
m (can throw divide by zero exception)
(Restoring visibility to server-side formula graphics in task description (hidden by under-tested cosmetic edits of 23:05, 3 June 2016))
Line 3:
{{task heading}}
 
Compute all three of the &nbsp; [[wp:Pythagorean means|Pythagorean means]] &nbsp; of the set of integers &nbsp; '''<big>1''' &nbsp;</big> through &nbsp; '''<big>10''' &nbsp;</big> (inclusive).
 
Show that &nbsp; <big><big><math> A(x_1,\ldots,x_n) \geq G(x_1,\ldots,x_n) \geq H(x_1,\ldots,x_n) </math></big></big> &nbsp; for this set of positive integers.
 
* The most common of the three means, the &nbsp; [[Averages/Arithmetic mean|arithmetic mean]], &nbsp; is the sum of the list divided by its length:
::::: <big><big><math> A(x_1, \ldots, x_n) = \frac{x_1 + \cdots + x_n}{n} </math></big></big>
 
* The [[wp:Geometric mean|geometric mean]] is the &nbsp; <math>n</math><sup>th</sup> &nbsp; root of the product of the list:
::::: <big><big><math> G(x_1, \ldots, x_n) = \sqrt[n]{x_1 \cdots x_n} </math></big></big>
 
* The &nbsp; [[wp:Harmonic mean|harmonic mean]] &nbsp; is &nbsp; <big><big><math>n</math></big></big> &nbsp; divided by the sum of the reciprocal of each item in the list:
::::: <big><big><math> H(x_1, \ldots, x_n) = \frac{n}{\frac{1}{x_1} + \cdots + \frac{1}{x_n}} </math></big></big>
 
* The most common of the three means, the &nbsp; [[Averages/Arithmetic mean|arithmetic mean]], &nbsp; is the sum of the list divided by its length:
::::: <big><big><math> A(x_1, \ldots, x_n) = \frac{x_1 + \cdots + x_n}{n} </math></big></big>
* The [[wp:Geometric mean|geometric mean]] is the &nbsp; <math>n</math><sup>th</sup> &nbsp; root of the product of the list:
::::: <big><big><math> G(x_1, \ldots, x_n) = \sqrt[n]{x_1 \cdots x_n} </math></big></big>
* The &nbsp; [[wp:Harmonic mean|harmonic mean]] &nbsp; is &nbsp; <big><big><math>n</math></big></big> &nbsp; divided by the sum of the reciprocal of each item in the list:
::::: <big><big><math> H(x_1, \ldots, x_n) = \frac{n}{\frac{1}{x_1} + \cdots + \frac{1}{x_n}} </math></big></big>
 
 
9,655

edits