I was given this function:


And was asked to find for what $p, q>0$ it is differentiable at $x=0$.

First I saw it is continuous when $p>0, q>0$.

Now, I tried to see if the limit for $f'(x)$ exists at $x=0$. This function is even so I looked at the right side only.


I get that this limit exists when $p>1$, and for all $q>0$, but looking at the graph online it doesn't seem to be right. What am I doing wrong here (if anything)?

Thanks a lot!

  • $\begingroup$ You have solved it correctly. Graphical aids are often inaccurate for plots like these. How were you able to draw any conclusion for $f$ near $0$ using its graph? $\endgroup$ – Shubham Johri Jan 8 '19 at 19:53
  • $\begingroup$ I got confused and looked for the derivative to be continuous. $\endgroup$ – איתן לוי Jan 8 '19 at 20:02

Your conclusion is right for $p>1$ and all values of $q>0$. The reason why you don't observe so on the graph is the the oscillation of the function increases around $x=0$ so it's indistinguishable to see whether the function is differentiable in $x=0$ or not. Also the function has no continuous derivative in $x=0$ for $0<p\le 1$. The figure below shows why:

enter image description here

| cite | improve this answer | |

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.