Imagine this function :
$$ f(x)=\begin{cases} x^2,\quad x<0 \\ \sqrt{x},\quad x\ge0. \end{cases} $$
In my lecture, my professor told me $f(x)$ is not differentiable at $0$ but $f(x)$ has an inflection point at $x=0$.
I get the idea that when $x<0$, $f(x)$ is concave up and when $x>0$, $f(x)$ concaves down; but I believe that if $f(x)$ is not differentiable at $0$, then $0$ fails the definition of being an inflection point.
For context, this is how "inflection point" and concavity" is defined in my course:
Let $f$ be a differentiable function defined on open interval $I$.
We say that $f$ concave-up on $I$ when $f'$ is increasing on $I$.
We say that $f$ is concave-down on $I$ when $f'$ is decreasing on $I$.
Let $c$ be an interior point to $I$.
We say that has an inflection point at $c$ when
"$f$ changes concavity at $c$".
We say "$f$ changes concavity at $c$" when $\exists\delta > 0$ such that
$f$ is concave-up on $[c-δ,c]$ and concave-down on $[c,c+ δ]$
or vice versa.
So according to the definition, an inflection point must be differentiable because
- it is defined within a context of a differentiable interval;
- it is defined as a point when $f'$ is increasing on a small CLOSED interval with $c$ being the right endpoint and decreasing on a small CLOSED interval with $c$ being the left endpoint (or vice versa).
Both of these conditions require $f'$ to be defined at $c$ which means $f$ is differentiable at $c$.
However, for my $f(x)$ it is not differentiable at $c=0$.
The definition of an inflection point on Wikipedia also requires $f'$ to be defined at that point:
For example, the graph of the differentiable function has an inflection point at $(x, f(x))$ if and only if its first derivative $f'$ has an isolated extremum at $x$. (this is not the same as saying that $f$ has an extremum). That is, in some neighborhood, $x$ is the one and only point at which $f'$ has a (local) minimum or maximum.
So what do u guys think? Further more, consider this function: $$f(x)=\sqrt[3]{x}.$$
It's also non-differentiable at $0$ but concave up when negative and concave up when negative. Would you consider $0$ an inflection point?
Are there any alternative, more rigorous definitions of concavity that can handle these cases?