# Definition:Continuous Mapping (Metric Space)/Space/Definition 2

## Definition

Let $M_1 = \left({A_1, d_1}\right)$ and $M_2 = \left({A_2, d_2}\right)$ be metric spaces.

Let $f: A_1 \to A_2$ be a mapping from $A_1$ to $A_2$.

$f$ is continuous from $\left({A_1, d_1}\right)$ to $\left({A_2, d_2}\right)$ if and only if:

for every $U \subseteq A_2$ which is open in $M_2$, $f^{-1} \left[{U}\right]$ is open in $M_1$.

By definition, this is equivalent to the continuity of $f$ with respect to the induced topologies on $A_1$ and $A_2$.

## Also known as

A mapping which is continuous from $\left({A_1, d_1}\right)$ to $\left({A_2, d_2}\right)$ can also be referred to as $\left({d_1, d_2}\right)$-continuous.