Four cubes with edge lengths , , , and are stacked as shown. What is the length of the portion of contained in the cube with edge length ?

- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
XY runs corner to corner through the stack and has length 2 root 33. The edge-3 cube covers heights 4 to 7, which is 3/10 of the drop.
Solution
The segment goes down through the stack, and its height drops steadily from top to bottom. So the part inside the cube of edge is the same fraction of as that cube's height is of the whole stack.
1. Heights of the cubes. Stack from the bottom: the cube of edge covers heights to , the cube of edge covers to , the cube of edge covers to , and the cube of edge covers to . The whole stack is tall.
2. Set up 3-D coordinates. Use for left-right, for front-back, and for height. In the picture every cube is pushed into the same front-left corner. is the top front-left corner of the small cube, so . is the bottom back-right corner of the big cube, so .
3. Full length. The 3-D distance formula adds the squares of the three changes:
4. The fraction. Along , the height falls from to at a steady rate. The cube of edge covers heights to , a stretch of out of . So it holds of the segment.
5. Is that piece really inside the cube? At height the segment has gone of the way, so it is at . At height it has gone of the way, so . Both are inside the by base of that cube, so yes.
6. Length. .
The answer is .
Why this works
Flat horizontal layers cut a straight segment into pieces in the same ratio as the layers' thicknesses, just as parallel lines cut a slanted line in proportion. So the only real work is the full length of , and for that you must read the picture as a solid: is to the right of, behind, and below . With any 3-D picture, give each labelled point coordinates before measuring.
The trap
Treating the picture as flat and putting Y on the front bottom edge, which gives the wrong full length.
Concise solution
Set up coordinates with to the right, into the page, and upward. In the figure every cube shares the same left face () and the same front face (); they differ only in height. Stacking from the bottom, the cubes occupy
is the top front-left corner of the smallest cube, . is the bottom back-right corner of the largest cube, . So
Moving along , the height drops at a constant rate from to . The horizontal planes and therefore cut off exactly of the segment. (These points, and , lie within the footprint of the middle cube, so that piece really is inside the cube of edge .)
The required length is
The answer is .
Review in the AoPS books
- Introduction to Geometry, Chapter 14: Three-Dimensional Geometry
- Introduction to Geometry, Chapter 3: Congruent Triangles
- Introduction to Geometry, Chapter 17: Analytic Geometry (§17.4, §17.6)
- Introduction to Geometry, Chapter 15: Curved Surfaces
Techniques
Place the figure on coordinates and compute · Set up the equation/formula and compute; no special trick needed