# Implicit surface representation of a cube

Implicit representation is of the form f(x, y, z) = 0. For a sphere it is just $x^2 + y^2 + z^2 = R^2$. I am wondering what is the equation for a cube.

-

$\max (|x|,|y|,|z| ) = 1$ for the unit cube.