Logarithmic Differentiation

Today I woke up and forgot to take the chicken I'm having for dinner out of the freezer. What should I do? Common advice is to sink the package of chicken into water so it thaws faster. Of course I'm not having chicken with water for dinner! I'm just using the water as a between-step so my dinner is not frozen! 

Get started

Millions of flashcards designed to help you ace your studies

Sign up for free

Review generated flashcards

Sign up for free
You have reached the daily AI limit

Start learning or create your own AI flashcards

StudySmarter Editorial Team

Team Logarithmic Differentiation Teachers

  • 10 minutes reading time
  • Checked by StudySmarter Editorial Team
Save Article Save Article
Contents
Contents
Table of contents

    Jump to a key chapter

      Now think of the chicken as a function, my dinner would be its derivative. What can be the water in my above predicament? Anything that makes differentiation easier but it's not present in the end result! In this article you will explore how to use logarithms to find derivatives.

      Logarithmic Differentiation Rule

      Logarithms have unique properties like the Product Property of Logarithms and the Power Property of Logarithms, to name a few. These properties can be used when finding the derivative of more complex functions. This is done by using Logarithmic Differentiation, which more of a method than a rule.

      Logarithmic Differentiation is a method that finds the derivative of the logarithm of the function rather than the original function.

      But why do you need to use logarithmic differentiation? To take advantage of the properties of logarithms of course!

      Logarithmic Differentiation logarithm properties StudySmarterThe properties of logarithms as a bridge to simpler operations.

      It is time to take a look at the steps for doing Logarithmic Differentiation.

      Logarithmic Differentiation Steps

      The method of Logarithmic Differentiation can be summarized in the following steps:

      1. Take the natural logarithm of the original function.

      2. Use any relevant properties of logarithms, like the Power Property of Logarithms or the Product Property of Logarithms. The goal of this step is to simplify the function.

      3. Use the Chain Rule and the differentiation rule of the natural logarithm to differentiate each expression.

      4. Multiply the resulting expression by the original function. The result is the derivative of the original function.

      The second step is where you can take advantage of the logarithmic differentiation. The properties of logarithms will help you simplify the operations required.

      These steps are better understood with examples. Let's dig in!

      Logarithmic Differentiation Examples

      You can use Logarithmic Differentiation in a wide variety of situations. The properties of logarithms can help you simplify the process of finding the derivative of a function. These can be classified according to which property of logarithms is used to simplify the expressions.

      Find the derivative of the function

      \[ f(x)=x^8 e^x.\]

      Answer:

      Before starting please note that you can also use the Product Rule to find the derivative of this function. This example illustrates how to use logarithmic differentiation to obtain the same answer.

      1. Take the natural logarithm of the original function.

      Begin by taking the natural logarithm of the function, so

      \[ \ln{f(x)}=\ln{\left( x^8 e^x \right)}.\]

      2. Use any relevant properties of logarithms. In this case, the product property of logarithms and the power property of logarithms.

      Since the right-hand side of the equation is the logarithm of a product, it can be written as the sum of logarithms, that is

      \[ \ln{f(x)}= \ln{x^8} + \ln{e^x}.\]

      Furthermore, you can use the power property of logarithms to write each exponent as a factor, obtaining

      \[ \begin{align} \ln{f(x)} &= 8\ln{x} +x\ln{e} \\ &= 8\ln{x}+x, \end{align}\]

      where you have also used the fact that \(\ln{e}=1.\)

      3. Differentiate each expression.

      Next, you need to differentiate both sides of the above expression with the help of the Chain Rule, the Power Rule, and the differentiation rule for the natural logarithm,

      \[ \frac{\mathrm{d}}{\mathrm{d}x}\ln{x}=\frac{1}{x},\]

      obtaining

      \[ \begin{align} \left( \frac{1}{f(x)} \right) \left( f'(x) \right) &= \frac{8}{x}+1 \\ \frac{f'(x)}{f(x)} &= \frac{8}{x}+1. \end{align}\]

      4. Multiply the resulting expression by the original function.

      Finally, isolate the derivative by multiplying both sides of the above expression by the original function, \( f(x)=x^8 e^x,\) and simplify, that is

      \[ \begin{align} f'(x) &= f(x)\left( \frac{8}{x}+1 \right) \\[0.5em] &= x^8e^x\left( \frac{8}{x}+1 \right) \\[0.5em] &= e^x\left( \frac{8x^8}{x} +x^8 \right) \\[0.5em] &= e^x(8x^7+x^8). \end{align} \]

      Notice that this is exactly what you expected to get!

      What about the quotient property of logarithms?

      Find the derivative of

      \[g(x)=\frac{\sqrt{x+1}}{x^2}.\]

      Answer:

      Rather than using the Quotient Rule (which sometimes is hard to remember) you can use Logarithmic Differentiation!

      1. Take the natural logarithm of the original function.

      This step is rather straightforward, doing so gives you

      \[\ln{g(x)} = \ln{\left( \frac{\sqrt{x+1}}{x^2} \right)}.\]

      2. Use any relevant properties of logarithms. In this case use the quotient property of logarithms and the power property of logarithms.

      The logarithm of the quotient can be written as a difference of logarithms, that is

      \[ \ln{g(x)} = \ln{\sqrt{x+1}}-\ln{x^2}. \]

      Also, you can write the powers (remember that a square root is a power of \( ^1/_2 \) ) as factors using the power property of logarithms, so

      \[ \ln{g(x)} = \frac{1}{2}\ln{\left(x+1 \right)}-2\ln{x}.\]

      3. Differentiate each expression.

      This time differentiating both sides of the above expression gives you

      \[ \begin{align} \frac{g'(x)}{g(x)} &= \frac{1}{2}\cdot \frac{1}{x+1}-2\cdot\frac{1}{x} \\ &= \frac{1}{2}\cdot \frac{1}{x+1} -\frac{2}{x}, \end{align} \]

      which can be simplified by adding the rational expressions

      \[ \frac{g'(x)}{g(x)}= \frac{-3x-4}{2x(x+1)}. \]

      4. Multiply the resulting expression by the original function.

      Isolate the derivative by multiplying both sides of the above expression by \( g(x) \) and simplify, that is

      \[ \begin{align} g'(x) &= \left( g(x)\right) \left(\frac{-3x-4}{2x(x+1)}\right) \\[0.5em] &= \left( \frac{\sqrt{x+1}}{x^2} \right) \left( \frac{-3x-4}{2x(x+1)}\right) \\[0.5em] &= \frac{-3x-4}{2x^3\sqrt{x+1}}. \end{align}\]

      Logarithmic Differentiation can be used to find the derivative of a very peculiar function.

      Find the derivative of

      \[h(x)=x^x.\]

      Answer:

      Here you have \(x\) raised to the power of \(x.\) You identify an exponential function when the variable is the power and not the base, and the Power Rule only applies if the variable is not in the exponent. In this case the variable is both the base and the power! What to do? Logarithmic differentiation of course!

      1. Take the natural logarithm of the original function.

      As usual, begin by taking the natural logarithm of the function, that is

      \[ \ln{h(x)} = \ln{x^x}.\]

      2. Use any relevant properties of logarithms. In this case use the power property of logarithms.

      You can now rewrite the power as a factor using the power property of logarithms, giving you

      \[ \ln{h(x)} = (x)(\ln{x}). \]

      3. Differentiate each expression.

      The right-hand side of the above expression is a product of functions, hence it can be differentiated with the product rule, so

      \[\begin{align} \frac{h'(x)}{h(x)} &= \left(\frac{\mathrm{d}}{\mathrm{d}x} x \right)\ln{x} + x\left(\frac{\mathrm{d}}{\mathrm{d}x}\ln{x}\right) \\ &= (1)(\ln{x}) + x\left( \frac{1}{x} \right) \\ &= \ln{x}+1. \end{align}\]

      4. Multiply the resulting expression by the original function.

      Finally, isolate the derivative by multiplying both sides of the above expression by \( h(x) \)

      \[ \begin{align} h'(x) &= \left( h(x) \right) \left( \ln{x}+1 \right) \\ &= \left(x^x \right) \left( \ln{x}+1 \right). \end{align} \]

      As you can see, logarithmic differentiation is very useful for avoiding working with larger expressions or finding the derivatives of functions that cannot be worked using standard differentiation techniques.

      Using Logarithmic Differentiation to obtain Formulas

      Logarithmic differentiation can also be used to prove some differentiation rules, like the Product Rule and the Quotient Rule. Let's dive into their proof using Logarithmic Differentiation!

      You can prove the Product Rule using Logarithmic Differentiation. Consider the function

      \[f(x)=g(x)h(x).\]

      As usual, begin by taking the natural logarithm of both sides of the function rule

      \[ \ln{f(x)} = \ln{\left( g(x)h(x) \right)}, \]

      which you can rewrite using the power property of logarithms in the right-hand side, so

      \[ \ln{f(x)} = \ln{g(x)} + \ln{h(x)}. \]

      Now you can differentiate both sides of the equation using the Chain Rule, that is

      \[ \frac{f'(x)}{f(x)} = \frac{g'(x)}{g(x)}+\frac{h'(x)}{h(x)}. \]

      Finally, multiply the equation by \( f(x) \)

      \[ \begin{align} f'(x) &= f(x)\left( \frac{g'(x)}{g(x)}+\frac{h'(x)}{h(x)} \right) \\ &= g(x)h(x)\frac{g'(x)}{g(x)} + g(x)h(x)\frac{h'(x)}{h(x)} \\ &= h(x)g'(x)+g(x)h'(x). \end{align} \]

      The above expression is the Product Rule we all know! You can try proving the Quotient Rule using a procedure similar as above.

      For which calculations you should use Logarithmic Differentiation?

      Since the goal of using Logarithmic Differentiation is to simplify the process of finding the derivative of a function you should only use it when the derivative becomes easier to find. It can also be used when the derivative of a function cannot be found with standard differentiation techniques, like with \(f(x)=x^x.\)

      Whenever you can use the Product Rule or the Quotient Rule, you can also use Logarithmic Differentiation. While the Product Rule might be easier to work around, sometimes you might forget which is the negative term of the Quotient Rule.

      There is one common mistake when using the Quotient Rule and that is getting the signs mistaken.

      \[\frac{\mathrm{d}}{\mathrm{d}x}\frac{f(x)}{g(x)} \neq \frac{f(x)g'(x)-g(x)f'(x)}{\left( g(x) \right)^2}\]

      You can prevent this mistake by using Logarithmic Differentiation since it is easier to recall that the negative term is the one in the denominator.

      \[ \ln{\left(\frac{f(x)}{g(x)} \right)} = \ln{f(x)}-\ln{g(x)}.\]

      From here, you can continue the process of Logarithmic Differentiation to find the derivative of the function.

      \[\frac{\mathrm{d}}{\mathrm{d}x}\frac{f(x)}{g(x)} = \frac{g(x)f'(x)-f(x)g'(x)}{\left( g(x) \right)^2} \]

      Logarithmic Differentiation - Key takeaways

      • Logarithmic Differentiation is a method used to find derivatives using the properties of logarithms.
      • The steps followed for Logarithmic Differentiation are the following:
        1. Take the natural logarithm of the original function.
        2. Use any relevant properties of logarithms to simplify the function.
        3. Use the Chain Rule and the differentiation rule of the natural logarithm to differentiate the expression.
        4. Multiply the resulting expression by the original function.
      • The following properties of logarithms can be used to your favor when simplifying expressions:
        • Product Property of Logarithms.
        • Quotient Property of Logarithms.
        • Power Property of Logarithms.
      • Logarithmic Differentiation should be used when the derivative becomes easier to find. There is no point in using Logarithmic Differentiation to find the derivative of \(f(x)=x^n.\)
      Frequently Asked Questions about Logarithmic Differentiation

      How do you do logarithmic differentiation? 

      1. Take the natural logarithm of the original function.
      2. Use any relevant properties of logarithms to simplify the function.
      3. Use the chain rule and the differentiation rule of the natural logarithm to differentiate each expression.
      4. Multiply the resulting expression by the original function.

      When should you use logarithmic differentiation? 

      You should use Logarithmic Differentiation when the logarithm of the function can be simplified using the properties of logarithms.

      What is logarithmic differentiation? 

      Logarithmic Differentiation is a method that finds the derivative of the logarithm of the function rather than the original function.

      How can you use logarithmic differentiation to find a derivative? 

      To find a derivative using logarithmic differentiation you should follow these steps:

      1. Take the natural logarithm of the original function.
      2. Use any relevant properties of logarithms to simplify the function.
      3. Use the chain rule and the differentiation rule of the natural logarithm to differentiate each expression.
      4. Multiply the resulting expression by the original function. 

      How can you determine when to use logarithmic differentiation? 

      You should use Logarithmic Differentiation when the logarithm of the function can be simplified using the properties of logarithms. This is usually done for products that involve products or quotients of functions.

      Save Article

      Test your knowledge with multiple choice flashcards

      The Product Property of Logarithms can be used to transform a product into a:

      The Quotient Property of Logarithms can be used to transform a quotient into a:

      What is the derivative of the natural logarithm function \(f(x) = \ln x\)?

      Next

      Discover learning materials with the free StudySmarter app

      Sign up for free
      1
      About StudySmarter

      StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.

      Learn more
      StudySmarter Editorial Team

      Team Math Teachers

      • 10 minutes reading time
      • Checked by StudySmarter Editorial Team
      Save Explanation Save Explanation

      Study anywhere. Anytime.Across all devices.

      Sign-up for free

      Sign up to highlight and take notes. It’s 100% free.

      Join over 22 million students in learning with our StudySmarter App

      The first learning app that truly has everything you need to ace your exams in one place

      • Flashcards & Quizzes
      • AI Study Assistant
      • Study Planner
      • Mock-Exams
      • Smart Note-Taking
      Join over 22 million students in learning with our StudySmarter App
      Sign up with Email