# Homework Help: Real Analysis Mean Value Theorem Proof

1. Oct 31, 2012

### NullSpace0

1. The problem statement, all variables and given/known data
Let f: R->R be a function which satisfied f(0)=0 and |df/dx|≤ M. Prove that |f(x)|≤ M*|x|.

2. Relevant equations
Mean value theorem says that if f is continuous on [a,b] and differentiable on (a,b), then there is a point c such that f'(c)=[f(b)-f(a)]/(b-a).

3. The attempt at a solution
Let the derivative of f be between -M and M, and f(0)=0. For any point, p, I know that [f(p)-f(0)]/(p-0)= f(p)/p ≤ |M|.

But I don't know where to go from here...

2. Nov 1, 2012

### jbunniii

Be careful with your absolute values. In fact, for any $p \in \mathbb{R}$, you know the following:
$$\left|\frac{f(p) - f(0)}{p - 0}\right| = \left| \frac{f(p)}{p} \right| \leq M$$
However, you need to fill in the details to explain exactly how you are applying the MVT to deduce this inequality. This is the main part of the proof. Then, to finish the proof, all you have to do is recognize that
$$\left| \frac{f(p)}{p} \right| = \frac{|f(p)|}{|p|}$$
and you're done.

3. Nov 1, 2012

### jbunniii

To apply the MVT, I suggest considering two cases: $p > 0$ and $p < 0$. (The $p = 0$ case is obviously true without having to use the MVT.)

For the first case, consider the interval $[0,p]$, and for the second case, consider $[p,0]$.

4. Nov 1, 2012

### NullSpace0

Well the MVT says that if f is continuous on [a,b] and differentiable on (a,b), then there is a point c is f'(c)=(f(b)-f(a))/(b-a).

Let's look at the interval [0,p] for a positive p. Since we're assuming f to be differentiable on the open region of this, we know there is some point such that f'(c)=f(p)/p, as said before. This slope, but assumption, can be no larger than M. So |f(p)/p| is less than or equal to M. This means that |f(p)|/|p| is less than or equal to M. Thus, |f(p)| is less than or equal to M*|p|... switch p to x, and I proved what was required.

If we assume p to be negative, then look at [p,0]. Now by the MVT, we know there is some c such that f'(c)=(f(0)-f(p))/(0-p)= -f(p)/p. This must be less than or equal to M. So |f(p)/p|=|f(p)|/|p| is less than or equal to M as above.

How do I get from that particular point c to a property that holds for the entire interval?

5. Nov 1, 2012

### LCKurtz

Maybe try an indirect argument -- what if there is a point p with |f(p)|>M|p|?

6. Nov 1, 2012

### NullSpace0

Aha! Let's assume to the contrary that there IS a point, x, where |f(x)|>M*|x|. Then the MVT tells us that for the interval [0,x], there is a point c where the slope at c is equal to f(x)/x, but that is greater than M in absolute value terms, contradicting the assumption that |df/dx|< M. Similarly, if the point x were negative, I could make the same argument on the interval [x,0].

Does that work?

7. Nov 1, 2012

### LCKurtz

That's the idea I was thinking. The details are yours...

8. Nov 1, 2012

### jbunniii

Exactly as you did above. What makes you think there's anything wrong with your proof? It looks fine to me. You might clean it up a bit by referring directly to x instead of p, such as the following:

If $x > 0$, then we may apply the MVT to the interval $[0,x]$. This tells us that there is some point $c$ such that $0 < c < x$ and
$$f'(c) = \frac{f(x) - f(0)}{x - 0} = \frac{f(x)}{x}$$
Therefore,
$$\left|\frac{f(x)}{x}\right| = |f'(c)| \leq M$$
so
$$|f(x)| \leq M |x|$$
Note that the choice of $c$ depends on $x$, but all that matters is that for any $x$, we can find a $c$ that works.

The proof is similar if $x < 0$. Finally, if $x = 0$ then clearly $0 = |f(x)| \leq M |x| = 0$.

Last edited: Nov 1, 2012