What happens with a differentiable function in the neighborhood of x?

Click For Summary

Discussion Overview

The discussion revolves around the behavior of a continuously differentiable function near a point, specifically at x=0, and whether certain conditions imply that the function remains non-negative in a neighborhood of that point. The scope includes mathematical analysis and the exploration of differentiability conditions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant poses a question about whether the existence of points where a function is non-negative in a small interval around zero implies that the function is non-negative throughout that interval.
  • Another participant provides a counterexample using the function \( f(x) = x^3 \sin(1/x) \) for \( x \neq 0 \) and \( f(0) = 0 \), demonstrating that the initial claim does not hold.
  • It is noted that functions of the form \( f(x) = x^n \sin(1/x) \) for \( n \in \mathbb{N} \) also serve as counterexamples, with varying degrees of differentiability depending on whether \( n \) is even or odd.
  • One participant suggests that if the derivative \( f'(x) \) changes sign a finite number of times, then the original statement about non-negativity might hold true.
  • Another participant agrees and elaborates that under this new condition, one can apply the mean value theorem to conclude that \( f(x) \) is non-negative in the interval.
  • It is pointed out that the new constraint does not require \( f' \) to be continuous or \( f \) to be differentiable at zero, only that \( f(0) = 0 \) and the conditions for the mean value theorem are satisfied.

Areas of Agreement / Disagreement

Participants express disagreement regarding the initial claim, with a counterexample provided. However, there is some agreement on the modified condition involving the sign changes of the derivative, suggesting that under certain constraints, the function may indeed be non-negative in the specified interval.

Contextual Notes

The discussion highlights the limitations of the original claim, particularly the need for additional assumptions about the function's behavior and differentiability. The exploration of counterexamples indicates the complexity of the topic.

Skalman
Messages
3
Reaction score
0
A problem in mathematical analysis that I have problems getting to grips with (need it to characterize the direction field of a differential equation)

Suppose f(x) is a continuously differentiable function on ℝ with f(0)=f'(0)=0. Suppose that for any ε>0 there is some x in (0,ε) such that f(x)≥0. Does this mean that there is some δ>0 such that f(x)≥0 for all x in (0,δ)?

If true, how to prove it?

If it is not true, what would be a counterexample?

What additional assumptions on f would make it true?

I have been trying to prove this, but can't seem to discard the possibility of an oscillating f, with the oscillations taking place on smaller and smaller intervals and with lesser and lesser height as x=0 is approached. Still, intuition says that when x=0 is left, for example towards the right, f(x) must go somewhere.
 
Physics news on Phys.org


No, it's not true. A counterexample would be
$$f(x) = \begin{cases}
x^3 \sin(1/x) & \textrm{ if }x \neq 0 \\
0 & \textrm{ if } x = 0\\
\end{cases}$$
It's easy to check that this function is continuously differentiable everywhere, and satisfies ##f(0) = f'(0) = 0##, and it takes on both positive and negative values on the interval ##(0,\epsilon)## no matter how small we make ##\epsilon##.

More generally, for ##n \in \mathbb{N}##,
$$f(x) = \begin{cases}
x^n \sin(1/x) & \textrm{ if }x \neq 0 \\
0 & \textrm{ if } x = 0\\
\end{cases}$$
will ##n/2## times differentiable if ##n## is even, but not ##(n/2)## times continuously differentiable. And it will be ##(n-1)/2## times continuously differentiable if ##n## is odd. When they exist, the derivatives at ##x=0## will be zero. And of course all of these functions will be counterexamples as well, due to the rapid oscillation as ##x \rightarrow 0##.

So it seems that, at minimum, you will need infinite differentiability. I'm not sure if there is a counterexample in that case.
 


Wow, thanks, that's really useful. Would you agree that if additionally f'(x) changes sign a finite number of times, then the statement would hold?
 


Skalman said:
Wow, thanks, that's really useful. Would you agree that if additionally f'(x) changes sign a finite number of times, then the statement would hold?
Yes, it should be no problem then. That would imply we can find an interval ##(0,\epsilon)## over which either ##f'(x) \geq 0## or ##f'(x) \leq 0##. Suppose the first inequality holds throughout ##(0,\epsilon)##. Then if ##0 < x < \epsilon##, we may apply the mean value theorem to conclude that
$$\frac{f(x)}{x} = \frac{f(x) - f(0)}{x - 0} = f'(y)$$
for some ##0 < y < x##. Therefore
$$f(x) = f'(y) x \geq 0$$
As ##x## was arbitrary in ##(0,\epsilon)##, we conclude that ##f \geq 0## on the entire interval.
 


By the way, notice that with the new constraint, we didn't need ##f'## to be continuous, nor did we need ##f'(0) = 0##, nor even for ##f## to be differentiable at ##0##. We just need ##f(0) = 0## and the hypotheses for the mean value theorem: ##f## is continuous on ##[0,\epsilon]## and differentiable on ##(0,\epsilon)##.
 


Ok, I see it very clearly now, thanks again for the help!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K