Maximize volume of ball in wine glass

  • Context: Undergrad 
  • Thread starter Thread starter rcgldr
  • Start date Start date
  • Tags Tags
    Ball Glass Volume
Click For Summary
SUMMARY

The discussion focuses on determining the optimal diameter of a ball that maximizes the volume displaced when placed in a wine glass, specifically modeled as an upside-down circular pyramid. Key considerations include the ball's density, whether it sinks or floats, and the geometric constraints of the glass. Three distinct cases are outlined for calculating displaced volume: completely submerged, partially submerged with tangential contact, and resting on top of the glass. The conversation also highlights the complexity of deriving the volume equations and the potential use of trigonometric identities in simplifying the calculations.

PREREQUISITES
  • Understanding of geometric shapes, specifically upside-down circular pyramids.
  • Knowledge of volume displacement principles in fluid mechanics.
  • Familiarity with trigonometric functions and identities.
  • Basic calculus for solving equations related to volume maximization.
NEXT STEPS
  • Explore the mathematical principles of volume displacement in fluids.
  • Learn about the application of Lagrange multipliers in optimization problems.
  • Study the derivation of volume equations for various geometric shapes.
  • Investigate the use of trigonometric identities in simplifying complex equations.
USEFUL FOR

Mathematicians, engineers, physics students, and anyone interested in solving optimization problems involving fluid displacement and geometric constraints.

rcgldr
Homework Helper
Messages
8,946
Reaction score
687
Given a wine glass with angle theta, height h, what diameter ball, when placed in the wine glass will displace the most volume?
 
Physics news on Phys.org
hmmm. I guess you'd need to know the density of the ball and the density of wine. A ball that sinks would displace more volume than say a ping pong ball which would virtually sit on the top of the liquid, or a wood ball which would also float, but would have a significant amount of its mass below the surface.

A wine glass usually has a curved side. This sounds more like a Martini glass. Is the shape of this glass like an upside-down pyramid with a circular base?

Does the ball need to fit completely in the glass, or can the ball sit on the rim of the glass, with its bottom protruding down into the liquid, which would make me want to say "on the glass" rather than "in the glass"?

If the ball is not allowed to sit on the rim of the glass, and the glass is an upside down circular pyramid, and the ball is assumed to sink, then you just need to compute the largest ball that will fit in the glass.
 
tony873004 said:
Does the ball need to fit completely in the glass, or can the ball sit on the rim of the glass, with its bottom protruding down into the liquid, which would make me want to say "on the glass" rather than "in the glass"?
Your choice.

If the ball is not allowed to sit on the rim of the glass, and the glass is an upside down circular pyramid, and the ball is assumed to sink, then you just need to compute the largest ball that will fit in the glass.
Amongst balls that fit in the glass (depending on just what you mean by that)... why do you think the largest one displaces the most volume?
 
Hurkyl said:
Amongst balls that fit in the glass (depending on just what you mean by that)... why do you think the largest one displaces the most volume?

Is my intuition failing me?? :)
 
Well, a large ball can't fit in very deeply, so it's not clear that it can displace more wine!
 

Attachments

  • wine.PNG
    wine.PNG
    842 bytes · Views: 461
  • wine2.PNG
    wine2.PNG
    694 bytes · Views: 489
Last edited:
ok, I was thinking that it would have to completely fit in the glass, slightly smaller than your 2nd image. I guess I wasn't thinking outside the box, er... wine glass.
 
tony873004 said:
ok, I was thinking that it would have to completely fit in the glass, slightly smaller than your 2nd image. I guess I wasn't thinking outside the box, er... wine glass.
That's why I said it depends on what you meant by "in the glass". :smile:
 
tony873004 said:
ok, I was thinking that it would have to completely fit in the glass, slightly smaller than your 2nd image. I guess I wasn't thinking outside the box, er... wine glass.

In terms of setting up equations there are really three separate cases (as in three regions for which the volume displaced is governed by three different formulas).

The first case is where the ball is small enough to be completely submerged (the least interesting case).

The second case is where the ball is large enough that its top protrudes from the top of the glass but not so large that it can't fit in the glass with its contact points tangential to the glass. This is the most interesting case and probably the region where the maximum lays.

The third case is where the ball is too large to contact the sides of the glass tangentially and so it more or less just sits on top of the glass.
BTW. It's an interesting problem Jeff, where did this one come from?
 
Last edited:
Before tackling this puzzle, might I recommend Jeff try a few martinis?
 
  • #10
uart said:
BTW. It's an interesting problem Jeff
Has a pretty answer too, at least if I haven't flubbed it up.
 
  • #11
Hurkyl said:
Has a pretty answer too, at least if I haven't flubbed it up.

A pretty answer! Dam it looks like my solution can't be correct. I found the displaced volume to be a cubic function of "r" in the second region I outlined above. My solution is a pretty messy looking root of a quadratic with lots of cosecants and cotan's. Maybe there are some trig identities in there that I haven't yet seen to simplify it.

I'm guessing that you haven't posted your solution yet because you don't want to spoil everyone else fun whereas I haven't posted my solution yet because it's so ugly that I'm embarrassed to. :)BTW Hurkyl, just a quick numerical check to see if my ugly solution could be correct. What do you get if you take theta = pi/3 (that's the full angle at the base of the glass ok) and height h = 10cm ? I get the radius of 5cm gives maximum displacement for this numerical case. How does that compare with your solution?
 
  • #12
uart said:
BTW Hurkyl, just a quick numerical check to see if my ugly solution could be correct. What do you get if you take theta = pi/3 (that's the full angle at the base of the glass ok) and height h = 10cm ? I get the radius of 5cm gives maximum displacement for this numerical case. How does that compare with your solution?
I concur. Try drawing the solution.
 
  • #13
Reviewing my work, I think I made an error and my solution only works for that particular angle. :frown: (but it still looks like you shouldn't have to solve a cubic!)
 
  • #14
Oh yeah that was like a special case where exactly half the ball was below the top of the glass and exactly half above. But that is not always the case with my solution. If for example I use theta=2*pi/5 (72 degrees) and again h=10cm then I get r=6.55cm (to 2 dp) to displace maximum volume. I don't notice gemoetrically special about this case when I graph it.

Edit. I first posted this before I read your last post. No I didn't need to solve a cubic, the function was a cubic and I needed to find the turning points so it was only solving a quadratic. The solution was ugly because the coefficients of the quadratic where messy trig functions of the angle.
 
Last edited:
  • #15
Well, it's getting late, so I'll just doodle down a few trivialities first, that all have jotted down, I presume:

Assuming theta is the angle between the axis and the cone side (rather than twice this, i.e, the opening angle), the angle between the tadius from the ball centre (i.e, radius) to the tangential point of contact and the axis must be pi/2-theta, since the radius is orthogonal to the tangent line made by the cone's side.
Thus, the contact circle has radius Rsin(pi/2-theta)=Rcos(theta), where R is the radius of the ball. I'm sure I need this somewhere, perhaps I'll finish this tomorrow. :smile:
 
  • #16
uart said:
The solution was ugly because the coefficients of the quadratic where messy trig functions of the angle.
It factors. And I didn't use the angle until the very end of the problem; the arithmetic is probably a lot simpler that way.
 
  • #17
thats a cocktail glass, a (red) wine glass is shaped more like a tulip to maximize surface area wrt volume.
 
  • #18
martini - cocktail glass.
Yes, I meant martini glass.

uart said:
It's an interesting problem Jeff, where did this one come from?
My dad, who was a civil engineer (he passed away back in 1990) mentioned this problem to me and my half brothers. I'm not sure of the original source, but my guess is that it was typical of the type of math puzzles that math and engineering students got involved with back in the 1940's.

One of my half brothers mentioned that a 2 dimensional solution should probably work, but I never got a follow up from him. Assuming he did solve it, I just wanted a "second opinion" to see if the solution is correct. I'm assuming that what is needed is the derivative of the integrals to calculate the displaced volume.
 
Last edited:
  • #19
Ok I'll post my slightly ugly solution. It was even worse but it looks a bit better now that I at least factored out h. I think it's correct, though I'm sure that someone who's a whiz with trig identities could pound it a bit more into shape.\frac{r}{h} = \frac{\cot^{2}(q) - \sqrt{ \cot^{4}(q) - \csc^{4}(q) + 3 \, \csc^{2}(q) - 2 \, \csc(q)}} {2 + \csc^{3}(q) - 3 \, \csc(q)}PS. q = \theta /2 is the angle measured from the axis of symmetry at the bottom of the glass.
 
Last edited:
  • #20
Ok I decided not to be so lazy and have a go at simplifying it. I got it down to,

\frac{r}{h} = \frac{\sin(q) - \sin^{2}(q)} {2 \, \sin^{3}(q) - 3 \, \sin^{2}(q) + 1}
 
  • #21
Thanks, I'll have to search around through my "archives" to see if I got the same or similar answer. Hurkyl, did you get a similar answer?
 
  • #22
Jeff Reid said:
Thanks, I'll have to search around through my "archives" to see if I got the same or similar answer. Hurkyl, did you get a similar answer?
I know the answer is a rational function in sin(q), so it has the right form. I solved it w.r.t. x (where (h - x) sin q = r), and I was too lazy to convert from x to r.
 
  • #23
Personally, I would use lagrange multipliers for this problem. Draw a function for the volume occupied by a ball of diameter d and bound it by a function representing the upsidown cone that is the martini glass. The rest is easy. Take the gradient of both functions, and plug all portions of the gradients into the equation

del f=lambda*del g

Where f is the function for the ball and g is the function for the glass.

Solve for lambda in each portion and equalize the equations. Solve for each variable with respect to the others, and plug these equations into the equation for the glass and gain variables from each. These should be your extremes. Then find the maximum points out of your choices.

EDIT: However. Given that I'm bringing up a completely new subject, I think you should stick to the other suggestions. lol.
 
  • #24
Jeff Reid said:
One of my half brothers mentioned that a 2 dimensional solution should probably work, but I never got a follow up from him.
It will not.
 
  • #25
This was a keeper.

Thanks.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
3
Views
3K
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 21 ·
Replies
21
Views
11K
  • · Replies 4 ·
Replies
4
Views
10K
  • · Replies 3 ·
Replies
3
Views
4K