The retraction of a Hilbert ball onto its sphere exists. In the real Hilbert space , let be the unilateral shift operator, and let . For in the closed unit ball , define
The orthogonality of and gives . Thus is a continuous map into the unit sphere. It has no fixed point: would imply for every . A constant sequence in must be zero, whereas .
Put , which is nonzero everywhere, and define
This is a continuous map on the whole closed unit ball, including zero. To check its range, observe that , so
If , then , hence and . Therefore is a retraction.
Geometrically this is the second intersection of the line from through with the unit sphere. In fact
The construction illustrates why the finite-dimensional hypothesis in the no-retraction theorem matters. The closed unit ball of is not a compact set in the norm topology.