daily pastebin goal
42%
SHARE
TWEET

Martini Glass solution

a guest May 16th, 2016 335 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Start with a rectangular co-ordinate system tied to the glass, with the origin at the the conical vertex, z being the vertical direction, and +x the direction of tilt. Assume for now that the sides of the glass are 45 degrees off horizontal.
  2.  
  3. Consider the shape the water makes with and without tilt in this co-ordinate system. What we want is a linear transformation that transforms the upright shape into the tilted shape. There are two hard requirements for such a linear transformation.
  4.  
  5. 1. It must preserve volume.
  6. 2. It must respect the conical glass boundary.
  7.  
  8. If we examine the second requirement, we see that it implies that vectors which are angled 45 degrees off horizontal transform into vectors which preserve that angle, but are perhaps rotated. If we momentarily interpret the z-axis as a time direction, it implies that vectors with some specific speed remain at that speed after transformation. This resembles a postulate of Special Relativity, and immediately suggests the Lorentz transform as a candidate.
  9.  
  10. Going back to our original interpretation, the Lorentz transform has this matrix for our purposes.
  11.  
  12.     [ y   0  -yb ]
  13. L = [ 0   1   0  ]
  14.     [-yb  0   y  ]
  15.  
  16. Here b is some number to be determined in the interval (-1, 1) and y = 1/sqrt(1 - b^2). This transformation respects the conical boundary by virtue of the original Lorentz transformation preserving the space-time interval.  One can also confirm directly that the transformation preserves volume.
  17.  
  18. One nice thing about this transformation is that the vectors (1, 0, 1) and (-l, 0, 1) are both eigenvectors of L. These represent the directions of maximum and minimum 'height' along the wall of the glass when tilted.
  19.  
  20. Now consider a vector along the glass wall in the direction of tilt to the untilted surface. The length of this vector is kp, where k is some constant. When we apply transformation L, the length of the transformed vector must be k. Therefore, the eigenvalue of the vector must be 1/p. It can be calculated that this eigenvalue is also equal to sqrt((1+b)/(1-b)), so b must be chosen so that this quantity equals 1/p.
  21.  
  22. At the same time, the vector that goes to the untilted surface along the glass wall away from the tilt is also an eigenvector with length kp. Its eigenvalue can be calculated to be sqrt((1-b)/(1+b)), which is the reciprocal of the previously calculated eigenvalue. Therefore, the length of the transformed vector is kp^2, and the height up the glass opposite the direction of tilt must be p^2.
  23.  
  24. If the angle of the glass walls off horizontal is not 45 degrees, one can use a modified transformation M = VL(V^-1), where V is a simple vertical scaling that transforms a 45 degree slope cone to the desired slope. This does not change the result of the calculation.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top