#help me with calculus

98 messages · Page 1 of 1 (latest)

placid panther
#

I've been trying to find a counterexample for an hour for the following statement :
Given a function that is continuous in [a,b], and differentiable in (a,b). C is a point in (a,b). Then there are 2 points x1,x2 between a and b
a <= x1 < x2 < <= b so that
f'(c) = (f(x2) - f(x1)) / (x2 - x1)

abstract canopyBOT
#
  1. Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
  2. Wait patiently for a helper to come along.
  3. Once someone helps you, say thank you and close the thread with:
    +close
    
  4. Feel free to nominate the person for helper of the week in #helper-nominations
  5. Do not ping the mods, unless someone is breaking the rules.
  6. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
acoustic light
#

For starters use the limit definition of f', then calculate what is (f(x+h)-f(x-h))/h when h tends to zero

#

Now let f=sqrt(1-x^2) and find c such that f'(c) = 1. Now use this weird limit (fix it a bit) and observe what is happening to gain more intuition

dawn arrow
placid panther
#

yeah but it's false

dawn arrow
#

...but the mean value theorem is true.

placid panther
#

i know but it's given that this statement is wrong in the question, and we have to give a counterexample

dawn arrow
#

It's not, though, unless you wrote it wrong.

#

But as written, it's just the mean value theorem.

placid panther
#

i guess it should be for every c between (a,b) there are 2 points

dawn arrow
#

...can you just take a picture or screenshot of the original text?

placid panther
#

not really because it's in a different language, i tried my best to translate it

dawn arrow
#

I expect the part you might have gotten wrong is in the mathematical notation.

placid panther
dawn arrow
#

Before that.

placid panther
dawn arrow
#

Where is c?

#

Is it anywhere on [a, b]?

#

Or on (a, b)?

placid panther
#

no, it's anywhere on (a,b)

dawn arrow
#

Then it can be between x_1 and x_2, which then just makes it the normal mean value theorem.

placid panther
#

i guess i'll have to ask during the next lecture, thanks anyways

dawn arrow
#

Okay, hang on.

#

I think I might see the problem.

#

Or wait, no. The counterexample I thought of is not differentiable on the required interval.

placid panther
#

yeah..

#

i don't even think the statement is wrong personally

#

since we can always find such x1,x2 if we go closer every time to c

dawn arrow
#

Or wait, I see how it's different from the mean value theorem.

#

I don't know how that difference makes it false.

placid panther
#

i asked chatgpt and it told me the statement is wrong but couldn't understand its counterexample

dawn arrow
#

Literally all it knows is what sentences look like.

placid panther
#

it really helps me though, it gives me the way to do stuff sometimes and i continue doing them, when im at a deadend

dawn arrow
#

If you ask it something it can recognize as math, it'll ask WolframAlpha, but then that's still worse than you just asking WolframAlpha.

woven tapir
#

put f(x) = exp(x) in [-1,1] and let c = 0. Then f'(0) = 1. On the other hand we must have (e^b - e^a) / (b-a) = 1 for some a < b in (-1,1). This can't happen. For otherwise e^b-e^a = b-a

#

@placid panther

#

for intuition, if you allow rolle's theorem to hold, then you won't find a counterexample

#

so try something strictly monotone

placid panther
#

alright, thanks! i'll try it

woven tapir
#

as for why said equality can't hold: the only way this holds is if b=a=0

acoustic light
#

I mean the theorem is just another way of saying that a secant line parallel to a tangent cuts the function on at least two points in the interval

woven tapir
#

apparently it isn't

#

the statement allows one to pick c freely

#

that's the problem with it

acoustic light
#

And e^b-e^a = (b-a) has solutions with the lambert function???

woven tapir
#

the only real solutions are 0

#

you can probably conjure something with analytic continuation, but that's wandering a bit too far above our paygrade here

#

unless i made a mistake, you're free to correct

acoustic light
woven tapir
#

that line of thinking wont work here

acoustic light
#

A numerical example that of course is not exact but you can try solving for

e^x = x+1.005, this is the secant line 0.005 above the tangent line for x=0, f(x) = e^x

woven tapir
#

you can prove directly that only a=b=0 works

#

being able to get (arbitrarily) close to 0 is not sufficient here

acoustic light
#

Okay so you're saying that if you give me, say, a = -1/2, I can't find b?

placid panther
#

really? that was my problem with the question (other than finding a counterexample i mean), i thought that there are always x2 and x1 that can work for every c, since the MVT would work once the x2 and x1 are really close to c

#

or maybe you guys are talking about different stuff i got no idea my brain stopped when big words came in chat

woven tapir
#

the mvt states that there exists some c that fits

#

says nothing about arbitrarily chosen c

acoustic light
#

For a = -1/2 I found an explicit solution for b.

#

So you are not correct that only a=b=0 works

woven tapir
#

hm, indeed, I made a logic error

acoustic light
#

So I guess my point stands:

Pick a tangent of f(x) at point c, this is possible because f was differentiable. Now adjust the tangent to become a secant by epsilon. The points of intersection of the secant and f(x) are precisely x1, x2.

#

Or in other words, if you give any x1, x2, then I can find epsilon.

placid panther
#

hmm

woven tapir
#

you pick c and you have to find x1 x2

acoustic light
#

There are infinitely many different x1, x2

woven tapir
#

thought about it some more, If we assume continuously differentiable then I believe what you say works

#

your argument basically says there's a secant line of large slope, and another secant line of small slope, then you squeeze around c and appeal to continuity

#

but continuity of the derivative

#

not f

#

@acoustic light@placid panther

#

at the very least, continuously differentiable around c

#

so we must look for counterexamples among non smooth functions

placid panther
#

thanks guys, ill think about it tomorrow when i wake up

acoustic light
#

And if f is once differentiable on [a,b], then f' is cont...

#

So f doesn't need to be smooth

woven tapir
#

f(x) = x^2 sin (1/x^2), f(0) = 0, is a classic example

woeful anchor
#

What about just, say, sin(x) between -pi/4 and pi/4 and c = 0?

#

since I think the slopes (sin(b) - sin(a))/(b-a) would be strictly upper-bounded by sin'(0) = 1

woven tapir
#

without mvt:

$$ |\sin b - \sin a| = 2\left\lvert \cos \frac{b+a}{2}\sin\frac{b-a}{2}\right\rvert $$

night roseBOT
woven tapir
#

but then it's leq 1, is it strict actually?

#

oh wait I think sinx < x is strict for nonzero x

woven tapir
#

@acoustic light @placid panther

woeful anchor
#

it is the case if you consider convexity arguments i think

#

whether or not a and b are both of the same sign

woven tapir
#

$$ \left\lvert\frac{\sin b -\sin a}{b-a}\right\rvert = \frac{1}{b-a} \left\lvert\int _a^b \cos t dt \right\rvert \leqslant \int _0^1 |\cos (a+s(b-a))|ds < 1 $$

night roseBOT
woven tapir
#

k now I'm convinced

placid panther
#

Ggs, thank you all

#

+close