Maximize volume of ball in wine glass

In summary, the question is about finding the diameter of a ball that, when placed in a wine glass with angle theta and height h, will displace the most volume. The answer depends on the densities of the ball and the wine, as well as the shape of the glass and whether the ball is allowed to sit on the rim of the glass. The most interesting case is when the ball is large enough to protrude from the top of the glass but can still fit with its contact points tangential to the glass. There are three separate cases to consider, and the solution involves finding the turning points of a cubic function, which can be quite messy.
  • #1
rcgldr
Homework Helper
8,855
632
Given a wine glass with angle theta, height h, what diameter ball, when placed in the wine glass will displace the most volume?
 
Mathematics news on Phys.org
  • #2
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.
 
  • #3
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?
 
  • #4
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?? :)
 
  • #5
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: 400
  • wine2.PNG
    wine2.PNG
    694 bytes · Views: 440
Last edited:
  • #6
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.
 
  • #7
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:
 
  • #8
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:
  • #9
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.[tex] \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)} [/tex]PS. [tex]q = \theta /2[/tex] 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,

[tex] \frac{r}{h} = \frac{\sin(q) - \sin^{2}(q)} {2 \, \sin^{3}(q) - 3 \, \sin^{2}(q) + 1} [/tex]
 
  • #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.
 

What is the maximum volume of a ball that can fit inside a wine glass?

The maximum volume of a ball that can fit inside a wine glass is approximately 60% of the volume of the wine glass. This is because the ball must be able to fit through the opening of the wine glass and still have enough space to move around and settle.

What is the optimal shape for a ball to maximize its volume in a wine glass?

The optimal shape for a ball to maximize its volume in a wine glass is a sphere. This is because a sphere has the smallest surface area for a given volume, allowing it to fit into the wine glass with the least amount of wasted space.

Does the material of the ball affect its ability to maximize its volume in a wine glass?

Yes, the material of the ball can affect its ability to maximize its volume in a wine glass. For example, a ball made of a compressible material, like foam, can be compressed to fit through the opening of the wine glass and then expand to fill the space inside, allowing for a larger volume.

What other factors besides shape and material can affect the volume of a ball in a wine glass?

Other factors that can affect the volume of a ball in a wine glass include the size and shape of the opening of the wine glass, the thickness of the glass, and the amount of liquid already in the glass. These factors can impact the available space for the ball to fit and move around.

Are there practical applications for maximizing the volume of a ball in a wine glass?

Yes, there are practical applications for maximizing the volume of a ball in a wine glass, such as in the design of packaging or containers for fragile items. Knowing the maximum volume of a ball that can fit inside a certain size and shape of a container can help in creating efficient and protective packaging solutions.

Similar threads

Replies
2
Views
1K
  • Classical Physics
Replies
9
Views
912
Replies
10
Views
2K
  • Introductory Physics Homework Help
Replies
6
Views
181
Replies
2
Views
1K
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
969
  • General Math
Replies
17
Views
770
  • Introductory Physics Homework Help
Replies
18
Views
573
Back
Top