First, let us restate the problem clearly:
We have a cube of side length 2. Along each of the three coordinate axes (say thexxx-,yyy-, andzzz-axes), a cylinder of radius 1 and length 2 is drilled out (i.e., removed). We want the volume of the remaining solid.
A convenient way to place the cube is to center it at the origin. Then its corners lie at±1\pm 1±1in each coordinate direction, so the cube is
The three cylinders can be described as the sets
We are removing the unionA∪B∪CA\cup B\cup CA∪B∪Cfrom the cube. Hence the desired volume is
- Volume of the cube
The cube of side 2 has volume
- Volume ofA∪B∪CA \cup B \cup CA∪B∪C
We use the Principle of Inclusion–Exclusion:
We compute each term.
2.1. Single-cylinder volumes:Vol(A)\text{Vol}(A)Vol(A),Vol(B)\text{Vol}(B)Vol(B),Vol(C)\text{Vol}(C)Vol(C)
CylinderAAA(drilled along thezzz-axis) has cross-section in thexyxyxy-plane of the circlex2+y2≤1x^2 + y^2 \le 1x2+y2≤1, which has areaπ⋅12=π\pi\cdot 1^2 = \piπ⋅12=π. Since it extends the full length−1≤z≤1-1\le z\le 1−1≤z≤1, its volume isVol(A)=π×2=2π.\text{Vol}(A) ;=; \pi \times 2 ;=; 2\pi.Vol(A)=π×2=2π.By symmetry,Vol(B)=2π\text{Vol}(B)=2\piVol(B)=2πandVol(C)=2π\text{Vol}(C)=2\piVol(C)=2πas well.
CylinderAAA(drilled along thezzz-axis) has cross-section in thexyxyxy-plane of the circlex2+y2≤1x^2 + y^2 \le 1x2+y2≤1, which has areaπ⋅12=π\pi\cdot 1^2 = \piπ⋅12=π. Since it extends the full length−1≤z≤1-1\le z\le 1−1≤z≤1, its volume is
By symmetry,Vol(B)=2π\text{Vol}(B)=2\piVol(B)=2πandVol(C)=2π\text{Vol}(C)=2\piVol(C)=2πas well.
Hence,
2.2. Intersection of two cylinders, )
A∩BA \cap BA∩Bis the set of points satisfying bothx2+y2≤1andy2+z2≤1,x^2 + y^2 \le 1
\quad\text{and}\quad
y^2 + z^2 \le 1,x2+y2≤1andy2+z2≤1,with(x,y,,y,,y,z)also in[−1,1]3[-1,1]^3[−1,1]3. It is a well-known “ solid” (the intersection of two orthogonal cylinders of radius 1). A standard result (or by direct integral) givesVol(A∩B)=163(for radius1).\text{Vol}(A\cap B)
;=;
\frac{16}{3}
\quad
(\text{for radius }1).Vol(A∩B)=316(for radius1).By symmetry the same holds forVol(B∩C)\text{Vol}(B\cap C)Vol(B∩C)andVol(C∩A)\text{Vol}(C\cap A)Vol(C∩A). ThereforeVol(A∩B)+Vol(B∩C)+Vol(C∩A)=3×163=16.\text{Vol}(A\cap B)
+
\text{Vol}(B\cap C)
+
\text{Vol}(C\cap A)
;=;
3 \times \frac{16}{3}
;=;
16.Vol(A∩B)+Vol(B∩C)+Vol(C∩A)=3×316=16.
A∩BA \cap BA∩Bis the set of points satisfying both
with(x,y,,y,,y,z)also in[−1,1]3[-1,1]^3[−1,1]3. It is a well-known “ solid” (the intersection of two orthogonal cylinders of radius 1). A standard result (or by direct integral) gives
By symmetry the same holds forVol(B∩C)\text{Vol}(B\cap C)Vol(B∩C)andVol(C∩A)\text{Vol}(C\cap A)Vol(C∩A). Therefore
2.3. Intersection of three cylinders,Vol(A∩B∩C)\text{Vol}(A\cap B\cap C)Vol(A∩B∩C)
Finally, we need the volume common to all three cylinders,A∩B∩C={(x,y,z):x2+y2≤1,y2+z2≤1,z2+x2≤1}.A \cap B \cap C
;=;
\bigl{
(x,y,z):
x^2 + y^2 \le 1,;
y^2 + z^2 \le 1,;
z^2 + x^2 \le 1
\bigr}.A∩B∩C={(x,y,z):x2+y2≤1,y2+z2≤1,z2+x2≤1}.A careful integral (often done by subdividing the first-octant region and then multiplying by shows this volume to be16−82≈4.686.16 ;-; 8\sqrt{2}
;;\approx; 4.686.≈4.686.(This is another classical -type solid but for three mutually perpendicular cylinders.)
Finally, we need the volume common to all three cylinders,
A careful integral (often done by subdividing the first-octant region and then multiplying by shows this volume to be
(This is another classical -type solid but for three mutually perpendicular cylinders.)
Hence
2.4. Putting it all together
By Inclusion–Exclusion:
Simplify:
- Final remainder volume
The volume of the remainder (the portion of the cubenotin any of the cylinders) is
A common way to leave the exact form is
Numerically:
so
Thus the remaining volume is a little under half a cubic unit.
Answer.