Different Perspectives on Achieving the Mean of a Distribution

Using a small dataset , we can determine the mean value corresponding to five different perspectives on an equitable distribution. Within each perspective, use the slider to accomplish the desired goal.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


For each perspective, the choice of achieves a particular goal. By sliding the control for , you can explore different properties of the mean.
Snapshot 1: Colored bars represent data values. Choose to divide the total into equal parts to show that the mean represents a "fair share."
Snapshot 2: Towers represent data values. By varying , remove area from the taller bars and add it to the shorter bars. Choose so that all the bars are leveled off at the same height.
Snapshot 3: Circles on the number line represent data values. Each square represents the squared distance from an observation to . Choose to minimize the sum of the areas of the squares.
Snapshot 4: Circles with unit mass on the "teeter-totter" number line represent data values. The position of the fulcrum is given by . Choose to achieve balance.
Snapshot 5: The vector represents the dataset, is the -vector of all ones, and is the vector of differences. The different colors of the segments forming the vector represent the contributions of the coordinates to the norm of the vector. For example, since each component is equal, is made of five equal-length segments. The mean is determined by projecting onto .To find the projection, choose so that the angle between and is a right angle.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+