Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Logarithmic Differentiation
Next article icon

Derivative of Logarithmic Functions in Calculus

Last Updated : 25 Jun, 2024
Comments
Improve
Suggest changes
Like Article
Like
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

Table of Content

  • What are Logarithmic Functions?
  • What is Derivative of Logarithmic Function?
  • Derivative of Logarithmic Function Formula
  • Proof of Derivative of Logarithmic Function Using First Principle
  • Logarithmic Differentiation

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

  • Inverse Trig Derivatives
  • Differentiation and Integration Formula
  • Derivative of Exponential Function

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).


Next Article
Logarithmic Differentiation

A

aayushi2402
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Maths-Class-12
  • Calculus

Similar Reads

    Logarithm
    In mathematics, a logarithm is the inverse operation of exponentiation. It is defined as the power to which the base number must be raised to get the given number.Logarithms serve as mathematical tools that help simplify complex calculations involving exponential relationships. If you know that bx =
    3 min read
    Laws of Logarithms
    The logarithm is the exponent or power to which a base is raised to get a particular number. For example, 'a' is the logarithm of 'm' to the base of 'x' if xm = a, then we can write it as m = logxa. Logarithms are invented to speed up the calculations and time will be reduced when we are multiplying
    4 min read
    Log Rules
    Logarithm rules are used to simplify and work with logarithmic expressions. They help relate logarithms to exponents and make complex calculations easier.A logarithm is the inverse of an exponent. It answers the question: "To what power must a base be raised to get a certain number?"Out of all these
    7 min read
    Logarithm Formula
    Logarithm is defined as the power to which a number is raised to yield some other values. Logarithms are the inverse of exponents. There is a unique way of reading the logarithm expression. For example, bx = n is called as 'x is the logarithm of n to the base b.There are two parts of the logarithm:
    6 min read
    Continuity and Differentiability of Logarithmic Function
    The word continuity means something which is continuous in nature. The flow of water is continuous, time in real life is continuous, and many more instances show the continuity in real life. In mathematics, the Continuous function is the one which when drawn on a graph does not show any breaks and i
    5 min read
    Derivative of Logarithmic Functions
    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 v
    10 min read
    Logarithmic Differentiation
    Method of finding a function's derivative by first taking the logarithm and then differentiating is called logarithmic differentiation. This method is specially used when the function is type y = f(x)g(x). In this type of problem where y is a composite function, we first need to take a logarithm, ma
    8 min read
    Log Table
    A Log Table in math is a reference tool to ease computations using logarithmic functions. It usually provides pre-computed logarithm values for various integers, commonly in a base like 10 or the natural logarithm base (e.g., ≈ 2.71828). Log tables allow users to obtain the logarithm of a given numb
    9 min read
    Antilog Table
    Antilog Table in math is a refrence tool used to reverse logarithmic computation and retrieve the original number from its logarithmic value.It typically provides a pre-computed antilogarithm value for various logarithmic inputs, commonly in base 1o or natural logarithm base( e.g ≅ 2.71828)Antilog t
    7 min read
    Change of Base in Logarithim
    The change of base formula is a useful concept in mathematics. That allows you to convert a logarithm from one base to another. Change of base formula in logarithm allows us to rewrite a logarithm with a different base. It allows us to compute logarithms using calculators or computational tools that
    4 min read
    Difference Between Log and Ln
    Logarithms(log) and natural logarithms(ln) are fundamental mathematical concepts that simplify complex calculations involving exponential relationships Logarithms are essential for solving equations where an unknown variable appears as the exponent of some other quantity. A logarithm can have any po
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences