Find the height of sand in an hourglass

calculusgeometrytrigonometry

EDIT: I have made an important correction to the "previous question" link below… it was accidentally pointing to an unrelated question before.

I would also like to emphasize that I welcome any completely different approach to the question (solving for height as a function of "P") — not just a correction to/extension of my potentially flawed approach… the simpler the better, of course.

Also, I'm realizing that it's unclear whether I'm asking for a general solution for any shape that conforms to the described properties, or whether I'm asking for a specific, perhaps more elegant, solution specifically for the lemniscate of Bernoulli… or thirdly, for help completing my specific attempt at a solution. I am interested in all those things, so, honestly I don't really know what to do about that other than to break the question up into multiple separate questions. Hopefully it's OK as is.


Let's say we have an hourglass/"container-type" shape that when viewed in 2 dimensions is both horizontally and vertically symmetrical around its center… with its 3-dimensional "counterpart" being radially symmetric around its vertical axis. I have chosen the lemniscate of Bernoulli:

enter image description here

We imagine the "top" half is "full" of "sand" — or some imaginary substance that has a perfectly level surface.

Anyway, given that some percentage of the sand, P, has fallen to the bottom, how can we calculate the height of that sand as a function of P?

enter image description here

So that is the basic question. It's been years since the calculus days (assuming the answer can't be found an easier way), and I have spend days getting extremely confused by this.


My attempt at an answer and the reasoning for it:

Apparently it is true that it makes no difference if we use a 2 or 3-dimensional world in which to make this calculation (I have verified this with a previous question).

Further, since the shape is symmetrical, we can literally, cut this problem in half by plotting half of the lemniscate in the following way (in fact, we probably only need a quarter of it):

enter image description here

Setting a = 1:

enter image description here

Because we have cut the problem in half, for our purposes now, the the total amount of sand is equal to one quarter the area of the original lemniscate — the area under the curve of the above function on the interval (0,sqrt(2)):

enter image description here

This area = 0.5 because the area of a lemniscate is:

Area squared = 2 * a squared. (and a=1 as established already).

So let's say some amount of sand has fallen:

enter image description here

Now, we should be able to find the height, s, of that percent, P, of the sand in the bottom half… by solving for the upper limit of integration of:

enter image description here

Where f(x) is the "y =" function shown earlier.

However I'm stuck here because I can't find the integral of that function, presumably because it's not possible? I tried using integral-calculator.com and it says it's not possible.

To summarize, my general approach (for any shape) is:

  1. Establish a "f(x)" function representing half of the shape in its horizontal orientation
  2. Calculate the "total area of sand"
  3. For a given percentage of sand that has fallen, solve for the height of sand by using a limit of integration.

More importantly, though, I'm sure there is a better way to do this whole problem… maybe an ultra-simple geometric way exists for the lemniscate due to its unique properties?

Best Answer

I'll assume the hourglass is obtained by rotating the lemniscate about its axis of symmetry ($x$ axis). The volume of sand in the lower part is then $$ V=\int_{\sqrt2-h}^{\sqrt2}\pi y^2\,dx, $$ where $h$ is the height of sand. Hence: $$ P={\int_{\sqrt2-h}^{\sqrt2}\pi y^2\,dx \over \int_{0}^{\sqrt2}\pi y^2\,dx}. $$