Drilling 3 orthogonal holes through a cube

Posted on 2004-08-16
Last Modified: 2006-11-17
I have a solid cube with its dimensions 1 unit in length. I have drill-bit of 1 unit in diameter.
I drill a hole through the centre of each face through to the other side.
When I have finished I am left with 8 identicle corner shapes.

Can anyone tell me what the volume is of one of these corner bits?
Question by:JR2003
  • 6
  • 3

Expert Comment

ID: 11816047
The intersection of the three holes is a sphere of diameter 1, because it is the only solid which has circles as projections along the three axes.

The volume of the pieces left is: volume of the cube, less 3 x volume of a cylindrical hole + 2 x volume of the sphere (because we want to count it only once).

Expert Comment

ID: 11816239
I was convinced of what I said in my previous comment, but the numbers don't work out: if the edge of the cube is 2*r, the volume calculated as I said is (2r)³ - 3*(PI*r²*2r) + 2*(4/3 *PI* r³) = 8r³ - 6*PI*r³ + 8/3*PI*r³ = 8r³*(1 - PI*5/12).

With r = 1/2, the volume left is 1 - PI*5/12 = approx -0.309, but volumes cannot be negative!

Sorry, I have to think about it a bit longer...

Expert Comment

ID: 11816257
Actually, the intersection is not a sphere.  The page
contains the solution you are looking for
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Accepted Solution

PointyEars earned 500 total points
ID: 11816283
That page says that the intersection is an octahedron and that the volume of the resulting solid (that is, of the three cylinders) is (16 - sqrt(128)) r³.  Then, the volume left is:
8r³*[sqrt(2) - 1] =
For r = 1/2 you get a residual volume of sqrt(2) - 1 = 0.4142...
LVL 18

Author Comment

ID: 11816380

Thanks for the link.

Yes, it would be quite impressive to see a perfect sphere being cut with just 3 shots of a circular drill saw.

What I really want is to see how the formula arrived at.

I tried to work it out for myself but got into a bit of a mess with the 3 dimensional integration.


Expert Comment

ID: 11816408
Well, your question asked for the value, not how to derive the formula...   ;-)

My clock shows 02:04 AM.  I'll have to go to bed now...
LVL 18

Author Comment

ID: 11816433
Thanks for you answer I've found the link very interesting.

Expert Comment

ID: 11818234
Thank you JR2003.

I did try to calculate the volume of one of the 8 pieces left.  To visualise it, draw the three axes as follows:

                                   |  y
                                   | *
                                   |   *
                                   |      *
                                   +----------*---------  x
                         /  z

The z-axis should be at 45 degrees.  I have also drawn the hole intersection with the xy face.  Consider the radii to be == 1.  At the end, you only need to multiply the result by r³ to have the generic volume formula.

The three circles have equations:
  (x - 1)² + (y - 1)² = 1
  (x - 1)² + (z - 1)² = 1
  (y - 1)² + (z - 1)² = 1

If you draw the other two holes and imagine the three cylinders, you will see that they meet in a point that, looking at the drawing, should be a bit higher and on the right of the origin.  That point, being the intersection of the three cylinders, has all three coordinates = 1 - sqrt(2)/2.  Let's call this point C (C for cusp) and indicate with "A" the value 1 - sqrt(2)/2.

The parallel to the Z axis passing through C intersects the circle on xy in the point Pxy = (A,A,0).  Similarly, the parallel to the Y axis through C intersect the circle on xz in the point Pxz = (A,0,A).  The parallel to the Y axis through Pxy and the parallel to the Z axis through Pxz meet on the X axis in the point Px = (A,0,0).

Now, the four points C, Pxy, Pxz, and Px form a square of side A.  The volume of the pyramid formed by the square itself and the origin is given by A³/3, because the height along the X axis is precisely A.

Now we have to calculate the other funny shape left for x comprised between A and 1.  This is defined by the X axis and by three curves: an arc of circle on the xy plane, an arc of circle on the xz plane, and the arc of intersection between the two cylinders with axes perpendiclar to the xy and xz planes.

Now it is time to resolve (x - 1)² + (y - 1)² = 1.  It gives y = sqrt(2x - x²) - 1.  Similarly,
z = sqrt(2x - x²) - 1.

The intersections of the funny shape with planes parallel to the yz plane are all squares delimited by points with coordinates
  (x,sqrt(2x - x²) - 1,0)
  (x,0,sqrt(2x - x²) - 1)
  (x,sqrt(2x - x²) - 1,sqrt(2x - x²) - 1)

The area of these intersections is therefore given by (sqrt(2x - x²) - 1)².  To calculate the volume you only need to integrate (sqrt(2x - x²) - 1)²dx for x between A and 1.  You then add A³/3 and you have the volume of 1/3 of one of the 8 pieces left after drilling the holes.

The integral should be calculable (but I am a bit rusty with those).  Whether the final result is
  8*(1 - PI*5/12)
I cannot really say.  sqrt(2x -x²) = sqrt(1 - t²) with t = x-1.  You can then possibly set t = sin(a) and get rid of the sqrt.  The PI in the result will probably come out of an arctg (or arcsin or arccos) function.
LVL 18

Author Comment

ID: 11818369
Part 2 of the question is now open, if you want the points you need to put answers in there:

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Finite Automata 10 54
Octane 98 vs 95 petrol / gasoline : mileage,  pros & cons 10 128
Whisker Plot 1 43
Quadratic Equation 5 73
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question