Open In App

Derivative of Logarithmic Functions in Calculus

Last Updated : 22 Sep, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Derivative or Differentiation of Logarithmic Function as the name suggests, explores the derivatives of log functions with respect to some variable. As we know, derivatives are the backbone of Calculus and help us solve various real-life problems. Derivatives of the log functions are used to solve various differentiation of complex functions involving logarithms. The differentiation of logarithmic functions makes the product, division, and exponential complex functions easier to solve.

This article deals with all the information needed to understand the Derivative of the Logarithmic Function in plenty of detail including all the necessary formulas, and properties. We will also learn about the problem with their solutions as well as FAQs and practice problems on Differentiation of Log functions.

Derivative-of-Logarithmic-Function

What are Logarithmic Functions?

The function that is the inverse of the exponential function is called the logarithmic function. It is represented as logbx, where b is the base of the log. The value of x is the value which equals the base of the logarithm raised to a fixed number y, thus, the general form of a logarithmic function is:

y = logbx

Where,

  • y is the logarithm of x,
  • b is the base of the logarithm, and 
  • x is the input of the logarithm.

Note: As we know, logarithms and exponentials are related to each other such that If y = logbx then, x = by.

Learn more about Logarithms.

Properties of Logarithmic Function

Some properties of the logarithmic function are listed below:

  • log (XY) = log X + log Y
  • log (X / Y) = log X – log Y
  • log XY = Y log X
  • log YX = ln X / ln Y

Read more about Log Rules.

What is Derivative of Logarithmic Function?

The derivative of the logarithmic functions is solved using the properties of the logarithms and chain rule. It is used to solve complex functions which cannot be solved directly. By using the logarithmic functions, the complex functions can be simplified and can be evaluated easily.

Mostly, the exponential functions use the derivative of the logarithmic functions to get the solution of the complex functions. The functions of the form f(x)g(x) can be easily evaluated using the derivative of the logarithms.

Derivative of Logarithmic Function Formula

There are three formulas for the derivatives of the logarithmic functions. The following are the formulas for the derivative of the logarithmic functions.

  • Derivative of ln x
  • Derivative of logax
  • Derivative of ln f(x)

Let’s discuss these formulas in detail.

Derivative of ln x

The derivative of ln x evaluates to the reciprocal of x. The formula for the derivative of ln x is given below:

(d / dx) ln x = 1 / x 

Where, x > 0

Derivative of logax

The derivative of log with base a and value x evaluates to the reciprocal of the product of x and ln a. The formula for the derivative of logax is given below:

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

Where, a ≠ 1

Derivative of ln f(x)

The derivative of ln f(x) evaluates to the derivative of f(x) divided by f(x). The formula for the derivative of ln f(x) is given below:

(d/dx) ln f(x) = f'(x) / f(x)

Where,

  • f(x) is any function of x, and
  • f'(x) is derivative of function of x.

Proof of Derivative of Logarithmic Function Using First Principle

Using the first principle of derivative

(d / dx) f(x) = limh→0[{f(x +h) – f(x)} / {(x + h) – x}]

Here, f(x) = ln x

(d / dx) f(x) = limh→0[{ln(x +h) – ln(x)} / h]

⇒ (d / dx) f(x) = limh→0[{ln{(x +h)/(x)}} / h]

⇒ (d / dx) f(x) = limh→0[{ln(1 + (h / x))} / h]

Now, putting (h / x) = (1 /n) and as limit h→0 then, (1 / n) → ∞

(d / dx) f(x) = limn→∞ (n / x) [ln(1 + (1 / n))]

⇒ (d / dx) f(x) = limn→∞ (1 / x) ln(1 + (1 / n))n

The value of limn→∞ ln(1 + (1 / n))n = e

(d / dx) f(x) = (1 / x) ln e . . . (1)

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

For (d / dx) logax = 1 / (x ln a) putting in 1

(d / dx) logax = (1 / x) logae

⇒ (d / dx) logax = (1 / x) ln e /ln a [logae = ln e / ln a ]

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

Logarithmic Differentiation

Logarithmic Differentiation uses the chain rule of differentiation with the differentiation formula of the log, and it helps us differentiate complex functions with ease. There are three forms of logarithmic differentiation i.e., differentiation of ln x, differentiation of logax and differentiation of ln f(x) whose differentiation formulas are mentioned above.

Let’s consider an example for Logarithmic Differentiation.

Example: Find the derivative of log3(x)

Solution:

Let f(x) = log3(x)

⇒ f'(x) = (d /dx) [log3x]

⇒ f'(x) = 1 / [xln 3]

Read more about, Logarithmic Differentiation.

Also,Check

Solved Examples on Derivatives of Logarithmic Function

Example 1: Evaluate:

(i) Derivative of log 2

(ii) Derivative of log 3

(iii) Derivative of log 5

(iv) Derivative of log 10

Solution:

As Derivative of log 2, Derivative of log 3, Derivative of log 5, and Derivative of log 10 are all constant values, and derivative of any constant is 0.

Thus, Derivative of log 2, Derivative of log 3, Derivative of log 5, and Derivative of log 10 are all equals to 0.

Example 2: Find the following derivatives.

(i) Derivative of log 2x

(ii) Derivative of log10x

(iii) Derivative of log y

Solution:

(i) Derivative of log2x

⇒ (d / dx) [log 2x] = (d / dx) [log 2x](d / dx) [2x]

⇒ (d / dx) [log 2x] = 2 / (2x)

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

(ii) Derivative of log10x

⇒ (d / dx) [log10x] = 1 / [x ln 10]

(iii) Derivative of log y

⇒ (d / dx) [log y] = [1 / y](dy / dx)

Example 3: Find the derivative of ln (x2 + 4)

Solution:

Let p(x) = ln(x2 + 4)

⇒ p'(x) = (d / dx)[ln(x2 + 4)]

By using formula

(d / dx) ln f(x) = f'(x) / f(x)

⇒ p'(x) = (2x) /(x2 + 4)

Example 4: Evaluate: ln[(x2sinx) / (2x + 1)]

Solution:

Let f(x) = ln[(x2sinx) / (2x + 1)]

By using the properties of ln

f(x) = 2lnx + ln(sinx) – ln(2x +1)

Now, differentiating,

f'(x) = 2(d /dx)lnx + (d / dx)[ln(sinx)] – (d / dx)[ln(2x +1)]

⇒ f'(x) = (2 / x) + (cos x / sin x) – [2 / (2x +1)]

⇒ f'(x) = (2 / x) + cot x – [2 / (2x +1)]

Example 5: Find the slope of the line tangent of the graph of y = log2(3x +1) at x = 1.

Solution:

The slope of line tangent of a graph is given by (dy / dx)

(dy / dx) = (d / dx) [log2(3x +1)]

⇒ (dy / dx) = 3 / [(3x +1)ln2]

At x = 1

⇒ (dy / dx)at x =1 = 3 / [(3(1) +1)ln2]

⇒ (dy / dx)at x =1 = 3 / [4 ln2]

⇒ (dy / dx)at x =1 = 3 / [ln24]

⇒ (dy / dx)at x =1 = 3 / [ln16]

Example 6: Evaluate the derivative: y = (2x4 + 1)tanx.

Solution:

Taking logarithm both sides

ln y = ln (2x4 + 1)tanx

⇒ ln y = tanx [ln (2x4 + 1)]

Differentiating

(d / dx)ln y = (d / dx)[tanx [ln (2x4 + 1)]]

Applying formula and product rule

(1 / y) (dy / dx) = [(d / dx)tanx {ln (2x4 + 1)}] + [tan x (d / dx){ln (2x4 + 1)}]

⇒ (1 / y) (dy / dx) = [sec2x ln (2x4 + 1)] + [tan x {8x3 / (2x4 + 1)}]

⇒ (dy / dx) = (2x4 + 1)tanx[sec2x ln (2x4 + 1) + tan x {8x3 / (2x4 + 1)}]

Example 7: Find the derivative y = xx.

Solution:

y = xx

Taking logarithm both sides

ln y = ln xx

By logarithm properties

ln y = x lnx

Differentiating

(d /dx) ln y = (d /dx) [x ln x]

Applying product rule

(1 /y) (dy /dx) = (d /dx) (x) (ln x) + x(d /dx)( ln x)

⇒ (1 /y) (dy /dx) = ln x + x( 1/x)

⇒ (dy /dx) = y(ln x + 1)

⇒ (dy /dx) = xx(ln x + 1)

Practice Problems on Differentiation of Logarithmic Function

Problem 1: Calculate the derivative of g(x) = 3ln(2x).

Problem 2: Determine the derivative of h(x) = ln(5x2).

Problem 3: Find the derivative of p(x) = ln(4x3 + 2x).

Problem 4: Calculate the derivative of q(x) = ln(1/x).

Problem 5: Determine the derivative of r(x) = ln(3x2 – 7x + 1).

Problem 6: Find the derivative of s(x) = 2ln(sqrtx).

Problem 7: Calculate the derivative of t(x) = ln(x3 + 4x2 – 2x + 1).

Problem 8: Determine the derivative of u(x) = ln(ex + 1).

Problem 9: Find the derivative of v(x) = ln(2x3 – 3x2 + 5x – 7).

Derivatives of Logarithmic Function – FAQs

1. What is Log Function?

A logarithm (log) function is a mathematical operation that calculates the exponent to which a specified base must be raised to obtain a given number.

2. What is Derivative of Log Function?

The derivative of the natural logarithm ln x is given by the reciprocal of x. For the log with base a and function x given by the reciprocal of product of ln a and x.

3. What is Derivative of log x?

The derivative of log x is 1 /x.

4. What are the Formulas for Derivative of Log Function?

The formula for the derivative of logarithmic function

  • (d / dx) ln x = 1 / x where, x >0
  • (d / dx) logax = 1 / (x ln a) where, a ≠ 1
  • (d / dx) ln f(x) = f'(x) / f(x)

5. How do you Find the Derivative of a Logarithm with a base Other than ‘e’?

To find the derivative of a logarithm with a base other than ‘e’ (natural logarithm), use the chain rule. For a logarithm with base ‘a’:

(d / dx) logax = 1 / (x ln a) where, a ≠ 1

6. How do you Differentiate Composition of a Logarithm, like ln(f(x))?

To differentiate a composition of logarithm, like ln(f(x)), you can use the chain rule. The derivative is:

(d / dx) ln f(x) = f'(x) / f(x)

7. What is the Second Derivative of ln(x)?

The second derivative of ln(x) is obtained by taking the derivative of its first derivative.

Since d/dx[ln(x)] = 1/x, the second derivative is:

d2/dx2[ln(x)] = d/dx[1/x] = -1/x2



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads