Part of calculus is memorizing the basic derivative rules. One of these is the rule for the derivative of lnx, which is 1/x. In the following lesson, we will look at some examples of how to apply this rule to finding different types of derivatives. We will also see how using the laws of logarithms can help make taking these kinds of derivatives even easier.

## Examples of finding the derivative of lnx

Remember that when taking the derivative, you can break the derivative up over addition/subtraction, and you can take out constants. This allows us to find the following.

## Using the laws of logarithms to help

For some derivatives involving ln(x), you will find that the laws of logarithms are helpful. In terms of ln(x), these state:

Using these, you can expand an expression before trying to find the derivative, as you can see in the next few examples.

### Example

Find the derivative of the function.

Before applying any calculus rules, first expand the expression using the laws of logarithms. Here, we can use rule (1). This step is all algebra; no calculus is done until after we expand the expression.

Now, take the derivative. This is the calculus step.

In the example above, only one rule was needed to fully expand the expression. The next example shows you how to apply more than one rule.

### Example

Find the derivative of the function.

Before taking the derivative, we will expand this expression. Since the exponent is only on the x, we will need to first break this up as a product, using rule (2) above. Then, we can apply rule (1).

Now take the derivative of the expanded form of the function.

You may be wondering what happened to ln(5). Remember – this is a constant. The derivative of a constant is zero.

None of these examples have used rule (3), so let’s look at one more example to see how that might be applied.

### Example

Find the derivative of the function.

Here we have a fraction, which we can expand with rule (3), and then a power, which we can expand with rule (1). Remember that this is just algebra – no calculus is involved just yet.

Now that we have ln(x) by itself, we can apply the derivative rule for the natural log.

As in the previous example, ln(6) is a constant, so its derivative is zero.

## Combining with other rules

Each of the derivatives above could also have been found using the chain rule. As you study calculus, you will find that many problems have multiple possible approaches. However, there are some cases where you have no choice. For example, consider the following function.

Since this is not simply ln(x), we cannot apply the basic rule for the derivative of the natural log. Also, since there is no rule about breaking up a logarithm over addition (you can’t just break this into two parts), we can’t expand the expression like we did above. Instead, here, you MUST use the chain rule. Let’s see how that would work.

### Example

Find the derivative of the function.

Apply the chain rule.

Since this cannot be simplified, we have our final answer.

In some problems, you will find that there is a bit of algebra in the last step, with common factors cancelling. Be sure to always check for this.

## Summary

Remember the following points when finding the derivative of ln(x):

- The derivative of ln(x) is 1/x.
- In certain situations, you can apply the laws of logarithms to the function first, and then take the derivative.
- Values like ln(5) and ln(2) are constants; their derivatives are zero.
- ln(x + y) DOES NOT EQUAL ln(x) + ln(y); for a function with addition inside the natural log, you need the chain rule.
- ln(x – y) DOES NOT EQUAL ln(x) – ln(y); for a function with subtraction inside the natural log, you need the chain rule.

## Continue your study of derivatives

- The derivative of a constant (a number)
- The power rule for derivatives
- The product rule
- The quotient rule
- The chain rule

## Subscribe to our Newsletter!

We are always posting new free lessons and adding more study guides, calculator guides, and problem packs.

Sign up to get occasional emails (once every couple or three weeks) letting you know what's new!