# L’Hôpital’s rule

Evaluating the limit of *x*-3 with *x* approaching 4 is very easy and straightforward: you just plug in the value *x* tends to and you’re done!

Another example:

How about this?

As we saw here, one divided by zero equals infinity, therefore one divided by infinity equals zero.

We can’t evaluate limits directly by substitution when, if we do substitute, we get an indeterminate result, like *infinity*/*infinity*, 0/0,* infinity* – *infinity*, 0 times *infinity*, *infinity*/0. When this happens, we need to rewrite the limit, without substitution, and apply * L’Hôpital’s rule*. But what is it?

I’ve come up with this limit because if we plug in pi/2 we get *infinity*–*infinity*, one of the indeterminate results, but we want to know the numeric result. Let’s see what we can do before we use L’Hôpital’s rule.

* *sec(*x*)* *can be written as 1/cos(*x*), and tan(*x*) as sin(*x*)/cos(*x*).

Let’s simplify this:

This is equivalent to the expression we had at the beginning, so if we use substitution we will still get an indeterminate result:

This means that *infinity*–*infinity *is equal to 0/0. But what’s the result?

L’Hôpital’s rule helps us solve these kind of limits by taking the derivative of nominator and denominator. Both must have at least a function of *x*, i.e. *x* must appear in both. If there’s no *x* present at the denominator, you can do this: let’s assume we have *x*/3; in order to apply the rule we can write it as *x*²/3*x*. As you may have noticed, the two expressions are equivalent.

Now, back to the limit we had:

Let’s apply the rule:

Notice how I used the right arrow and not the equal sign; this is because we still have a limit on the other sides, so the previous limit tends to (—>) the other, or at least this is what I think. If you wish, you can use the ‘=’ though.

Once we’re done with the rule, we can try and substitute the value *x* tends to:

Who would have imagined that *infinity* – *infinity* and 0/0 are equal to 0? Although that seemed pretty obvious already at the beginning, we had to prove it.

If you still get an indeterminate result after applying L’Hôpital’s rule you can apply it again, until you get the result.

I hope this explanation was clear, and if and if there’s something you didn’t quite understand, leave a comment down below and I will be happy to help you! Subscribe to stay tuned!

Support my site!

I put all of my efforts to make this site as good as possible. If you would like, you can help my site grow with a small donation! I would really appreciate it.

$1.00