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
Q11Written answer
Differentiate the function w.r.t. \(x\): \((x \cos x)^x + (x \sin x)^{\frac{1}{x}}\)
Show solutionHide solution
Worked solution

Let \(y=(x\cos x)^x+(x\sin x)^{1/x}=u+v\), where \(u=(x\cos x)^x\) and \(v=(x\sin x)^{1/x}\). We differentiate each term separately and add.

First term \(u=(x\cos x)^x\). Taking logarithms (valid where \(x\cos x>0\)):

\[ \ln u=x\ln(x\cos x). \] Differentiating both sides with respect to \(x\), using the product rule on the right and the chain rule on \(\ln(x\cos x)\): \[ \frac{1}{u}\frac{du}{dx}=\ln(x\cos x)+x\cdot\frac{1}{x\cos x}\cdot(\cos x-x\sin x). \] Since \(\frac{d}{dx}(x\cos x)=\cos x-x\sin x\), this becomes \[ \frac{1}{u}\frac{du}{dx}=\ln(x\cos x)+\frac{\cos x-x\sin x}{\cos x}=\ln(x\cos x)+1-x\tan x. \] Hence \[ \frac{du}{dx}=(x\cos x)^x\bigl[\ln(x\cos x)+1-x\tan x\bigr]. \]

Second term \(v=(x\sin x)^{1/x}\). Taking logarithms (valid where \(x\sin x>0\)):

\[ \ln v=\frac{1}{x}\ln(x\sin x). \] Differentiate using the product rule on \(\frac{1}{x}\ln(x\sin x)\): \[ \frac{1}{v}\frac{dv}{dx}=-\frac{1}{x^2}\ln(x\sin x)+\frac{1}{x}\cdot\frac{1}{x\sin x}\cdot(\sin x+x\cos x). \] Since \(\frac{d}{dx}(x\sin x)=\sin x+x\cos x\), the second piece simplifies to \[ \frac{1}{x}\cdot\frac{\sin x+x\cos x}{x\sin x}=\frac{\sin x+x\cos x}{x^2\sin x}=\frac{1}{x^2}+\frac{\cot x}{x}. \] Therefore \[ \frac{1}{v}\frac{dv}{dx}=-\frac{\ln(x\sin x)}{x^2}+\frac{1}{x^2}+\frac{\cot x}{x}, \] so \[ \frac{dv}{dx}=(x\sin x)^{1/x}\left[\frac{1-\ln(x\sin x)}{x^2}+\frac{\cot x}{x}\right]. \]

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

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

This formula applies on the domain where the original powers are defined as real functions, i.e. where \(x\cos x>0\) and \(x\sin x>0\) (and \(x\neq 0\)); at points where a base is zero or negative the real-valued power is not defined in the usual sense, so those points are excluded.

Q12Written answer
Find \(\frac{dy}{dx}\) of the function: \(x^y + y^x = 1\)
Show solutionHide solution
Worked solution

We are given

\[x^y+y^x=1\]

and need \(\dfrac{dy}{dx}\). Here \(y\) is treated as a function of \(x\). Since the bases \(x\) and \(y\) appear in variable exponents, we take logarithms of each term separately.

Step 1: Differentiate \(x^y\). Write \(x^y=e^{y\ln x}\). Then, using the chain rule and product rule,

\[ \frac{d}{dx}\left(x^y\right) = e^{y\ln x}\cdot \frac{d}{dx}(y\ln x) = x^y\left(y'\ln x+\frac{y}{x}\right). \]

Step 2: Differentiate \(y^x\). Write \(y^x=e^{x\ln y}\). Then

\[ \frac{d}{dx}\left(y^x\right) = e^{x\ln y}\cdot \frac{d}{dx}(x\ln y) = y^x\left(\ln y+x\cdot\frac{y'}{y}\right). \]

Step 3: Differentiate the equation. The right-hand side \(1\) has derivative \(0\), so

\[ x^y\left(y'\ln x+\frac{y}{x}\right) + y^x\left(\ln y+\frac{x y'}{y}\right)=0. \]

Step 4: Collect the terms containing \(y'\). Expanding,

\[ x^y y'\ln x+\frac{y\,x^y}{x} + y^x\ln y+\frac{x\,y^x}{y}\,y'=0. \]

Hence

\[ y'\left(x^y\ln x+\frac{x\,y^x}{y}\right) = -\left(\frac{y\,x^y}{x}+y^x\ln y\right). \]

Step 5: Solve for \(y'\).

\[ \frac{dy}{dx} = -\frac{\dfrac{y\,x^y}{x}+y^x\ln y} {x^y\ln x+\dfrac{x\,y^x}{y}}. \]

Multiplying numerator and denominator by \(xy\) gives the compact form

\[ \boxed{\frac{dy}{dx} = -\frac{y^2x^y+xy\,y^x\ln y}{xy\,x^y\ln x+x^2y^x}}. \]

Equivalently,

\[ \boxed{\frac{dy}{dx} = -\frac{y\left(y\,x^y+x\,y^x\ln y\right)} {x\left(y\,x^y\ln x+x\,y^x\right)}}. \]

Domain note. The logarithmic differentiations require \(x>0\) and \(y>0\), so that \(\ln x\) and \(\ln y\) are defined. The expression for \(\dfrac{dy}{dx}\) is valid wherever the denominator is nonzero; points where the denominator vanishes are excluded.

Q13Written answer
Find \(\frac{dy}{dx}\) of the function: \(y^x = x^y\)
Show solutionHide solution
Worked solution

We are given

\[y^x=x^y,\qquad x>0,\ y>0,\]

since the powers \(y^x\) and \(x^y\) are defined for positive bases in this context. Take natural logarithms of both sides:

\[\ln(y^x)=\ln(x^y).\]

Using \(\ln(a^b)=b\ln a\),

\[x\ln y=y\ln x.\]

Differentiate both sides with respect to \(x\), remembering that \(y\) is a function of \(x\):

\[\frac{d}{dx}\bigl(x\ln y\bigr)=\frac{d}{dx}\bigl(y\ln x\bigr).\]

By the product rule,

\[\ln y+x\cdot\frac{1}{y}\frac{dy}{dx} = \frac{dy}{dx}\ln x+y\cdot\frac{1}{x}.\]

Thus

\[\ln y+\frac{x}{y}\frac{dy}{dx} = \ln x\,\frac{dy}{dx}+\frac{y}{x}.\]

Collect the terms containing \(\frac{dy}{dx}\):

\[\frac{x}{y}\frac{dy}{dx}-\ln x\,\frac{dy}{dx} = \frac{y}{x}-\ln y.\]

Factor:

\[\left(\frac{x}{y}-\ln x\right)\frac{dy}{dx} = \frac{y}{x}-\ln y.\]

Therefore

\[\frac{dy}{dx} = \frac{\dfrac{y}{x}-\ln y}{\dfrac{x}{y}-\ln x}.\]

Multiplying numerator and denominator by \(xy\),

\[\boxed{\frac{dy}{dx} = \frac{y^2-xy\ln y}{x^2-xy\ln x}}.\]

Equivalently,

\[\boxed{\frac{dy}{dx} = \frac{y(y-x\ln y)}{x(x-y\ln x)}}.\]

This is valid wherever the denominator is nonzero, i.e. where \(x^2\ne xy\ln x\), equivalently \(x\ne y\ln x\), in addition to \(x>0,\ y>0\).

Q14Written answer
Find \(\frac{dy}{dx}\) of the function: \((\cos x)^y = (\cos y)^x\)
Show solutionHide solution
Worked solution

We differentiate the implicit relation

\[ (\cos x)^y=(\cos y)^x \] with respect to \(x\), remembering that \(y\) is a function of \(x\).

Step 1: Take logarithms. Where both sides are defined and positive, take the natural logarithm:

\[ y\ln(\cos x)=x\ln(\cos y). \] This requires \(\cos x>0\) and \(\cos y>0\), so the original equation is being differentiated on a domain where these logarithms are defined.

Step 2: Differentiate both sides. Using the product rule on each side,

\[ \frac{d}{dx}\bigl[y\ln(\cos x)\bigr] =\frac{d}{dx}\bigl[x\ln(\cos y)\bigr]. \] For the left side, \[ \frac{d}{dx}\bigl[y\ln(\cos x)\bigr] =y'\ln(\cos x)+y\cdot\frac{1}{\cos x}(-\sin x) =y'\ln(\cos x)-y\tan x. \] For the right side, since \(y\) depends on \(x\), \[ \frac{d}{dx}\bigl[x\ln(\cos y)\bigr] =\ln(\cos y)+x\cdot\frac{1}{\cos y}(-\sin y)\,y' =\ln(\cos y)-x\tan y\,y'. \] Therefore, \[ y'\ln(\cos x)-y\tan x=\ln(\cos y)-x\tan y\,y'. \]

Step 3: Collect the terms containing \(y'\).

\[ y'\ln(\cos x)+x\tan y\,y'=\ln(\cos y)+y\tan x. \] Hence \[ y'\bigl[\ln(\cos x)+x\tan y\bigr]=\ln(\cos y)+y\tan x. \]

Step 4: Solve for \(y'=\frac{dy}{dx}\).

\[ \boxed{\frac{dy}{dx}=\frac{\ln(\cos y)+y\tan x}{\ln(\cos x)+x\tan y}} \] provided that \[ \ln(\cos x)+x\tan y\neq 0, \] and the logarithms and tangents involved are defined. In particular, the formula applies on intervals where \(\cos x>0\) and \(\cos y>0\), and it excludes points where the denominator vanishes.
Q15Written answer
Find \(\frac{dy}{dx}\) of the function: \(xy = e^{(x-y)}\)
Show solutionHide solution
Worked solution

We are given

\[xy=e^{x-y}.\]

Differentiate both sides with respect to \(x\). Remember that \(y\) is a function of \(x\), so the product rule is needed on the left and the chain rule on the right.

Left-hand side:

\[\frac{d}{dx}(xy)=x\frac{dy}{dx}+y.\]

Right-hand side: write \(e^{x-y}=e^{x}\,e^{-y}\). Then

\[\frac{d}{dx}\left(e^{x-y}\right)=e^{x-y}\cdot\frac{d}{dx}(x-y)=e^{x-y}\left(1-\frac{dy}{dx}\right).\]

Equating the two derivatives gives

\[x\frac{dy}{dx}+y=e^{x-y}\left(1-\frac{dy}{dx}\right).\]

Expand the right-hand side:

\[x\frac{dy}{dx}+y=e^{x-y}-e^{x-y}\frac{dy}{dx}.\]

Collect all terms containing \(\frac{dy}{dx}\) on the left:

\[x\frac{dy}{dx}+e^{x-y}\frac{dy}{dx}=e^{x-y}-y.\]

Factor out \(\frac{dy}{dx}\):

\[\left(x+e^{x-y}\right)\frac{dy}{dx}=e^{x-y}-y.\]

Therefore

\[\frac{dy}{dx}=\frac{e^{x-y}-y}{x+e^{x-y}}.\]

Since the original equation gives \(e^{x-y}=xy\), this may also be written as

\[\frac{dy}{dx}=\frac{xy-y}{x+xy}=\frac{y(x-1)}{x(1+y)}.\]

This second form is valid wherever \(x(1+y)\neq 0\). The first form is valid wherever \(x+e^{x-y}\neq 0\).

Q16Written answer
Find the derivative of the function given by \(f(x) = (1+x)(1+x^2)(1+x^4)(1+x^8)\) and hence find \(f'(1)\).
Show solutionHide solution
Worked solution

Let \(f(x)=(1+x)(1+x^2)(1+x^4)(1+x^8)\).

Step 1: Simplify using the identity \((1-t)(1+t)=1-t^2\).

Multiply both sides by \((1-x)\):

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

Apply the identity repeatedly:

\[(1-x)(1+x)=1-x^2,\] \[(1-x^2)(1+x^2)=1-x^4,\] \[(1-x^4)(1+x^4)=1-x^8,\] \[(1-x^8)(1+x^8)=1-x^{16}.\]

Hence

\[(1-x)f(x)=1-x^{16}.\]

For \(x\neq 1\),

\[f(x)=\frac{1-x^{16}}{1-x}.\]

This is valid at \(x=1\) as a limit, but for differentiation we may use the product form directly, so no issue arises at \(x=1\).

Step 2: Differentiate.

Using the product rule on the original product,

\[f'(x)=(1+x^2)(1+x^4)(1+x^8)+(1+x)\cdot 2x(1+x^4)(1+x^8)\] \[\quad +(1+x)(1+x^2)\cdot 4x^3(1+x^8)+(1+x)(1+x^2)(1+x^4)\cdot 8x^7.\]

Equivalently, from \((1-x)f(x)=1-x^{16}\), differentiating gives

\[-f(x)+(1-x)f'(x)=-16x^{15},\]

so

\[f'(x)=\frac{f(x)-16x^{15}}{1-x}\quad (x\neq 1).\]

At \(x=1\), use the product rule directly.

Step 3: Evaluate \(f'(1)\).

At \(x=1\):

\[f(1)=(1+1)(1+1)(1+1)(1+1)=2\cdot2\cdot2\cdot2=16.\]

Using the product rule at \(x=1\):

\[f'(1)=(1+1)(1+1)(1+1)+(1+1)\cdot 2(1+1)(1+1)\] \[\quad +(1+1)(1+1)\cdot 4(1+1)+(1+1)(1+1)(1+1)\cdot 8.\]

Compute each term:

\[2\cdot2\cdot2=8,\] \[(2)\cdot 2\cdot 2\cdot 2=16,\] \[(2\cdot2)\cdot 4\cdot2=32,\] \[(2\cdot2\cdot2)\cdot 8=64.\]

Thus

\[f'(1)=8+16+32+64=120.\]

Answer: \(f'(x)\) is given by the product-rule expression above, and \(f'(1)=120\).

Q17Written answer
Differentiate \((x^2 - 5x + 8)(x^3 + 7x + 9)\) in three ways mentioned below:
(i) by using product rule
(ii) by expanding the product to obtain a single polynomial.
(iii) by logarithmic differentiation.
Do they all give the same answer?
Show solutionHide solution
Worked solution

Let \(u=x^2-5x+8\) and \(v=x^3+7x+9\). We differentiate \(uv\) by the three methods.

(i) Product rule

\[\frac{d}{dx}(uv)=u'v+uv'.\]

Now \(u'=2x-5\) and \(v'=3x^2+7\). Hence

\[\begin{aligned}\frac{d}{dx}\bigl[(x^2-5x+8)(x^3+7x+9)\bigr]&=(2x-5)(x^3+7x+9)+(x^2-5x+8)(3x^2+7).\end{aligned}\]

Expanding the two products,

\[(2x-5)(x^3+7x+9)=2x^4-5x^3+14x^2-17x-45,\]

and

\[(x^2-5x+8)(3x^2+7)=3x^4-15x^3+24x^2+7x^2-35x+56=3x^4-15x^3+31x^2-35x+56.\]

Adding,

\[\frac{dy}{dx}=5x^4-20x^3+45x^2-52x+11.\]

(ii) Expanding first

\[\begin{aligned}(x^2-5x+8)(x^3+7x+9)&=x^5-5x^4+7x^3-35x^2+9x^2-45x+8x^3+56x+72\\&=x^5-5x^4+15x^3-26x^2+11x+72.\end{aligned}\]

Differentiating term by term,

\[\frac{dy}{dx}=5x^4-20x^3+45x^2-52x+11.\]

(iii) Logarithmic differentiation

Let \(y=(x^2-5x+8)(x^3+7x+9)\). Taking logarithms,

\[\log|y|=\log|x^2-5x+8|+\log|x^3+7x+9|.\]

Differentiating,

\[\frac{1}{y}\frac{dy}{dx}=\frac{2x-5}{x^2-5x+8}+\frac{3x^2+7}{x^3+7x+9}.\]

Thus

\[\frac{dy}{dx}=y\left(\frac{2x-5}{x^2-5x+8}+\frac{3x^2+7}{x^3+7x+9}\right).\]

Substituting \(y\) and simplifying,

\[\begin{aligned}\frac{dy}{dx}&=(x^3+7x+9)(2x-5)+(x^2-5x+8)(3x^2+7)\\&=5x^4-20x^3+45x^2-52x+11.\end{aligned}\]

This is valid wherever \(y\ne0\), i.e. away from the real zeros of the two factors; the resulting polynomial formula extends to all real \(x\).

Conclusion: Yes, all three methods give the same derivative,

\[\boxed{\frac{dy}{dx}=5x^4-20x^3+45x^2-52x+11}.\]

Q18Written answer
If \(u, v\) and \(w\) are functions of \(x\), then show that
\[\frac{d}{dx}(u \cdot v \cdot w) = \frac{du}{dx} \cdot v \cdot w + u \cdot \frac{dv}{dx} \cdot w + u \cdot v \cdot \frac{dw}{dx}\]
in two ways - first by repeated application of product rule, second by logarithmic differentiation.
Show solutionHide solution
Worked solution

Let \(u,v,w\) be differentiable functions of \(x\). We prove the product rule for three factors in two ways.

Method 1: Repeated application of the product rule

Group the first two factors and treat \(uv\) as one function. By the ordinary product rule,

\[ \frac{d}{dx}\big((uv)w\big)=\frac{d}{dx}(uv)\cdot w+(uv)\cdot\frac{dw}{dx}. \]

Apply the product rule again to \(uv\):

\[ \frac{d}{dx}(uv)=\frac{du}{dx}\,v+u\,\frac{dv}{dx}. \]

Substituting,

\[ \frac{d}{dx}(uvw)=\left(\frac{du}{dx}\,v+u\,\frac{dv}{dx}\right)w+uv\,\frac{dw}{dx}. \]

Expanding,

\[ \frac{d}{dx}(uvw)=\frac{du}{dx}\,v\,w+u\,\frac{dv}{dx}\,w+u\,v\,\frac{dw}{dx}. \]

This is the required formula.

Method 2: Logarithmic differentiation

Assume \(u,v,w\) are positive wherever we take logarithms, so that \(uvw>0\) and all logarithms below are defined. (The formula itself, once proved on such intervals, extends by continuity/algebraic identity to the general differentiable case.)

Let

\[ y=uvw. \]

Taking natural logarithms,

\[ \ln y=\ln(uvw)=\ln u+\ln v+\ln w. \]

Differentiate both sides with respect to \(x\), using the chain rule \(\frac{d}{dx}\ln f=\frac{1}{f}\frac{df}{dx}\):

\[ \frac{1}{y}\frac{dy}{dx}=\frac{1}{u}\frac{du}{dx}+\frac{1}{v}\frac{dv}{dx}+\frac{1}{w}\frac{dw}{dx}. \]

Multiply throughout by \(y=uvw\):

\[ \frac{dy}{dx}=uvw\left(\frac{1}{u}\frac{du}{dx}+\frac{1}{v}\frac{dv}{dx}+\frac{1}{w}\frac{dw}{dx}\right). \]

Distributing \(uvw\) and cancelling common factors in each term,

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

Since \(y=uvw\), this gives

\[ \frac{d}{dx}(uvw)=\frac{du}{dx}\,v\,w+u\,\frac{dv}{dx}\,w+u\,v\,\frac{dw}{dx}, \]

as required. Both methods yield the same result.