Course contentsShow
← Mathematics
Lesson 1432 of 3,12133. Derivatives of Special FunctionsFree lesson

The Derivative of log_a(x) for General Base a

Derive d/dx[log_a(x)] = 1/(x·ln(a)) using the change of base formula and properties of logarithms.

The Derivative of log_a(x) for General Base a

What You'll Learn

You'll discover how to differentiate logarithms with any base by connecting them to the natural logarithm using the change of base formula.

The Core Idea

You already know that the derivative of ln(x) is 1/x. But what if you need to differentiate log₁₀(x) or log₂(x)? The trick is to convert any logarithm to natural logarithm form using the change of base formula.

Recall the change of base formula from algebra:

log_a(x) = ln(x) / ln(a)

This tells us that any logarithm with base a can be written as the natural logarithm of x divided by the natural logarithm of a.

The Derivation

Let's differentiate log_a(x) step by step:

Step 1: Rewrite using change of base

log_a(x) = ln(x) / ln(a)

Step 2: Notice that ln(a) is just a constant (it doesn't depend on x)

log_a(x) = (1/ln(a)) · ln(x)

Step 3: Apply the constant multiple rule

d/dx[log_a(x)] = (1/ln(a)) · d/dx[ln(x)]

Step 4: Use the fact that d/dx[ln(x)] = 1/x

d/dx[log_a(x)] = (1/ln(a)) · (1/x)

Step 5: Simplify

d/dx[log_a(x)] = 1/(x·ln(a))

Notice how this differs from ln(x) by that extra factor of 1/ln(a) in the denominator!

Key Takeaway: The derivative of log_a(x) is 1/(x·ln(a)), which is the derivative of ln(x) scaled by the constant 1/ln(a).