A question about infinite derivative There is an assertion that if f and g are both differentiable at x, then so is f + g at x. It is safe if $f'(x)$ and $g'(x)$ are both finite, I wonder if it still holds for infinite derivative. To be precise, suppose $f,g: \mathbb R\to\mathbb R, x\in \mathbb R, f'(x)=\lim\limits_{t\to x}\frac{f(t)-f(x)}{t-x}=+\infty, g'(x)=\lim\limits_{t\to x}\frac{g(t)-g(x)}{t-x}=-\infty$, f and g are both continuous at x, do we always have $f+g$ is still differentiable at x, that is, does the limit $\lim\limits_{t\to x}\frac{(f+g)(t)-(f+g)(x)}{t-x}$ exist in extended real number system? and, if it is, what's the value of $(f+g)'(x)$? is it $+\infty$ or $-\infty$ or a finite real number? if it isn't, could you please come up with an concrete counterexample? Thanks!
 A: First, if the limit 
$$\lim_{t\to x}\frac{f(t)-f(x)}{t-x}$$
is $\infty$ or $-\infty$, then we usually say that $f$ is not differentiable at $x$. (We don't talk about "infinite derivative").
That said: you still have the very basic limit laws in the extended reals
$$\lim_{t\to x}\frac{(f+g)(t) \pm (f+g)(x)}{x-t} = \lim_{t\to x}\frac{f(t)-f(x)}{t-x}\pm\lim_{t\to x}\frac{g(t)-g(x)}{t-x}$$
if both sides make sense in the extended reals. If you are taking $f+g$ and the limit for $f'$ and for $g'$ are $\infty$, then so is the limit for $f+g$; if the limit for $f$ is $\infty$, the limit for $g$ is $-\infty$, then the limit for $f-g$ is $\infty$, etc. 
But you have problems if the operation in the extended reals is undefined, like $\infty-\infty$, which is precisely the example you are looking at. In that case, the limit for $f+g$ may be $\infty$, may be $-\infty$, may be any particular number you care to specify, or may fail to exist altogether. 
In other words, this amounts to asking whether
$$\lim_{x\to a}(f(x)+g(x)) = \lim_{x\to a}f(x) + \lim_{x\to a}g(x)$$
holds in the extended reals (provided the two limits on the right are defined). The answer is that it holds provided the expression on the right is defined in the extended reals: if it is of the form $\infty+\infty$, $-\infty-\infty$, $\infty+M$, $-\infty+M$, or $L+M$, with $L$ and $M$ (finite) real numbers. But if the expression on the right is $\infty-\infty$ or $-\infty+\infty$, then the equality does not make sense, because the operation on the right hand side is undefined.
For specific examples, take $f(x) = x^{1/3}+kx$ and $g(x)=-x^{1/3}$. Then 
$$
\begin{align*}
\lim_{t\to 0}\frac{g(t)-g(0)}{t} &= \lim_{t\to 0}\frac{-t^{1/3}}{t}\\
&= -\lim_{t\to x}\frac{1}{t^{2/3}} = -\infty,\\
\lim_{t\to 0}\frac{f(t)-f(0)}{t} &= \lim_{t\to 0}\frac{t^{1/3}+kt}{t}\\
&=\lim_{t\to 0}t^{-2/3}+k = \infty,\\
\lim_{t\to 0}\frac{(f+g)(t) - (f+g)(0)}{t} &= \lim_{t\to 0}\frac{t^{1/3}+kt - t^{1/3}}{t}\\
&= \lim_{t\to 0}k = k.
\end{align*}
$$
So here we have an example where $(f+g)'(0)$ is finite and anything you want. To get an example where $\lim\limits_{t\to 0}\frac{(f+g)(t)-(f+g)(0)}{t} = \infty$, take $f(x) = g(x) = x^{1/3}$. 
To get an example where $\lim\limits_{t\to 0}\frac{(f+g)(t)-(f+g)(0)}{t}=-\infty$, try $f(x) = x^{1/3}$ and $g(x) = -x^{1/9}$. Then
$$\lim\limits_{t\to 0}\frac{t^{1/3}-t^{1/9}}{t} = \lim_{t\to 0}\left(\frac{1}{t^{2/3}} - \frac{1}{t^{8/9}}\right)$$
and since $t^{8/9}$ goes to $0$ faster than $t^{2/3}$, the second term will dominate and give you $-\infty$ in the limit. 
For an example where the limit does not exist and the functions are continuous everywhere, take $f(x) = x^{1/3}$, and 
$$g(x) = \left\{\begin{array}{ll}
-2x^{1/3} &\mbox{if $x\lt 0$,}\\
-x^{1/3}&\mbox{if $x\geq 0$.}
\end{array}\right.$$
Then $g$ is continuous everywhere, and has
$$\begin{align*}
\lim_{t\to 0^+}\frac{g(t)-g(0)}{t} &= \lim_{t\to 0^+}\frac{-t^{1/3}}{t} = -\infty,\\
\lim_{t\to 0^-}\frac{g(t)-g(0)}{t} &=\lim_{t\to 0^-}\frac{-2t^{1/3}}{t} = -\infty.
\end{align*}$$
On the other hand, we have
$$(f+g)(x) = \left\{\begin{array}{ll}
0&\mbox{if $x\geq 0$,}\\
-x^{1/3} &\mbox{if $x\lt 0$}
\end{array}\right.$$
so that 
$$\begin{align*}
\lim_{t\to 0^+}\frac{(f+g)(t) - (f+g)(0)}{t} &= 0\\
\lim_{t\to 0^-}\frac{(f+g)(t) - (f+g)(0)}{t} &= \lim_{t\to 0^-}\frac{-t^{1/3}}{t} = -\infty
\end{align*}$$
so the limit does not exist. 
Changing $g$ so that it is $-\frac{1}{2}t^{1/3}$ on the nonnegative reals will give you that the difference quotient for $f+g$ has infinite limit when we approach $0$ from the right, and limit $-\infty$ when we approach from the left.
Note that these functions are continuous everywhere, and have derivatives defined everywhere outside of $0$. 
A: Consider $f(x)=h(x)+a(x)$ and $g(x)=-h(x)$, where $h(x)$ is some jump function with infinite derivative (say, $-1$ for $x<0$, $1$ for $x>0$ and $0$ for $x=0$) and $a(x)$ is some non-differentiable function with variation less than the jump in $a$ (say, $1/2$ times the characteristic function of the rationals). Then $f$ and $g$ fulfill your premises, but $f+g$ is not differentiable, not even continuous.
Edit in response to the comment:
Sorry, I overlooked that requirement. Then would $h(x)=\frac{x}{\lvert x \rvert}\sqrt{\lvert x \rvert}$ and $a(x) = x \chi_\mathbb{Q}(x)$ do?
