A function f:U→Rmf:U\to\mathbb R^m is compactly supported in UU when its

supp⁡Uf={x∈U:f(x)≠0}‾ U\operatorname{supp}_U f=\overline{\{x\in U:f(x)\ne0\}}^{\,U}

is a of UU. For open U⊆RnU\subseteq\mathbb R^n, the notation Cck(U;Rm)C_c^k(U;\mathbb R^m) denotes compactly supported , and Cc∞C_c^\infty denotes the smooth ones.

The domain matters

If U=(0,1)U=(0,1), the constant function 11 has bounded support but does not have compact support in UU. Compact support in an open Euclidean domain leaves a positive distance from its boundary. A smooth function with such support extends smoothly by zero to Rn\mathbb R^n, since it already vanishes in a neighborhood of each boundary point.

Relation to bump functions

A is a smooth compactly supported scalar function. Compact support itself is a condition on support and does not imply continuity or differentiability.