Class 12 | Maths | Exercise 5.2 – Continuity and Differentiability

CategoriesClass 12MathsTagged , , , , , , , , , , , , , , , , , , , , ,

Differentiation Using the Chain Rule | NCERT Class 12 Mathematics

Quick Facts

  • Exercise 5.2 focuses mainly on differentiation of composite functions and differentiability.
  • The Chain Rule is used when one function is inside another function.
  • If y=f(u)y=f(u) and u=g(x)u=g(x), then:

dydx=dydududx\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}

  • Standard derivatives frequently used in this exercise:

ddx(sinx)=cosx\frac{d}{dx}(\sin x)=\cos xddx(cosx)=sinx\frac{d}{dx}(\cos x)=-\sin xddx(tanx)=sec2x\frac{d}{dx}(\tan x)=\sec^2xddx(cotx)=csc2x\frac{d}{dx}(\cot x)=-\csc^2xddx(secx)=secxtanx\frac{d}{dx}(\sec x)=\sec x\tan xddx(xn)=nxn1\frac{d}{dx}(x^n)=nx^{n-1}

  • A function can be continuous but not differentiable at a point, as illustrated by modulus and greatest integer functions in this exercise.

Story

Imagine a function as a machine. Sometimes xx goes directly into the machine:y=sinxy=\sin x

But sometimes xx first enters one machine and its output enters another:xx2+5sin(x2+5)x\rightarrow x^2+5\rightarrow \sin(x^2+5)

Here, the function is composite. To differentiate it, we need to follow the same journey in reverse.

For example,y=sin(x2+5)y=\sin(x^2+5)

First differentiate the outside function:cos(x2+5)\cos(x^2+5)

Then multiply by the derivative of the inside function:2x2x

Therefore,dydx=2xcos(x2+5)\boxed{\frac{dy}{dx}=2x\cos(x^2+5)}

This step-by-step process is the Chain Rule, which the textbook introduces for composite functions.


Key Terms

TermMeaning
Composite FunctionA function formed by applying one function to another
Chain RuleRule used to differentiate composite functions
Inner FunctionThe function inside another function
Outer FunctionThe function acting on the inner function
DifferentiabilityExistence of a finite derivative at a point
Left-hand DerivativeDerivative obtained by approaching a point from the left
Right-hand DerivativeDerivative obtained by approaching a point from the right
Greatest Integer Function[x][x], the greatest integer less than or equal to xx
Modulus Function(

The textbook states that a function is differentiable at a point when the relevant left- and right-hand derivative limits are finite and equal.


Questions – Detailed Solutions

The PDF contains 10 questions in Exercise 5.2: Questions 1–8 ask for differentiation, while Questions 9–10 ask for proofs of non-differentiability.


Question 1

Differentiate:

y=sin(x2+5)y=\sin(x^2+5)

Solution

Letu=x2+5u=x^2+5

Then,y=sinuy=\sin u

Using the Chain Rule,dydx=cosududx\frac{dy}{dx}=\cos u\frac{du}{dx}

Now,dudx=2x\frac{du}{dx}=2x

Therefore,dydx=2xcos(x2+5)\boxed{\frac{dy}{dx}=2x\cos(x^2+5)}


Question 2

Differentiate:

y=cos(sinx)y=\cos(\sin x)

Letu=sinxu=\sin x

Theny=cosuy=\cos u

Therefore,dydx=sinududx\frac{dy}{dx}=-\sin u\frac{du}{dx}

Sincedudx=cosx\frac{du}{dx}=\cos x

we getdydx=cosxsin(sinx)\boxed{\frac{dy}{dx}=-\cos x\sin(\sin x)}


Question 3

Differentiate:

y=sin(ax+b)y=\sin(ax+b)

Letu=ax+bu=ax+b

Theny=sinuy=\sin u

Using the Chain Rule,dydx=cosududx\frac{dy}{dx}=\cos u\frac{du}{dx}

Sincedudx=a\frac{du}{dx}=a

we obtaindydx=acos(ax+b)\boxed{\frac{dy}{dx}=a\cos(ax+b)}


Question 4

Differentiate:

y=sec(tanx)y=\sec(\tan\sqrt{x})

This contains three layers:xxtan(x)sec(tanx)x\rightarrow\sqrt{x}\rightarrow\tan(\sqrt{x})\rightarrow\sec(\tan\sqrt{x})

Letu=xu=\sqrt{x}

Thenv=tanuv=\tan u

andy=secvy=\sec v

Now,dydv=secvtanv\frac{dy}{dv}=\sec v\tan vdvdu=sec2u\frac{dv}{du}=\sec^2u

anddudx=12x\frac{du}{dx}=\frac{1}{2\sqrt{x}}

Therefore,dydx=secvtanvsec2u12x\frac{dy}{dx} = \sec v\tan v\cdot\sec^2u\cdot\frac{1}{2\sqrt{x}}

Substituting back,dydx=sec(tanx)tan(tanx)sec2x2x\boxed{ \frac{dy}{dx} = \frac{\sec(\tan\sqrt{x})\tan(\tan\sqrt{x})\sec^2\sqrt{x}} {2\sqrt{x}} }


Question 5

Differentiate:

y=sin(ax+b)cos(cx+d)y=\frac{\sin(ax+b)}{\cos(cx+d)}

Use the Quotient Rule:ddx(uv)=vuuvv2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{vu’-uv’}{v^2}

Takeu=sin(ax+b)u=\sin(ax+b)

andv=cos(cx+d)v=\cos(cx+d)

Thenu=acos(ax+b)u’=a\cos(ax+b)

andv=csin(cx+d)v’=-c\sin(cx+d)

Hence,dydx=cos(cx+d)acos(ax+b)sin(ax+b)[csin(cx+d)]cos2(cx+d)\frac{dy}{dx} = \frac{ \cos(cx+d)\,a\cos(ax+b) – \sin(ax+b)\left[-c\sin(cx+d)\right] } {\cos^2(cx+d)}

Therefore,dydx=acos(ax+b)cos(cx+d)+csin(ax+b)sin(cx+d)cos2(cx+d)\boxed{ \frac{dy}{dx} = \frac{ a\cos(ax+b)\cos(cx+d) +c\sin(ax+b)\sin(cx+d) } {\cos^2(cx+d)} }


Question 6

Differentiate:

y=cosx3sin2(x5)y=\cos x^3\cdot\sin^2(x^5)

Using the Product Rule:(uv)=uv+uv(uv)’=u’v+uv’

Letu=cos(x3)u=\cos(x^3)

andv=sin2(x5)v=\sin^2(x^5)

First,u=sin(x3)3x2u’=-\sin(x^3)\cdot3x^2

sou=3x2sin(x3)u’=-3x^2\sin(x^3)

For vv,v=[sin(x5)]2v=[\sin(x^5)]^2

Therefore,v=2sin(x5)cos(x5)5x4v’=2\sin(x^5)\cos(x^5)\cdot5x^4v=10x4sin(x5)cos(x5)v’=10x^4\sin(x^5)\cos(x^5)

Using the Product Rule,dydx=3x2sin(x3)sin2(x5)+10x4cos(x3)sin(x5)cos(x5)\frac{dy}{dx} = -3x^2\sin(x^3)\sin^2(x^5) + 10x^4\cos(x^3)\sin(x^5)\cos(x^5)

Hence,dydx=3x2sin(x3)sin2(x5)+10x4cos(x3)sin(x5)cos(x5)\boxed{ \frac{dy}{dx} = -3x^2\sin(x^3)\sin^2(x^5) +10x^4\cos(x^3)\sin(x^5)\cos(x^5) }


Question 7

Differentiate:

y=2cot(x2)y=2\sqrt{\cot(x^2)}

Rewrite:y=2[cot(x2)]1/2y=2[\cot(x^2)]^{1/2}

Using the Chain Rule,dydx=212[cot(x2)]1/2ddx[cot(x2)]\frac{dy}{dx} = 2\cdot\frac12[\cot(x^2)]^{-1/2} \frac{d}{dx}[\cot(x^2)]

Now,ddx[cot(x2)]=csc2(x2)2x\frac{d}{dx}[\cot(x^2)] = -\csc^2(x^2)\cdot2x

Therefore,dydx=2xcsc2(x2)cot(x2)\boxed{ \frac{dy}{dx} = -\frac{2x\csc^2(x^2)} {\sqrt{\cot(x^2)}} }


Question 8

Differentiate:

y=cos(x)y=\cos(\sqrt{x})

Letu=xu=\sqrt{x}

Theny=cosuy=\cos u

Therefore,dydx=sinududx\frac{dy}{dx} = -\sin u\frac{du}{dx}

Sincedudx=12x\frac{du}{dx}=\frac{1}{2\sqrt{x}}

we getdydx=sin(x)2x\boxed{ \frac{dy}{dx} = -\frac{\sin(\sqrt{x})}{2\sqrt{x}} }


Question 9

Prove that

f(x)=x1,xRf(x)=|x-1|,\qquad x\in\mathbb R

is not differentiable at x=1x=1.

Solution

For x<1x<1,x1=1x|x-1|=1-x

For x>1x>1,x1=x1|x-1|=x-1

At x=1x=1,f(1)=0f(1)=0

Left-hand derivative

f(1)=limh0f(1+h)f(1)hf’_-(1) = \lim_{h\to0^-} \frac{f(1+h)-f(1)}{h}

For h<0h<0,f(1+h)=h=hf(1+h)=|h|=-h

Therefore,f(1)=limh0hh=1f’_-(1) = \lim_{h\to0^-}\frac{-h}{h} =-1

Right-hand derivative

For h>0h>0,f(1+h)=hf(1+h)=h

Hence,f+(1)=limh0+hh=1f’_+(1) = \lim_{h\to0^+}\frac{h}{h} =1

Thus,f(1)f+(1)f’_-(1)\ne f’_+(1)

Therefore the derivative does not exist at x=1x=1.Hence, f(x)=x1 is not differentiable at x=1.\boxed{\text{Hence, }f(x)=|x-1|\text{ is not differentiable at }x=1.}

This follows the textbook’s treatment of the modulus function: continuity does not necessarily imply differentiability.


Question 10

Prove that the greatest integer function

f(x)=[x],0<x<3f(x)=[x],\qquad 0<x<3

is not differentiable at x=1x=1 and x=2x=2.

Solution

The greatest integer function gives the greatest integer less than or equal to xx.

Around x=1x=1:

For x<1x<1 and sufficiently close to 1,[x]=0[x]=0

For x>1x>1 and sufficiently close to 1,[x]=1[x]=1

Therefore,limh0f(1+h)f(1)h\lim_{h\to0^-}\frac{f(1+h)-f(1)}{h}

andlimh0+f(1+h)f(1)h\lim_{h\to0^+}\frac{f(1+h)-f(1)}{h}

cannot give the same finite value. Hence ff is not differentiable at x=1x=1.

Similarly, around x=2x=2:

For x<2x<2,[x]=1[x]=1

while for x>2x>2,[x]=2[x]=2

Thus the left-hand and right-hand derivatives at x=2x=2 are not equal.

Therefore,The greatest integer function is not differentiable at x=1 and x=2.\boxed{\text{The greatest integer function is not differentiable at }x=1\text{ and }x=2.}

The textbook also explains that the greatest integer function has jumps at integral points, which is why it is discontinuous there.


Memory Tricks

Trick 1: “Outside × Inside”

Fory=f(g(x))y=f(g(x))

remember:

Derivative of Outside × Derivative of Inside

Example:ddxsin(x2)=cos(x2)×2x\frac{d}{dx}\sin(x^2) = \cos(x^2)\times2x


Trick 2: Three-layer functions

For:y=sec(tanx)y=\sec(\tan\sqrt{x})

read from outside to inside:

SEC → TAN → √

Then differentiate from inside to outside:

√ → TAN → SEC


Trick 3: Modulus = Corner

A modulus graph often creates a sharp corner.

At a corner:LHDRHD\text{LHD}\ne\text{RHD}

Therefore, the derivative does not exist.


Trick 4: Greatest Integer = Jump

Remember:

GI function jumps at integers.

At a jump, differentiability fails.


Case Study

Case Study: Modelling the Position of a Moving Object

Suppose the position of an object is represented bys(t)=sin(t2+5)s(t)=\sin(t^2+5)

where tt represents time.

To determine its instantaneous velocity, differentiate s(t)s(t):v(t)=dsdtv(t)=\frac{ds}{dt}

Using the Chain Rule,v(t)=cos(t2+5)2tv(t)=\cos(t^2+5)\cdot2t

Therefore,v(t)=2tcos(t2+5)\boxed{v(t)=2t\cos(t^2+5)}

Questions

1. Which differentiation rule is essential here?

Answer: Chain Rule.

2. What is the inner function?t2+5t^2+5

3. What is the derivative of the inner function?2t2t

4. What is the final velocity function?2tcos(t2+5)\boxed{2t\cos(t^2+5)}

This case study demonstrates how the Chain Rule converts a nested mathematical expression into a manageable differentiation process. The textbook explicitly introduces this rule for composite functions.


Quiz

Test your understanding of Exercise 5.2 with this interactive quiz:

Differentiate y = sin(x² + 5) with respect to x.

1 of 5

A

2x sin(x² + 5)

B

x cos(x² + 5)

C

2x cos(x² + 5)

D

cos(x² + 5)Next

Give feedback


CTA

Master Differentiation with MyMockMate

Struggling with Chain Rule, Product Rule, Quotient Rule and Differentiability?

Learn → Practise → Test → Improve

👉 Visit www.mymockmate.com for more NCERT solutions, practice questions, quizzes and exam-focused learning resources.

Keep practising—every derivative becomes easier when you learn to identify the function layers first.

About the author

Leave a Reply

Your email address will not be published. Required fields are marked *