Combination Theorem for Continuous Mappings/Metric Space/Combined Sum Rule

Theorem
Let $M = \struct {A, d}$ be a metric space.

Let $\R$ denote the real numbers.

Let $f: M \to \R$ and $g: M \to \R$ be real-valued functions from $M$ to $\R$ which are continuous on $M$.

Let $\lambda, \mu \in \R$ be arbitrary real numbers.

Then:
 * $\lambda f + \mu g$ is ‎continuous on $M$.

Proof
By definition of ‎continuous:
 * $\forall a \in M: \ds \lim_{x \mathop \to a} \map f x = \map f a$
 * $\forall a \in M: \ds \lim_{x \mathop \to a} \map g x = \map g a$

Let $f$ and $g$ tend to the following limits:
 * $\ds \lim_{x \mathop \to a} \map f x = l$
 * $\ds \lim_{x \mathop \to a} \map g x = m$

From the Multiple Rule for Limits of Real Functions, we have that:
 * $\ds \lim_{x \mathop \to a} \paren {\lambda \map f x} = \lambda l$

and:
 * $\ds \lim_{x \mathop \to a} \paren {\mu \map g x} = \mu m$

From the Sum Rule for Limits of Real Functions, we have that:
 * $\ds \lim_{x \mathop \to a} \paren {\lambda \map f x + \mu \map g x} = \lambda l + \mu m$

So, by definition of ‎continuous again, we have that $\lambda f + \mu g$ is continuous on $M$.