1. Proving a limit exists

Need a little help on the homework in the calculus book...

I need to use an example to prove that Lim [F(x)+G(x)] as X approaches A may exist, even if neither Lim F(x) as X approaches A nor Lim G(x) as X approaches A exist.

I know this has something to do with the "Pinch" Theorem, but I really don't know where to go with this.

Thanks!

2. Originally Posted by JasonW
Need a little help on the homework in the calculus book...

I need to use an example to prove that Lim [F(x)+G(x)] as X approaches A may exist, even if neither Lim F(x) as X approaches A nor Lim G(x) as X approaches A exist.
Let $f(x) = \left\{ \begin{array}{c}1 \mbox{ if }x\in \mathbb{Q} \\ 0 \mbox{ if }x\not \in \mathbb{Q} \end{array} \right.$ and $g(x) = \left\{ \begin{array}{c}0\mbox{ if }x\in \mathbb{Q} \\ 1 \mbox{ if }x\not \in \mathbb{Q} \end{array} \right.$

Then for any point $a\in \mathbb{R}$ we have that $\lim_{x\to a}f(x)$ and $\lim_{x\to a}g(x)$ fail to exist while $\lim_{x\to a}f(x)+g(x)$ exists.

3. I feel like I should know this already, but what does "Q" represent?

4. Originally Posted by JasonW
I feel like I should know this already, but what does "Q" represent?
Rational numbers. Not "not Q" means an irrational number.

5. Got it, thanks!