Careers360 Logo
Logarithmic Differentiation

Logarithmic Differentiation

Edited By Komal Miglani | Updated on Sep 09, 2024 05:18 PM IST

Differentiation is one of the important parts of Calculus, which applies to measuring the change in the function at a certain point. Mathematically, it forms a powerful tool by which slopes of functions are determined, the maximum and minimum of functions found, and problems on motion, growth, and decay, to name a few. These concepts of differentiation have been broadly applied in branches of mathematics, physics, engineering, economics, and biology.

In this article, we will cover the concept of Differentiation using Logarithm. This concept falls under the broader category of Calculus, a crucial Chapter in class 12 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination (JEE Main), and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more.

Differentiation Using Logarithm

Logarithm differentiation is used to find the derivative of some complex functions using logarithm. the method of differentiating functions by taking logs on both sides is called logarithm differentiation. This method is also known as Composite exponential function differentiation

1. Till now we have studied how to find derivatives of functions of the form $y=(g(x))^n$ (where $n$ is constant), as well as functions of the form $y=b^{g(x)}, b>0$ and $b \neq 1$ (where $b$ is a constant). But how to find the derivatives of functions of the form $y=[f(x)]^{g(x)}$ such as $y=x^x$ or $y=(\tan x)^{\sin (x)}$ ? These functions require a technique called logarithmic differentiation, which allows us to differentiate any function of the form $h(x)=[f(x)]^{g(x)}$

JEE Main Highest Scoring Chapters & Topics
Just Study 40% Syllabus and Score upto 100%
Download E-book

Let, $\quad y=(f(x))^{g(x)}$
Take $\log$ both side $\log y=g(x) \log f(x)$
Differentiate with respect to $x$

$
\begin{aligned}
& \frac{1}{y} \cdot \frac{d y}{d x}=g(x) \cdot \frac{1}{f(x)} \cdot \frac{d}{d x}(f(x))+\log f(x) \cdot \frac{d}{d x}(g(x)) \\
& \therefore \quad \frac{d y}{d x}=y\left[\frac{g(x)}{f(x)} \cdot \frac{d}{d x}(f(x))+\log f(x) \cdot \frac{d}{d x}(g(x))\right] \\
& \text { or } \quad \frac{\mathrm{dy}}{\mathrm{dx}}=(f(x))^{g(x)}\left[\frac{g(x)}{f(x)} \cdot \frac{d}{d x}(f(x))+\log f(x) \cdot \frac{d}{d x}(g(x))\right]
\end{aligned}
$

Note:

Shortcut to differentiate such functions
$
\frac{d y}{d x}=\text { Differential of } y \text { treating } f(x) \text { as constant }+ \text { Differential of } \mathrm{y} \text { treating } \mathrm{g}(\mathrm{x})
$

2. We can use logarithmic differentiation in cases where $y$ is made up of several factors in the numerator and denominator. Logarithm reduces the calculation time and effort in such cases.

Let, $\quad \mathrm{y}=\frac{\mathrm{f}_1(\mathrm{x}) \cdot \mathrm{f}_2(\mathrm{x}) \cdot \mathrm{f}_3(\mathrm{x}) \ldots}{\mathrm{g}_1(\mathrm{x}) \cdot \mathrm{g}_2(\mathrm{x}) \cdot \mathrm{g}_3(\mathrm{x}) \ldots}$
Take $\log$ both side

$
\begin{aligned}
\log y= & {\left[\log _e\left(f_1(x)\right)+\log _e\left(f_2(x)\right)+\log _e\left(f_3(x)\right)+\ldots\right] } \\
& \quad-\left[\log _e\left(g_1(x)\right)+\log _e\left(g_2(x)\right)+\log _e\left(g_3(x)\right)+\ldots\right]
\end{aligned}
$
Differentiating, w.r.t. $x$, we get

$
\begin{aligned}
& \frac{1}{y} \frac{d y}{d x}=\left[\frac{\left(f_1(x)\right)^{\prime}}{f_1(x)}+\frac{\left(f_2(x)\right)^{\prime}}{f_2(x)}+\frac{\left(f_3(x)\right)^{\prime}}{f_3(x)}+\ldots\right] \\
& -\left[\frac{\left(\mathrm{g}_1(\mathrm{x})\right)^{\prime}}{\mathrm{g}_1(\mathrm{x})}+\frac{\left(\mathrm{g}_2(\mathrm{x})\right)^{\prime}}{\mathrm{g}_2(\mathrm{x})}+\frac{\left(\mathrm{g}_3(\mathrm{x})\right)^{\prime}}{\mathrm{g}_3(\mathrm{x})}+\ldots\right]
\end{aligned}
$

The rules of Logarithm Differentiation are:
- $\log A B=\log A+\log B$
- $\log A / B=\log A-\log B$
- $\log A^B=B \log A$
- $\log _B A=(\log A) /(\log B)$

Example 1: Let $y=\sin x^{\cos x}$, then $\frac{\mathrm{d} y}{\mathrm{~d} x}$ equals
1) $(\cos x)^{-\sin x}$
2) $(\cos x)(\sin x)^{-\cos x}$
3) $(\sin x)^{-\sin x}$
4) $(\sin x)^{\cos x}(\cos x \cdot \cot x-\sin x \cdot \log (\sin x))$

Solution:

$
y=(\sin x)^{\cos x}
$
Taking logarithms on both sides,

$
\begin{aligned}
\log _e y & =\log _e(\sin x)^{\mathrm{cos} x} \\
\Rightarrow & \log _e y=\cos x \log _e \sin x
\end{aligned}
$
Now differentiating both sides,

$
\begin{aligned}
& \frac{1}{y} \frac{d y}{d x}=\cos x \times \frac{\cos x}{\sin x}+(-\sin x) \log _e(\sin x) \\
& \Rightarrow \frac{d y}{d x}=y\left(\cos x \cdot \cot x-\sin x \cdot \log _e(\sin x)\right)
\end{aligned}
$

Hence, the answer is the option 4.

Example 2: Let $y=(x+1)(x+2)(x+3)(x+4)(x+5)$, then $\frac{\mathrm{d} y}{\mathrm{~d} x}$ at $x=0$ equals
1) 274
2) 234
3) 224
4) 244

As we have learned,
Taking logarithms on both sides,

$
\log _e y=\log _e(x+1)+\log _e(x+2)+\log _e(x+3)+\log _e(x+4)+\log _e(x+5)
$
Now differentiating both sides,

$
\begin{aligned}
& \frac{1}{y} \frac{\mathrm{d} y}{\mathrm{~d} x}=\frac{1}{x+1}+\frac{1}{x+2}+\frac{1}{x+3}+\frac{1}{x+4}+\frac{1}{x+5} \\
& {\left[\frac{\mathrm{d} y}{\mathrm{~d} x}\right]_{(x=0)}=y(0)\left\{\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}\right\}=120+60+30+24=274[\text { As } y(0)=120]}
\end{aligned}
$

Hence, the answer is the option 1.

Example 3: Let $y=\frac{(x+1)^2(x+2)}{(x+3)}$, then $\frac{\mathrm{d} y}{\mathrm{~d} x}$ at $x=0$ equals
1) $\frac{9}{4}$
2) $\frac{4}{9}$
3) $\frac{9}{13}$
4) $\frac{13}{9}$

Solution:
Taking logarithms on both sides

$\ln y=2 \cdot \ln (x+1)+\ln (x+2)-\ln (x+3)$ Differentiating w.r.t. $\mathrm{x} \therefore \frac{1}{y} \frac{\mathrm{d} y}{\mathrm{~d} x}=\frac{2}{x+1}+\frac{1}{x+2}$

Hence, the answer is the option 4.

Example 4: $\frac{d}{d x} e^{x+2 \log x}$ is equal to?
1) $e^x\left(x^2-2 x\right)$
2) $e^x x^2(1+2 x)$
3) $e^x\left(x^2+3 x\right)$
4) $e^x\left(x^2+2 x\right)$

Solution:
Let $y=e^{x+2 \log x}$

$
\begin{aligned}
& \log _e y=x+2 \log _e x \\
& \frac{1}{y} \frac{d y}{d x}=1+\frac{2}{x} \\
& \frac{d y}{d x}=\frac{d}{d x} e^{x+2 \log x}=e^{x+2 \log x}\left(1+\frac{2}{x}\right)=e^x\left(x^2+2 x\right)
\end{aligned}
$

Hence, the answer is the option (4).

Example 5: $\frac{d}{d x} e^{x \cos x}$ is equal to?
1) $e^{x \cos x}(\cos x+x \sin x)$
2) $e^{x \cos x}(\sin x-x \cos x)$
3) $e^{x \cos x}(\sin x+x \cos x)$
4) $e^{x \cos x}(\cos x-x \sin x)$

Solution:
Let $y=e^{x \cos x}$

$
\begin{aligned}
& \log y=x \cos x \\
& \frac{1}{y} \frac{d y}{d x}=\cos x-x \sin x \\
& \frac{d y}{d x}=e^{x \cos x}(\cos x-x \sin x)
\end{aligned}
$

Hence, the answer is the option (4).

Summary

Logarithm differentiation is an important concept of Calculus used to find out the derivative of some complex functions by taking logs on both sides of the function. It provides a deeper understanding of mathematical ideas paramount for later developments in many scientific and engineering disciplines.

Frequently Asked Questions (FAQs)

1. What is logarithm differentiation?

Logarithm differentiation is used to find the derivative of some complex functions using logarithm.

2. Where can we use logarithm differentiation?

We can use logarithmic differentiation in cases where $y$ is made up of several factors in the numerator and denominator.

3. What are the Different Rules of Logarithmic Differentiation?

Logarithmic differentiation uses the following rules to obtain the derivative of the complex functions Product Rule, Quotient Rule, and Exponential Rule.

4. What is the formula for logarithm differentiation?

Logarithm differentiation is solved by $\frac{d}{d x} \log f(x)=\frac{1}{f(x)} \frac{d}{d x} f(x)$

5. What is the sum rule of logarithm differentiation?

The sum rule of logarithm differentiation is $\log A B=\log A+\log B$

Articles

Back to top