# Pasting Lemma/Corollary 1

 It has been suggested that this page or section be merged into Continuity from Union of Restrictions. (Discuss)

## Theorem

Let $X$ and $Y$ be topological spaces.

Let $A$ and $B$ be closed in $X$.

Let $f : A \to Y$ and $g : B \to Y$ be continuous mappings that agree on $A \cap B$.

Then the mapping $f \cup g : A \cup B \to Y$ is continuous.