Math Problem - 17

cmhardw

Premium Member
Joined
Apr 5, 2006
Messages
4,141
Location
Orlando, Florida
WCA ID
2003HARD01
YouTube
Visit Channel
Ok so I personally have not solved this problem before, but I got the problem from a friend. I figure now is as good a time as any to buckle down and try to solve it ;-)

Imagine the 3D Cartesian coordinate system with the x axis, y axis, and z axis all mutually orthogonal. Now imagine that you place an infinitely long cylinder around each axis with radius 1. What is the volume of the overlap region of all three cylinders?

To be a little more precise what is the volume of the overlap region of the following three surfaces?
x^2 + y^2 = 1
y^2 + z^2 = 1
x^2 + z^2 = 1

Chris
 
Last edited:
Wow, I didn't even understand what I need to find :D. I'm not so good with English terminology for maths.
 
(∫[ 2*x*sqrt(1-x^2) , x , 0 , sqrt(1/2) ])*24 - 2*(2^(3/2))
=16 - 8*sqrt(2)
≈4.68629
I'll post pretty explanatory pictures later.

(Later)
Aw, I can't hide http://archive.garron.us/img/2008/hardw_cyl_small.png with a spoiler and link it to http://archive.garron.us/img/2008/hardw_cyl.png.
Nevertheless, consider the image.

The white CSG object is the 3D shape in question.
I took it apart by taking 6 (yellow) covers off a cube (red) of side length sqrt(2).
Then, I took a fourth of such a cover (solid blue), WLOG defined by x^2+y^x<1, x<1/sqrt(2), x+y>0, x-z>0, y>0. The whole shape is made of 24 of these, and the middle cube.

The volume of the solid blue shape, vertical cross-section, dx:
Width: 2*x
Height: sqrt(1-x^2) - sqrt(1/2)

Interior Cube: (sqrt(2))^3

(∫[ 2*x * (sqrt(1-x^2)-sqrt(1/2)) , x , 0 , sqrt(1/2) ])*24 + (2^(3/2))
=16 - 8*sqrt(2) (Yes, lazy. Used Mathematica. Although I think I could do it by hand.)
≈4.68629
 
Last edited:
Perl approximately agrees:
perl -e "$n=999999;for(1..$n){$x=rand()**2;$y=rand()**2;$z=rand()**2;$x+$y<1&&$x+$z<1&&$y+$z<1&&$m++}print 8*$m/$n"
4.68675668675669
 
Last edited:
Why all the approximations?

Triple integral, in cylindrical coordinates is much easier. Lucas's pictures do really help in seeing this, though:
12*4*Int[Int[Int[r,z,0,r*sin(Θ)],Θ,0,π/4],r,0,R] = 48*-(√(2) - 2)R^3 / 6 = -8(√(2)-2)*R^3
 
Perl approximately agrees:
perl -e "$n=999999;for(1..$n){$x=rand()**2;$y=rand()**2;$z=rand()**2;$x+$y<1&&$x+$z<1&&$y+$z<1&&$m++}print 8*$m/$n"
4.68675668675669
I actually ran
Code:
t = 0; Do[{x, y, z} = Table[Random[], {3}];
If[(x^2+y^2)<1&&(x^2+z^2)<1&&(y^2+z^2)<1, t++], {10000000}];
8*t/10000000//N
to make sure my answer was right. :p
I get 4.6875 (t=5859370).
SD is about 0.00125, z-score ≈1 is not bad at all.
 
Back
Top