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.5

Textbook page 134 · 18 questions
Q1Written answer
Differentiate the function w.r.t. \(x\): \(\cos x \cdot \cos 2x \cdot \cos 3x\)
Show solutionHide solution
Worked solution

Let

\[y=\cos x\,\cos 2x\,\cos 3x.\]

We differentiate using the product rule. Write \(y=u\,v\,w\) with

\[u=\cos x,\qquad v=\cos 2x,\qquad w=\cos 3x.\]

Then

\[y'=u'vw+uv'w+uvw'.\]

Now

\[u'=-\sin x,\qquad v'=-2\sin 2x,\qquad w'=-3\sin 3x.\]

Substituting,

\[y'=(-\sin x)\cos 2x\cos 3x+\cos x(-2\sin 2x)\cos 3x+\cos x\cos 2x(-3\sin 3x).\]

Hence

\[\boxed{\frac{dy}{dx}=-\sin x\cos 2x\cos 3x-2\cos x\sin 2x\cos 3x-3\cos x\cos 2x\sin 3x.}\]

Equivalently, factoring out the common product \(\cos x\cos 2x\cos 3x\),

\[\frac{dy}{dx}=-\cos x\cos 2x\cos 3x\left(\tan x+2\tan 2x+3\tan 3x\right),\]

valid wherever all three cosines are nonzero. The first boxed form is valid for all real \(x\).

Q2Written answer
Differentiate the function w.r.t. \(x\): \(\sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}\)
Show solutionHide solution
Worked solution

Let

\[y=\sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}.\]

The function is defined where the expression under the square root is non-negative and the denominator is nonzero. In particular, we must exclude the poles \(x=3,4,5\), and the square-root expression must be non-negative on the domain considered.

Take the natural logarithm of the positive square root (on intervals where the radicand is positive):

\[\log y=\frac12\Big[\log(x-1)+\log(x-2)-\log(x-3)-\log(x-4)-\log(x-5)\Big].\]

Differentiate both sides with respect to \(x\):

\[\frac1y\frac{dy}{dx}=\frac12\left(\frac1{x-1}+\frac1{x-2}-\frac1{x-3}-\frac1{x-4}-\frac1{x-5}\right).\]

Hence

\[\frac{dy}{dx}=y\cdot\frac12\left(\frac1{x-1}+\frac1{x-2}-\frac1{x-3}-\frac1{x-4}-\frac1{x-5}\right).\]

Substituting back \(y=\sqrt{\dfrac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}\), we obtain

\[\boxed{\frac{dy}{dx}=\frac12\sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}\left(\frac1{x-1}+\frac1{x-2}-\frac1{x-3}-\frac1{x-4}-\frac1{x-5}\right)}.\]

This formula applies on intervals where the radicand is positive, so that the logarithm is defined; the points \(x=3,4,5\) are excluded because the original function is undefined there.

Q3Written answer
Differentiate the function w.r.t. \(x\): \((\log x)^{\cos x}\)
Show solutionHide solution
Worked solution

Let \(y=(\log x)^{\cos x}\). The function is defined only when \(\log x>0\), i.e. \(x>1\), and then both \(\log x\) and \(\cos x\) are defined.

Take logarithms:

\[\log y=\cos x\,\log(\log x).\]

Differentiate both sides with respect to \(x\), using the product rule on the right and the chain rule for \(\log(\log x)\):

\[\frac{1}{y}\frac{dy}{dx}=-\sin x\,\log(\log x)+\cos x\cdot\frac{1}{\log x}\cdot\frac{1}{x}.\]

Thus

\[\frac{dy}{dx}=y\left[-\sin x\,\log(\log x)+\frac{\cos x}{x\log x}\right].\]

Substituting back \(y=(\log x)^{\cos x}\),

\[\boxed{\frac{d}{dx}(\log x)^{\cos x}=(\log x)^{\cos x}\left[\frac{\cos x}{x\log x}-\sin x\,\log(\log x)\right]},\qquad x>1.\]

The restriction \(x>1\) is required because \(\log(\log x)\) must be defined and \(\log x\neq 0\) in the logarithmic differentiation step.

Q4Written answer
Differentiate the function w.r.t. \(x\): \(x^x - 2^{\sin x}\)
Show solutionHide solution
Worked solution

We differentiate the two terms separately.

First term: Let \(y=x^x\). Since the base and the exponent both depend on \(x\), take logarithms:

\[ \ln y=x\ln x. \]Differentiating both sides with respect to \(x\), using the product rule on the right, gives\[ \frac{1}{y}\frac{dy}{dx}=\ln x+x\cdot\frac{1}{x}=\ln x+1. \]Hence\[ \frac{d}{dx}\left(x^x\right)=x^x(\ln x+1). \]This is valid for \(x>0\), where \(x^x\) is defined as a real differentiable function.

Second term: Let \(u=2^{\sin x}\). Write \(u=e^{(\sin x)\ln 2}\). By the chain rule,\[ \frac{du}{dx}=e^{(\sin x)\ln 2}\cdot(\cos x)\ln 2=2^{\sin x}(\cos x)\ln 2. \]

Combining:\[ \frac{d}{dx}\left(x^x-2^{\sin x}\right)=x^x(\ln x+1)-2^{\sin x}(\cos x)\ln 2. \]

Thus, for \(x>0\),\[ \boxed{\frac{d}{dx}\left(x^x-2^{\sin x}\right)=x^x(1+\ln x)-2^{\sin x}\cos x\,\ln 2.} \]

Q5Written answer
Differentiate the function w.r.t. \(x\): \((x+3)^2 \cdot (x+4)^3 \cdot (x+5)^4\)
Show solutionHide solution
Worked solution

Let

\[y=(x+3)^2(x+4)^3(x+5)^4.\]

This is a product of three powers, so we use logarithmic differentiation. Taking logarithms (valid wherever \(y>0\); the derivative formula obtained is then valid on the whole domain by continuity):

\[\ln y=2\ln(x+3)+3\ln(x+4)+4\ln(x+5).\]

Differentiate both sides with respect to \(x\):

\[\frac{1}{y}\frac{dy}{dx}=\frac{2}{x+3}+\frac{3}{x+4}+\frac{4}{x+5}.\]

Hence

\[\frac{dy}{dx}=y\left(\frac{2}{x+3}+\frac{3}{x+4}+\frac{4}{x+5}\right).\]

Substituting back \(y=(x+3)^2(x+4)^3(x+5)^4\),

\[\boxed{\frac{dy}{dx}=(x+3)^2(x+4)^3(x+5)^4\left(\frac{2}{x+3}+\frac{3}{x+4}+\frac{4}{x+5}\right)}.\]

Equivalently, combining over a common denominator,

\[\frac{dy}{dx}=(x+3)(x+4)^2(x+5)^3\bigl[2(x+4)(x+5)+3(x+3)(x+5)+4(x+3)(x+4)\bigr].\]

Expanding the bracket:

\[2(x^2+9x+20)+3(x^2+8x+15)+4(x^2+7x+12)\] \[=(2+3+4)x^2+(18+24+28)x+(40+45+48)=9x^2+70x+133.\]

Therefore

\[\boxed{\frac{dy}{dx}=(x+3)(x+4)^2(x+5)^3\,(9x^2+70x+133)}.\]

The function is differentiable wherever it is defined, i.e. for all real \(x\); the logarithmic step is justified on intervals where the factors are positive, and the resulting formula extends to all \(x\) by continuity.

Q6Written answer
Differentiate the function w.r.t. \(x\): \(\left(x + \frac{1}{x}\right)^x + x^{\left(1 + \frac{1}{x}\right)}\)
Show solutionHide solution
Worked solution

Let

\[y=\left(x+\frac1x\right)^x+x^{\,1+\frac1x}=u+v,\]

where

\[u=\left(x+\frac1x\right)^x,\qquad v=x^{\,1+\frac1x}.\]

We differentiate each term separately. The function is defined for \(x>0\), so that the powers with variable exponents are defined in the usual real sense.

First term. Write

\[u=\left(x+\frac1x\right)^x.\]

Taking logarithms,

\[\ln u=x\ln\!\left(x+\frac1x\right).\]

Differentiating both sides with respect to \(x\),

\[\frac1u\frac{du}{dx}=\ln\!\left(x+\frac1x\right)+x\cdot\frac{1}{x+\frac1x}\cdot\left(1-\frac1{x^2}\right).\]

Since

\[\frac{1}{x+\frac1x}\left(1-\frac1{x^2}\right)=\frac{x}{x^2+1}\cdot\frac{x^2-1}{x^2}=\frac{x^2-1}{x(x^2+1)},\]

we get

\[\frac{du}{dx}=u\left[\ln\!\left(x+\frac1x\right)+\frac{x^2-1}{x^2+1}\right].\]

Hence

\[\frac{du}{dx}=\left(x+\frac1x\right)^x\left[\ln\!\left(x+\frac1x\right)+\frac{x^2-1}{x^2+1}\right].\]

Second term. Write

\[v=x^{\,1+\frac1x}.\]

Taking logarithms,

\[\ln v=\left(1+\frac1x\right)\ln x.\]

Differentiating,

\[\frac1v\frac{dv}{dx}=-\frac{1}{x^2}\ln x+\left(1+\frac1x\right)\frac1x.\]

Thus

\[\frac{dv}{dx}=x^{\,1+\frac1x}\left[\frac{x+1}{x^2}-\frac{\ln x}{x^2}\right] =x^{\,1+\frac1x}\cdot\frac{x+1-\ln x}{x^2}.\]

Combining. Since \(y=u+v\),

\[\boxed{\frac{dy}{dx}=\left(x+\frac1x\right)^x\left[\ln\!\left(x+\frac1x\right)+\frac{x^2-1}{x^2+1}\right]+x^{\,1+\frac1x}\cdot\frac{x+1-\ln x}{x^2}}\]

for \(x>0\).

Q7Written answer
Differentiate the function w.r.t. \(x\): \((\log x)^x + x^{\log x}\)
Show solutionHide solution
Worked solution

Let \(y=(\log x)^x+x^{\log x}\). The function is defined for \(x>0\), and we differentiate on this domain.

Write \(y=u+v\), where \(u=(\log x)^x\) and \(v=x^{\log x}\).

First term. Taking logarithms, \(\log u=x\log(\log x)\). Differentiating both sides with respect to \(x\):

\[\frac{1}{u}\frac{du}{dx}=\log(\log x)+x\cdot\frac{1}{\log x}\cdot\frac{1}{x}=\log(\log x)+\frac{1}{\log x}.\]

Hence

\[\frac{du}{dx}=(\log x)^x\left(\log(\log x)+\frac{1}{\log x}\right).\]

Second term. Taking logarithms, \(\log v=(\log x)(\log x)=(\log x)^2\). Differentiating:

\[\frac{1}{v}\frac{dv}{dx}=2(\log x)\cdot\frac{1}{x}.\]

Hence

\[\frac{dv}{dx}=x^{\log x}\cdot\frac{2\log x}{x}.\]

Combining. Since \(\frac{dy}{dx}=\frac{du}{dx}+\frac{dv}{dx}\),

\[\frac{dy}{dx}=(\log x)^x\left(\log(\log x)+\frac{1}{\log x}\right)+x^{\log x}\cdot\frac{2\log x}{x}.\]

This is valid for \(x>0\) with \(x\neq 1\) (the term \(\log(\log x)\) and the factor \(1/\log x\) require \(\log x\neq 0\)).

Q8Written answer
Differentiate the function w.r.t. \(x\): \((\sin x)^x + \sin^{-1} \sqrt{x}\)
Show solutionHide solution
Worked solution

Let \(y=(\sin x)^x+\sin^{-1}\sqrt{x}\). We differentiate the two terms separately.

First term. Let \(u=(\sin x)^x\). Since \(\sin x>0\) where this power is defined as a real differentiable function, take logarithms:

\[ \ln u=x\ln(\sin x). \]

Differentiating both sides with respect to \(x\),

\[ \frac{1}{u}\frac{du}{dx}=\ln(\sin x)+x\cdot\frac{\cos x}{\sin x} =\ln(\sin x)+x\cot x. \]

Hence

\[ \frac{du}{dx}=(\sin x)^x\bigl(\ln(\sin x)+x\cot x\bigr). \]

Second term. Let \(v=\sin^{-1}\sqrt{x}\). The principal branch of \(\sin^{-1}\) is used, and \(v\) is defined for \(0\le x\le 1\). For differentiability we need \(0<x<1\). By the chain rule,

\[ \frac{dv}{dx}=\frac{1}{\sqrt{1-(\sqrt{x})^2}}\cdot\frac{d}{dx}\sqrt{x} =\frac{1}{\sqrt{1-x}}\cdot\frac{1}{2\sqrt{x}} =\frac{1}{2\sqrt{x(1-x)}}. \]

Combining. Therefore, on the common domain where both terms are differentiable (in particular \(0<x<1\) and \(\sin x>0\)),

\[ \boxed{\frac{dy}{dx}=(\sin x)^x\bigl(\ln(\sin x)+x\cot x\bigr)+\frac{1}{2\sqrt{x(1-x)}}}. \]

The endpoints \(x=0\) and \(x=1\) are excluded because the derivative of \(\sin^{-1}\sqrt{x}\) is not finite there; the formula also requires \(\sin x>0\) for the logarithmic term.

Q9Written answer
Differentiate the function w.r.t. \(x\): \(x^{\sin x} + (\sin x)^{\cos x}\)
Show solutionHide solution
Worked solution

Let

\[y=x^{\sin x}+(\sin x)^{\cos x}=u+v,\]

where \(u=x^{\sin x}\) and \(v=(\sin x)^{\cos x}\). We differentiate each term separately.

First term. Since \(x^{\sin x}=e^{\sin x\ln x}\) for \(x>0\),

\[\frac{du}{dx}=e^{\sin x\ln x}\left(\cos x\ln x+\frac{\sin x}{x}\right) =x^{\sin x}\left(\cos x\ln x+\frac{\sin x}{x}\right).\]

Second term. Write \((\sin x)^{\cos x}=e^{\cos x\ln(\sin x)}\), which requires \(\sin x>0\). Then

\[\frac{dv}{dx}=e^{\cos x\ln(\sin x)}\left(-\sin x\ln(\sin x)+\cos x\cdot\frac{\cos x}{\sin x}\right) =(\sin x)^{\cos x}\left(\frac{\cos^2 x}{\sin x}-\sin x\ln(\sin x)\right).\]

Adding the two derivatives,

\[\boxed{\frac{dy}{dx}=x^{\sin x}\left(\cos x\ln x+\frac{\sin x}{x}\right) +(\sin x)^{\cos x}\left(\frac{\cos^2 x}{\sin x}-\sin x\ln(\sin x)\right)}\]

This is valid on the common domain where both powers are defined as real differentiable functions: \(x>0\) and \(\sin x>0\).

Q10Written answer
Differentiate the function w.r.t. \(x\): \(x^{x \cos x} + \frac{x^2 + 1}{x^2 - 1}\)
Show solutionHide solution
Worked solution

Let

\[ y=x^{x\cos x}+\frac{x^2+1}{x^2-1}. \]

We differentiate the two terms separately.

First term. Put \(u=x^{x\cos x}\). Since the base and exponent both depend on \(x\), write

\[ u=e^{(x\cos x)\ln x}. \]

This requires \(x>0\), which we assume for the power \(x^{x\cos x}\). By the chain and product rules,

\[ \frac{du}{dx}=e^{(x\cos x)\ln x}\cdot\frac{d}{dx}\bigl(x\cos x\ln x\bigr). \]

Now

\[ \frac{d}{dx}\bigl(x\cos x\ln x\bigr) = \cos x\ln x+x(-\sin x)\ln x+x\cos x\cdot\frac1x. \]

Thus

\[ \frac{d}{dx}\bigl(x\cos x\ln x\bigr) = \cos x\ln x-x\sin x\ln x+\cos x. \]

Therefore

\[ \frac{du}{dx}=x^{x\cos x}\bigl(\cos x\ln x-x\sin x\ln x+\cos x\bigr). \]

Second term. Let

\[ v=\frac{x^2+1}{x^2-1}. \]

By the quotient rule,

\[ \frac{dv}{dx}=\frac{(2x)(x^2-1)-(x^2+1)(2x)}{(x^2-1)^2}. \]

The numerator simplifies to

\[ 2x(x^2-1-x^2-1)=2x(-2)=-4x. \]

Hence

\[ \frac{dv}{dx}=-\frac{4x}{(x^2-1)^2}. \]

Combining both derivatives,

\[ \boxed{\frac{dy}{dx}=x^{x\cos x}\bigl(\cos x\ln x-x\sin x\ln x+\cos x\bigr)-\frac{4x}{(x^2-1)^2}}. \]

The expression is defined for \(x>0\) with \(x\neq 1\), since \(x=1\) makes the denominator \(x^2-1\) zero.