How to Calculate a Limit Using Cauchy's Mean Value Theorem?

  • Thread starter Thread starter transgalactic
  • Start date Start date
transgalactic
Messages
1,386
Reaction score
0
f(x) and g(x) are differentiable on 0
f(0)=g(0)=0

calculate
<br /> \lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2} <br />
??

it looks like cauchys mean value theorem
F(x)=cos(f(x))
G(x)=cos(g(x))
what to do next??
 
Physics news on Phys.org
Welcome to the second millenium!

Hi transgalactic! Congrats on your 1001st post! :smile:
transgalactic said:
f(x) and g(x) are differentiable on 0
f(0)=g(0)=0

calculate
<br /> \lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2} <br />

Hint: use L'Hôpital's rule … twice! :wink:
 
tiny-tim, that was my first thought. But we don't know that f and g are twice differentiable.
 
always look on the bright side of life … ♩ ♫ ♪ ♫ ♬ ♩

HallsofIvy said:
tiny-tim, that was my first thought. But we don't know that f and g are twice differentiable.

oh tush, mr glass-half-empty …

:biggrin: we don't know that they aren't! :biggrin:

:smile: happy days are here again
the skies above are clear again
let us sing a song of cheer again
happy days are here again! :smile:
 
<br /> \lim _{x-&gt;0}\frac{-cosf(x)+cosg(x)}{2} <br />
so the solution is 0
??
 
transgalactic said:
<br /> \lim _{x-&gt;0}\frac{-cosf(x)+cosg(x)}{2} <br />
so the solution is 0
??

uhh? :confused:

however did you get that?

always show your full calculations! :rolleyes:
 
<br /> \lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2} =\lim _{x-&gt;0}\frac{-f&#039;(x)sin(f(x))-f&#039;(x)sing(x)}{2x}=\lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(f(x)+f&#039;(x)cos(f(x))-f&#039;&#039;(x)sing(x)+f&#039;(x)cosg(x)}{2}<br />
??
 
That's better! :smile:

And if f(0)=g(0)=0, then that = … ?
 
Transgalactic, as much as I hate to pour cold water on the party, you started by saying "if f and g are differentiable at 0". Is that all you are given or are you given that the second derivative exists?
 
  • #10
its said that" they are differentiable on 0

but not necessarily differentiable around 0
 
  • #11
HallsofIvy said:
Transgalactic, as much as I hate to pour cold water on the party, you started by saying "if f and g are differentiable at 0". Is that all you are given or are you given that the second derivative exists?
transgalactic said:
its said that" they are differentiable on 0

but not necessarily differentiable around 0

This is a bit of a technicality … we'll discuss why in a moment …

but first, just answer my previous question: what is that limit equal to at x = 0?

(oh, btw, just noticed :redface: … you should have had an f'(x)2 somewhere in that :wink:)
 
  • #12
i fixed it to
<br /> \lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2} =\lim _{x-&gt;0}\frac{-f&#039;(x)sin(f(x))-f&#039;(x)sing(x)}{2x}=\lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(f(x)+(f&#039;(x))^2cos(f(x))-f&#039;&#039;(x)sing(x)+(f&#039;(x))^2cosg(x)}{2}<br />

after i did lhopital twice i got
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)+(f&#039;(x))^2cos(0)-f&#039;&#039;(x)sin0+(f&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{(f&#039;(x))^2+(f&#039;(x))^2}{2}<br />

??
 
  • #13
HallsofIvy said:
Transgalactic, as much as I hate to pour cold water on the party, you started by saying "if f and g are differentiable at 0". Is that all you are given or are you given that the second derivative exists?

I'm with Halls. You only know the derivatives exist AT zero. You can't even apply l'Hopital the first time, you can't take the limit of something you only know exists at a single point. I'd suggest using the series expansion for cos(x) and difference quotients.
 
  • #14
what is the link between the ability of doing lhopital law
and differentiability of a function?
 
  • #15
Take f(x)=x^2*sin(1/x^2), f(x)=0. That's differentiable at 0. In fact, it's differentiable everywhere. But it's not continuously differentiable at 0. You can't do anything with l'Hopital at 0. But that doesn't mean your limit doesn't exist. So the problem with l'Hopital is more than 'technical'.
 
  • #16
transgalactic said:
i fixed it to
<br /> \lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2} =\lim _{x-&gt;0}\frac{-f&#039;(x)sin(f(x))-f&#039;(x)sing(x)}{2x}=\lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(f(x)+(f&#039;(x))^2cos(f(x))-f&#039;&#039;(x)sing(x)+(f&#039;(x))^2cosg(x)}{2}<br />

after i did lhopital twice i got
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)+(f&#039;(x))^2cos(0)-f&#039;&#039;(x)sin0+(f&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{(f&#039;(x))^2+(f&#039;(x))^2}{2}<br />

??

oh, transgalactic, however do you manage to make these mistakes?

you started with an expression that was half f and half g,

but you ended losing all the g :cry:

try again :smile:

(and then we'll sort out the technicalitites :wink:)
 
  • #17
fixed it
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)+(f&#039;(x))^2cos(0)-g&#039;&#039;(x)sin0+(g&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{(f&#039;(x))^2+(g&#039;(x))^2}{2}<br />

??
 
Last edited:
  • #18
transgalactic said:
fixed it
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)+(f&#039;(x))^2cos(0)-g&#039;&#039;(x)sin0+(g&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{(f&#039;(x))^2+(g&#039;(x))^2}{2}<br />

??

much better! :smile:

(though you still need to fiddle around with those pluses and minuses :wink:)

EDIT: oh, and since f'(0) and g'(0) are both defined as existing, is there any reason why you can't use them at the end? :smile:
 
Last edited:
  • #19
fixed it
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)-(f&#039;(x))^2cos(0)+g&#039;&#039;(x)sin0+(g&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{-(f&#039;(x))^2+(g&#039;(x))^2}{2}<br />

??
 
Last edited:
  • #20
what now??
 
  • #21
Transgalactic, could you state the question exactly as written in your text? In particular, the phrase "f(x) and g(x) are differentiable on 0" does not make much sense (to me, at least). Does the text say something slightly different than "on 0"?
 
  • #22
f(x) and g(x) are differentiable on 0.
f(0)=g(0)=0
calculate "the presented limit"
notice:
f(x) and g(x) are not necessarily differentiable around 0
 
  • #23
transgalactic said:
fixed it
<br /> \lim _{x-&gt;0}\frac{-f&#039;&#039;(x)sin(0)-(f&#039;(x))^2cos(0)+g&#039;&#039;(x)sin0+(g&#039;(x))^2cos0}{2}=\lim _{x-&gt;0}\frac{-(f&#039;(x))^2+(g&#039;(x))^2}{2}<br />

??

yes! :smile:

and now how about using f'(0) and g'(0)?​
 
  • #24
how??
its differentiable on
but i don't know the final value of the derivative around
??
 
  • #25
transgalactic said:
how??
its differentiable on
but i don't know the final value of the derivative around
??
What you have written assumes the derivative exists around 0. (In fact, as I have pointed out, this whole approach assumes f and g are twice differentiable in some neighborhood of 0)

If the derivative does exist in some neighborhood of 0, then, although a derivative is not necessarily continuous, it does satisfy the "intermediate value property" so \lim_{x\rightarrow 0} f&#039;(x)= f&#039;(0) and \lim_{x\rightarrow 0} g&#039;(x)= g&#039;(0). I presume you do not know the actual values of f'(0) and g'(0) but at least
\frac{g&#039;(0)^2- f&#039;(0)^2}{2}
is simpler than what you have.
 
Last edited by a moderator:
  • #26
transgalactic said:
f(x) and g(x) are differentiable on 0.
f(0)=g(0)=0
notice:
f(x) and g(x) are not necessarily differentiable around 0
So, what does "f(x) and g(x) are differentiable on 0" mean to you? Say so in mathematics. Understanding what this means is key to answering this question.
 
  • #27
D H said:
So, what does "f(x) and g(x) are differentiable on 0" mean to you? Say so in mathematics. Understanding what this means is key to answering this question.

that means that by definition of a derivative the limit of g(x) and f(x) gives me a finite solution.
??
 
  • #28
Say it in math, not words.
 
  • #29
<br /> \lim_{h-&gt;0}\frac{f(x+h)-f(x)}{h}=const\\<br />
<br /> \lim_{h-&gt;0}\frac{g(x+h)-g(x)}{h}=const<br />

??
 
  • #30
No. The problem definitely does not say that f(x) and g(x) are straight lines, which is exactly what you have written in this last post.
 
  • #31
is that ok??
<br /> \lim_{x-&gt;0}\frac{f(x)-f(0)}{x}=const\\<br />
<br /> \lim_{x-&gt;0}\frac{g(x)-g(0)}{x}=const<br />
 
  • #32
It's not a constant. Stop doing that.
 
  • #33
ok its not a constant i have written my words into math
what is the next step??
 
  • #34
What does the fact that the derivatives exist at x=0 tell you about the value of the functions for x near zero?
 
  • #35
it tells me that the values from the right and left sides little by little become
closer to the value at f(0)

differential is also continues
<br /> \lim_{x-&gt;0^+}\frac{f(x)-f(0)}{x}=\lim_{x-&gt;0^-}\frac{f(x)-f(0)}{x}=f(0)=0<br />
??
 
  • #36
You aren't telling me anything you didn't say in post 29, and that last bit, that the derivatives are zero, is wrong.
 
  • #37
sorry i ment to write the definition of continuity
<br /> \lim_{x-&gt;0^+}f(x)=\lim_{x-&gt;0^-}f(x)=f(0)=0<br />??
 
  • #38
Stop with the "??" stuff, please. And please answer the question raised in post #34.
 
  • #39
i don't know
i think that if the derivative exist at x=0
and because i was told that f(0)=g(0)=0
then the function around zero would have values close to 0.
 
  • #40
Say that mathematically.
 
  • #41
<br /> \lim_{x-&gt;0^+}f(x)=\lim_{x-&gt;0^-}f(x)=f(0)=0<br /> <br />
 
Last edited:
  • #42
What is the value of f(x) for x near zero?
 
  • #43
the value of f(x) near zero is close to 0
i can't imagine anything else
 
  • #44
What does f&#039;(0) = \lim_{x\to 0}\frac{f(x)-f(0)}{x} tell you about f(x) when x is close to but not equal to zero?
 
  • #45
it tells me that the slope of f(x) in the ever closing interval near point 0
(from x to 0)
gets closser to the value of f'(0)
 
  • #46
I did not ask for that and you specifically do not know that. In post #22 you said "f(x) and g(x) are not necessarily differentiable around 0".

I asked you to tell me about f(x) near 0. What is it, approximately?
 
  • #47
transgalactic said:
is that ok??
<br /> \lim_{x-&gt;0}\frac{f(x)-f(0)}{x}=const\\<br />
<br /> \lim_{x-&gt;0}\frac{g(x)-g(0)}{x}=const<br />
transgalactic said:
it tells me that the values from the right and left sides little by little become
closer to the value at f(0)

differential is also continues
<br /> \lim_{x-&gt;0^+}\frac{f(x)-f(0)}{x}=\lim_{x-&gt;0^-}\frac{f(x)-f(0)}{x}=f(0)=0<br />
??

hey guys! why is everybody going round in circles?

transgalactic, you're doing your usual problem of not quite writing what you mean …

you meant <br /> \lim_{x-&gt;0^+}\frac{f(x)-f(0)}{x}=\lim_{x-&gt;0^-}\frac{f(x)-f(0)}{x} = f'(0) = 0 :rolleyes:

(btw, the differential is not necessarily continuous … as you pointed out, we don't even know that it exists except at x = 0 … the equation above is the definition of f'(0), isn't it? :smile:)

hmm … where had we got to? :confused:

oh yes … we'd found that if f was differentiable over a neighbourhood, then we could use l'Hôpital's rule (twice) to get (g'(0)2 - f'(0)2)/2

but all we know about f' and g' is that they exist (and are 0) at x = 0, and they may not even exist anywhere else

but we can be pretty confident that the answer is still (g'(0)2 - f'(0)2)/2 … so let's set about proving it

let's remind ourselve of the original question:
f(x) and g(x) are differentiable on 0
f(0)=g(0)=0

calculate
\lim _{x-&gt;0}\frac{cosf(x)-cosg(x)}{x^2}

and let's rewrite that as

\lim _{x-&gt;0}\frac{(cos(f(x)) - 1) - (cos(g(x)) - 1)}{x^2}

(we're doing that because (cos(0) - 1) is 0, and so (cos - 1) will be much more convenient than cos in a moment)

and then just consider half of it …

\lim _{x-&gt;0}\frac{cos(f(x)) - 1}{x^2}

what expansion or approximation do you know for cos(f(x)) - 1 when x -> 0? :smile:
 
  • #48
the expansion for cos x around 0 is
<br /> cosx=1+0-\frac{x^2}{2!}<br />
but we need to substitute f(x) instead of x in cos x
??

and i was told specifically that the function not necessarily differentiable around 0 .
so on what basis e use lhopital law(twice)?
regard D.H question:
i don't know what is the value of f(x) around zero
i ran out of options.
 
  • #49
transgalactic said:
the expansion for cos x around 0 is
cosx=1+0-\frac{x^2}{2!}
but we need to substitute f(x) instead of x in cos x …

(why did you write +0? :confused:

did you mean O(x4)?)

Yes … you do need to substitute f(x) … so it's
cos(f(x))=1\ -\ \frac{(f(x))^2}{2!}
… and i was told specifically that the function not necessarily differentiable around 0 .

ah, but we haven't used f'

that equation only uses f.

ok, so what can you say about \lim _{x-&gt;0}\frac{cos(f(x)) - 1}{x^2} ? :smile:
 
  • #50
i got this expression but i have x in the denominator
so its not defined when x->0 because the numenator goes to 0 too.
<br /> \lim _{x-&gt;0}\frac{1\ -\ \frac{(f(x))^2}{2!} - 1}{x^2}=\lim _{x-&gt;0}\frac{\ -\ (f(x))^2 }{x^22!}<br />
 
Back
Top