Derivative of Log x: Formula and Proof (original) (raw)

Last Updated : 21 Aug, 2025

**Derivative of log x is 1/x. Log x Derivative refers to the process of finding change in log x function to the independent variable. The specific process of finding the derivative for log x functions is referred to as logarithmic differentiation. The function log x typically refers to the natural logarithm of x, which is the logarithm to the base e, where e is Euler's number, approximately equal to 2.71828.

Let's know more about the Derivative of the Log x formula and proof in detail below.

Derivative-of-Log-x

Derivative of log x

**Derivative of log x is 1/x. The derivative of log x in calculus represents the rate of change of log x with respect to the change in the value of independent variable x. This means that the slope of the tangent line to the graph of log x at any point is 1/x in the base of 10..

**Note: If we change the base from e to 10, derivative of log changes to 1/x as ln e = 1.

Derivative of log x Formula

The formula for the derivative of log x is given by:

****(d/dx)[log x] = 1 / (x ln 10)**

**OR

****( log x)’ = 1/ (x)**

**Proof of Derivative of log x

The derivative of log x can be proved using the following 3 ways:

Derivative of log x by First Principle of Derivative

To prove derivative of log x using First Principle of Derivative, we will use basic limits and log formulas which are listed below:

Let’s start the proof for the derivative of log x , assume f(x)=logax

By First Principle of Derivative

f'(x) = limh→0 [f(x + h) - f(x)] / h

Since f(x) = logₐ x, we have f(x + h) = logₐ (x + h).

Substituting these values in the equation of first principle,

f'(x) = limh→0 [logₐ (x + h) - logₐ x] / h

⇒ f'(x) = limh→0 [logₐ [(x + h) / x] ] / h { By 1 }

⇒ limh→0 [logₐ (1 + (h/x))] / h

Assume that h/x = t. From this, h = xt.

When h →0, h/x → 0 ⇒ t → 0.

Then the above limit becomes

f'(x) = limt→0 [logₐ (1 + t)] / (xt)

⇒ limt→0 1/(xt) logₐ (1 + t)

⇒ f'(x) = limt→0 logₐ (1 + t)1/(xt) { By 2 }

⇒ f'(x) = limt→0 logₐ [(1 + t)1/t]1/x { By 3 }

⇒ f'(x) = limt→0 (1/x) logₐ [(1 + t)1/t] { By 4 }

Here, the variable of the limit is 't'. So we can write (1/x) outside of the limit.

f'(x) = (1/x) limt→0 logₐ [(1 + t)1/t] = (1/x) logₐ limt→0 [(1 + t)1/t]

Using one of the formulas of limits,. Therefore,

f'(x) = (1/x) logₐ e { By 5 }

⇒ (1/x) (1/logₑ a) (because 'a' and 'e' are interchanged)

⇒ (1/x) (1/ ln a) (because logₑ = ln)

⇒ 1 / (x ln a)

Therefore for f(x)=log x , f'(x) =1/(x ln 10)

Derivative of log x by Implicit Differentiation Method

The derivative of log x can be proved using the implicit differentiation method. In this method, if we are given an implicit function, then we take the derivative on both sides of the equation with respect to the independent variable. We will use basic logarithmic formulas which are listed below:

Let’s start the proof for the derivative of log x , assume f(x)=y=logax

By Implicit Differentiation Method

f(x)=y=logax

⇒ ay=x

Taking derivative on both sides with respect to “x”

⇒ d/dx (ay) = d/dx (x)

By using the chain rule,

(ay ln a) dy/dx = 1 { By 1 }

⇒ dy/dx = 1/(ay ln a)

But we have ay = x. Therefore,

dy/dx = 1 / (x ln a)

Therefore for f(x)=log x , f'(x) = 1 / (x ln 10)

Derivative of log x by ln x Formula

We know that the derivative of ln x is 1/x. We can convert log into ln using change of base rule. We will be using basic log formulas which are listed below:

Let’s start the proof for the derivative of log x , assume f(x)=logax

By change of base rule

f(x) = (logₑ x) / (logₑ a) { By 1 }

⇒ f(x) = (ln x) / (ln a) { By 2 }

Now we will find its derivative.

f'(x) = d/dx [(ln x) / (ln a)]

⇒ 1/ (ln a) d/dx (ln x)

⇒ 1 / (ln a) · (1/x)

⇒ 1 / (x ln a)

Therefore for f(x)= log x , f'(x) =1 / (x ln 10)

Facts about Logarithm

Some common facts about logarithm are:

**Learn More,

Solved Examples on Derivative of log x

**Example 1: Find the derivative of 2log x.

**Solution:

d/dx[ 2 log x ] = 2 /(x ln 10)

**Example 2: Find the derivative of 10log x at x = 10.

**Solution:

d/dx[ 10 log x ] = 10 /(x ln 10)

at x=10 , d/dx[ 10 log x ] = 10/(10 ln 10) = 1/ (ln 10)

**Example 3: Find the derivative of x 2 log 2 x .

**Solution:

d/dx[ x2log2x ] = 2x(log2x) + x2(1/x ln 2)

**formula,

d/dx[ log x2 ] = ( 2x ) x ( 1/x2ln10 )

Practice Questions on Derivative of log x

**Q1: Find the derivative of log x.

**Q2: Find the derivative of x2 log x2.

**Q3: Evaluate derivative of log sin x.

**Q4: Evaluate the derivative of x log x.

**Q5: Find the derivative of x3 log cos x.

**Q6: Find the derivative of log(ex).

**Q7: Evaluate the derivative of x . log(sqrt(x)).

**Q8: Find the derivative of log(tan(x)).

**Q9: Compute the derivative of x2 * log(x2 + 1).

**Q10: Find the derivative of log(x2 + cos(x)).