Statement

Let MM be a and let A,BMA,B\subseteq M be disjoint . There exists a f:M[0,1]f:M\to[0,1] such that fA=0f|_A=0 and fB=1f|_B=1. Equivalently, if AUA\subseteq U with AA closed and UU open, there is a smooth f:M[0,1]f:M\to[0,1] satisfying f=1f=1 on AA and suppfU\operatorname{supp}f\subseteq U. No compactness of AA is required, and the support in the equivalent formulation need not be compact. The equalities hold on the entire prescribed closed sets, not merely at selected points.

Construction

Choose a locally finite adapted to the two-set cover MAM\setminus A and MBM\setminus B. The sum of the partition functions assigned to MAM\setminus A has value 00 on AA and 11 on BB. Local finiteness makes the sum smooth. For the cutoff formulation, first choose a VV of AA whose closure lies in UU, then separate AA from MVM\setminus V. This partition-of-unity proof appears in Lee, chapter on smooth functions and partitions of unity.

Relationship to bump functions

When AA is compact and UU is a prescribed neighborhood, the cutoff can be chosen with compact support in UU, hence as a . For noncompact AA, a function equal to 11 on all of AA cannot have compact support; the smooth Urysohn lemma still provides a cutoff whose support is closed and contained in UU.

Conventions and scope
References
  1. John M. Lee, Introduction to Smooth Manifolds, 2nd ed., Graduate Texts in Mathematics 218, Springer, 2012. DOI record. Relevant: the chapter on smooth functions, bump functions, and partitions of unity.
  2. Loring W. Tu, An Introduction to Manifolds, 2nd ed., Universitext, Springer, 2011. DOI record. Relevant: Chapter 13, partitions of unity and smooth separation.