Let $\left(X, d_X \right)$ and $\left(Y, d_Y \right)$ be metric spaces, let $M$ be a subset of $X$, and let $T \colon X \to Y$ be a mapping that is uniformly continuous on $M$. Then is $T$ also continuous on $M$?
Definition of Continuity:
Let $\left(X, d_X \right)$ and $\left(Y, d_Y \right)$ be metric spaces, let $T \colon X \to Y$ be a mapping, let $M$ be a subset of $X$, and let $p$ be a point of $X$. Then $T$ is said to be continuous at point $p$ if, for every real numnber $\varepsilon > 0$, we can find a real number $\delta > 0$ such that $$d_Y\left( T(x), T(p) \right) < \varepsilon$$ for all points $x \in X$ for which $$ d_X(x, p) < \delta.$$
If $T$ is continuous at each point $p \in M$, then $T$ is said to be continuous on set $M$.
Finally, if $T$ is continuous on $X$, then $T$ is said to be continuous.
Definition of Uniform Continuity:
Let $\left(X, d_X \right)$ and $\left(Y, d_Y \right)$ be metric spaces, let $T \colon X \to Y$ be a mapping, and let $M$ be a subset of $X$. Then $T$ is said to be uniformly continuous on $M$ if, for every real number $\varepsilon > 0$, we can find a real number $\delta > 0$ such that $$d_Y\left( T(x_1), T(x_2) \right) < \varepsilon$$ for all points $x_1, x_2 \in X$ for which $$d_X\left( x_1, x_2 \right) < \delta.$$
Are these two sets of definitions correct?
Further i want to prove the inclusion as mentioned above, only by definition, but unable to get it rightly.