**Logarithmic differentiation** is a method to find the derivatives of some complicated functions, using logarithms. There are cases in which differentiating the logarithm of a given function is simpler as compared to differentiating the function itself. By the proper usage of properties of logarithms and chain rule finding, the derivatives become easy. This concept is applicable to nearly all the non-zero functions which are differentiable in nature.

Therefore, in calculus, the differentiation of some complex functions is done by taking logarithms and then the logarithmic derivative is utilized to solve such a function.

## Logarithmic Differentiation Formula

The equations which take the form y = f(x) = [u(x)]^{{v(x)}}Â can be easily solved using the concept of logarithmic differentiation. The formula for log differentiation of a function is given by;

d/dx(x^{x}) = x^{x}(1+ln x) |

Get the complete list of differentiation formulas here.

For differentiating functions of this type we take on both the sides of the given equation.

Therefore, taking log on both sides we get,log y = log[u(x)]^{{v(x)}}

**log y = v(x)log u(x)**

Now, differentiating both the sides w.r.t. xÂ by implementing chain rule, we get

The only constraint for using logarithmic differentiation rules is that f(x)Â and u(x) must be positive as logarithmic functions are only defined for positive values.

The basic properties of real logarithms are generally applicable to the logarithmic derivatives.

For example: (log uv)’ = (log u + log v)’ = (log u)’ + (log v)’

**Also, read:**

### Method to Solve Logarithm Functions

Follow the steps given here to solve find the differentiation of logarithm functions.

- Find the natural log of the function first which is needed to be differentiated.
- Now by the means of properties of logarithmic functions, distribute the terms that were originally gathered together in the original function and were difficult to differentiate.
- Now differentiate the equation which was resulted.
- At last, multiply the available equation by the function itself to get the required derivative.

Now, as we are thorough with logarithmic differentiation rules let us take some logarithmic differentiation examples to know a little bit more about this.

### Problems

**Q.1: Find the value of dy/dxÂ if,\(y = e^{x^{4}}\)**

**Solution**: Given the function \(y = e^{x^{4}}\)

Taking natural logarithm of both the sides we get,

ln y = ln e^{x4}

ln y = x^{4} ln e

ln y = x^{4}

Now, differentiating both the sides w.r.t Â we get,

\(\frac{1}{y} \frac{dy}{dx}\) = \(4x^3 \)

\( \Rightarrow \frac{dy}{dx}\) =\( y.4x^3\)

\(\Rightarrow \frac{dy}{dx}\) =\( e^{x^{4}}Ã—4x^3\)

Therefore, we see how easy and simple it becomes to differentiate a function using logarithmic differentiation rules.

**Q.2: Find the value of \(\frac{dy}{dx}\)Â if y = 2x ^{{cos x}}.**

Solution: Given the function y = 2x^{{cos x}}

Taking logarithm of both the sides, we get

log y = log(2x^{{cos x}})

\(\Rightarrow log y = log 2 + log x^{cos x} (As log(mn) = log m + log n)\)

\(\Rightarrow log y = log 2 + cos x Ã— log x (As log m^n = log m + log n)\)

Now, differentiating both the sides w.r.t by using the chain rule we get,

\(\frac{1}{y} \frac{dy}{dx} = \frac{cos x}{x} – (sin x)(log x)\)

This is yet another equation which becomes simplified after using logarithmic differentiation rules.

We have seen how useful it can be to use logarithms to simplify differentiation of various complex functions. Welcome to the world of BYJUâ€™s to get to know more about differential calculus and also download the learning app.