Some Triple Integrals for Mass

For an object with uniform density, the mass can be calculated as density times volume . For an object with nonuniform density, calculus is necessary. The idea is to partition the object into enough small cubes so that the density of each cube is approximately uniform. Then, the mass of the object, which is the sum of the masses of each of the cubes, can be approximated by the sum of the density times volume for each individual cube (i.e. if the object is partitioned into cubes with density and volume , then the mass of the object is ). The exact mass is the triple integral of the density function.


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


In practice, to find the mass of each individual cube within a partition, choose a representative point within the cube at which to evaluate the density function. Then, approximates the density of the cube and this approximation improves with smaller and smaller cubes. Thus the mass of an individual cube is and the mass of the entire object is . As the number of cubes increases to infinity, this tends to the triple integral: . This Demonstration chooses the midpoint of each cube as the point .
As a special note, snapshot 1 also calculates the volume of the object, because using density function implies that the mass equals the volume.
    • 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+