# Find the 1st derivative

Gold Member
Find the 1st derivative using "the long way" method. Show all the algebra.
$$f(x)=x^2+\frac{4}{x}$$

$$\begin{array}{l} f'(x) = \mathop {\lim }\limits_{h \to 0} \frac{{f(x + h) - f(x)}}{h} = \\ \\ \mathop {\lim }\limits_{h \to 0} \frac{{\left( {x + h} \right)^2 + 4\left( {x + h} \right)^{ - 1} - \left( {x^2 + 4x^{ - 1} } \right)}}{h} = \\ \\ \mathop {\lim }\limits_{h \to 0} \frac{{x^2 + 2xh + h^2 + 4\left( {x + h} \right)^{ - 1} - x^2 - 4x^{ - 1} }}{h} \\ \end{array}$$

Here's where I get stuck. I don't know what to do with
$${\left( {x + h} \right)^{ - 1} }$$

I forget the algebra for this step. Am I even going in the right direction to bring this term up from the denominator?

Galileo
Homework Helper
Ack.. nasty. If you've done such limit problems on simpler functions before you find that you sometimes need to multiply top and bottom by some factor and sometimes you don't. The functions x^2 and 1/x require different treatments, so you really should split the limit in two:

$$f'(x)=\lim_{h \to 0}\frac{(x+h)^2-x^2}{h}+4\lim_{h \to 0}\frac{1/(x+h)-1/x}{h}$$
And solve them seperately.

EDIT: fixed typos: x-> x^2 and 1/x -> 4/x

Last edited:
Gold Member
I don't really follow you here. Don't post a follow up yet, because my brain is dead right now. I might look at this in the morning and understand it.

I'm still concerned since this way is nothing like the lecture notes or the book introduces. And this teacher does take off points for the right answer if you didn't do it the way he wants.

This question was from the test, and I did continue beyond what I posted, but using some very bad algebra. Then I put the correct answer (from the power rule which we couldn't use here). I was hoping he wouldn't catch it. No such luck.

Gold Member
I'm still lost. Sorry Galileo. There's some tricks you're doing that I don't understand.

JasonRox
Homework Helper
Gold Member
tony873004 said:
I'm still lost. Sorry Galileo. There's some tricks you're doing that I don't understand.

He separated the problem that's all.

Simplifying the expression he gave will get you to the beginning of where you started. You might want to do this to show yourself that it is true.

Basically, what he is saying is...

If f(x) = h(x) + g(x), then f'(x) = h'(x) + g'(x).

Note: The derivative must exist obviously.

Curious3141
Homework Helper
Since this was a prob in a test you've already done, I think it's OK to post a complete solution.

For clarity, I'll give it in steps.

$$f(x + h) = (x+h)^2 + \frac{4}{x+h} = x^2 + 2xh + h^2 + \frac{4}{x+h}$$
$$f(x+h) - f(x) = (x^2 + 2xh + h^2 + \frac{4}{x+h}) - (x^2 + \frac{4}{x}) = 2xh + h^2 + 4\frac{x - (x+h)}{x(x+h)} = 2xh + h^2 - 4\frac{h}{x(x+h)}$$
$$\frac{f(x+h) - f(x)}{h} = 2x + h - 4\frac{1}{x(x+h)}$$
$$f'(x) = lim_{h \rightarrow 0}\frac{f(x+h) - f(x)}{h} = 2x - \frac{4}{x^2}$$

Clear enough ?

Hurkyl
Staff Emeritus
Gold Member
Since this was a prob in a test you've already done, I think it's OK to post a complete solution.
Ethical issues with tests and homework aren't the only reasons to avoid posting complete solutions! In general, a student will learn more if they're walked through a problem than if they simply read a solution.

Of course, it's even better to merely point them in the right direction -- but it's hard to give good hints, and sometimes people used to being hand-held aren't too receptive. (This is just a general comment on the philosophy of help! In particular, it's not directed at anyone in this thread)

Last edited:
Curious3141
Homework Helper
Hurkyl said:
Ethical issues with tests and homework aren't the only reasons to avoid posting complete solutions! In general, a student will learn more if they do the problem with help on individual steps as needed than if they simply read the solution.

(Of course, it's even better to point them in the right direction without suggesting steps, but that's a bit more difficult to do, and sometimes those who are used to explicit suggestions aren't too receptive. This is just a general comment -- it is not directed at anyone)

Sometimes, they can learn from worked solutions, so they can apply it to future problems.

Tony's obviously not one of those who want to be spoon-fed. He's worked hard (I think too hard ! ;) ) and showed his working. I think it's OK to give a solution he can learn from for future reference.