Projection from Metric Space Product with Euclidean Metric is Continuous

Theorem
Let $M_1 = \struct {A_1, d_1}$ and $M_2 = \struct {A_2, d_2}$ be metric spaces.

Let $\AA := A_1 \times A_2$ be the cartesian product of $A_1$ and $A_2$.

Let $\MM = \struct {\AA, d}$ denote the metric space on $\AA$ where $d: \AA \to \R$ is the Euclidean metric on $\AA$:


 * $\map d {x, y} := \sqrt {\paren {\map {d_1} {x_1, y_1} }^2 + \paren {\map {d_2} {x_2, y_2} }^2}$

where $x = \tuple {x_1, x_2}, y = \tuple {y_1, y_2} \in \AA$.

Let $\pr_1: \MM \to M_1$ and $\pr_2: \MM \to M_2$ denote the first projection and second projection respectively on $\MM$.

Then $\pr_1$ and $\pr_2$ are both ‎continuous on $\MM$.