LOGARITHMIC DIFFERENTIATION EXAMPLES

Logarithmic differentiation is a method of finding derivatives of some complicated functions, using the properties of logarithms.

There are cases in which differentiating the logarithm of a given function is easier than differentiating the function as it is.

Steps to be followed to find derivative using logarithm. 

Step 1 : 

Take logarithm on both sides of the given equation. 

Step 2 : 

Use the properties of logarithm. 

Step 3 : 

Find derivative with respect to x and solve for dy/dx. 

Find derivative of each of the following with respect to x.

Example 1 :

y = xcosx

Solution :

y = xcosx

Take logarithm on both sides. 

logy = logxcosx

logy = cosxlogx

Find derivative with respect to x. 

(1/y)(dy/dx) = cosx(1/x) + logx(-sinx)

dy/dx = y[(cosx/x) - sinxlogx]

dy/dx = xcosx[(cosx/x) - sinxlogx]

Example 2 :

y = xlogx + (log x)x

Solution :

y = xlogx + (log x)x

Let a = xlogx and b = (log x)x

a = xlogx

loga = log(xlogx)

loga = logxlog x

loga = (log x)----(1)

b = (logx)x

logb = log[(logx)x]

logb = xlog(logx) ----(2)

In (1), find derivative with respect to x.

(1/a)(da/dx) = 2logx(1/x)

 da/dx = 2alogx/x

In (1), find derivative with respect to x.

(1/b)(db/dx) = x(1/logx)(1/x) + log(logx)(1)

db/dx = b[(1/logx) + log(logx)]

y = xlogx + (log x)x

y = a + b

dy/dx = da/dx + db/dx

dy/d = 2alogx/x + b[(1/logx) + log(logx)]

Substitute a = xlogx and b = (logx)x.

dy/dx = (2xlogxlogx)/x] + (logx)x[logx + log(logx)]

Example 3 :

√(xy) = ex - y

Solution :

√(xy) = ex - y

√x√y = ex - y

Take logarithm on both sides.

log(√x√y) = logex - y

log√x + log√y = (x - y)loge

logx1/2 + logy1/2 = x - y

(1/2)logx + (1/2)logy = x - y

Find derivative with respect to x.

(1/2)(1/x) + (1/2)(1/y)(dy/dx) = 1 - dy/dx

1/2x + (1/2y)(dy/dx) = 1 - dy/dx

(1/2y)(dy/dx) + dy/dx = 1 - 1/2x

(dy/dx)(1/2y + 1) = (2x - 1)/2x

(dy/dx)(1 + 2y)/2y = (2x - 1)/2x

dy/dx = (y/x)[(2x - 1)/(1 + 2y)]

Example 4 :

y = 44x^4

Solution :

y = 44x^4

Take logarithm on both sides. 

log y = log(44x^4)

log y = 4x4 log 4

Find derivative with respect to x. 

(1/y)(dy/dx) = 4x4 (0) + log 4 (4x3)

(1/y)(dy/dx) = 4xlog 4

dy/dx = y (4xlog 4)

dy/dx = 44x^4(4xlog 4)

Example 5 :

y = ex cos x

Solution :

y = ex cos x

Take logarithm on both sides. 

log y = log(ex cos x)

log y = x cos x log(e)

log y = x cos x

Differentiating with respect to x, 

dy/dx = x(-sin x) + cos x (1)

= -x sin x + cos x

Example 6 :

y = log (tan x)

Solution :

y = log (tan x)

Differntiating with respect to x, we get

dy/dx = (1/tan x) sec2x

= (cos x/sin x) ⋅ (1/cos2x)

= 1/sin x cos x 

= cosec x sec x

Example 7 :

y = log (cos (log x))

Solution :

y = log (cos (log x))

Differntiating with respect to x, we get

dy/dx = (1/(cos (log x)) sin (log x) (1/x)

= (1/x) sin (log x) / cos (log x)

= (1/x) tan (log x)

Example 8 :

y = log (sec x + tan x)

Solution :

y = log (sec x + tan x)

Differntiating with respect to x, we get

dy/dx = 1/(sec x + tan x) (sec x tan x + sec2x)

= 1/(sec x + tan x) (sec x (tan x + sec x))

= (sec x (tan x + sec x))/(sec x + tan x) 

= sec x

Example 9 :

y = log (sin (log x))

Solution :

y = log (sin (log x))

Differntiating with respect to x, we get

dy/dx = 1/(sin (log x)) [cos (log x) (1/x)]

= (1/x) [cos (log x)/(sin (log x)]

= (1/x) cot x

Example 10 :

If xy = ex - y prove that dy/dx = log x / (1 + log x)2

Solution :

If xy = ex - y

Taking logarithms on both sides

log xy = ex - y

y log x = (x - y) log e

y log x = (x - y)

y log x + y = x

y(1 + log x) = x

y = x/(1 + log x)

Differentiating with respect to x,

y (1/x) + log x(dy/dx) = 1 - (dy/dx)

 log x(dy/dx) + (dy/dx) = 1 - (y/x)

Applying the value of y, we get

(dy/dx)(1 + log x) = 1 - [(x/(1 + log x))/x]

= 1 - [1/(1 + log x)]

= (1 + log x - 1)/(1 + log x)

(dy/dx)(1 + log x) = log x / (1 + log x)

dy/dx = log x / (1 + log x)(1 + log x)

log x / (1 + log x)2

Hence proved.

Example 11 :

y = (tan x)cot x 

Solution :

y = (tan x)cot x 

Differentiating with respect to x,

y = (tan x)cot x

log y = log [(tan x)cot x]

log y = cot x log (tan x)

(1/y) (dy/dx) = cot x ((1/tanx) sec2x) + log (tan x)
(-csc2x)

= cot x cot x sec2x - csc2log (tan x)

= cot2x  secx2 csc2log (tan x)

Kindly mail your feedback to v4formath@gmail.com

We always appreciate your feedback.

©All rights reserved. onlinemath4all.com

Recent Articles

  1. Digital SAT Math Problems and Solutions (Part - 168)

    May 23, 25 07:42 PM

    Digital SAT Math Problems and Solutions (Part - 168)

    Read More

  2. Precalculus Problems and Solutions (Part - 14)

    May 23, 25 07:15 PM

    Precalculus Problems and Solutions (Part - 14)

    Read More

  3. Digital SAT Math Problems and Solutions (Part - 167)

    May 22, 25 09:59 AM

    digitalsatmath211.png
    Digital SAT Math Problems and Solutions (Part - 167)

    Read More