# [(f(x+h) - f(x))/h] versus [(f(x) - f(0))/x]

I have this problem, f(x) = (√x) - 2x On some interval [0,1].

One of the things im supposed to do is to show that it's differentiable on the interval.

Now, I am aware that the definition of the derivative is f'(x) = lim as h$\rightarrow$ 0 of $\frac{f(x+h) - f(x)}{h}$ and that this formula is used to produce the derivative function of f(x).

And that replacing the x with a known x value into the formal definition should produce a derivative value at given x value.. so that using this definition of the derivative would tell me whether or not a function at a single x value is differentiable.

First Question, is what I said thus far correct?

Given what I said above is correct,

I don't want to find the derivative of f(x) = (√x) - 2x at any one single value. I want to find whether or not it is differentiable on the interval [0,1].

How does the formula lim as x→$x_{0}$ of f(x) - f($x_{0}$)/ x - $x_{0}$ come into play and how does it relate to the above definition of a derivative formula?

Mute
Homework Helper
Let $x-x_0 = h$. Your second formula then becomes your first.

So they are the same thing? And should produce the same results?

gb7nash
Homework Helper
I have this problem, f(x) = (√x) - 2x On some interval [0,1].

One of the things im supposed to do is to show that it's differentiable on the interval.

Now, I am aware that the definition of the derivative is f'(x) = lim as h$\rightarrow$ 0 of $\frac{f(x+h) - f(x)}{h}$ and that this formula is used to produce the derivative function of f(x).

And that replacing the x with a known x value into the formal definition should produce a derivative value at given x value.. so that using this definition of the derivative would tell me whether or not a function at a single x value is differentiable.

First Question, is what I said thus far correct?

This is correct. Replacing the general x with x = a, gives us:

$$lim_{h \to 0} \frac{f(a+h)-f(a)}{h}$$

If this limit exists, the derivative is defined for x = a.

How does the formula lim as x→$x_{0}$ of f(x) - f($x_{0}$)/ x - $x_{0}$ come into play and how does it relate to the above definition of a derivative formula?

$\lim_{x \to a} \frac{f(x)-f(a)}{x-a}$ is equivalent to $lim_{h \to 0} \frac{f(a+h)-f(a)}{h}$. In the first case, you're basically taking the limit of the slope of lines that get closer and closer to a, but both limits are equivalent. If the limit exists, the derivative is defined at x = a.

So to find where f(x)= √x - 2x is differentiable , given the interval [0,1], what do I do?

I could say 2x is differentiable everywhere because I know its graph is a line. And √x exists at x>0 but how can I confirm its differentiability?

Do I set up f'x = lim h→0 of ((√(x+h) - 2(x+h)) - (√(x) - 2x))/h and evaluate the formula to come up with the general derivative function for the original function?

Or f'x = lim x→a of ((√(x) - 2x) - (√(a) - 2a))/ x - a and altervatively evaluate this version to come up with a general derivative function for the original function?

or

should I make "x" value from the first formula equal some value from the interval...or let "a" equal some specific value?

Am I supposed to know where its differentiable already, and then simply choose that undifferentiable value into the formula to prove its undifferentiability?

Last edited:
HallsofIvy
Homework Helper
In order to determine whether or not a function is differentiable on a set, look at the generic formula for the derivative and look for places where that fails.

Here, f(x)= x1/2- x. The standard formula for its derivative at $x= x_0$ is
$$\lim_{h\to 0}\frac{(x_0+ h)^{1/2}- (x_0+h)- x_0^{1/2}+ x_0}{h}= \lim_{h\to 0}\frac{(x_0+ h)^{1/2}- x_0^{1/2}- (x_0+ h- x_0)}{h}$$
$$= \lim_{h\to 0}\frac{(x_0+h)^{1/2}- x_0^{1/2}- h}{h}$$
It should be clear that the "-h" on the end will give -1 so we need to focus on the square root.

Rationalize the numerator by multiplying both numerator and denominator by $(x_0)^{1/2}+ x_0^{1/2}$ to get
$$\frac{x_0+ h- x_0}{h((x_0+h)^{1/2}+ x_0^{1/2})}$$$$= \frac{h}{h((x_0+ h)^{1/2}+ x_0^{1/2})}$$$$= \frac{1}{(x_0+ h)^{1/2}+ x_0^{1/2}}$$
Now that the h is gone from the denominator, we can take the limit by setting h equal to 0. That gives
$$\frac{1}{2\sqrt{x_0}}$$
As long as $x_0\ne 0$.

So this is differentiable every where except at x= 0.

If you already know the derivative laws and are not required to use the defining formula (which I did only because you mentioned it specifically) you could argue that the derivative of $\sqrt{x}= x^{1/2}$ is $(1/2)x^{1/2- 1}= (1/2)x^{-1/2}$ and the derivative of x is, of course, 1, so the derivative of $\sqrt{x}- x$ is $(1/2)x^{-1/2}- 1$- which is defined for all x except x= 0.