Analysis of a function(relatively easy)

  • Thread starter Thread starter Wingeer
  • Start date Start date
  • Tags Tags
    Analysis
Click For Summary

Homework Help Overview

The discussion revolves around analyzing the function defined piecewise, particularly focusing on its derivative at the point x=0. The original poster seeks to demonstrate that there are points in any interval containing x=0 where the derivative is negative, despite the derivative at x=0 being positive.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the application of the mean value theorem to find the derivative at x=0 and question the correctness of the original poster's approach. There are attempts to clarify the definition of the derivative and its computation using limits.

Discussion Status

Participants are actively engaging with the problem, offering hints and questioning assumptions. Some have pointed out potential misunderstandings regarding the mean value theorem and the definition of the derivative, while others are exploring the implications of the function's behavior around x=0.

Contextual Notes

There is a noted uncertainty regarding the application of the mean value theorem and the correct computation of the derivative at x=0. Participants are also considering the implications of the function's definition on its differentiability.

Wingeer
Messages
76
Reaction score
0

Homework Statement



Given the function:
[tex]f(x)=\left\{<br /> \begin{array}{cl}<br /> x+2x^2\sin\left(\frac{1}{x}\right), & x\neq 0 \\<br /> 0, & x=0<br /> \end{array}\right.[/tex]
& [tex]f'(0)=1[/tex]

"Show that all intervals containing x=0, will also have a point where f'(x) < 0. (This shows that even if f'(0) > 0, f is not increasing on any interval containing x=0"

Homework Equations



Well, this is part b of a problem. Part a was to find f'(0)=1, which I did by the mean-value theorem.

The Attempt at a Solution



If I could just get a hint on how to solve this, part b, I will attempt a solution.
 
Physics news on Phys.org
Write out f'(x) and think about what values it takes for x=1/(n*pi) where n is an integer.
 
How did you "use the mean value theorem" to find f'(0)= 0?
 
HallsofIvy said:
How did you "use the mean value theorem" to find f'(0)= 0?

Well, now you are making me unsure. But this is what I did:
[tex]f'(0)= \frac {f(1)-f(-1)}{1-(-1)} = \frac {(1+2 sin(1))-(-1 +2 sin(-1))}{2} = \frac {2+2 sin(1) - sin(-1)}{2} = \frac {2}{2} = 1[/tex]
 
Wingeer said:
Well, now you are making me unsure. But this is what I did:
[tex]f'(0)= \frac {f(1)-f(-1)}{1-(-1)} = \frac {(1+2 sin(1))-(-1 +2 sin(-1))}{2} = \frac {2+2 sin(1) - sin(-1)}{2} = \frac {2}{2} = 1[/tex]

Aside from being numerically wrong, that's not the definition of the derivative f'(0). Don't you have to take a limit to find f'(0)?
 
Well. By the definition of the derivative, we have got [tex]f'(x) = {\lim}\limits_{h \to 0} \frac {x + 2(x+h)^2 \cdot sin( \frac{1}{x+h}) -(x + 2x^2 sin (\frac {1}{x}))}{h}[/tex]

Edit: flaw in the expression. Thanks to Dick for pointing it out.
 
Last edited:
That getting there. But you want f' when x=0. That makes (f(x+h)-f(x))/h just (f(h)-f(0))/h. Since f(0)=0, that's just f(h)/h. BTW don't forget the x term in the definition of f(x).
 
Dick said:
That getting there. But you want f' when x=0. That makes (f(x+h)-f(x))/h just (f(h)-f(0))/h. Since f(0)=0, that's just f(h)/h. BTW don't forget the x term in the definition of f(x).

Did I forget something?
Yes, I see it now. The reason I didn't do this at first, was that I filled in, then substituted x with 0, and therefore got some undefined trigonometric identities.

Edit: Which I now see is defined by the definition of the function. My head is not top notch today.
 
Last edited:
My point was that knowing that (f(1)- f(-1))/(1-(-1))= 1 only tells you that there is SOME x between -1 and 1 such that f'(p)= 1, not that that point is x=0!

The reason I asked instead of simply saying that the mean value theorem wouldn't work is that if you could find a sequence of points [itex]\{x_n\}[/itex] such that [itex](f(x_n)- f(-x_n))/(x_n- (-x_n))= 1[/itex] then you could "squeez" that point to x= 0, but I couldn't see how to do that.

In any case, as Dick told you, the basic formula [itex]f'(0)= lim (f(h)- f(0))/h[/itex] works.
 
  • #10
Yes, I get it now. The second task is still a bit diffuse to me though.
 
  • #11
Wingeer said:
Yes, I get it now. The second task is still a bit diffuse to me though.

You are probably overlooking post 2.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
15
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
26
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 1 ·
Replies
1
Views
1K