The method of finding the derivative of a function by first taking the logarithm and then differentiating is called logarithmic differentiation. This method is specially used when the function is of type **y = f(x) ^{g(x)}**. In this type of problem where y is a composite function, we first need to take a logarithm, making the function

**log (y) = g(x) log (f(x))**. This creates a situation where the differentiation of exponent function was quite difficult but after taking log on both sides of the equation, we can easily differentiate it using logarithm properties and chain rule. This method is also known as

**Composite exponential function differentiation.**This approach allows us to calculate the derivative of complex exponential functions in an efficient manner.

## Logarithmic Differentiation Formula

Given,y=f(x)^{g}^{(}^{x}^{)}

Takinglogonbothsides:log(

y) = log(f(x)^{g}^{(}^{x}^{)})

Usinglogproperties:log(

y) =g(x)⋅ log(f(x))

Differentiatingbothsides:

Usinguvrule:

UsingChainrule:

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.

## Steps to Solve Logarithmic Differentiation Problems

These are the steps given here to solve find the differentiation of logarithmic functions:

- Taking log on both sides.
- Use log property to remove exponent.
- Now differentiate the equation.
- Simplify the obtained equation.
- Substitute back the value of y.

Sometimes it may get a bit messy but keep your calm and just differentiate. Following are some examples of Logarithmic Differentiation.

**Example 1: Find the derivative of** x^{x}?

**Solution:**

Let y = x

^{x}

Step 1:Taking log on both sideslog(

y) = log(x)^{x}

Step 2:Use log property to remove exponentlog(

y) =x⋅ log(x)

Step 3:Now differentiate the equation

Step 4:Simplify the obtained equation

Step 5:Substitute back the value of y

**Example 2: Find the derivative of** ?

Given,

y =

Takinglogonbothsides,log(

y) = log()log(

y) =x⋅ log(^{x}x) {log(a) =^{b}b⋅ log(a)}

Differentiatingbothsides,

Sincenowweknowthederivativeofx^{x},Wewillsubstituteheredirectly.

**Example 3: Find the derivative of** y = (log x)^{x}?

Given,

y= (logx)^{x}

Takinglogonbothsides,log(

y) = log((logx))^{x}log(

y) =x⋅ log(logx) {log(a) =^{b}b⋅ log(a)}

Differentiatingbothsides,

**Example 4: Find the derivative of** y = x^{√x}?

^{√x}

Given,

y=x^{√x}

Takinglogonbothsides,log(

y) = log(x)^{√x}log(

y) = √x⋅ log(x) {log(a) =^{b}b⋅ log(a)}

Differentiatingbothsides,