Clarification on L'Hopital's Rule?

The rule states that:

${ lim }_{ x\rightarrow c }\quad \frac { f(x) }{ g(x) } \quad =\quad { lim }_{ x\rightarrow c }\quad \frac { f'(x) }{ g'(x) }$

Right?

So if

${ lim }_{ x\rightarrow 2 }\frac { { x }^{ 2 }+1 }{ x-1 } \quad =\quad 5$

Then shouldn't

${ lim }_{ x\rightarrow 2 }\frac { { (x }^{ 2 }+1)' }{ (x-1)' } \quad =\quad 5$

Also equal to 5? However, it equals to 4. Can someone help me understand why?
 PhysOrg.com science news on PhysOrg.com >> Galaxies fed by funnels of fuel>> The better to see you with: Scientists build record-setting metamaterial flat lens>> Google eyes emerging markets networks
 l'Hopital's rule only applies when the limit on the left-hand side would give 0/0 or some other indeterminate form when directly evaluated. If you try to use it otherwise, you get gibberish. Edit: Taylor expanding, on the other hand, will always give you a sensible result, and it makes l'Hopital's rule obsolete.

Recognitions:
Gold Member
 Quote by Muphrid l'Hopital's rule only applies when the limit on the left-hand side would give 0/0 or some other indeterminate form when directly evaluated. If you try to use it otherwise, you get gibberish. Edit: Taylor expanding, on the other hand, will always give you a sensible result, and it makes l'Hopital's rule obsolete.
What do you meal by taylor expanding? I think L'Hopital's rule is very far from obsolete.

Clarification on L'Hopital's Rule?

A Taylor series expansion writes a function in terms of its derivatives at a specific point.

$$f(x) = f(a) + (x-a) f'(a) + \frac{1}{2!} (x-a)^2 f''(a) + \frac{1}{3!} (x-a)^3 f'''(a) + \ldots{}$$

This can be used to explain why l'Hopital's rule works (and when it doesn't). Say that we're taking the limit as $x \to a$ and that there are two functions such that $f(a) = g(a) = 0$. Taylor expanding both functions gives us

$$\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f(a) + (x-a) f'(a) + \ldots}{g(a) + (x-a)g'(a) + \ldots} = \lim_{x \to a} \frac{0 + (x-a)f'(a) + \ldots}{0 + (x-a)g'(a) + \ldots}$$

Provided that $f'(a), g'(a) \neq 0$ (or infinity, or something equally ludicrous), you can see how cancelling out $(x-a)$ will give l'Hopital's rule. The $\ldots$ can be safely ignored provided that both first derivatives are nonzero, and if they are both zero, then you can look at the next non-vanishing terms instead.

When $f(a), g(a) \neq 0$, you can read the limit off right away. Anything multiplied by $x-a$ will get very small compared to these constant terms as $x \to a$.

Taylor series expansions are a powerful, surefire way to deal with limits, but in the end, given that you've not even heard of them yet, I wouldn't worry about trying to use them now. Just use l'Hopital's rule only when it's warranted (and not when it's improper to use), and you should be fine. When you get to Taylor series (I assume you will at some point), do consider them for evaluating limits (and lots of other useful things).
 Recognitions: Gold Member I know what taylor expansions are, I just hadn't heard it used as a verb and I wasn't sure you were talking about that. I see where the taylor method comes from, but when you are dealing with more complex stuff and especially when you are dealing with calculating end point behavior/rates of change, I think L'Hopital's rule is much cleaner and nicer.