[Math] the position of a unit cube so that its projection on the ground has maximal area

3dgeometryoptimizationprojective-geometrysolid-geometry

Consider a unit cube in $\Bbb R^3$. What is a position (up to translation, etc.) of the cube such that its projection on the $Oxy$-plane has a maximal area?

Here is a picture: if the sides of the cube are parallel to the three axis, then the projection is the unit square, with has area $1$. But it is possible to project it so that we get a regular hexagon (like the orange one, below).

$\qquad\qquad\qquad\quad$cube_projection

I believe that the regular hexagon could be a local maximum for the area of the projection, but I'm not sure. I don't even know how to compute the corresponding area of the orange hexagon (what should be the length of the orange side of one of the six equilateral triangles in the hexagon?).


I solved the problem for a unit disk in the space: the area of the projection is $\pi \sin(\theta)$, maximal when the angle $\theta$ is $\pi/2$ ($\theta$ is indicated on the right of the picture).

$\qquad\qquad\qquad\quad$enter image description here

I also tried for a unit square in $2D$, the maximal area being achieved at $\theta=\pi/4$.

$\qquad\qquad\qquad\quad$enter image description here

A similar question could be asked for a cylinder or a cone instead of a cube (the answer is trivial for a sphere, by the way).

Thank you for your comments!

Best Answer

For a convex body, its projected surface area $P$ in viewing direction $v$ is equal to the surface integral $$P = \oint (n\cdot v)^+\,\mathrm dA,$$ where $n$ and $\mathrm dA$ are the normal and area of the differential surface element, and $$x^+ = \max(x,0) = \begin{cases}x & \text{if $x>0$,} \\ 0 & \text{otherwise}.\end{cases}$$

For a unit cube, $n$ only takes six possible values $(\pm1,0,0)$, $(0,\pm1,0)$, $(0,0,\pm1)$, each over an area of $1$ square unit, so the integral reduces to $$P = |v_x| + |v_y| + |v_z|.$$ Subject to the constraint that $\|v\|=1$, this is maximized at $v = \frac1{\sqrt3}(\pm1,\pm1,\pm1)$, i.e. projection along a space diagonal, which indeed gives the regular hexagon as the projected shape.

Related Question