TITLE: Minimum ceiling height to move a closet to upright position
QUESTION [9 upvotes]: I brought a closet today. It has dimension $a\times b\times c$ where $c$ is the height and $a\leq b \leq c$. To assemble it, I have to lay it out on the ground, then move it to upright position. I realized if I just move it in the way in this picture, then it would require the height of the ceiling to be $\sqrt{c^2+a^2}$.
Is this height required if we consider all possible ways to move the closet? Or is there a smart way to use less height?

This is a image from IKEA's instruction that comes with the closet.

REPLY [2 votes]: We are asked to prove that a minimum clearance of $\sqrt{a^2 + c^2}$ is required to move the assembled closet (box) from a "prone" position in the hallway floor to an upright position.
Let $V$ be the vertical height of the box, defined as the difference between the heights of the uppermost and lowest corners of the box in whatever position.  This value is invariant with translation and with rotation about a vertical axis.  In the upright position $V = c$, and depending on which face the box is lying on its prone position, the vertical height there is either $V = a$ or $V = b$.
To restate what is to be shown, in going from the prone to the upright position, the vertical height $V$ must at some intermediate position equal $\sqrt{a^2 + c^2}$, and that (as already shown by the OP's diagram), the upright position may be reached without exceeding that vertical height.
Using the above mentioned symmetries (translation and rotation about a vertical "z-axis"), we can maintain the center of the box in a fixed location and keep the long axis of the box (having length $c$) confined to a plane perpendicular to the (horizontal) width of the hall (assuming for the sake of generality that hallway width and length are arbitrarily great, so allowing movement of the box restricted only by the height of the hallway ceiling).
The leaves two degrees of freedom: the angle $\theta$ the box's long axis makes with respect to horizontal, and the angle $\phi$ around that axis which the box is rotated.  For specificity let's say $\phi = 0$ designates an orientation in which the $b$ length edges are horizontal.
By standard trigonmetric arguments, it suffices to consider quarter rotations $0 \le \theta \le \pi/2$ and $0 \le \phi \le \pi/2$, for which:
$$ V(\theta,\phi) = c \sin \theta + (b \sin \phi + a \cos \phi) \cos \theta $$
For fixed angle $\theta$ the angle $\phi$ which minimizes $V$ is zero, so:
$$ V(\theta,\phi) \ge V(\theta, 0) = c \sin \theta + a \cos \theta $$
Thus when $\theta = \tan^{-1} c/a$, $V(\theta,\phi) \ge \sqrt{a^2 + c^2}$, and it follows that $\theta$ cannot reach upright angle $\pi/2$ without $V$ reaching at least $\sqrt{a^2 + c^2}$, and also that if $\phi = 0$ is maintained, then the upright position may be reached without $V$ exceeding that threshold.