A cube inscribed in a cube

Geometry Level 5

A unit cube centered at the origin has its 6 faces parallel to the coordinate planes. It starts rotating about its main diagonal which is along the vector ( 1 , 1 , 1 ) (1, 1, 1) . The rotating cube can be inscribed in a bigger cube whose faces are parallel to the the coordinate planes. This is shown in the above animation. Find the maximum side length of the bigger cube, throughout the rotation of the unit cube. If the answer is of the form p q \dfrac{p}{q} for positive coprime integers p p and q q , find p + q p + q .

Note: 6 6 out of 8 8 vertices of the rotating cube will lie on the six faces of the outer cube, while the other 2 2 are fixed in place inside it.


The answer is 8.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

David Vreken
Dec 9, 2020

Let O ( 0 , 0 , 0 ) O(0, 0, 0) be the center of both cubes, so that one of the fixed points on the rotating cube is A ( 1 2 , 1 2 , 1 2 ) A(\frac{1}{2}, \frac{1}{2}, \frac{1}{2}) .

Let N ( n , n , n ) N(n, n , n) be the center of the circle that B ( 1 2 , 1 2 , 1 2 ) B(-\frac{1}{2}, \frac{1}{2}, \frac{1}{2}) rotates around. Then O N = ( n , n , n ) \overrightarrow{ON} = (n, n , n) and B N = ( n + 1 2 , n 1 2 , n 1 2 ) \overrightarrow{BN} = (n + \frac{1}{2}, n - \frac{1}{2}, n - \frac{1}{2}) , and since O N B N \overrightarrow{ON} \perp \overrightarrow{BN} , n ( n + 1 2 ) + n ( n 1 2 ) + n ( n 1 2 ) = 0 n(n + \frac{1}{2}) + n(n - \frac{1}{2}) + n(n - \frac{1}{2}) = 0 , which simplifies to n = 1 6 n = \frac{1}{6} .

Let C ( a , b , c ) C(a, b, c) be the locus of points of B B rotating around N N . Then O N = ( 1 6 , 1 6 , 1 6 ) \overrightarrow{ON} = (\frac{1}{6}, \frac{1}{6} , \frac{1}{6}) and C N = ( 1 6 a , 1 6 b , 1 6 c ) \overrightarrow{CN} = (\frac{1}{6} - a, \frac{1}{6} - b, \frac{1}{6} - c) , and since O N C N \overrightarrow{ON} \perp \overrightarrow{CN} , 1 6 ( 1 6 a ) + 1 6 ( 1 6 b ) + 1 6 ( 1 6 c ) = 0 \frac{1}{6}(\frac{1}{6} - a) + \frac{1}{6}(\frac{1}{6} - b) + \frac{1}{6}(\frac{1}{6} - c) = 0 , which simplifies to c 1 2 = a + b c - \frac{1}{2} = a + b .

Also, A C = 1 AC = 1 , so by the distance equation ( a 1 2 ) 2 + ( b 1 2 ) 2 + ( c 1 2 ) 2 = 1 (a - \frac{1}{2})^2 + (b - \frac{1}{2})^2 + (c - \frac{1}{2})^2 = 1 . Substituting c 1 2 = a + b c - \frac{1}{2} = a + b gives ( a 1 2 ) 2 + ( b 1 2 ) 2 + ( a + b ) 2 = 1 (a - \frac{1}{2})^2 + (b - \frac{1}{2})^2 + (a + b)^2 = 1 , an equation of an ellipse, which rearranges to b = 1 4 ( 2 a + 1 ± 12 a 2 + 4 a + 5 ) b = \frac{1}{4}(-2a + 1 \pm \sqrt{-12a^2 + 4a + 5}) and has maximum and minimum a a -values when the discriminant 12 a 2 + 4 a + 5 = ( 2 a + 1 ) ( 6 a + 5 ) = 0 -12a^2 + 4a + 5 = (2a + 1)(-6a + 5) = 0 , so that the minimum is a = 1 2 a = -\frac{1}{2} and the maximum is a = 5 6 a = \frac{5}{6} .

a = 5 6 a = \frac{5}{6} also represents the maximum of half the side length of the larger cube, so the maximum full side length of the larger cube is s = 2 5 6 = 5 3 s = 2 \cdot \frac{5}{6} = \frac{5}{3} , which means p = 5 p = 5 , q = 3 q = 3 , and p + q = 8 p + q = \boxed{8} .

Hosam Hajjir
Dec 9, 2020

Let the side length of the smaller rotating cube be 2 a 2 a . Then for our unit cube, a = 1 2 a = \frac{1}{2} . The fixed vertices of the rotating cube are at ( a , a , a ) (a, a, a) and ( a , a , a ) (-a, -a, -a) . Now let's take the vertex ( a , a , a ) (a, a, -a) and see its position after a rotation by θ \theta .

The rotation matrix about the unit axis u = 1 3 ( 1 , 1 , 1 ) \mathbf{u} = \frac{1}{\sqrt{3}} (1, 1, 1) passing through the origin is

R ( θ ) = u u T + ( I u u T ) cos θ + S u sin θ \mathbf{R}(\theta) = \mathbf{u} \mathbf{u}^T + (\mathbf{I} - \mathbf{u} \mathbf{u}^T ) \cos \theta + \mathbf{S_u} \sin \theta

where the matrix S u \mathbf{S_u} is given by

S u = [ 0 u z u y u z 0 u x u y u x 0 ] \mathbf{S_u} = \begin{bmatrix} 0 && - u_z && u_y \\ u_z && 0 && -u_x \\ -u_y && u_x && 0 \end{bmatrix}

Hence,

R ( θ ) = 1 3 [ 1 1 1 1 1 1 1 1 1 ] + 1 3 cos θ [ 2 1 1 1 2 1 1 1 2 ] + 1 3 sin θ [ 0 1 1 1 0 1 1 1 0 ] \mathbf{R}(\theta) = \frac{1}{3} \begin{bmatrix} 1 && 1 && 1 \\ 1 && 1 && 1 \\ 1 && 1 && 1 \end{bmatrix} + \frac{1}{3} \cos \theta \begin{bmatrix} 2 && -1 && -1 \\ -1 && 2 && -1 \\ -1 && -1 && 2 \end{bmatrix} + \frac{1}{\sqrt{3}} \sin \theta \begin{bmatrix} 0 && -1 && 1 \\ 1 && 0 && -1 \\ -1 && 1 && 0 \end{bmatrix}

Hence the image of the vector p = ( a , a , a ) \mathbf{p} = (a, a, -a ) is

p = R ( θ ) p = a ( 1 3 ( 1 , 1 , 1 ) + 1 3 cos θ ( 2 , 2 , 4 ) + 1 3 sin θ ( 2 , 2 , 0 ) ) \mathbf{p'} = \mathbf{R}(\theta) \mathbf{p} = \displaystyle a ( \frac{1}{3} (1, 1, 1) + \frac{1}{3} \cos \theta (2,2,-4) + \frac{1}{\sqrt{3}} \sin \theta (-2, 2, 0 ) )

We can take any of the three coordinates of point p \mathbf{p'} and maximize it. Let's take p y \mathbf{p'}_y :

p y = a 3 ( 1 + 2 cos θ + 2 3 sin θ ) \mathbf{p'}_y = \displaystyle \dfrac{ a }{3} ( 1 + 2 \cos \theta + 2\sqrt{3} \sin \theta )

The maximum of this combination of cos θ \cos \theta and sin θ \sin \theta is

Max ( p y ) = a 3 ( 1 + 2 2 + ( 2 3 ) 2 ) = a ( 5 3 ) \text{Max} ( \mathbf{p'}_y ) = \displaystyle \dfrac{ a}{3} \left( 1 + \sqrt{ 2^2 + \left( 2 \sqrt{3} \right)^2 } \right) = a \left( \dfrac{5}{3} \right)

Thus the maximum side length is 2 a ( 5 3 ) = 5 3 2 a \left( \dfrac{5}{3} \right) = \dfrac{5}{3} , which makes the answer 5 + 3 = 8 5 + 3 = \boxed{8} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...