Differentiation

RS Aggarwal Class 12 Maths Solutions Exercise 10B — Differentiation

RS Aggarwal, Class 12 Mathematics — Differentiation, Exercise 10B. All 22 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

Exercise 10B is about differentiating exponential and logarithmic functions. Questions 1 to 6 are three-part drills on single functions such as $e^{u}$, $\log u$ and $a^{u}$. Questions 7 to 22 combine these with the product and quotient rules, and with trigonometric functions inside or outside the exponential.

Key insight. Two rules do almost all the work: $\dfrac{d}{dx}e^{u}=e^{u}\,u’$ and $\dfrac{d}{dx}\log u=\dfrac{u’}{u}$. For $a^{u}$ the rule is $a^{u}\log a\;u’$. Always differentiate from the outside in, and finish by multiplying by the derivative of whatever sits inside.

Question 1

Differentiate each of the following with respect to $x$:

(i) $e^{4x}$

(ii) $e^{-5x}$

(iii) $e^{x^3}$

Solution.

(i) $y=e^{4x}$. Use $\dfrac{d}{dx}e^{u}=e^{u}\dfrac{du}{dx}$ with $u=4x$. Since $u’=4$, the derivative is $4e^{4x}$.

$\dfrac{dy}{dx}=4e^{4x}$

(ii) $y=e^{-5x}$. Here $u=-5x$ and $u’=-5$, so the chain rule gives $e^{-5x}\cdot(-5)$.

$\dfrac{dy}{dx}=-5e^{-5x}$

(iii) $y=e^{x^3}$. The inner function is $u=x^3$, with $u’=3x^2$. Multiplying by $e^{u}$ gives $3x^2e^{x^3}$.

$\dfrac{dy}{dx}=3x^{2}e^{x^{3}}$

Question 2

Differentiate each of the following with respect to $x$:

(i) $e^{2/x}$

(ii) $e^{\sqrt{x}}$

(iii) $e^{-2\sqrt{x}}$

Solution.

(i) $y=e^{2/x}$. Take $u=\dfrac2x=2x^{-1}$, so $u’=-2x^{-2}=-\dfrac{2}{x^2}$. The derivative is $e^{2/x}$ times this.

$\dfrac{dy}{dx}=-\dfrac{2}{x^{2}}e^{2/x}$

(ii) $y=e^{\sqrt{x}}$. Take $u=\sqrt x=x^{1/2}$, so $u’=\dfrac{1}{2\sqrt x}$. Multiply by $e^{\sqrt x}$.

$\dfrac{dy}{dx}=\dfrac{e^{\sqrt{x}}}{2\sqrt{x}}$

(iii) $y=e^{-2\sqrt{x}}$. Take $u=-2\sqrt x$, so $u’=-2\cdot\dfrac{1}{2\sqrt x}=-\dfrac{1}{\sqrt x}$. The factor $2$ cancels the $2$ in the denominator.

$\dfrac{dy}{dx}=-\dfrac{e^{-2\sqrt{x}}}{\sqrt{x}}$

Question 3

Differentiate each of the following with respect to $x$:

(i) $e^{\cot x}$

(ii) $e^{-\sin 2x}$

(iii) $e^{\sqrt{\sin x}}$

Solution.

(i) $y=e^{\cot x}$. With $u=\cot x$ we need $u’=-\operatorname{cosec}^2x$, so the derivative is $e^{\cot x}\cdot(-\operatorname{cosec}^2x)$.

$\dfrac{dy}{dx}=-\operatorname{cosec}^{2}x\;e^{\cot x}$

(ii) $y=e^{-\sin 2x}$. Here $u=-\sin2x$. Differentiating the sine needs a second chain step: $u’=-\cos2x\cdot2=-2\cos2x$.

$\dfrac{dy}{dx}=-2\cos 2x\;e^{-\sin 2x}$

(iii) $y=e^{\sqrt{\sin x}}$. There are three layers: exponential, square root, sine. With $u=\sqrt{\sin x}$, $u’=\dfrac{1}{2\sqrt{\sin x}}\cdot\cos x$. Then multiply by $e^{u}$.

$\dfrac{dy}{dx}=\dfrac{\cos x}{2\sqrt{\sin x}}\,e^{\sqrt{\sin x}}$

Question 4

Differentiate each of the following with respect to $x$:

(i) $\tan(\log x)$

(ii) $\log\sec x$

(iii) $\log\sin\dfrac{x}{2}$

Solution.

(i) $y=\tan(\log x)$. The outer function is $\tan$, with derivative $\sec^2$ of the same argument, and the inner function $\log x$ has derivative $\dfrac1x$. So we get $\sec^2(\log x)\cdot\dfrac1x$.

$\dfrac{dy}{dx}=\dfrac{\sec^{2}(\log x)}{x}$

(ii) $y=\log\sec x$. Using $\dfrac{d}{dx}\log u=\dfrac{u’}{u}$ with $u=\sec x$, $u’=\sec x\tan x$. The ratio is $\dfrac{\sec x\tan x}{\sec x}=\tan x$.

$\dfrac{dy}{dx}=\tan x$

(iii) $y=\log\sin\dfrac{x}{2}$. With $u=\sin\dfrac x2$, $u’=\tfrac12\cos\dfrac x2$. Then $\dfrac{u’}{u}=\dfrac12\cdot\dfrac{\cos(x/2)}{\sin(x/2)}$.

$\dfrac{dy}{dx}=\dfrac12\cot\dfrac{x}{2}$

Question 5

Differentiate each of the following with respect to $x$:

(i) $\log_3 x$

(ii) $2^{-x}$

(iii) $3^{x+2}$

Solution.

(i) $y=\log_3 x$. Change the base: $\log_3x=\dfrac{\log x}{\log3}$, where $\log 3$ is a constant. Differentiating $\log x$ gives $\dfrac1x$, so the result is $\dfrac{1}{x\log3}$.

$\dfrac{dy}{dx}=\dfrac{1}{x\log 3}$

(ii) $y=2^{-x}$. For $a^{u}$ the rule is $a^{u}\log a\cdot u’$. Here $a=2$, $u=-x$, $u’=-1$.

$\dfrac{dy}{dx}=-2^{-x}\log 2$

(iii) $y=3^{x+2}$. The rule gives $3^{x+2}\log3\cdot1$. Since $3^{x+2}=3^x\cdot3^2=9\cdot3^x$, this can be written as $9\cdot3^x\log3$.

$\dfrac{dy}{dx}=9\cdot3^{x}\log 3$

Question 6

Differentiate each of the following with respect to $x$:

(i) $\log\left(x+\dfrac1x\right)$

(ii) $\log\sin 3x$

(iii) $\log\left(x+\sqrt{1+x^2}\right)$

Solution.

(i) $y=\log\left(x+\dfrac1x\right)$. Let $u=x+\dfrac1x$, so $u’=1-\dfrac{1}{x^2}=\dfrac{x^2-1}{x^2}$. Also $u=\dfrac{x^2+1}{x}$. Then $\dfrac{u’}{u}=\dfrac{x^2-1}{x^2}\cdot\dfrac{x}{x^2+1}=\dfrac{x^2-1}{x(x^2+1)}$.

$\dfrac{dy}{dx}=\dfrac{x^{2}-1}{x(x^{2}+1)}$

(ii) $y=\log\sin 3x$. With $u=\sin3x$, $u’=3\cos3x$. Then $\dfrac{u’}{u}=3\cot3x$.

$\dfrac{dy}{dx}=3\cot 3x$

(iii) $y=\log\left(x+\sqrt{1+x^2}\right)$. Let $u=x+\sqrt{1+x^2}$. Then $u’=1+\dfrac{x}{\sqrt{1+x^2}}=\dfrac{\sqrt{1+x^2}+x}{\sqrt{1+x^2}}=\dfrac{u}{\sqrt{1+x^2}}$. So $\dfrac{u’}{u}=\dfrac{1}{\sqrt{1+x^2}}$, because the factor $u$ cancels.

$\dfrac{dy}{dx}=\dfrac{1}{\sqrt{1+x^{2}}}$

Question 7

Differentiate $y=e^{\sqrt{x}}\log x$ with respect to $x$.

Solution. This is a product, so use $(uv)’=u’v+uv’$ with $u=e^{\sqrt x}$ and $v=\log x$. We have $u’=\dfrac{e^{\sqrt x}}{2\sqrt x}$ and $v’=\dfrac1x$. Hence the derivative is $\dfrac{e^{\sqrt x}\log x}{2\sqrt x}+\dfrac{e^{\sqrt x}}{x}$. Putting both over $2x$ (note $\dfrac{1}{2\sqrt x}=\dfrac{\sqrt x}{2x}$) gives $\dfrac{e^{\sqrt x}\left(\sqrt x\log x+2\right)}{2x}$.

$\dfrac{dy}{dx}=\dfrac{e^{\sqrt{x}}\left(2+\sqrt{x}\log x\right)}{2x}$

Question 8

Differentiate $y=\log\sin\sqrt{x^2+1}$ with respect to $x$.

Solution. Peel the layers from the outside. $\dfrac{d}{dx}\log(\sin w)=\cot w\cdot w’$ with $w=\sqrt{x^2+1}$, and $w’=\dfrac{2x}{2\sqrt{x^2+1}}=\dfrac{x}{\sqrt{x^2+1}}$.

$\dfrac{dy}{dx}=\dfrac{x}{\sqrt{x^{2}+1}}\cot\sqrt{x^{2}+1}$

Question 9

Differentiate $y=e^{2x}\sin 3x$ with respect to $x$.

Solution. By the product rule, $(e^{2x})’\sin3x+e^{2x}(\sin3x)’=2e^{2x}\sin3x+3e^{2x}\cos3x$. Take out the common $e^{2x}$.

$\dfrac{dy}{dx}=e^{2x}\left(3\cos 3x+2\sin 3x\right)$

Question 10

Differentiate $y=e^{3x}\cos 2x$ with respect to $x$.

Solution. The product rule gives $3e^{3x}\cos2x+e^{3x}(-2\sin2x)$. The minus sign comes from differentiating cosine. Factor out $e^{3x}$.

$\dfrac{dy}{dx}=e^{3x}\left(3\cos 2x-2\sin 2x\right)$

Question 11

Differentiate $y=e^{-5x}\cot 4x$ with respect to $x$.

Solution. Product rule: $(e^{-5x})’\cot4x=-5e^{-5x}\cot4x$, and $e^{-5x}(\cot4x)’=e^{-5x}\cdot(-4\operatorname{cosec}^24x)$. Add them and factor out $-e^{-5x}$.

$\dfrac{dy}{dx}=-e^{-5x}\left(5\cot 4x+4\operatorname{cosec}^{2}4x\right)$

Question 12

Differentiate $y=e^{x}\log(\sin 2x)$ with respect to $x$.

Solution. Product rule with $u=e^x$, $v=\log\sin2x$. First find $v’=\dfrac{2\cos2x}{\sin2x}=2\cot2x$. Then the derivative is $e^x\log\sin2x+e^x\cdot2\cot2x$.

$\dfrac{dy}{dx}=e^{x}\left\{2\cot 2x+\log\sin 2x\right\}$

Question 13

Differentiate $y=\log(\operatorname{cosec}x-\cot x)$ with respect to $x$.

Solution. Let $u=\operatorname{cosec}x-\cot x$. Then $u’=-\operatorname{cosec}x\cot x+\operatorname{cosec}^2x=\operatorname{cosec}x\,(\operatorname{cosec}x-\cot x)=\operatorname{cosec}x\cdot u$. So $\dfrac{u’}{u}=\operatorname{cosec}x$.

$\dfrac{dy}{dx}=\operatorname{cosec}x$

Question 14

Differentiate $y=\log\left(\sec\dfrac x2+\tan\dfrac x2\right)$ with respect to $x$.

Solution. Let $u=\sec\dfrac x2+\tan\dfrac x2$. Then $u’=\tfrac12\sec\dfrac x2\tan\dfrac x2+\tfrac12\sec^2\dfrac x2=\tfrac12\sec\dfrac x2\left(\tan\dfrac x2+\sec\dfrac x2\right)=\tfrac12\sec\dfrac x2\cdot u$. Dividing by $u$ leaves $\tfrac12\sec\dfrac x2$.

$\dfrac{dy}{dx}=\dfrac12\sec\dfrac{x}{2}$

Question 15

Differentiate $y=\sqrt{\dfrac{1+e^x}{1-e^x}}$ with respect to $x$.

Solution. Write $y=\sqrt{u}$ with $u=\dfrac{1+e^x}{1-e^x}$ (defined for $x<0$). The quotient rule gives $u’=\dfrac{e^x(1-e^x)+e^x(1+e^x)}{(1-e^x)^2}=\dfrac{2e^x}{(1-e^x)^2}$. Then $y’=\dfrac{u’}{2\sqrt u}=\dfrac{e^x}{(1-e^x)^2}\sqrt{\dfrac{1-e^x}{1+e^x}}=\dfrac{e^x}{(1-e^x)\sqrt{(1-e^x)(1+e^x)}}$, and $(1-e^x)(1+e^x)=1-e^{2x}$.

$\dfrac{dy}{dx}=\dfrac{e^{x}}{(1-e^{x})\sqrt{1-e^{2x}}}$

Question 16

Differentiate $y=\dfrac{e^x+e^{-x}}{e^x-e^{-x}}$ with respect to $x$.

Solution. Quotient rule. The derivative of the numerator is $e^x-e^{-x}$ and of the denominator is $e^x+e^{-x}$. So the top becomes $(e^x-e^{-x})^2-(e^x+e^{-x})^2=-4$, because $(a-b)^2-(a+b)^2=-4ab$ and here $ab=e^xe^{-x}=1$. The denominator is $(e^x-e^{-x})^2$.

$\dfrac{dy}{dx}=\dfrac{-4}{\left(e^{x}-e^{-x}\right)^{2}}$

Question 17

Differentiate $y=xe^{\sqrt{\sin x}}$ with respect to $x$.

Solution. Product rule: $1\cdot e^{\sqrt{\sin x}}+x\cdot\dfrac{d}{dx}e^{\sqrt{\sin x}}$. From Question 3(iii), $\dfrac{d}{dx}e^{\sqrt{\sin x}}=\dfrac{\cos x}{2\sqrt{\sin x}}e^{\sqrt{\sin x}}$. Factor out the exponential.

$\dfrac{dy}{dx}=e^{\sqrt{\sin x}}\left(1+\dfrac{x\cos x}{2\sqrt{\sin x}}\right)$

Question 18

Differentiate $y=e^{\sin x}\sin(e^x)$ with respect to $x$.

Solution. Product rule. $(e^{\sin x})’=\cos x\,e^{\sin x}$ and $(\sin e^x)’=e^x\cos e^x$ (the inner function $e^x$ is its own derivative). The sum is $e^{\sin x}\cos x\sin e^x+e^{\sin x}e^x\cos e^x$.

$\dfrac{dy}{dx}=e^{\sin x}\left(e^{x}\cos e^{x}+\cos x\,\sin e^{x}\right)$

Question 19

Differentiate $y=e^{\sqrt{1-x^2}}\tan x$ with respect to $x$.

Solution. Product rule. For the exponential factor, $u=\sqrt{1-x^2}$ gives $u’=\dfrac{-2x}{2\sqrt{1-x^2}}=-\dfrac{x}{\sqrt{1-x^2}}$. So the derivative is $e^{\sqrt{1-x^2}}\left(-\dfrac{x}{\sqrt{1-x^2}}\right)\tan x+e^{\sqrt{1-x^2}}\sec^2x$.

$\dfrac{dy}{dx}=e^{\sqrt{1-x^{2}}}\left\{\sec^{2}x-\dfrac{x\tan x}{\sqrt{1-x^{2}}}\right\}$

Question 20

Differentiate $y=\dfrac{e^x}{1+\cos x}$ with respect to $x$.

Solution. Quotient rule: the numerator is $e^x(1+\cos x)-e^x(-\sin x)=e^x(1+\cos x+\sin x)$, over $(1+\cos x)^2$.

$\dfrac{dy}{dx}=\dfrac{e^{x}\left(1+\cos x+\sin x\right)}{(1+\cos x)^{2}}$

Question 21

Differentiate $y=x^3e^{x}\cos x$ with respect to $x$.

Solution. With three factors, differentiate each in turn and keep the other two: $3x^2e^x\cos x+x^3e^x\cos x-x^3e^x\sin x$. Every term contains $x^2e^x$, so factor that out.

$\dfrac{dy}{dx}=e^{x}x^{2}\left(x\cos x-x\sin x+3\cos x\right)$

Question 22

Differentiate $y=e^{x\cos x}$ with respect to $x$.

Solution. Take $u=x\cos x$. By the product rule $u’=\cos x-x\sin x$. Multiply by $e^{u}$.

$\dfrac{dy}{dx}=e^{x\cos x}\left(\cos x-x\sin x\right)$

Common mistakes

  • Forgetting the inner derivative. In $e^{-5x}$ or $e^{x^3}$ students write $e^{-5x}$ or $e^{x^3}$ again; the chain rule factor ($-5$, $3x^2$) must appear.
  • Writing $\dfrac{d}{dx}\left(3^{x+2}\right)=(x+2)3^{x+1}$. That is the power rule, which applies only when the base is the variable. Here the variable is in the exponent, so the factor is $\log3$.
  • Losing the minus sign for $\cot$ and $\operatorname{cosec}$ (Questions 3(i), 11, 13), or the sign from $\dfrac{d}{dx}\cos2x=-2\sin2x$ (Question 10).
  • Skipping a layer in nested functions such as $e^{\sqrt{\sin x}}$ (three layers) or $\log\sin\sqrt{x^2+1}$ (four layers). Count the layers before differentiating.
  • In Questions 13 and 14, expanding the quotient $\dfrac{u’}{u}$ without noticing that $u’$ contains $u$ as a factor; spotting this turns a messy fraction into $\operatorname{cosec}x$ or $\tfrac12\sec\tfrac x2$.

Practise next

  • Differentiate $\log(\sec 3x+\tan 3x)$ with respect to $x$.
Show answer

$3\sec 3x$. Put $u=\sec3x+\tan3x$; then $u’=3\sec3x\tan3x+3\sec^23x=3\sec3x\cdot u$, so the ratio is $3\sec3x$.

  • Differentiate $e^{x^2}\cos 2x$ with respect to $x$.
Show answer

$2e^{x^2}\left(x\cos2x-\sin2x\right)$. The product rule gives $2xe^{x^2}\cos2x-2e^{x^2}\sin2x$; factor out $2e^{x^2}$.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe