# Geometry Problem

**URL:** <https://boards.straightdope.com/t/geometry-problem/327947>\
**Category:** Factual Questions\
**Created:** [October 26, 2005, 3:37am UTC](https://boards.straightdope.com/t/geometry-problem/327947 "2005-10-26T03:37:29Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 3:37am UTC](https://boards.straightdope.com/t/geometry-problem/327947/1 "2005-10-26T03:37:29Z")

</div>

OK - I’m having problems visualizing this and solving this problem, which on the surface, seems like it should be easy.

I have a cube with length of its side equal to **S**. At the exact center of any face of the cube I drill (cut, burn, whatever) a perfect cylinder through the cube that has a diameter equal to **S**. At this point the remaining volume is:

S^3 - 1/4\*(Pi)\*S^3 which, after using 3.14159 for (Pi) leaves:

0.21460 S^3

Now if I go to any of the four adjacent faces and drill a second hole with diameter equal to **S** what is left? I am visually that the common space occupied by the two holes is a sphere of diameter **S** but I’m not sure how to calculate what remains of the rest of the cube.

Any help out there?

---

<div class="post-metadata">

**Author:** ![panamajack](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@panamajack](https://boards.straightdope.com/u/panamajack)\
**Post date:** [October 26, 2005, 4:06am UTC](https://boards.straightdope.com/t/geometry-problem/327947/2 "2005-10-26T04:06:18Z")

</div>

It should just be

V[sub]cube[/sub] - ( 2 \* V[sub]cylinder[/sub] - V[sub]sphere[/sub] )

This might simplify to something nicer looking, I don’t know.

---

<div class="post-metadata">

**Author:** ![MikeS](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MikeS](https://boards.straightdope.com/u/MikeS)\
**Post date:** [October 26, 2005, 4:19am UTC](https://boards.straightdope.com/t/geometry-problem/327947/3 "2005-10-26T04:19:53Z")

</div>

> [@panamajack](#):
>
> It should just be
> 
> V[sub]cube[/sub] - ( 2 \* V[sub]cylinder[/sub] - V[sub]sphere[/sub] )
> 
> This might simplify to something nicer looking, I don’t know.

You seem to have used the postulate that the intersection volume of the two spheres is a sphere, but that’s not true. After all, if your cylinder axes are the x-axis and the y-axis, the object is still going to have a square cross-section along the z-axis.

As to how to actually solve it, it should be a straightforward volume integral, and the only trick is setting up the limits. I’ll think about it a little more before bed and see if I come up with anything.

---

<div class="post-metadata">

**Author:** ![Ringo](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@Ringo](https://boards.straightdope.com/u/Ringo)\
**Post date:** [October 26, 2005, 4:23am UTC](https://boards.straightdope.com/t/geometry-problem/327947/4 "2005-10-26T04:23:34Z")

</div>

For surface area:

Surface area of the cube prior to hole drilling = 6 **S** ²

Area drilled away with 1st drilling = 2Π **S** ²

Area drilled away with 2nd drilling = 2Π **S** ²

Area drilled away with both drillings = 2\*(2Π **S** ²)

Surface of original cube remaining after both drillings = (6 **S** ²)-(2\*(2Π **S** ²))

But I suspect you’re looking for the remaining volume. The volume removed by your drilling is not a sphere. You need to subtract from the volume of the original cube both the cylindrical volume removed by the original (1st) drilling as well as the volume removed by the secondary drilling, which is a volume equal to the volume of the first drilled cylindar minus the volume of the intersection of those two cylinders. I’ve drawn it, and it’s not a sphere; there are linear edges.

Calling **ultrafilter**.

Heh - and I’m a licensed scientist.

---

<div class="post-metadata">

**Author:** ![samclem](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@samclem](https://boards.straightdope.com/u/samclem)\
**Post date:** [October 26, 2005, 4:53am UTC](https://boards.straightdope.com/t/geometry-problem/327947/5 "2005-10-26T04:53:13Z")

</div>

**Waterman**. A question. Is this homework? I read some of your posts and you seem to be a college grad.

If this is a specific homework problem, I’m required to shut it down. 🙂

Just asking…

**samclem** GQ mod

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [October 26, 2005, 5:02am UTC](https://boards.straightdope.com/t/geometry-problem/327947/6 "2005-10-26T05:02:44Z")

</div>

For simplicity’s sake, let’s say that the two cylinders are given by the equations x[sup]2[/sup] + y[sup]2[/sup] \< S/2 and x[sup]2[/sup] + z[sup]2[/sup] \< S/2. Their intersection O is the set of points where both conditions hold. Therefore, for any point in the intersection, you have 2x[sup]2[/sup] + y[sup]2[/sup] + z[sup]2[/sup] \< S.

The total volume of the remaining shape is (1 - [symbol]p[/symbol]/2)S[sup]3[/sup] + [symbol]ò[/symbol][sub]O[/sub]dV. Setting up limits on multiple integrals was never my strong suit, so I’ll leave that for someone who can do it more quickly.

---

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 5:56am UTC](https://boards.straightdope.com/t/geometry-problem/327947/7 "2005-10-26T05:56:06Z")

</div>

> [@samclem](#):
>
> **Waterman**. A question. Is this homework? I read some of your posts and you seem to be a college grad.
> 
> If this is a specific homework problem, I’m required to shut it down. 🙂
> 
> Just asking…
> 
> **samclem** GQ mod

Well I am quite flattered that you think I am a college grad student. I am a 57 year old working water and wastewater engineer who hasn’t seen any homework in 35 years.

**But thanks for asking!!!** 😉😃

---

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 6:02am UTC](https://boards.straightdope.com/t/geometry-problem/327947/8 "2005-10-26T06:02:25Z")

</div>

I got lost in conveying my 3 dimensional problem after only acting in two dimensions. I should have also expressed the desire to drill the third cylinder through the z-axis, but I am more unclear as to what is left with respect to the remaining volume of the original cube.

**Now I believe, the intersection of the three cylinders is a sphere with volume of S^3**?

---

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 6:13am UTC](https://boards.straightdope.com/t/geometry-problem/327947/9 "2005-10-26T06:13:07Z")

</div>

> [@ultrafilter](#):
>
> For simplicity’s sake, let’s say that the two cylinders are given by the equations x[sup]2[/sup] + y[sup]2[/sup] \< S/2 and x[sup]2[/sup] + z[sup]2[/sup] \< S/2. Their intersection O is the set of points where both conditions hold. Therefore, for any point in the intersection, you have 2x[sup]2[/sup] + y[sup]2[/sup] + z[sup]2[/sup] \< S.
> 
> The total volume of the remaining shape is (1 - [symbol]p[/symbol]/2)S[sup]3[/sup] + [symbol]ò[/symbol][sub]O[/sub]dV. Setting up limits on multiple integrals was never my strong suit, so I’ll leave that for someone who can do it more quickly.

As my response to the moderator should perhaps hint at, it has been a long time since I have done any multiple integrals.

What I see remaining are these curvilinear pieces in each of the eight vertices of the cube with the length from the vertex to the edge equal to (basically the diagonal of the face less the length of the face divided by 2):

(s\*((2^0.5)-1)/2)

---

<div class="post-metadata">

**Author:** ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)\
**Post date:** [October 26, 2005, 6:56am UTC](https://boards.straightdope.com/t/geometry-problem/327947/10 "2005-10-26T06:56:58Z")

</div>

The volume of the intersection of two perpendicular cylinders of radius r is 16r[sup]3[/sup]/3. Some beautiful pictures [here](http://astronomy.swin.edu.au/~pbourke/geometry/cylinders) if you want to see what this intersection looks like.  
So the answer to the OP is VOL[sub]cube[/sub] - 2\*VOL[sub]cyl[/sub] + VOL[sub]intersection[/sub] = s[sup]3[/sup](1 - pi/2 + 2/3) = .095870339s[sup]3[/sup].

---

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 8:38am UTC](https://boards.straightdope.com/t/geometry-problem/327947/11 "2005-10-26T08:38:23Z")

</div>

> [@nivlac](#):
>
> The volume of the intersection of two perpendicular cylinders of radius r is 16r[sup]3[/sup]/3. Some beautiful pictures [here](http://astronomy.swin.edu.au/~pbourke/geometry/cylinders) if you want to see what this intersection looks like.  
> So the answer to the OP is VOL[sub]cube[/sub] - 2\*VOL[sub]cyl[/sub] + VOL[sub]intersection[/sub] = s[sup]3[/sup](1 - pi/2 + 2/3) = .095870339s[sup]3[/sup].

The link you provided is linked to the problem of the intersection of three cylinders and answers at least one of my original questions which is that the intersection is not a sphere of diameter equal to **S**

[Intersection of Three Cylinders](http://astronomy.swin.edu.au/~pbourke/geometry/planelev/)

According to the above link the volume of three intersecting cylinders is 0.58579_ **S** ^3 and the volume of two intersecting cylinders (from your original link) is 0.66667_ **S** ^3. There are three intersections of two cylinders and one intersection of three cylinders therefore remaining volume after drilling the three cylinders is:

Volume of cube=S^3= **1.00000\*S^3**  
Less volumes of three cylinders drilled out=3\*(3/4)_(Pi)S^3=\*\*2.35619S^3\*\*  
Plus volume of three intersecting pairs of cylinders=3_(2/3)_S^3=\*\*2.0000_S^3\*\*  
Less Volume of intersection of three intersecting cylinders=(2-(2^0.5))_S^3=\*\*0.58579_S^3\*\*

Which equates to:  
(1.0000-2.35619+2.0000-0.58579)_S^3 = \*\*0.05802_S^3\*\* of the original volume of the cube!

This seems to work!!

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [October 26, 2005, 3:49pm UTC](https://boards.straightdope.com/t/geometry-problem/327947/12 "2005-10-26T15:49:43Z")

</div>

> [@Waterman](#):
>
> OK - I’m having problems visualizing this and solving this problem, which on the surface, seems like it should be easy.
> 
> I have a cube with length of its side equal to **S**. At the exact center of any face of the cube I drill (cut, burn, whatever) a perfect cylinder through the cube that has a diameter equal to **S**. At this point the remaining volume is:
> 
> S^3 - 1/4\*(Pi)\*S^3 which, after using 3.14159 for (Pi) leaves:
> 
> 0.21460 S^3
> 
> Now if I go to any of the four adjacent faces and drill a second hole with diameter equal to **S** what is left? I am visually that the common space occupied by the two holes is a sphere of diameter **S** but I’m not sure how to calculate what remains of the rest of the cube.
> 
> Any help out there?

Like other posters have said, the intersection is a sphere. However, the volume of the intersection is a pretty standard calc 3 homework example, so I’ll advise you to ask a calc 3 student.

---

<div class="post-metadata">

**Author:** ![spinky](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@spinky](https://boards.straightdope.com/u/spinky)\
**Post date:** [October 26, 2005, 5:47pm UTC](https://boards.straightdope.com/t/geometry-problem/327947/13 "2005-10-26T17:47:03Z")

</div>

> [@Mathochist](#):
>
> Like other posters have said, the intersection is a sphere.

Like other posters have said, the intersection is not a sphere. See the links provided.

---

<div class="post-metadata">

**Author:** ![spinky](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@spinky](https://boards.straightdope.com/u/spinky)\
**Post date:** [October 26, 2005, 5:50pm UTC](https://boards.straightdope.com/t/geometry-problem/327947/14 "2005-10-26T17:50:47Z")

</div>

Also, I noticed that **nivlac’s** link has one shape formed by cylinders intersecting the sides of things called “Waterman Polyhedra”, which may be of special interest to our OP. 😃

---

<div class="post-metadata">

**Author:** ![Waterman](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Waterman](https://boards.straightdope.com/u/Waterman)\
**Post date:** [October 26, 2005, 5:57pm UTC](https://boards.straightdope.com/t/geometry-problem/327947/15 "2005-10-26T17:57:27Z")

</div>

> [@nivlac](#):
>
> The volume of the intersection of two perpendicular cylinders of radius r is 16r[sup]3[/sup]/3. Some beautiful pictures [here](http://astronomy.swin.edu.au/~pbourke/geometry/cylinders) if you want to see what this intersection looks like.  
> So the answer to the OP is VOL[sub]cube[/sub] - 2\*VOL[sub]cyl[/sub] + VOL[sub]intersection[/sub] = s[sup]3[/sup](1 - pi/2 + 2/3) = .095870339s[sup]3[/sup].

Your link was exactly what I needed to see both the two cylinder and three cylinder intersections. It gave me the visualization that I hope resulted in my correct solution described above.

THANKS AGAIN

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [October 26, 2005, 11:33pm UTC](https://boards.straightdope.com/t/geometry-problem/327947/16 "2005-10-26T23:33:00Z")

</div>

> [@ntucker](#):
>
> Like other posters have said, the intersection is not a sphere. See the links provided.

You’re right, I accidentally edited out “not”. Mea culpa.
