RS Aggarwal Class 12 Maths Solutions Exercise 10F (Part 1) — Differentiation
RS Aggarwal, Class 12 Mathematics — Differentiation, Exercise 10F (Part 1), Questions 1 to 33. All 33 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
This is the logarithmic differentiation exercise. Questions 1 to 16 are functions with a variable in both base and exponent, such as $x^{\sin x}$. Questions 17 to 30 are long products and quotients, where the product rule would be tedious. Questions 31 to 33 add two such terms together, so each term is treated on its own. Here $\log$ means the natural logarithm, and the answers are valid wherever the original function is defined and positive.
Key insight. Taking $\log$ of both sides turns powers into products and products into sums: $\log(u^v) = v\log u$ and $\log(abc) = \log a+\log b+\log c$. Differentiate that, remember $\dfrac{d}{dx}\log y = \dfrac1y\dfrac{dy}{dx}$, and multiply back by $y$. For a sum $u+v$ you cannot take one logarithm of the whole; differentiate $u$ and $v$ separately.
Question 1
Find $\dfrac{dy}{dx}$ when $y = x^{1/x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \frac{1}{x}\log x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\frac{1}{x}\cdot\frac{1}{x}+\log x\cdot\left(-\frac{1}{x^2}\right).$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{1-\log x}{x^2}$. Multiply by $y = x^{1/x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = x^{1/x}\left\{\frac{1-\log x}{x^2}\right\}$$
Question 2
Find $\dfrac{dy}{dx}$ when $y = x^{\sqrt{x}}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \sqrt{x}\,\log x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\sqrt{x}\cdot\frac{1}{x}+\log x\cdot\frac{1}{2\sqrt{x}}=\frac{1}{\sqrt{x}}+\frac{\log x}{2\sqrt{x}}.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{2+\log x}{2\sqrt{x}}$. Multiply by $y = x^{\sqrt{x}}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = x^{\sqrt{x}}\left\{\frac{2+\log x}{2\sqrt{x}}\right\}$$
Question 3
Find $\dfrac{dy}{dx}$ when $y = (\log x)^x$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = x\log(\log x).$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=x\cdot\frac{1}{\log x}\cdot\frac{1}{x}+\log(\log x)\cdot 1.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{1}{\log x}+\log(\log x)$. Multiply by $y = (\log x)^x$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\log x)^x\left\{\frac{1}{\log x}+\log(\log x)\right\}$$
Question 4
Find $\dfrac{dy}{dx}$ when $y = x^{\sin x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \sin x\,\log x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\sin x\cdot\frac{1}{x}+\log x\cdot\cos x.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{\sin x}{x}+\cos x\,\log x$. Multiply by $y = x^{\sin x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = x^{\sin x}\left\{\frac{\sin x}{x}+\cos x\,\log x\right\}$$
Question 5
Find $\dfrac{dy}{dx}$ when $y = x^{\cos^{-1}x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \cos^{-1}x\,\log x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\cos^{-1}x\cdot\frac{1}{x}+\log x\cdot\left(\frac{-1}{\sqrt{1-x^2}}\right).$$
Here $\dfrac{d}{dx}\cos^{-1}x=-\dfrac{1}{\sqrt{1-x^2}}$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{\cos^{-1}x}{x}-\frac{\log x}{\sqrt{1-x^2}}$. Multiply by $y = x^{\cos^{-1}x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = x^{\cos^{-1}x}\left\{\frac{\cos^{-1}x}{x}-\frac{\log x}{\sqrt{1-x^2}}\right\}$$
Question 6
Find $\dfrac{dy}{dx}$ when $y = (\tan x)^{1/x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \frac{1}{x}\log\tan x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\frac{1}{x}\cdot\frac{\sec^2x}{\tan x}-\frac{1}{x^2}\log\tan x.$$
Since $\dfrac{\sec^2x}{\tan x}=\dfrac{1}{\sin x\cos x}=2\,\mathrm{cosec}\,2x$, the first term becomes $\dfrac{2\,\mathrm{cosec}\,2x}{x}$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{2x\,\mathrm{cosec}\,2x-\log\tan x}{x^2}$. Multiply by $y = (\tan x)^{1/x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\tan x)^{1/x}\left\{\frac{2x\,\mathrm{cosec}\,2x-\log\tan x}{x^2}\right\}$$
Question 7
Find $\dfrac{dy}{dx}$ when $y = (\sin x)^{\cos x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \cos x\,\log\sin x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\cos x\cdot\frac{\cos x}{\sin x}+\log\sin x\cdot(-\sin x).$$
Note $\cos x\cdot\dfrac{\cos x}{\sin x}=\cos x\cot x$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\cos x\cot x-\sin x\,\log\sin x$. Multiply by $y = (\sin x)^{\cos x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\sin x)^{\cos x}\left\{\cos x\cot x-\sin x\,\log\sin x\right\}$$
Question 8
Find $\dfrac{dy}{dx}$ when $y = (\log x)^{\sin x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \sin x\,\log(\log x).$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\sin x\cdot\frac{1}{\log x}\cdot\frac{1}{x}+\log(\log x)\cdot\cos x.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{\sin x}{x\log x}+\cos x\,\log(\log x)$. Multiply by $y = (\log x)^{\sin x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\log x)^{\sin x}\left\{\frac{\sin x}{x\log x}+\cos x\,\log(\log x)\right\}$$
Question 9
Find $\dfrac{dy}{dx}$ when $y = (\cos x)^{\log x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \log x\,\log\cos x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\log x\cdot\frac{-\sin x}{\cos x}+\log\cos x\cdot\frac{1}{x}.$$
Note $\dfrac{-\sin x}{\cos x}=-\tan x$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{\log\cos x}{x}-\tan x\,\log x$. Multiply by $y = (\cos x)^{\log x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\cos x)^{\log x}\left\{\frac{\log\cos x}{x}-\tan x\,\log x\right\}$$
Question 10
Find $\dfrac{dy}{dx}$ when $y = (\tan x)^{\sin x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \sin x\,\log\tan x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\sin x\cdot\frac{\sec^2x}{\tan x}+\log\tan x\cdot\cos x.$$
Here $\dfrac{\sec^2x}{\tan x}=\dfrac{1}{\sin x\cos x}$, so $\sin x\cdot\dfrac{\sec^2x}{\tan x}=\dfrac{1}{\cos x}=\sec x$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\cos x\,\log\tan x+\sec x$. Multiply by $y = (\tan x)^{\sin x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\tan x)^{\sin x}\left\{\cos x\,\log\tan x+\sec x\right\}$$
Question 11
Find $\dfrac{dy}{dx}$ when $y = (\cos x)^{\cos x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \cos x\,\log\cos x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\cos x\cdot\frac{-\sin x}{\cos x}+\log\cos x\cdot(-\sin x).$$
The first term simplifies because $\cos x\cdot\dfrac{-\sin x}{\cos x}=-\sin x$, and the second has the same factor $-\sin x$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=-\sin x\,(1+\log\cos x)$. Multiply by $y = (\cos x)^{\cos x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\cos x)^{\cos x}\left\{-\sin x\,(1+\log\cos x)\right\}$$
Question 12
Find $\dfrac{dy}{dx}$ when $y = (\tan x)^{\cot x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \cot x\,\log\tan x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\cot x\cdot\frac{\sec^2x}{\tan x}+\log\tan x\cdot(-\mathrm{cosec}^2x).$$
Here $\cot x\cdot\dfrac{\sec^2x}{\tan x}=\dfrac{\sec^2x}{\tan^2x}=\mathrm{cosec}^2x$, which lets us take $\mathrm{cosec}^2x$ out as a common factor. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\mathrm{cosec}^2x\,(1-\log\tan x)$. Multiply by $y = (\tan x)^{\cot x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\tan x)^{\cot x}\left\{\mathrm{cosec}^2x\,(1-\log\tan x)\right\}$$
Question 13
Find $\dfrac{dy}{dx}$ when $y = x^{\sin 2x}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = \sin 2x\,\log x.$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=\sin 2x\cdot\frac{1}{x}+\log x\cdot 2\cos 2x.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{\sin 2x}{x}+2\cos 2x\,\log x$. Multiply by $y = x^{\sin 2x}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = x^{\sin 2x}\left\{\frac{\sin 2x}{x}+2\cos 2x\,\log x\right\}$$
Question 14
Find $\dfrac{dy}{dx}$ when $y = (\sin^{-1}x)^x$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = x\log(\sin^{-1}x).$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=x\cdot\frac{1}{\sin^{-1}x}\cdot\frac{1}{\sqrt{1-x^2}}+\log(\sin^{-1}x)\cdot 1.$$
Here $\dfrac{d}{dx}\sin^{-1}x=\dfrac{1}{\sqrt{1-x^2}}$, and the chain rule on the logarithm supplies the factor $\dfrac{1}{\sin^{-1}x}$. This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\log(\sin^{-1}x)+\frac{x}{\sqrt{1-x^2}\,\sin^{-1}x}$. Multiply by $y = (\sin^{-1}x)^x$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (\sin^{-1}x)^x\left\{\log(\sin^{-1}x)+\frac{x}{\sqrt{1-x^2}\,\sin^{-1}x}\right\}$$
Question 15
Find $\dfrac{dy}{dx}$ when $y = \sin(x^x)$.
Solution. This is a sine of a function, so the chain rule applies, but the inner function $u = x^x$ needs logarithmic differentiation. Put $u = x^x$. Then $\log u = x\log x$, so
$$\frac{1}{u}\frac{du}{dx} = x\cdot\frac1x + \log x\cdot 1 = 1+\log x,\qquad \frac{du}{dx} = x^x(1+\log x).$$
Now $y = \sin u$, so $\dfrac{dy}{dx} = \cos u\cdot\dfrac{du}{dx}$.
$$\frac{dy}{dx} = x^x(1+\log x)\cos(x^x)$$
Question 16
Find $\dfrac{dy}{dx}$ when $y = (3x+5)^{2x-3}$.
Solution. The variable sits in the exponent as well as the base, so the power rule and the exponential rule both fail. Take natural logarithms first:
$$\log y = (2x-3)\log(3x+5).$$
Differentiate both sides with respect to $x$, using the product rule on the right:
$$ \frac{1}{y}\frac{dy}{dx}=(2x-3)\cdot\frac{3}{3x+5}+\log(3x+5)\cdot 2.$$
This simplifies to $\dfrac{1}{y}\dfrac{dy}{dx}=\frac{3(2x-3)}{3x+5}+2\log(3x+5)$. Multiply by $y = (3x+5)^{2x-3}$ to get $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (3x+5)^{2x-3}\left\{\frac{3(2x-3)}{3x+5}+2\log(3x+5)\right\}$$
Question 17
Find $\dfrac{dy}{dx}$ when $y = (x+1)^3(x+2)^4(x+3)^5$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 3\log(x+1)+4\log(x+2)+5\log(x+3).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{3}{x+1}+\frac{4}{x+2}+\frac{5}{x+3}.$$
Multiply by $y = (x+1)^3(x+2)^4(x+3)^5$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (x+1)^3(x+2)^4(x+3)^5\left\{\frac{3}{x+1}+\frac{4}{x+2}+\frac{5}{x+3}\right\}$$
Question 18
Find $\dfrac{dy}{dx}$ when $y = \sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \tfrac12\left[\log(x-1)+\log(x-2)-\log(x-3)-\log(x-4)-\log(x-5)\right].$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac12\left[\frac{1}{x-1}+\frac{1}{x-2}-\frac{1}{x-3}-\frac{1}{x-4}-\frac{1}{x-5}\right].$$
Multiply by $y = \sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \sqrt{\frac{(x-1)(x-2)}{(x-3)(x-4)(x-5)}}\left\{\frac12\left[\frac{1}{x-1}+\frac{1}{x-2}-\frac{1}{x-3}-\frac{1}{x-4}-\frac{1}{x-5}\right]\right\}$$
Question 19
Find $\dfrac{dy}{dx}$ when $y = (2-x)^3(3+2x)^5$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 3\log(2-x)+5\log(3+2x).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{10}{3+2x}-\frac{3}{2-x}.$$
Multiply by $y = (2-x)^3(3+2x)^5$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (2-x)^3(3+2x)^5\left\{\frac{10}{3+2x}-\frac{3}{2-x}\right\}$$
Question 20
Find $\dfrac{dy}{dx}$ when $y = \cos x\cos 2x\cos 3x$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \log\cos x+\log\cos 2x+\log\cos 3x.$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = -(\tan x+2\tan 2x+3\tan 3x).$$
Multiply by $y = \cos x\cos 2x\cos 3x$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \cos x\cos 2x\cos 3x\left\{-(\tan x+2\tan 2x+3\tan 3x)\right\}$$
Question 21
Find $\dfrac{dy}{dx}$ when $y = \frac{x^5\sqrt{x+4}}{(2x+3)^2}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 5\log x+\tfrac12\log(x+4)-2\log(2x+3).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{5}{x}+\frac{1}{2(x+4)}-\frac{4}{2x+3}.$$
Multiply by $y = \frac{x^5\sqrt{x+4}}{(2x+3)^2}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{x^5\sqrt{x+4}}{(2x+3)^2}\left\{\frac{5}{x}+\frac{1}{2(x+4)}-\frac{4}{2x+3}\right\}$$
Question 22
Find $\dfrac{dy}{dx}$ when $y = \frac{(x+1)^2\sqrt{x-1}}{(x+4)^3e^x}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 2\log(x+1)+\tfrac12\log(x-1)-3\log(x+4)-x.$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{2}{x+1}+\frac{1}{2(x-1)}-\frac{3}{x+4}-1.$$
Multiply by $y = \frac{(x+1)^2\sqrt{x-1}}{(x+4)^3e^x}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{(x+1)^2\sqrt{x-1}}{(x+4)^3e^x}\left\{\frac{2}{x+1}+\frac{1}{2(x-1)}-\frac{3}{x+4}-1\right\}$$
Question 23
Find $\dfrac{dy}{dx}$ when $y = \frac{\sqrt{x}\,(3x+5)^2}{\sqrt{x+1}}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \tfrac12\log x+2\log(3x+5)-\tfrac12\log(x+1).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{1}{2x}+\frac{6}{3x+5}-\frac{1}{2(x+1)}.$$
Multiply by $y = \frac{\sqrt{x}\,(3x+5)^2}{\sqrt{x+1}}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{\sqrt{x}\,(3x+5)^2}{\sqrt{x+1}}\left\{\frac{1}{2x}+\frac{6}{3x+5}-\frac{1}{2(x+1)}\right\}$$
Question 24
Find $\dfrac{dy}{dx}$ when $y = \frac{x^2\sqrt{1+x}}{(1+x^2)^{3/2}}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 2\log x+\tfrac12\log(1+x)-\tfrac32\log(1+x^2).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{2}{x}+\frac{1}{2(1+x)}-\frac{3x}{1+x^2}.$$
Multiply by $y = \frac{x^2\sqrt{1+x}}{(1+x^2)^{3/2}}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{x^2\sqrt{1+x}}{(1+x^2)^{3/2}}\left\{\frac{2}{x}+\frac{1}{2(1+x)}-\frac{3x}{1+x^2}\right\}$$
Question 25
Find $\dfrac{dy}{dx}$ when $y = \sqrt{(x-2)(2x-3)(3x-4)}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \tfrac12\left[\log(x-2)+\log(2x-3)+\log(3x-4)\right].$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac12\left[\frac{1}{x-2}+\frac{2}{2x-3}+\frac{3}{3x-4}\right].$$
Multiply by $y = \sqrt{(x-2)(2x-3)(3x-4)}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \sqrt{(x-2)(2x-3)(3x-4)}\left\{\frac12\left[\frac{1}{x-2}+\frac{2}{2x-3}+\frac{3}{3x-4}\right]\right\}$$
Question 26
Find $\dfrac{dy}{dx}$ when $y = \sin 2x\sin 3x\sin 4x$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \log\sin 2x+\log\sin 3x+\log\sin 4x.$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = 2\cot 2x+3\cot 3x+4\cot 4x.$$
Multiply by $y = \sin 2x\sin 3x\sin 4x$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \sin 2x\sin 3x\sin 4x\left\{2\cot 2x+3\cot 3x+4\cot 4x\right\}$$
Question 27
Find $\dfrac{dy}{dx}$ when $y = \frac{x^3\sin x}{e^x}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = 3\log x+\log\sin x-x.$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{3}{x}+\cot x-1.$$
Multiply by $y = \frac{x^3\sin x}{e^x}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{x^3\sin x}{e^x}\left\{\frac{3}{x}+\cot x-1\right\}$$
Question 28
Find $\dfrac{dy}{dx}$ when $y = \frac{e^x\log x}{x^2}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = x+\log(\log x)-2\log x.$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = 1+\frac{1}{x\log x}-\frac{2}{x}.$$
Multiply by $y = \frac{e^x\log x}{x^2}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{e^x\log x}{x^2}\left\{1+\frac{1}{x\log x}-\frac{2}{x}\right\}$$
Question 29
Find $\dfrac{dy}{dx}$ when $y = \frac{x\cos^{-1}x}{\sqrt{1-x^2}}$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \log x+\log\cos^{-1}x-\tfrac12\log(1-x^2).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{1}{x}-\frac{1}{\sqrt{1-x^2}\,\cos^{-1}x}+\frac{x}{1-x^2}.$$
Multiply by $y = \frac{x\cos^{-1}x}{\sqrt{1-x^2}}$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = \frac{x\cos^{-1}x}{\sqrt{1-x^2}}\left\{\frac{1}{x}-\frac{1}{\sqrt{1-x^2}\,\cos^{-1}x}+\frac{x}{1-x^2}\right\}$$
Question 30
Find $\dfrac{dy}{dx}$ when $y = (1+x)(1+x^2)(1+x^4)(1+x^6)$.
Solution. The function is a product or quotient of several factors, so take natural logarithms; this turns the product into a sum, each term of which differentiates easily:
$$\log y = \log(1+x)+\log(1+x^2)+\log(1+x^4)+\log(1+x^6).$$
Differentiating with respect to $x$ gives
$$\frac{1}{y}\frac{dy}{dx} = \frac{1}{1+x}+\frac{2x}{1+x^2}+\frac{4x^3}{1+x^4}+\frac{6x^5}{1+x^6}.$$
Multiply by $y = (1+x)(1+x^2)(1+x^4)(1+x^6)$ to restore $\dfrac{dy}{dx}$.
$$\frac{dy}{dx} = (1+x)(1+x^2)(1+x^4)(1+x^6)\left\{\frac{1}{1+x}+\frac{2x}{1+x^2}+\frac{4x^3}{1+x^4}+\frac{6x^5}{1+x^6}\right\}$$
Question 31
Find $\dfrac{dy}{dx}$ when $y = x^x – 2^{\sin x}$.
Solution. Differentiate the two terms separately. For $u = x^x$ take logarithms: $\log u = x\log x$, so $\dfrac1u\dfrac{du}{dx} = 1+\log x$ and $\dfrac{du}{dx} = x^x(1+\log x)$. For $v = 2^{\sin x}$ the base is constant, so $\dfrac{d}{dx}a^{f(x)} = a^{f(x)}\log a\cdot f'(x)$ gives $\dfrac{dv}{dx} = 2^{\sin x}(\log 2)\cos x$. Since $y = u – v$, the second derivative enters with a minus sign.
$$\frac{dy}{dx} = x^x(1+\log x) – (\log 2)\,2^{\sin x}\cos x$$
Question 32
Find $\dfrac{dy}{dx}$ when $y = (\log x)^x + x^{\log x}$.
Solution. Write $y = u + v$ with $u = (\log x)^x$ and $v = x^{\log x}$, and treat each by logarithms.
For $u$: $\log u = x\log(\log x)$, so $\dfrac1u\dfrac{du}{dx} = x\cdot\dfrac{1}{x\log x} + \log(\log x) = \dfrac{1}{\log x}+\log(\log x)$.
For $v$: $\log v = (\log x)^2$, so $\dfrac1v\dfrac{dv}{dx} = \dfrac{2\log x}{x}$, giving $\dfrac{dv}{dx} = x^{\log x}\cdot\dfrac{2\log x}{x}$. (Since $x^{\log x} = e^{(\log x)^2}$, this agrees with differentiating that form directly.)
$$\frac{dy}{dx} = (\log x)^x\left\{\frac{1}{\log x}+\log(\log x)\right\} + x^{\log x}\cdot\frac{2\log x}{x}$$
Question 33
Find $\dfrac{dy}{dx}$ when $y = x^{\sin x} + (\sin x)^{\cos x}$.
Solution. Write $y = u+v$ with $u = x^{\sin x}$ and $v = (\sin x)^{\cos x}$.
For $u$: $\log u = \sin x\log x$, so $\dfrac1u\dfrac{du}{dx} = \dfrac{\sin x}{x}+\cos x\log x$.
For $v$: $\log v = \cos x\log\sin x$, so $\dfrac1v\dfrac{dv}{dx} = \cos x\cdot\dfrac{\cos x}{\sin x} – \sin x\log\sin x = \cos x\cot x-\sin x\log(\sin x)$.
Multiply each by its own function and add.
$$\frac{dy}{dx} = x^{\sin x}\left\{\frac{\sin x}{x}+\cos x\log x\right\} + (\sin x)^{\cos x}\left\{\cos x\cot x-\sin x\log(\sin x)\right\}$$
Common mistakes
- Forgetting to multiply by $y$ at the end: the line $\dfrac1y\dfrac{dy}{dx} = \dots$ is not yet the derivative.
- Differentiating $x^{\sin x}$ as if it were $\sin x\cdot x^{\sin x-1}$ (power rule) or $x^{\sin x}\log x$ (exponential rule). Neither applies when both base and exponent vary; the correct result has two terms, one from each.
- In Questions 31 to 33, taking the logarithm of the whole sum. $\log(u+v)$ does not split, so handle $u$ and $v$ separately.
- In Question 31, dropping the minus sign in front of $2^{\sin x}$, or forgetting the factor $\log 2$ and the chain-rule factor $\cos x$.
- In Questions 6, 10 and 12, leaving $\dfrac{\sec^2x}{\tan x}$ unsimplified; it equals $\dfrac{1}{\sin x\cos x}$ and often cancels with a neighbouring factor.
Practise next
Find $\dfrac{dy}{dx}$ at $x = e$ when $y = x^{\log x}$.
Show answer
$2$. From $\log y = (\log x)^2$ we get $\dfrac{dy}{dx} = x^{\log x}\cdot\dfrac{2\log x}{x}$. At $x = e$: $e^{1}\cdot\dfrac{2}{e} = 2$.
Questions 34 to 66 of the same exercise continue in Exercise 10F (Part 2).
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe