Class 12 Maths NCERT Solutions Chapter 5 Ex 5.5 – Logarithmic Differentiation | Boundless Maths
Ex 5.5 Class 12 Maths NCERT Solutions

Class 12 Maths NCERT Solutions Chapter 5 Ex 5.5 – Logarithmic Differentiation

This Class 12 Maths NCERT Solutions Chapter 5 Ex 5.5 page covers all 18 questions, solved step-by-step — taking logs first to turn tricky products, quotients and variable powers into something the chain rule can handle easily.

18Questions
Easy–HardDifficulty Mix
2026-27CBSE Syllabus

Class 12 Maths NCERT Solutions Chapter 5 Ex 5.5 — All 18 Questions

1

Differentiate \cos x\cdot\cos2x\cdot\cos3x with respect to x.

Medium +
Solution

Let y=\cos x\cos2x\cos3x. Take logs: \log y=\log\cos x+\log\cos2x+\log\cos3x.

Differentiate both sides w.r.t. x: \dfrac{1}{y}\dfrac{dy}{dx}=-\tan x-2\tan2x-3\tan3x.

Answer: \dfrac{dy}{dx}=-\cos x\cos2x\cos3x\left(\tan x+2\tan2x+3\tan3x\right)
2

Differentiate \sqrt{\dfrac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}} with respect to x.

Hard +
Solution

Let y be the given function. Take logs: \log y=\dfrac{1}{2}\left[\log(x-1)+\log(x-2)-\log(x-3)-\log(x-4)-\log(x-5)\right].

Differentiate: \dfrac{1}{y}\dfrac{dy}{dx}=\dfrac{1}{2}\left[\dfrac{1}{x-1}+\dfrac{1}{x-2}-\dfrac{1}{x-3}-\dfrac{1}{x-4}-\dfrac{1}{x-5}\right].

Answer: \dfrac{dy}{dx}=\dfrac{y}{2}\left[\dfrac{1}{x-1}+\dfrac{1}{x-2}-\dfrac{1}{x-3}-\dfrac{1}{x-4}-\dfrac{1}{x-5}\right], where y is the original function.
3

Differentiate (\log x)^{\cos x} with respect to x.

Hard +
Solution

Let y=(\log x)^{\cos x}. Take logs: \log y=\cos x\cdot\log(\log x).

Differentiate (product rule on the right): \dfrac{1}{y}\dfrac{dy}{dx}=-\sin x\log(\log x)+\cos x\cdot\dfrac{1}{\log x}\cdot\dfrac{1}{x}.

Answer: \dfrac{dy}{dx}=(\log x)^{\cos x}\left[\dfrac{\cos x}{x\log x}-\sin x\log(\log x)\right]
4

Differentiate x^x-2^{\sin x} with respect to x.

Medium +
Solution

Let u=x^x. Taking logs: \log u=x\log x \Rightarrow \dfrac{u'}{u}=\log x+1 \Rightarrow u'=x^x(1+\log x).

Let v=2^{\sin x}. Taking logs: \log v=\sin x\log2 \Rightarrow \dfrac{v'}{v}=\cos x\log2 \Rightarrow v'=2^{\sin x}\cos x\log2.

Answer: \dfrac{dy}{dx}=x^x(1+\log x)-2^{\sin x}\cos x\log2
5

Differentiate (x+3)^2(x+4)^3(x+5)^4 with respect to x.

Medium +
Solution

Let y=(x+3)^2(x+4)^3(x+5)^4. Take logs: \log y=2\log(x+3)+3\log(x+4)+4\log(x+5).

Differentiate: \dfrac{1}{y}\dfrac{dy}{dx}=\dfrac{2}{x+3}+\dfrac{3}{x+4}+\dfrac{4}{x+5}.

Answer: \dfrac{dy}{dx}=(x+3)^2(x+4)^3(x+5)^4\left[\dfrac{2}{x+3}+\dfrac{3}{x+4}+\dfrac{4}{x+5}\right]
6

Differentiate \left(x+\dfrac{1}{x}\right)^x+x^{1+\frac{1}{x}} with respect to x.

Hard +
Solution

Let u=\left(x+\frac{1}{x}\right)^x. Taking logs: \log u=x\log\left(x+\frac{1}{x}\right).

Differentiating: \dfrac{u'}{u}=\log\left(x+\frac{1}{x}\right)+\dfrac{x(1-1/x^2)}{x+1/x}=\log\left(x+\frac{1}{x}\right)+\dfrac{x^2-1}{x^2+1}.

Let v=x^{1+1/x}. Taking logs: \log v=\left(1+\frac1x\right)\log x, so \dfrac{v'}{v}=-\dfrac{\log x}{x^2}+\dfrac{1+1/x}{x}.

Answer: \dfrac{dy}{dx}=\left(x+\tfrac1x\right)^x\!\left[\log\!\left(x+\tfrac1x\right)+\dfrac{x^2-1}{x^2+1}\right]+x^{1+\frac1x}\!\left[\dfrac{1+1/x}{x}-\dfrac{\log x}{x^2}\right]
7

Differentiate (\log x)^x+x^{\log x} with respect to x.

Hard +
Solution

Let u=(\log x)^x. Taking logs: \log u=x\log(\log x), so \dfrac{u'}{u}=\log(\log x)+\dfrac{1}{\log x}.

Let v=x^{\log x}. Taking logs: \log v=(\log x)^2, so \dfrac{v'}{v}=\dfrac{2\log x}{x}.

Answer: \dfrac{dy}{dx}=(\log x)^x\left[\log(\log x)+\dfrac{1}{\log x}\right]+\dfrac{2\log x}{x}\,x^{\log x}
8

Differentiate (\sin x)^x+\sin^{-1}\sqrt{x} with respect to x.

Hard +
Solution

Let u=(\sin x)^x. Taking logs: \log u=x\log\sin x, so \dfrac{u'}{u}=\log\sin x+x\cot x.

For v=\sin^{-1}\sqrt{x}: v'=\dfrac{1}{\sqrt{1-x}}\cdot\dfrac{1}{2\sqrt{x}}=\dfrac{1}{2\sqrt{x-x^2}}.

Answer: \dfrac{dy}{dx}=(\sin x)^x\left[\log\sin x+x\cot x\right]+\dfrac{1}{2\sqrt{x-x^2}}
9

Differentiate x^{\sin x}+(\sin x)^{\cos x} with respect to x.

Hard +
Solution

Let u=x^{\sin x}. Taking logs: \log u=\sin x\log x, so \dfrac{u'}{u}=\cos x\log x+\dfrac{\sin x}{x}.

Let v=(\sin x)^{\cos x}. Taking logs: \log v=\cos x\log\sin x, so \dfrac{v'}{v}=-\sin x\log\sin x+\dfrac{\cos^2x}{\sin x}.

Answer: \dfrac{dy}{dx}=x^{\sin x}\left[\dfrac{\sin x}{x}+\cos x\log x\right]+(\sin x)^{\cos x}\left[\dfrac{\cos^2x}{\sin x}-\sin x\log\sin x\right]
10

Differentiate x^{x\cos x}+\dfrac{x^2+1}{x^2-1} with respect to x.

Hard +
Solution

Let u=x^{x\cos x}. Taking logs: \log u=x\cos x\log x. Differentiate the right side (product of three factors): \dfrac{u'}{u}=\cos x\log x-x\sin x\log x+\cos x.

Let v=\dfrac{x^2+1}{x^2-1}. By the quotient rule: v'=\dfrac{2x(x^2-1)-(x^2+1)(2x)}{(x^2-1)^2}=\dfrac{-4x}{(x^2-1)^2}.

Answer: \dfrac{dy}{dx}=x^{x\cos x}\left[\cos x(1+\log x)-x\sin x\log x\right]-\dfrac{4x}{(x^2-1)^2}
11

Differentiate (x\cos x)^x+(x\sin x)^{1/x} with respect to x.

Hard +
Solution

Let u=(x\cos x)^x. Taking logs: \log u=x\left[\log x+\log\cos x\right], so \dfrac{u'}{u}=\log x+\log\cos x+1-x\tan x.

Let v=(x\sin x)^{1/x}. Taking logs: \log v=\dfrac{1}{x}\left[\log x+\log\sin x\right], so \dfrac{v'}{v}=\dfrac{1-\log(x\sin x)}{x^2}+\dfrac{\cot x}{x}.

Answer: \dfrac{dy}{dx}=(x\cos x)^x\left[\log(x\cos x)+1-x\tan x\right]+(x\sin x)^{1/x}\left[\dfrac{1-\log(x\sin x)}{x^2}+\dfrac{\cot x}{x}\right]
12

Find \dfrac{dy}{dx} if x^y+y^x=1.

Hard +
Solution

Let u=x^y and v=y^x, so u+v=1 \Rightarrow u'+v'=0.

For u: \log u=y\log x \Rightarrow \dfrac{u'}{u}=y'\log x+\dfrac{y}{x} \Rightarrow u'=x^y\left(y'\log x+\dfrac{y}{x}\right).

For v: \log v=x\log y \Rightarrow \dfrac{v'}{v}=\log y+\dfrac{xy'}{y} \Rightarrow v'=y^x\left(\log y+\dfrac{xy'}{y}\right).

Add and set to zero, then collect y' terms: y'\left(x^y\log x+\dfrac{xy^x}{y}\right)=-\left(\dfrac{yx^y}{x}+y^x\log y\right).

Answer: \dfrac{dy}{dx}=\dfrac{-\left(yx^{y-1}+y^x\log y\right)}{x^y\log x+xy^{x-1}}
13

Find \dfrac{dy}{dx} if y^x=x^y.

Hard +
Solution

Take logs of both sides directly: x\log y=y\log x.

Differentiate: \log y+\dfrac{x}{y}\dfrac{dy}{dx}=\dfrac{dy}{dx}\log x+\dfrac{y}{x}.

Collect the \dfrac{dy}{dx} terms: \dfrac{dy}{dx}\left(\dfrac{x}{y}-\log x\right)=\dfrac{y}{x}-\log y. Multiply throughout by xy: \dfrac{dy}{dx}\left(x^2-xy\log x\right)=y^2-xy\log y.

Answer: \dfrac{dy}{dx}=\dfrac{y(y-x\log y)}{x(x-y\log x)}
14

Find \dfrac{dy}{dx} if (\cos x)^y=(\cos y)^x.

Hard +
Solution

Take logs of both sides: y\log\cos x=x\log\cos y.

Differentiate: \dfrac{dy}{dx}\log\cos x+y(-\tan x)=\log\cos y+x(-\tan y)\dfrac{dy}{dx}.

Collect the \dfrac{dy}{dx} terms: \dfrac{dy}{dx}\left(\log\cos x+x\tan y\right)=\log\cos y+y\tan x.

Answer: \dfrac{dy}{dx}=\dfrac{y\tan x+\log\cos y}{x\tan y+\log\cos x}
15

Find \dfrac{dy}{dx} if xy=e^{x-y}.

Hard +
Solution

Take logs of both sides: \log x+\log y=x-y.

Differentiate: \dfrac{1}{x}+\dfrac{1}{y}\dfrac{dy}{dx}=1-\dfrac{dy}{dx}.

Collect the \dfrac{dy}{dx} terms: \dfrac{dy}{dx}\left(\dfrac{1}{y}+1\right)=1-\dfrac{1}{x}, i.e. \dfrac{dy}{dx}\cdot\dfrac{1+y}{y}=\dfrac{x-1}{x}.

Answer: \dfrac{dy}{dx}=\dfrac{y(x-1)}{x(1+y)}
16

Find the derivative of f(x)=(1+x)(1+x^2)(1+x^4)(1+x^8) and hence find f'(1).

Hard +
Solution

Take logs: \log f=\log(1+x)+\log(1+x^2)+\log(1+x^4)+\log(1+x^8).

Differentiate: \dfrac{f'(x)}{f(x)}=\dfrac{1}{1+x}+\dfrac{2x}{1+x^2}+\dfrac{4x^3}{1+x^4}+\dfrac{8x^7}{1+x^8}.

At x=1: f(1)=2\times2\times2\times2=16, and the bracket equals \dfrac12+\dfrac22+\dfrac42+\dfrac82=\dfrac12+1+2+4=\dfrac{15}{2}.

f'(1)=16\times\dfrac{15}{2}=120.

Answer: f'(x)=f(x)\left[\dfrac{1}{1+x}+\dfrac{2x}{1+x^2}+\dfrac{4x^3}{1+x^4}+\dfrac{8x^7}{1+x^8}\right], and f'(1)=120.
17

Differentiate (x^2-5x+8)(x^3+7x+9) in three ways:
(i) product rule,
(ii) expanding to a single polynomial,
(iii) logarithmic differentiation. Do all three give the same answer?

Hard +
Solution

(i) Product rule: with u=x^2-5x+8, v=x^3+7x+9: f'=(2x-5)(x^3+7x+9)+(x^2-5x+8)(3x^2+7).

(ii) Expand first: multiplying out gives f(x)=x^5-5x^4+15x^3-26x^2+11x+72, so f'(x)=5x^4-20x^3+45x^2-52x+11.

(iii) Logarithmic differentiation: \log f=\log(x^2-5x+8)+\log(x^3+7x+9), so f'=f\left[\dfrac{2x-5}{x^2-5x+8}+\dfrac{3x^2+7}{x^3+7x+9}\right], which simplifies back to the same expression as method (i).

Answer: yes — all three methods simplify to the same derivative, f'(x)=5x^4-20x^3+45x^2-52x+11.
18

If u,v,w are functions of x, show that \dfrac{d}{dx}(u\cdot v\cdot w)=\dfrac{du}{dx}vw+u\dfrac{dv}{dx}w+uv\dfrac{dw}{dx} in two ways — by repeated application of the product rule, and by logarithmic differentiation.

Hard +
Solution

Method 1 — repeated product rule: let p=uv, so uvw=pw. Then \dfrac{d}{dx}(pw)=p'w+pw'=(u'v+uv')w+uvw'=u'vw+uv'w+uvw'.

Method 2 — logarithmic differentiation: let y=uvw (taking u,v,w \gt 0). Then \log y=\log u+\log v+\log w.

Differentiate: \dfrac{y'}{y}=\dfrac{u'}{u}+\dfrac{v'}{v}+\dfrac{w'}{w}, so y'=y\left(\dfrac{u'}{u}+\dfrac{v'}{v}+\dfrac{w'}{w}\right)=u'vw+uv'w+uvw'.

Answer: both methods give the identical result, \dfrac{d}{dx}(uvw)=u'vw+uv'w+uvw', proved.

Know exactly which chapters are costing you marks

1000+ solved CBSE PYQs, unlimited AI-generated practice for your weak areas, and a chapter-wise Performance Report — not just for this chapter, but your entire syllabus.

Explore it →
Common Questions

FAQs — Class 12 Maths NCERT Solutions Chapter 5 Ex 5.5

How many questions are there in Exercise 5.5?

Exercise 5.5 has 18 questions — most ask you to differentiate using logarithmic differentiation, questions 12 to 15 find dy/dx for implicit equations involving variable powers, and the last two are proof-style questions comparing logarithmic differentiation with the ordinary product rule.

When should you use logarithmic differentiation instead of the product or quotient rule?

Use it whenever a variable appears in the exponent, such as x to the power sin x, or when a function is a product or quotient of many factors — taking the log first turns products into sums and powers into simple multiples, which is far easier to differentiate than applying the product rule repeatedly.

Where can I find the official NCERT textbook for this exercise?

Exercise 5.5 is from Chapter 5, Continuity and Differentiability, in the NCERT Class 12 Mathematics textbook (Part I), published by the National Council of Educational Research and Training (NCERT) and prescribed by CBSE. You can download the official textbook PDF directly from ncert.nic.in, NCERT's official website — the solutions on this page follow the questions exactly as they appear there.

Carry the formulas with you

One-page printable formula cards for every Calculus chapter, including Continuity and Differentiability.

Get the Formula Cards →
Expert CBSE Coaching · Class 9–12