My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
NCERT · Class 12 · Maths · 2025-26

Chapter 5: Continuity and Differentiability

Practice each question, then open the answer or worked solution.

EXERCISE 5.2

Textbook page 122 · 10 questions
Q1Written answer
Differentiate the function with respect to \(x\): \(\sin (x^2 + 5)\)
Show solutionHide solution
Worked solution

We need to differentiate \(\sin(x^2+5)\) with respect to \(x\).

This is a composite function: the outer function is \(\sin u\), where \(u=x^2+5\). By the chain rule,

\[ \frac{d}{dx}\sin(x^2+5)=\cos(x^2+5)\cdot \frac{d}{dx}(x^2+5). \]

Now

\[ \frac{d}{dx}(x^2+5)=2x+0=2x. \]

Therefore,

\[ \frac{d}{dx}\sin(x^2+5)=2x\cos(x^2+5). \]

So the derivative is

\[ \boxed{2x\cos(x^2+5)}. \]
Q2Written answer
Differentiate the function with respect to \(x\): \(\cos (\sin x)\)
Show solutionHide solution
Worked solution

We need the derivative of \(y=\cos(\sin x)\) with respect to \(x\).

This is a composition: the outer function is \(\cos u\), where \(u=\sin x\).

Step 1: Differentiate the outer function.

\[ \frac{d}{du}\cos u=-\sin u \]

So, by the chain rule,

\[ \frac{dy}{dx}=-\sin(\sin x)\cdot \frac{d}{dx}(\sin x). \]

Step 2: Differentiate the inner function.

\[ \frac{d}{dx}(\sin x)=\cos x. \]

Step 3: Combine.

\[ \frac{dy}{dx}=-\sin(\sin x)\cos x. \]

Therefore,

\[ \boxed{\frac{d}{dx}\bigl(\cos(\sin x)\bigr)=-\cos x\,\sin(\sin x)} \]

The function is differentiable for every real \(x\), since \(\sin x\) and \(\cos\) are differentiable everywhere.

Q3Written answer
Differentiate the function with respect to \(x\): \(\sin (ax + b)\)
Show solutionHide solution
Worked solution

We need to differentiate \(f(x)=\sin(ax+b)\) with respect to \(x\).

Use the chain rule. Let \(u=ax+b\). Then \(f(x)=\sin u\), and

\[ \frac{du}{dx}=a,\qquad \frac{d}{du}(\sin u)=\cos u. \]

Therefore

\[ \frac{d}{dx}\sin(ax+b)=\cos(ax+b)\cdot \frac{d}{dx}(ax+b)=\cos(ax+b)\cdot a. \]

So the derivative is

\[ \boxed{\,a\cos(ax+b)\,}. \]
Q4Written answer
Differentiate the function with respect to \(x\): \(\sec (\tan (\sqrt{x}))\)
Show solutionHide solution
Worked solution

We differentiate the composite function \(y=\sec(\tan(\sqrt{x}))\) using the chain rule.

Let \(u=\sqrt{x}\), \(v=\tan u\), so that \(y=\sec v\). Then

\[ \frac{dy}{dx}=\frac{dy}{dv}\cdot\frac{dv}{du}\cdot\frac{du}{dx}. \]

Recall the standard derivatives:

\[ \frac{d}{dv}(\sec v)=\sec v\tan v,\qquad \frac{d}{du}(\tan u)=\sec^2 u,\qquad \frac{d}{dx}(\sqrt{x})=\frac{1}{2\sqrt{x}}. \]

Substituting back,

\[ \frac{dy}{dx}=\sec v\tan v\cdot \sec^2 u\cdot \frac{1}{2\sqrt{x}}. \]

Now replace \(v=\tan(\sqrt{x})\) and \(u=\sqrt{x}\):

\[ \frac{dy}{dx}=\frac{1}{2\sqrt{x}}\,\sec\!\big(\tan(\sqrt{x})\big)\,\tan\!\big(\tan(\sqrt{x})\big)\,\sec^2(\sqrt{x}). \]

Thus

\[ \boxed{\frac{d}{dx}\sec\!\big(\tan(\sqrt{x})\big)=\frac{\sec^2(\sqrt{x})\,\sec\!\big(\tan(\sqrt{x})\big)\,\tan\!\big(\tan(\sqrt{x})\big)}{2\sqrt{x}}.} \]

This is valid wherever the expression is defined: \(x>0\) (so that \(\sqrt{x}\) is differentiable) and \(\tan(\sqrt{x})\) is not an odd multiple of \(\tfrac{\pi}{2}\), since \(\sec\) and \(\tan\) are undefined at those points.

Q5Written answer
Differentiate the function with respect to \(x\): \(\dfrac{\sin (ax + b)}{\cos (cx + d)}\)
Show solutionHide solution
Worked solution

Let

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

We differentiate using the quotient rule,

\[ \left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^2}, \]

with

\[ u=\sin(ax+b),\qquad v=\cos(cx+d). \]

By the chain rule,

\[ u'=a\cos(ax+b),\qquad v'=-c\sin(cx+d). \]

Therefore

\[ \frac{dy}{dx}=\frac{a\cos(ax+b)\cos(cx+d)-\sin(ax+b)\bigl(-c\sin(cx+d)\bigr)}{\cos^2(cx+d)}. \]

Simplifying,

\[ \boxed{\frac{dy}{dx}=\frac{a\cos(ax+b)\cos(cx+d)+c\sin(ax+b)\sin(cx+d)}{\cos^2(cx+d)}}. \]

This is valid wherever the original function is defined, i.e. where \(\cos(cx+d)\neq 0\).

Q6Written answer
Differentiate the function with respect to \(x\): \(\cos x^3 \cdot \sin^2 (x^5)\)
Show solutionHide solution
Worked solution

Let

\[ y=\cos x^3\cdot \sin^2(x^5). \]

We differentiate using the product rule and the chain rule. Write \(y=u v\), where

\[ u=\cos x^3,\qquad v=\sin^2(x^5). \]

First,

\[ \frac{du}{dx}=-\sin x^3\cdot \frac{d}{dx}(x^3)=-3x^2\sin x^3. \]

Next, using the chain rule twice,

\[ \frac{dv}{dx}=2\sin(x^5)\cos(x^5)\cdot \frac{d}{dx}(x^5) =2\sin(x^5)\cos(x^5)\cdot 5x^4 =10x^4\sin(x^5)\cos(x^5). \]

By the product rule,

\[ \frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}. \]

Substituting,

\[ \frac{dy}{dx} =\cos x^3\cdot 10x^4\sin(x^5)\cos(x^5) +\sin^2(x^5)\cdot\left(-3x^2\sin x^3\right). \]

Therefore,

\[ \boxed{\frac{dy}{dx} =10x^4\cos x^3\,\sin(x^5)\cos(x^5) -3x^2\sin x^3\,\sin^2(x^5)}. \]

Equivalently, using \(2\sin\theta\cos\theta=\sin 2\theta\),

\[ \boxed{\frac{dy}{dx} =5x^4\cos x^3\,\sin(2x^5) -3x^2\sin x^3\,\sin^2(x^5)}. \]

The function is differentiable for every real \(x\), since it is built from polynomials, sine and cosine by composition and products.

Q7Written answer
Differentiate the function with respect to \(x\): \(2\sqrt{\cot (x^2)}\)
Show solutionHide solution
Worked solution

Let \(y=2\sqrt{\cot(x^2)}\). We differentiate using the chain rule.

Write \(y=2\bigl(\cot(x^2)\bigr)^{1/2}\). Then

\[ \frac{dy}{dx}=2\cdot\frac12\bigl(\cot(x^2)\bigr)^{-1/2}\cdot\frac{d}{dx}\bigl(\cot(x^2)\bigr). \]

Now \(\dfrac{d}{dx}\cot(x^2)=-\csc^2(x^2)\cdot 2x\), since the derivative of \(x^2\) is \(2x\). Hence

\[ \frac{dy}{dx}=\bigl(\cot(x^2)\bigr)^{-1/2}\cdot\bigl(-2x\csc^2(x^2)\bigr) = -\frac{2x\csc^2(x^2)}{\sqrt{\cot(x^2)}}. \]

Equivalently, using \(\csc^2\theta=\dfrac{1}{\sin^2\theta}\) and \(\cot\theta=\dfrac{\cos\theta}{\sin\theta}\),

\[ \frac{dy}{dx}=-\frac{2x}{\sin^2(x^2)\sqrt{\dfrac{\cos(x^2)}{\sin(x^2)}}} = -\frac{2x}{\sin^{3/2}(x^2)\,\sqrt{\cos(x^2)}}, \]

where the expression is defined. The function is differentiable wherever \(\cot(x^2)>0\), i.e. where \(\sin(x^2)\) and \(\cos(x^2)\) have the same sign; at points where \(\cot(x^2)=0\) or is undefined, the original function or its derivative is not defined.

Thus

\[ \boxed{\frac{d}{dx}\left(2\sqrt{\cot(x^2)}\right)=-\frac{2x\csc^2(x^2)}{\sqrt{\cot(x^2)}}} \]

on the domain where \(\cot(x^2)>0\).

Q8Written answer
Differentiate the function with respect to \(x\): \(\cos (\sqrt{x})\)
Show solutionHide solution
Worked solution

We need to differentiate \(f(x)=\cos(\sqrt{x})\) with respect to \(x\).

This is a composition: the outer function is \(\cos u\), and the inner function is \(u=\sqrt{x}=x^{1/2}\). The chain rule gives

\[\frac{d}{dx}\cos u=-\sin u\cdot \frac{du}{dx}.\]

Now

\[\frac{du}{dx}=\frac{d}{dx}x^{1/2}=\frac{1}{2}x^{-1/2}=\frac{1}{2\sqrt{x}}.\]

Therefore

\[\frac{dy}{dx}=-\sin(\sqrt{x})\cdot \frac{1}{2\sqrt{x}}=-\frac{\sin(\sqrt{x})}{2\sqrt{x}}.\]

This formula is valid wherever \(\sqrt{x}\) is differentiable, i.e. for \(x>0\). At \(x=0\) the function is defined, but the derivative formula involves division by \(\sqrt{x}\), so the derivative is not defined there.

Hence, for \(x>0\),

\[\boxed{\frac{d}{dx}\cos(\sqrt{x})=-\frac{\sin(\sqrt{x})}{2\sqrt{x}}}.\]
Q9Written answer
Prove that the function \(f\) given by \(f(x) = |x - 1|,\ x \in \mathbf{R}\) is not differentiable at \(x = 1\).
Show solutionHide solution
Worked solution

Let \(f(x)=|x-1|\), where \(x\in\mathbf R\). We use the definition of the derivative at a point.

The derivative of \(f\) at \(x=1\) exists only if the left-hand and right-hand derivatives both exist and are equal. Recall

\[f'(1)=\lim_{h\to 0}\frac{f(1+h)-f(1)}{h},\]

provided this limit exists.

First compute the value at the point:

\[f(1)=|1-1|=0.\]

Right-hand derivative at \(x=1\): take \(h>0\). Then \(1+h>1\), so

\[f(1+h)=|(1+h)-1|=|h|=h.\]

Hence

\[f'_+(1)=\lim_{h\to 0^+}\frac{f(1+h)-f(1)}{h} =\lim_{h\to 0^+}\frac{h-0}{h} =\lim_{h\to 0^+}1=1.\]

Left-hand derivative at \(x=1\): take \(h<0\). Then \(1+h<1\), so

\[f(1+h)=|(1+h)-1|=|h|=-h.\]

Therefore

\[f'_-(1)=\lim_{h\to 0^-}\frac{f(1+h)-f(1)}{h} =\lim_{h\to 0^-}\frac{-h-0}{h} =\lim_{h\to 0^-}(-1)=-1.\]

The one-sided derivatives are different:

\[f'_+(1)=1\neq -1=f'_-(1).\]

Since the left-hand and right-hand derivatives at \(x=1\) are not equal, the limit defining \(f'(1)\) does not exist. Hence \(f\) is not differentiable at \(x=1\).

Equivalently, the graph of \(f(x)=|x-1|\) has a sharp corner at \((1,0)\), with slope \(-1\) on the left and slope \(1\) on the right, so no single tangent slope can be assigned there.

Q10Written answer
Prove that the greatest integer function defined by \(f(x) = [x],\ 0 < x < 3\) is not differentiable at \(x = 1\) and \(x = 2\).
Show solutionHide solution
Worked solution

Let \(f(x)=[x]\) for \(0<x<3\), where \([x]\) denotes the greatest integer not exceeding \(x\). Recall that \(f\) is differentiable at a point \(a\) only if the left-hand and right-hand derivatives both exist and are equal.

At \(x=1\). Here \(f(1)=[1]=1\).

For \(0<x<1\), we have \([x]=0\), so the left-hand derivative is

\[ f'_-(1)=\lim_{x\to1^-}\frac{f(x)-f(1)}{x-1} =\lim_{x\to1^-}\frac{0-1}{x-1} =\lim_{x\to1^-}\frac{-1}{x-1}. \]

As \(x\to1^-\), \(x-1\to0^-\) and is negative, so \(\dfrac{-1}{x-1}\to+\infty\). Thus \(f'_-(1)\) is not a finite number.

For \(1<x<2\), we have \([x]=1\), so

\[ f'_+(1)=\lim_{x\to1^+}\frac{f(x)-f(1)}{x-1} =\lim_{x\to1^+}\frac{1-1}{x-1}=0. \]

Since the left-hand derivative does not exist as a finite number, \(f\) is not differentiable at \(x=1\).

At \(x=2\). Here \(f(2)=[2]=2\).

For \(1<x<2\), we have \([x]=1\), so the left-hand derivative is

\[ f'_-(2)=\lim_{x\to2^-}\frac{f(x)-f(2)}{x-2} =\lim_{x\to2^-}\frac{1-2}{x-2} =\lim_{x\to2^-}\frac{-1}{x-2}. \]

As \(x\to2^-\), \(x-2\to0^-\) and is negative, so \(\dfrac{-1}{x-2}\to+\infty\). Thus \(f'_-(2)\) is not a finite number.

For \(2<x<3\), we have \([x]=2\), so

\[ f'_+(2)=\lim_{x\to2^+}\frac{f(x)-f(2)}{x-2} =\lim_{x\to2^+}\frac{2-2}{x-2}=0. \]

Since the left-hand derivative does not exist as a finite number, \(f\) is not differentiable at \(x=2\).

Therefore the greatest integer function \(f(x)=[x]\) on \(0<x<3\) is not differentiable at \(x=1\) and at \(x=2\). \(\blacksquare\)