I remember reading and solving this the problem as the end of the article (“A six inch high cylindrical hole is drilled through the center of a sphere. How much volume is left in the sphere?”) as a kid. I did it the hard way using the formula's, but the whole point of the puzzle was what this article called the "cheat" answer. It reduces the solution to utter simplicity by application of some elegant logic. It's not…
It only wouldn't be a cheat if the question were framed as "Surprisingly, the volume of the ring is constant, regardless of the radii of the sphere and circle. What is that constant volume?" Otherwise, you don't really know your answer is correct. Maybe, they wanted the answer in terms of R1 and R2. And if you are able to trick them into confirming it, then you're essentially using social engineering to leverage some…
Cylinders in Spheres
51–60 of 60 posts
Re: Cylinders in Spheres
#52It would be nice to construct a first order correction term. Any ideas?
Re: Cylinders in Spheres
#53*citation: Tom Hanks in "Castaway"
Re: Cylinders in Spheres
#54Earlier quoted context omitted.
#2 is 3/Pi. It's a good puzzle and it helps to know the answer :)
Maybe it's just me, but that one could use better wording. Because of the "exactly one foot apart" phrase, I interpreted it to mean that there are only two parallel lines, which obviously makes it a poorly defined problem. I probably would have understood it if the phrase was replaced by "at one foot intervals."
Re: Cylinders in Spheres
#55Nice, I especially appreciate the "cheat answer" to the Gardner Puzzle at the bottom of the page. I have found that kind of meta-reasoning about questions quite useful, on exams and in games like Trivial Pursuit, for example.
Looking at the other comments, it seems like most people really like the cheat. I admit it's very cute, and you're absolutely right that this sort of thinking can be helpful in artificial situations like exams and games --- I've used it myself. That artificiality is why I don't really like that approach, though. It's a brand of thinking that generally works only on artificial problems, because the key component ("you…
Perhaps changing the footnote hint "no more information is given" to an integral part of the problem spec, and saying "no more information is required", would make the problem less artificial. There would then be a self-referencial component in the problem definition, self-referentiality being fairly common in nature and engineering.
Re: Cylinders in Spheres
#56Regardless, deserves an upvote just for the cheat answer at the end. I like that kind of reasoning!
Re: Cylinders in Spheres
#571) The area of a circle has a fixed ratio to the area of a square inscribed in that circle.
2) Therefore the volume of a cylinder has a fixed ratio to the volume of a square box of the same height, which sits inside that cylinder.
3) Therefore the biggest cylinder corresponds to the biggest box that can fit inside the sphere.
4) That box is obviously a cube, because what else could it be?
5) If a cube is inscribed in a unit sphere centered at the origin, the corners have coordinates ±1/√3, ±1/√3, ±1/√3.
6) Now you can calculate the volume of the cylinder in your head. Do it!
Re: Cylinders in Spheres
#58I solved the puzzle in my head before getting to the second paragraph in the article. Here's the reasoning: 1) The area of a circle has a fixed ratio to the area of a square inscribed in that circle. 2) Therefore the volume of a cylinder has a fixed ratio to the volume of a square box of the same height, which sits inside that cylinder. 3) Therefore the biggest cylinder corresponds to the biggest box that can fit ins…
Re: Cylinders in Spheres
#59I solved the puzzle in my head before getting to the second paragraph in the article. Here's the reasoning: 1) The area of a circle has a fixed ratio to the area of a square inscribed in that circle. 2) Therefore the volume of a cylinder has a fixed ratio to the volume of a square box of the same height, which sits inside that cylinder. 3) Therefore the biggest cylinder corresponds to the biggest box that can fit ins…
Congrats! But I hope all that is a humblebrag, not a reflection of your standards as a technical interviewer ;-)
When I was a bit younger, I was in fact the typical asshole interviewer who would ask lambda calculus questions. Now I mostly stay away from interviewing, because I can emphasize much more with the pressure that candidates feel.
Re: Cylinders in Spheres
#60I solved the puzzle in my head before getting to the second paragraph in the article. Here's the reasoning: 1) The area of a circle has a fixed ratio to the area of a square inscribed in that circle. 2) Therefore the volume of a cylinder has a fixed ratio to the volume of a square box of the same height, which sits inside that cylinder. 3) Therefore the biggest cylinder corresponds to the biggest box that can fit ins…
It would follow straightforwardly if we knew that the largest rectangle in a circle is a square.
The easiest way I can think of right now to see this is by Lagrange optimization (which we could also apply just as well directly to the 3d problem): the area of a rectangle of width and height has a gradient of , which can only be normal to the circle (which has normal vector ) when x = y.
Another way is to think of as proportional to ; the area is then cos(t) * sin(t), which is proportional to sin(2t), and thus clearly maximized when x = y.