Combination Theorem for Continuous Functions/Real/Quotient Rule

Theorem
Let $\R$ denote the real numbers.

Let $f$ and $g$ be real functions which are continuous on an open subset $S \subseteq \R$.

Then:
 * $\dfrac f g$ is continuous on $S \setminus \set {x \in S: \map g x = 0}$

that is, on all the points $x$ of $S$ where $\map g x \ne 0$.

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

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

From the Quotient Rule for Limits of Real Functions, we have that:
 * $\ds \lim_{x \mathop \to c} \frac {\map f x} {\map g x} = \frac l m$

wherever $m \ne 0$.

So, by definition of continuous again, we have that $\dfrac f g$ is continuous on all points $x$ of $S$ where $\map g x \ne 0$.