A mathematical structure
is said to be closed under an operation
if, whenever
and
are both elements of
,
then so is
.
A mathematical object taken together with its boundary is also called closed. For example, while the interior of a sphere is an open ball, the interior together with the sphere itself is a closed ball.