So I have another question about functions:

Question: If neither $f$ nor $g$ is differentiable at $a$, but both are continuous at $a$, then $f+g$ is not differentiable at $a$.

I know that we could have a function $f(a)=|a|$ and $g(a)=|a|$, where $a=0$, so this means $f$ and $g$ are both continuous but not differentiable at $a=0$.

But how do I show that $f+g$ is not differentiable now? How would I go about this?

  • 1
    $\begingroup$ You can't -- the (rather unsatisfying) counterexample is that $|x|$ and $-|x|$ are continuous every, nondifferentiable at the origin, but their sum is differentiable everywhere. $\endgroup$ – Rellek Dec 16 '17 at 19:22

Let $f=|x|$ and $g=-|x|$.

The statement is not true.

| cite | improve this answer | |
  • $\begingroup$ Thank you, would it still work if I used f(x) = |x| and g(x) = |x|? or does it have to be f(x) = |x| and g(x) = -|x|?? $\endgroup$ – The Statistician Dec 16 '17 at 19:27
  • $\begingroup$ $f(x)+g(x)=2|x|$ it is still not differentiable at $x=0$ hence it can't be a counter example. $\endgroup$ – Siong Thye Goh Dec 16 '17 at 19:28
  • $\begingroup$ Okay, thank you for the help. $\endgroup$ – The Statistician Dec 16 '17 at 19:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.