How high should the box be ?

Geometry Level 5

An ellipsoid with semi-axes lengths of 10 , 15 , 10, 15, and 20 20 units, is to be placed in a rectangular box with a length of 33 33 , and a width of 25 25 . You want to determine the height of this box, such that when placing the ellipsoid in the box (and closing the lid) it is tangent to all of its six faces.


The answer is 34.438.

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

Mark Hennings
Aug 10, 2019

The maximum and minimum values of u x + v y + w z ux + vy + wz , where u 2 + v 2 + w 2 = 1 u^2 + v^2 + w^2 = 1 , subject to the constraint x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 \tfrac{x^2}{a^2} + \tfrac{y^2}{b^2} + \tfrac{z^2}{c^2} = 1 , are ± a 2 u 2 + b 2 v 2 + c 2 w 2 \pm\sqrt{a^2u^2 + b^2v^2 + c^2w^2} . Thus the width of the ellipse x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 \tfrac{x^2}{a^2} + \tfrac{y^2}{b^2} + \tfrac{z^2}{c^2} = 1 in the direction of the unit vector ( u v w ) T (u\;v\; w\;)^T is 2 a 2 u 2 + b 2 v 2 + c 2 w 2 2\sqrt{a^2u^2 + b^2v^2 + c^2w^2} . We need to find three mutually perpendicular unit vectors such that the widths of the given ellipse in the directions given by two of these vectors are 33 33 and 25 25 ; then the desired height of the box is the width of the ellipse in the direction of the third vector.

Thus we need to find mutually perpendicular unit vectors u \mathbf{u} and v \mathbf{v} such that 2 400 u 1 2 + 225 u 2 2 + 100 u 3 2 = 33 2 400 v 1 2 + 225 v 2 2 + 100 v 3 2 = 25 ( ) 2\sqrt{400u_1^2 + 225u_2^2 + 100u_3^2} \; = \; 33 \hspace{2cm} 2\sqrt{400v_1^2 + 225v_2^2 + 100v_3^2} \; = \; 25 \hspace{3cm} (\star) If we consider the equations ( ) (\star) , together with the equations u 1 2 + u 2 2 + u 3 2 = v 1 2 + v 2 2 + v 3 2 = 1 u 1 v 1 + u 2 v 2 + u 3 v 3 = 0 u_1^2 + u_2^2 + u_3^2 \; = \; v_1^2 + v_2^2 + v_3^2 \; = \; 1 \hspace{2cm} u_1v_1 + u_2v_2 + u_3v_3 \; = \;0 then there are many possible different solutions; for example we can obtain u = ( α β 11 3 β ) v = 1 20 ( 0 3 11 ) \mathbf{u} \; = \; \left(\begin{array}{c} \alpha \\ \beta\sqrt{11} \\ -3\beta \end{array}\right) \hspace{2cm} \mathbf{v} \; = \; \frac{1}{\sqrt{20}}\left(\begin{array}{c} 0 \\ 3 \\ \sqrt{11} \end{array}\right) where α 2 = 414 925 β 2 = 511 18500 \alpha^2 \; = \; \frac{414}{925} \hspace{2cm} \beta^2 \; = \; \frac{511}{18500} Then the height of the box is 2 400 w 1 2 + 225 w 2 2 + 100 w 3 2 2\sqrt{400w_1^2 + 225w_2^2 + 100w_3^2} , where w = u × v \mathbf{w} = \mathbf{u} \times \mathbf{v} . We calculate w = 1 5 370 ( 5110 3 253 9 23 ) \mathbf{w} \; = \; \frac{1}{5\sqrt{370}}\left(\begin{array}{c} \sqrt{5110} \\ -3\sqrt{253} \\ 9\sqrt{23}\end{array}\right) and the height of the box is therefore 1186 = 34.4384 \sqrt{1186} = \boxed{34.4384} .

Hosam Hajjir
Aug 11, 2019

The simplest solution of this problem depends on the fact that if an ellipsoid with semi-axes a , b , a, b, and c c , is placed such that it is tangent to the three perpendicular planes, (and let the origin of the Cartesian Coordinates System be at their intersection point), then, the coordinates of the ellipsoid center C = ( C x , C y , C z ) C = (C_x, C_y, C_z) satisfy,

C x 2 + C y 2 + C z 2 = a 2 + b 2 + c 2 C_x^2 + C_y^2 + C_z^2 = a^2 + b^2 + c^2

Now, from symmetry, we know that after placing the ellipsoid in the box, with it tangent to all four vertical walls of the box, then the center of the ellipsoid x x and y y coordinates satisfy

C x = L 2 C_x = \dfrac{L}{2} and C y = W 2 C_y = \dfrac{W}{2}

And, hence, we can very easily now, compute the z z -coordinate of the ellipsoid center C z C_z , and it follows that the height of the box will be H = 2 C z H = 2 C_z , because the center of the ellipsoid is at the center of the box.

Cx^2+Cy^2+Cz^2=a^2+b^2+c^2 is true for the conjugate radiuses, which are not orthogonal -> is not true for a rectangular box.

Iliya Hristov - 1 year, 3 months ago

I don't know what conjugate radiuses is ???

Hosam Hajjir - 1 year, 3 months ago

Log in to reply

Can you provide more information about: Cx^2+Cy^2+Cz^2=a^2+b^2+c^2 plz?

Iliya Hristov - 1 year, 3 months ago

Log in to reply

Equation of ellipsoid: ( r C ) T Q ( r C ) = 1 (r - C)^T Q (r - C) = 1

where C = ( C x , C y , C z ) C = (C_x , C_y, C_z) and Q = R D R T Q = R D R^T , with R being a rotation matrix and D is a diagonal matrix with diagonal entries = { 1 / a 2 , 1 / b 2 , 1 / c 2 } \{ 1/a^2 , 1/b^2 , 1/c^2 \}

Now place the ellipsoid such that it is tangent to the three planes in the first octant (simulating a rectangular box), and let the tangent point with the xy-plane be r 1 r_1 , then using the gradient of the ellipsoid, we have

Q ( r 1 C ) = α k Q (r_1 - C) = - \alpha k , where α > 0 \alpha > 0 and k k is the unit vector along the positive z-axis.

hence, r 1 C = α Q 1 k ( ) r_1 - C = - \alpha Q^{-1} k \hspace{12pt}(*)

substitute this into the equation of the ellipsoid, you obtain,

α 2 k T Q 1 k = 1 \alpha^2 k^T Q^{-1} k = 1

from which α = 1 k T Q 1 k \alpha = \dfrac{1}{\sqrt{k^T Q^{-1} k}}

finally taking the z-coordinate of equation (*)

C z = k T Q 1 k C_z = \sqrt{ k^T Q^{-1} k }

similar derivation leads to

C x = i T Q 1 i C_x = \sqrt{ i^T Q^{-1} i }

and

C y = j T Q 1 j C_y = \sqrt{ j^T Q^{-1} j}

hence,

C x 2 + C y 2 + C z 2 = i T Q 1 i + j T Q 1 j + k T Q 1 k C_x^2 + C_y^2 + C_z^2 = i^T Q^{-1} i + j^T Q^{-1} j + k^T Q^{-1} k

but since Q = R D R T Q = R D R^T , then Q 1 = R D 1 R T Q^{-1} = R D^{-1} R^T , with D 1 D^{-1} being a diagonal matrix of diagonal entries = { a 2 , b 2 , c 2 } \{ a^2 , b^2 , c^2 \}

the right hand side of the above equation is the trace (the sum of the diagonal entries) of Q 1 Q^{-1} .

Now, since R T = R 1 R^T = R^{-1} , then Q 1 Q^{-1} is related to D 1 D^{-1} by a similarity transformation. And it is well-known that similar matrices have the same trace (see for example here ). Thus trace ( Q 1 ) = trace ( D 1 ) = a 2 + b 2 + c 2 \text{trace}( Q^{-1} ) = \text{trace} (D^{-1}) = a^2 + b^2 + c^2 , and we get our result.

Hosam Hajjir - 1 year, 3 months ago

Log in to reply

@Hosam Hajjir Applying the same logic to an ellipse with a semi-axes a and b, tangent to two perpendicular lines, which cross at the origin of the coordinate system, then: Cx^2+Cy^2=a^2+b^2 . On the other hand (d1/2)^2+(d2/2)^2=a^2+b^2 , where d1 and d2 are conjugate diameters. For an ellipse, two diameters are conjugate if and only if the tangent line to the ellipse at an endpoint of one diameter is parallel to the other diameter. Each pair of conjugate diameters of an ellipse has a corresponding tangent parallelogram, which is rectangle only if conjugate diameters coincide with the axes or the ellipse is a circle. I found several online proofs (d1/2)^2+(d2/2)^2=a^2+b^2 , so Cx^2+Cy^2=a^2+b^2 is not correct.

Iliya Hristov - 1 year, 3 months ago

I don't know much about conjugate diameters.

Hosam Hajjir - 1 year, 3 months ago

Log in to reply

Finally I found enough time to decipher your explanation and to realize it is absolutely correct. The trickiest part was the gradient of the ellipsoid. Thank you for the fantastic task and for clearing it to me!

Iliya Hristov - 1 year, 2 months ago

Log in to reply

You're welcome.

Hosam Hajjir - 1 year, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...