Class 12 Maths NCERT Solutions Chapter 5 Ex 5.2 – The Chain Rule | Boundless Maths
Ex 5.2 Class 12 Maths NCERT Solutions

Class 12 Maths NCERT Solutions Chapter 5 Ex 5.2 – The Chain Rule

This Class 12 Maths NCERT Solutions Chapter 5 Ex 5.2 page covers all 10 questions, solved step-by-step — differentiating composite functions using the chain rule, plus two classic differentiability proofs.

10Questions
Easy–HardDifficulty Mix
2026-27CBSE Syllabus

Class 12 Maths NCERT Solutions Chapter 5 Ex 5.2 — All 10 Questions

1

Differentiate the function \sin(x^2+5) with respect to x.

Easy +
Solution

Let y=\sin(x^2+5). This is a composite of u(x)=x^2+5 and v(t)=\sin t.

By the chain rule: \dfrac{dy}{dx}=\cos(x^2+5)\cdot\dfrac{d}{dx}(x^2+5)=\cos(x^2+5)\cdot 2x.

Answer: \dfrac{dy}{dx}=2x\cos(x^2+5)
2

Differentiate the function \cos(\sin x) with respect to x.

Easy +
Solution

Let y=\cos(\sin x), a composite of u(x)=\sin x and v(t)=\cos t.

By the chain rule: \dfrac{dy}{dx}=-\sin(\sin x)\cdot\dfrac{d}{dx}(\sin x)=-\sin(\sin x)\cdot\cos x.

Answer: \dfrac{dy}{dx}=-\cos x\,\sin(\sin x)
3

Differentiate the function \sin(ax+b) with respect to x.

Easy +
Solution

Let y=\sin(ax+b), a composite of u(x)=ax+b and v(t)=\sin t.

By the chain rule: \dfrac{dy}{dx}=\cos(ax+b)\cdot\dfrac{d}{dx}(ax+b)=\cos(ax+b)\cdot a.

Answer: \dfrac{dy}{dx}=a\cos(ax+b)
4

Differentiate the function \sec(\tan(\sqrt{x})) with respect to x.

Hard +
Solution

This is a chain of three functions: u=\sqrt{x}, v=\tan u, y=\sec v.

Differentiate outward: \dfrac{dy}{dv}=\sec v\tan v, \dfrac{dv}{du}=\sec^2 u, \dfrac{du}{dx}=\dfrac{1}{2\sqrt{x}}.

Multiply by the extended chain rule: \dfrac{dy}{dx}=\sec(\tan\sqrt{x})\tan(\tan\sqrt{x})\cdot\sec^2(\sqrt{x})\cdot\dfrac{1}{2\sqrt{x}}.

Answer: \dfrac{dy}{dx}=\dfrac{\sec(\tan\sqrt{x})\tan(\tan\sqrt{x})\sec^2(\sqrt{x})}{2\sqrt{x}}
5

Differentiate the function \dfrac{\sin(ax+b)}{\cos(cx+d)} with respect to x.

Hard +
Solution

Let u=\sin(ax+b) and v=\cos(cx+d). Then u'=a\cos(ax+b) and v'=-c\sin(cx+d) (chain rule on each).

Apply the quotient rule: \dfrac{dy}{dx}=\dfrac{u'v-uv'}{v^2}.

\dfrac{dy}{dx}=\dfrac{a\cos(ax+b)\cos(cx+d)-\sin(ax+b)\big(-c\sin(cx+d)\big)}{\cos^2(cx+d)}.

Answer: \dfrac{dy}{dx}=\dfrac{a\cos(ax+b)\cos(cx+d)+c\sin(ax+b)\sin(cx+d)}{\cos^2(cx+d)}
6

Differentiate the function \cos x^3\cdot \sin^2(x^5) with respect to x.

Hard +
Solution

Let y=\cos(x^3)\cdot\sin^2(x^5). Use the product rule with each factor differentiated by the chain rule.

\dfrac{d}{dx}\cos(x^3)=-\sin(x^3)\cdot 3x^2=-3x^2\sin(x^3).

\dfrac{d}{dx}\sin^2(x^5)=2\sin(x^5)\cos(x^5)\cdot 5x^4=10x^4\sin(x^5)\cos(x^5).

Product rule: \dfrac{dy}{dx}=-3x^2\sin(x^3)\sin^2(x^5)+\cos(x^3)\cdot 10x^4\sin(x^5)\cos(x^5).

Answer: \dfrac{dy}{dx}=10x^4\sin(x^5)\cos(x^5)\cos(x^3)-3x^2\sin(x^3)\sin^2(x^5)
7

Differentiate the function 2\sqrt{\cot(x^2)} with respect to x.

Hard +
Solution

Let y=2\left[\cot(x^2)\right]^{1/2}.

\dfrac{dy}{dx}=2\cdot\dfrac{1}{2}\left[\cot(x^2)\right]^{-1/2}\cdot\dfrac{d}{dx}\cot(x^2).

\dfrac{d}{dx}\cot(x^2)=-\csc^2(x^2)\cdot 2x=-2x\csc^2(x^2).

Substitute: \dfrac{dy}{dx}=\left[\cot(x^2)\right]^{-1/2}\cdot\big(-2x\csc^2(x^2)\big).

Answer: \dfrac{dy}{dx}=\dfrac{-2x\csc^2(x^2)}{\sqrt{\cot(x^2)}}
8

Differentiate the function \cos(\sqrt{x}) with respect to x.

Medium +
Solution

Let y=\cos(\sqrt{x}), a composite of u(x)=\sqrt{x} and v(t)=\cos t.

By the chain rule: \dfrac{dy}{dx}=-\sin(\sqrt{x})\cdot\dfrac{1}{2\sqrt{x}}.

Answer: \dfrac{dy}{dx}=-\dfrac{\sin(\sqrt{x})}{2\sqrt{x}}
9

Prove that the function f(x)=|x-1|, x\in\mathbb{R}, is not differentiable at x=1.

Medium +
Solution

Left hand derivative: \text{LHD}=\lim_{h\to 0^-}\dfrac{f(1+h)-f(1)}{h}=\lim_{h\to 0^-}\dfrac{|h|-0}{h}.

For h \lt 0, |h|=-h, so \text{LHD}=\lim_{h\to 0^-}\dfrac{-h}{h}=-1.

Right hand derivative: \text{RHD}=\lim_{h\to 0^+}\dfrac{|h|}{h}=\lim_{h\to 0^+}\dfrac{h}{h}=1 (since h \gt 0 \Rightarrow |h|=h).

Answer: LHD (−1) ≠ RHD (1), so f is not differentiable at x = 1, proved.
10

Prove that the greatest integer function defined by f(x)=[x], 0 \lt x \lt 3, is not differentiable at x=1 and x=2.

Hard +
Solution

At x = 1: \text{RHD}=\lim_{h\to 0^+}\dfrac{[1+h]-[1]}{h}. For small h \gt 0, 1 \lt 1+h \lt 2, so [1+h]=1, giving \text{RHD}=\dfrac{1-1}{h}=0.

\text{LHD}=\lim_{h\to 0^-}\dfrac{[1+h]-[1]}{h}.

For small h \lt 0, 0 \lt 1+h \lt 1, so [1+h]=0, giving \text{LHD}=\dfrac{0-1}{h}=-\dfrac{1}{h}.

This grows without bound as h\to 0^- — the limit does not exist.

Since LHD does not exist (and certainly ≠ RHD), f is not differentiable at x = 1.

At x = 2: by an identical argument, \text{RHD}=\lim_{h\to 0^+}\dfrac{[2+h]-[2]}{h}=\dfrac{2-2}{h}=0, while \text{LHD}=\lim_{h\to 0^-}\dfrac{[2+h]-[2]}{h}=\dfrac{1-2}{h}=-\dfrac{1}{h}, which does not exist as a finite limit.

Answer: f is not differentiable at x = 1 or x = 2, 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.2

How many questions are there in Exercise 5.2?

Exercise 5.2 has 10 questions — the first 8 ask you to differentiate composite functions using the chain rule, and the last 2 ask you to prove that a given function is not differentiable at specific points.

What does the chain rule say?

If f is a composite function f = v ∘ u, and t = u(x), then df/dx = (dv/dt) × (dt/dx), provided both derivatives exist. It's used whenever you're differentiating a function of a function, like sin(x²) or cos(sin x).

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

Exercise 5.2 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