0
$\begingroup$

I am looking for an example to help supplement my understanding of what a "smooth function" is. If possible could someone come up with an example with one variable and another where there are two variables?

  • 0
    Check out this post: http://math.stackexchange.com/q/113148/22405 The solution to your question is the same (and follows ehsanmo's suggestion), you just have to integrate twice instead of once.2012-03-09

2 Answers 2

2

It's very easy to come up with such functions. Suppose we have the function that is identically $0$ on all $\mathbb{R}$ except $[0,2]$, $1$ on $(0,1)$, and $2$ on $[1, 2)$. It's clearly integrable, and so is the integral of its integral.

But differentiating the integral of its integral would clearly give this very discontinuous function.

Or you could play with the example of functions like $f(x) = x^2 \sin(1/x)$, and $0$ at $0$ (which is differentiable, but not continuously differentiable at $0$).

1

Here's a very quick one-variable answer.

Let $f(x) = \frac{1}{6} x^{3} \textrm{sgn}(x).$

You can see a plot of it on WolframAlpha.

Then f'(x) = \frac{1}{2} x^{2} \textrm{sgn}(x) and f''(x) = |x|.

The second derivative is continuous, but not differentiable. The function $\textrm{sgn}(x)$ is $+1$ when $x$ is positive and $-1$ when $x$ is negative.

  • 0
    Yeah, I guess that is a better way of writing it.2012-03-12