RS Aggarwal Class 12 Maths Solutions Exercise 10F (Part 2) — Differentiation
RS Aggarwal, Class 12 Mathematics — Differentiation, Exercise 10F (Part 2), Questions 34 to 66. All 33 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
This half of Exercise 10F is almost entirely logarithmic differentiation. Questions 34 to 43, 55 to 60 and 62 to 64 contain a function raised to a function, or a long product, so they are tackled by taking logarithms first. Questions 41, 42, 63 and 66 are implicit. Questions 44 to 54, 65 and 66 give the answer and ask you to prove it, so the work is to reach exactly that expression.
Key insight. For $y = u^v$ write $\log y = v\log u$ and differentiate both sides, so $\dfrac{1}{y}\dfrac{dy}{dx} = v’\log u + v\dfrac{u’}{u}$. Never differentiate $u^v$ as a power rule or as an exponential rule alone. If $y = u^v + w^z$, differentiate each term separately by this method and add.
Question 34
Find $\dfrac{dy}{dx}$ when $y = (x\cos x)^x + (x\sin x)^{1/x}$.
Solution. Put $y = u + v$ with $u = (x\cos x)^x$ and $v = (x\sin x)^{1/x}$.
For $u$: $\log u = x\,(\log x + \log\cos x)$, so $$\frac{u’}{u} = (\log x + \log\cos x) + x\left(\frac1x – \tan x\right) = 1 – x\tan x + \log x + \log\cos x.$$
For $v$: $\log v = \dfrac{\log x + \log\sin x}{x}$, so $$\frac{v’}{v} = \frac{\frac1x + \cot x}{x} – \frac{\log x + \log\sin x}{x^2} = \frac{1}{x^2} + \frac{\cot x}{x} – \frac{\log x}{x^2} – \frac{\log\sin x}{x^2}.$$
Multiplying each by its own function and adding gives the answer.
$$\frac{dy}{dx} = (x\cos x)^x\{1 – x\tan x + \log x + \log\cos x\} + (x\sin x)^{1/x}\left\{\frac{1}{x^2} + \frac{\cot x}{x} – \frac{\log x}{x^2} – \frac{\log\sin x}{x^2}\right\}$$
Question 35
Find $\dfrac{dy}{dx}$ when $y = (\sin x)^x + \sin^{-1}\sqrt{x}$.
Solution. Let $u = (\sin x)^x$. Then $\log u = x\log\sin x$, so $\dfrac{u’}{u} = \log\sin x + x\cot x$.
For the second term, $\dfrac{d}{dx}\sin^{-1}\sqrt x = \dfrac{1}{\sqrt{1-x}}\cdot\dfrac{1}{2\sqrt x} = \dfrac{1}{2\sqrt{x-x^2}}$.
$$\frac{dy}{dx} = (\sin x)^x\{x\cot x + \log\sin x\} + \frac{1}{2\sqrt{x-x^2}}$$
Question 36
Find $\dfrac{dy}{dx}$ when $y = x^{x\cos x} + \dfrac{x^2+1}{x^2-1}$.
Solution. For $u = x^{x\cos x}$, $\log u = x\cos x\,\log x$. Differentiating, $$\frac{u’}{u} = (\cos x – x\sin x)\log x + x\cos x\cdot\frac1x = \cos x – x\sin x\log x + \cos x\log x.$$
For the fraction use the quotient rule: $$\frac{d}{dx}\frac{x^2+1}{x^2-1} = \frac{2x(x^2-1) – 2x(x^2+1)}{(x^2-1)^2} = \frac{-4x}{(x^2-1)^2}.$$
$$\frac{dy}{dx} = x^{x\cos x}\{\cos x – x\sin x\log x + \cos x\log x\} – \frac{4x}{(x^2-1)^2}$$
Question 37
Find $\dfrac{dy}{dx}$ when $y = e^x\sin^3x\cos^4x$.
Solution. The function is a product of three factors, so take logs: $\log y = x + 3\log\sin x + 4\log\cos x$. Differentiating, $$\frac{1}{y}\frac{dy}{dx} = 1 + 3\cot x – 4\tan x.$$
$$\frac{dy}{dx} = e^x\sin^3x\cos^4x\,(1 + 3\cot x – 4\tan x)$$
Question 38
Find $\dfrac{dy}{dx}$ when $y = 2^x\cdot e^{3x}\sin 4x$.
Solution. Take logs: $\log y = x\log 2 + 3x + \log\sin 4x$. Then $$\frac1y\frac{dy}{dx} = \log 2 + 3 + \frac{4\cos 4x}{\sin 4x} = \log 2 + 3 + 4\cot 4x.$$
$$\frac{dy}{dx} = 2^x e^{3x}\sin 4x\,\{\log 2 + 3 + 4\cot 4x\}$$
Question 39
Find $\dfrac{dy}{dx}$ when $y = x^x\cdot e^{2x+5}$.
Solution. $\log y = x\log x + 2x + 5$. Differentiating, $\dfrac1y\dfrac{dy}{dx} = (\log x + 1) + 2 = 3 + \log x$.
$$\frac{dy}{dx} = x^x e^{2x+5}(3 + \log x)$$
Question 40
Find $\dfrac{dy}{dx}$ when $y = (2x+3)^5(3x-5)^7(5x-1)^3$.
Solution. Taking logs, $\log y = 5\log(2x+3) + 7\log(3x-5) + 3\log(5x-1)$. Each term differentiates through its own inner function: $$\frac1y\frac{dy}{dx} = \frac{5\cdot 2}{2x+3} + \frac{7\cdot 3}{3x-5} + \frac{3\cdot 5}{5x-1} = \frac{10}{2x+3} + \frac{21}{3x-5} + \frac{15}{5x-1}.$$
$$\frac{dy}{dx} = (2x+3)^5(3x-5)^7(5x-1)^3\left[\frac{10}{2x+3} + \frac{21}{3x-5} + \frac{15}{5x-1}\right]$$
Question 41
Find $\dfrac{dy}{dx}$ when $(\cos x)^y = (\cos y)^x$.
Solution. Take logs of both sides: $y\log\cos x = x\log\cos y$. Differentiate with respect to $x$, remembering that $y$ depends on $x$: $$y’\log\cos x – y\tan x = \log\cos y – x\tan y\;y’.$$ Collect the $y’$ terms: $y'(\log\cos x + x\tan y) = \log\cos y + y\tan x$.
$$\frac{dy}{dx} = \frac{\log\cos y + y\tan x}{\log\cos x + x\tan y}$$
Question 42
Find $\dfrac{dy}{dx}$ when $(\tan x)^y = (\tan y)^x$.
Solution. Logs give $y\log\tan x = x\log\tan y$. Differentiating, $$y’\log\tan x + y\frac{\sec^2x}{\tan x} = \log\tan y + x\frac{\sec^2y}{\tan y}\,y’.$$ Since $\dfrac{\sec^2\theta}{\tan\theta} = \dfrac{1}{\sin\theta\cos\theta} = 2\operatorname{cosec}2\theta$, this reads $$y’\log\tan x + 2y\operatorname{cosec}2x = \log\tan y + 2x\operatorname{cosec}2y\;y’,$$ so $y'(\log\tan x – 2x\operatorname{cosec}2y) = \log\tan y – 2y\operatorname{cosec}2x$.
$$\frac{dy}{dx} = \frac{\log\tan y – 2y\operatorname{cosec}2x}{\log\tan x – 2x\operatorname{cosec}2y}$$
Question 43
Find $\dfrac{dy}{dx}$ when $y = (\log x)^x + x^{\log x}$.
Solution. For $u = (\log x)^x$: $\log u = x\log(\log x)$, so $\dfrac{u’}{u} = \log(\log x) + x\cdot\dfrac{1}{x\log x} = \log(\log x) + \dfrac{1}{\log x}$.
For $v = x^{\log x}$: $\log v = (\log x)^2$, so $\dfrac{v’}{v} = \dfrac{2\log x}{x}$.
$$\frac{dy}{dx} = (\log x)^x\left\{\log(\log x) + \frac{1}{\log x}\right\} + x^{\log x}\cdot\frac{2\log x}{x}$$
Question 44
Given $y = \dfrac{\sin^{-1}x}{\sqrt{1-x^2}}$, prove that $(1-x^2)\dfrac{dy}{dx} = xy + 1$.
Solution. By the quotient rule, $$\frac{dy}{dx} = \frac{\sqrt{1-x^2}\cdot\frac{1}{\sqrt{1-x^2}} – \sin^{-1}x\cdot\frac{-x}{\sqrt{1-x^2}}}{1-x^2} = \frac{1 + \dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}}{1-x^2}.$$ The fraction $\dfrac{\sin^{-1}x}{\sqrt{1-x^2}}$ is $y$, so $\dfrac{dy}{dx} = \dfrac{1 + xy}{1-x^2}$. Multiplying by $1-x^2$ gives the result.
Proved: $(1-x^2)\dfrac{dy}{dx} = xy + 1$.
Question 45
Given $y = \sqrt{x+y}$, prove that $\dfrac{dy}{dx} = \dfrac{1}{2y-1}$.
Solution. Squaring removes the root: $y^2 = x + y$. Differentiate both sides with respect to $x$: $2y\,y’ = 1 + y’$. Hence $y'(2y-1) = 1$.
Proved: $\dfrac{dy}{dx} = \dfrac{1}{2y-1}$.
Question 46
Given $x^ay^b = (x+y)^{a+b}$, prove that $\dfrac{dy}{dx} = \dfrac yx$.
Solution. Take logs: $a\log x + b\log y = (a+b)\log(x+y)$. Differentiate: $$\frac ax + \frac by\,y’ = \frac{(a+b)(1+y’)}{x+y}.$$ Collect the $y’$ terms on the left: $$y’\left[\frac by – \frac{a+b}{x+y}\right] = \frac{a+b}{x+y} – \frac ax.$$ The bracket is $\dfrac{b(x+y) – (a+b)y}{y(x+y)} = \dfrac{bx – ay}{y(x+y)}$ and the right side is $\dfrac{(a+b)x – a(x+y)}{x(x+y)} = \dfrac{bx – ay}{x(x+y)}$. Dividing, $$y’ = \frac{bx-ay}{x(x+y)}\cdot\frac{y(x+y)}{bx-ay} = \frac yx.$$
Proved: $\dfrac{dy}{dx} = \dfrac yx$.
Question 47
Given $x^x + y^x = 1$, show that $\dfrac{dy}{dx} = -\dfrac{x^x(1+\log x) + y^x\log y}{x\,y^{x-1}}$.
Solution. Each term has a variable exponent. $\dfrac{d}{dx}x^x = x^x(1+\log x)$. For $y^x$, with $y$ also varying, $\log(y^x) = x\log y$ gives $\dfrac{d}{dx}y^x = y^x\left(\log y + \dfrac xy y’\right) = y^x\log y + x y^{x-1}y’$.
Adding and setting the derivative of the constant $1$ to zero: $$x^x(1+\log x) + y^x\log y + x y^{x-1}y’ = 0,$$ and solving for $y’$ gives the stated value.
Shown: $\dfrac{dy}{dx} = -\dfrac{x^x(1+\log x) + y^x\log y}{x\,y^{x-1}}$.
Question 48
Given $y = e^{\sin x} + (\tan x)^x$, prove that $\dfrac{dy}{dx} = e^{\sin x}\cos x + (\tan x)^x[2x\operatorname{cosec}2x + \log\tan x]$.
Solution. The first term gives $e^{\sin x}\cos x$. For $u = (\tan x)^x$, $\log u = x\log\tan x$, so $$\frac{u’}{u} = \log\tan x + x\cdot\frac{\sec^2x}{\tan x} = \log\tan x + \frac{x}{\sin x\cos x} = \log\tan x + 2x\operatorname{cosec}2x.$$ Multiply by $u$ and add.
Proved.
Question 49
The question is printed as: if $y = \log\left(x+\sqrt{1+x^2}\right)$, prove that $\dfrac{dy}{dx} = \dfrac{1}{\log(x+\sqrt{1+x^2})}\cdot\dfrac{1}{\sqrt{1+x^2}}$.
A note on the printed question. For $y = \log(x+\sqrt{1+x^2})$ the derivative is just $\dfrac{1}{\sqrt{1+x^2}}$ (shown below), so the stated result cannot hold: it has an extra factor $\dfrac{1}{\log(x+\sqrt{1+x^2})}$. That extra factor is exactly what an outer logarithm contributes, so the question intended $y = \log\{\log(x+\sqrt{1+x^2})\}$, and this is what is proved.
Solution. Put $t = \log(x+\sqrt{1+x^2})$, so $y = \log t$ and $y’ = \dfrac{t’}{t}$. Now $$t’ = \frac{1}{x+\sqrt{1+x^2}}\left(1 + \frac{x}{\sqrt{1+x^2}}\right) = \frac{1}{x+\sqrt{1+x^2}}\cdot\frac{\sqrt{1+x^2}+x}{\sqrt{1+x^2}} = \frac{1}{\sqrt{1+x^2}}.$$ Therefore $y’ = \dfrac{1}{t}\cdot\dfrac{1}{\sqrt{1+x^2}}$, which is the required form.
Proved (for $y = \log\{\log(x+\sqrt{1+x^2})\}$).
Question 50
Given $y = \log\sin\sqrt{x^2+1}$, prove that $\dfrac{dy}{dx} = \dfrac{x\cot\sqrt{x^2+1}}{\sqrt{x^2+1}}$.
Solution. Differentiate from the outside in: the log gives $\dfrac{1}{\sin\sqrt{x^2+1}}$, the sine gives $\cos\sqrt{x^2+1}$, and the root gives $\dfrac{2x}{2\sqrt{x^2+1}} = \dfrac{x}{\sqrt{x^2+1}}$. The first two factors multiply to $\cot\sqrt{x^2+1}$.
Proved: $\dfrac{dy}{dx} = \dfrac{x\cot\sqrt{x^2+1}}{\sqrt{x^2+1}}$.
Question 51
Given $y = \log\sqrt{\dfrac{1-\cos x}{1+\cos x}}$, show that $\dfrac{dy}{dx} = \operatorname{cosec}x$.
Solution. Use $1-\cos x = 2\sin^2\frac x2$ and $1+\cos x = 2\cos^2\frac x2$. Then the root is $\left|\tan\frac x2\right|$, and for the range where it is positive $y = \log\tan\dfrac x2$. So $$\frac{dy}{dx} = \frac{\frac12\sec^2\frac x2}{\tan\frac x2} = \frac{1}{2\sin\frac x2\cos\frac x2} = \frac{1}{\sin x}.$$
Shown: $\dfrac{dy}{dx} = \operatorname{cosec}x$.
Question 52
Given $y = \log\tan\left(\dfrac\pi4 + \dfrac x2\right)$, show that $\dfrac{dy}{dx} = \sec x$.
Solution. With $\theta = \dfrac\pi4+\dfrac x2$, $\dfrac{dy}{dx} = \dfrac{\sec^2\theta}{\tan\theta}\cdot\dfrac12 = \dfrac{1}{2\sin\theta\cos\theta} = \dfrac{1}{\sin2\theta}$. Here $2\theta = \dfrac\pi2 + x$, and $\sin\left(\dfrac\pi2+x\right) = \cos x$.
Shown: $\dfrac{dy}{dx} = \sec x$.
Question 53
Given $y = \sqrt{\dfrac{1-\sin2x}{1+\sin2x}}$, show that $\dfrac{dy}{dx} + \sec^2\left(\dfrac\pi4 – x\right) = 0$.
Solution. Write $\sin2x = \cos\left(\dfrac\pi2-2x\right)$. With $\phi = \dfrac\pi4 – x$ we have $1-\sin2x = 1-\cos2\phi = 2\sin^2\phi$ and $1+\sin2x = 2\cos^2\phi$. So $y = \tan\phi$ (taking $\tan\phi>0$), i.e. $y = \tan\left(\dfrac\pi4 – x\right)$. Differentiating, $\dfrac{dy}{dx} = -\sec^2\left(\dfrac\pi4 – x\right)$.
Shown: $\dfrac{dy}{dx} + \sec^2\left(\dfrac\pi4 – x\right) = 0$.
Question 54
Given $y = \log\sqrt{\dfrac{1+\cos^2x}{1-e^{2x}}}$, show that $\dfrac{dy}{dx} = \dfrac{e^{2x}}{1-e^{2x}} – \dfrac{\sin x\cos x}{1+\cos^2x}$.
Solution. Split the logarithm: $y = \dfrac12\log(1+\cos^2x) – \dfrac12\log(1-e^{2x})$. Differentiating, $$\frac{dy}{dx} = \frac12\cdot\frac{-2\cos x\sin x}{1+\cos^2x} – \frac12\cdot\frac{-2e^{2x}}{1-e^{2x}} = -\frac{\sin x\cos x}{1+\cos^2x} + \frac{e^{2x}}{1-e^{2x}}.$$
Shown.
Question 55
Given $y = x^{\cos x} + (\sin x)^{\tan x}$, prove that $\dfrac{dy}{dx} = x^{\cos x}\left\{\dfrac{\cos x}{x} – \sin x\log x\right\} + (\sin x)^{\tan x}\{1 + \sec^2x\log\sin x\}$.
Solution. For $u = x^{\cos x}$: $\log u = \cos x\log x$, so $\dfrac{u’}{u} = -\sin x\log x + \dfrac{\cos x}{x}$.
For $v = (\sin x)^{\tan x}$: $\log v = \tan x\log\sin x$, so $\dfrac{v’}{v} = \sec^2x\log\sin x + \tan x\cot x = \sec^2x\log\sin x + 1$.
Proved.
Question 56
Given $y = (\sin x)^{\cos x} + (\cos x)^{\sin x}$, prove that $\dfrac{dy}{dx} = (\sin x)^{\cos x}[\cot x\cos x – \sin x\log\sin x] + (\cos x)^{\sin x}[\cos x\log\cos x – \sin x\tan x]$.
Solution. For $u = (\sin x)^{\cos x}$: $\log u = \cos x\log\sin x$, so $\dfrac{u’}{u} = -\sin x\log\sin x + \cos x\cdot\cot x$.
For $v = (\cos x)^{\sin x}$: $\log v = \sin x\log\cos x$, so $\dfrac{v’}{v} = \cos x\log\cos x + \sin x\cdot(-\tan x)$.
Proved.
Question 57
Given $y = (\tan x)^{\cot x} + (\cot x)^{\tan x}$, prove that $\dfrac{dy}{dx} = (\tan x)^{\cot x}\operatorname{cosec}^2x(1-\log\tan x) + (\cot x)^{\tan x}\sec^2x[\log\cot x – 1]$.
Solution. For $u = (\tan x)^{\cot x}$: $\log u = \cot x\log\tan x$, so $$\frac{u’}{u} = -\operatorname{cosec}^2x\log\tan x + \cot x\cdot\frac{\sec^2x}{\tan x} = -\operatorname{cosec}^2x\log\tan x + \operatorname{cosec}^2x,$$ because $\cot x\sec^2x/\tan x = \dfrac{1}{\sin^2x}$.
For $v = (\cot x)^{\tan x}$: $\log v = \tan x\log\cot x$, so $$\frac{v’}{v} = \sec^2x\log\cot x + \tan x\cdot\frac{-\operatorname{cosec}^2x}{\cot x} = \sec^2x\log\cot x – \sec^2x,$$ because $\tan x\operatorname{cosec}^2x/\cot x = \dfrac{\tan^2x}{\sin^2x} = \sec^2x$.
Proved.
Question 58
Given $y = x^{\cos x} + (\cos x)^x$, prove that $\dfrac{dy}{dx} = x^{\cos x}\left\{\dfrac{\cos x}{x} – \sin x\log x\right\} + (\cos x)^x[\log\cos x – x\tan x]$.
Solution. The first term is as in Question 55: $\dfrac{u’}{u} = \dfrac{\cos x}{x} – \sin x\log x$.
For $v = (\cos x)^x$: $\log v = x\log\cos x$, so $\dfrac{v’}{v} = \log\cos x + x\cdot\dfrac{-\sin x}{\cos x} = \log\cos x – x\tan x$.
Proved.
Question 59
Given $y = x^{\log x} + (\log x)^x$, prove that $\dfrac{dy}{dx} = x^{\log x}\left\{\dfrac{2\log x}{x}\right\} + (\log x)^x\left\{\dfrac{1}{\log x} + \log(\log x)\right\}$.
Solution. This is exactly Question 43 in another form. For $x^{\log x}$, $\log = (\log x)^2$, whose derivative is $\dfrac{2\log x}{x}$. For $(\log x)^x$, $\log = x\log(\log x)$, whose derivative is $\log(\log x) + \dfrac{1}{\log x}$.
Proved.
Question 60
Find $\dfrac{dy}{dx}$ when $y = x^{x^2-3} + (x-3)^{x^2}$.
Solution. For $u = x^{x^2-3}$: $\log u = (x^2-3)\log x$, so $\dfrac{u’}{u} = 2x\log x + \dfrac{x^2-3}{x}$.
For $v = (x-3)^{x^2}$: $\log v = x^2\log(x-3)$, so $\dfrac{v’}{v} = 2x\log(x-3) + \dfrac{x^2}{x-3}$.
$$\frac{dy}{dx} = x^{x^2-3}\left\{\frac{x^2-3}{x} + 2x\log x\right\} + (x-3)^{x^2}\left\{\frac{x^2}{x-3} + 2x\log(x-3)\right\}$$
Question 61
If $f(x) = \left(\dfrac{3+x}{1+x}\right)^{2+3x}$, find $f'(0)$.
Solution. Take logs: $\log f = (2+3x)\left[\log(3+x) – \log(1+x)\right]$. Then $$\frac{f’}{f} = 3\left[\log(3+x) – \log(1+x)\right] + (2+3x)\left[\frac{1}{3+x} – \frac{1}{1+x}\right].$$ At $x=0$: $f(0) = 3^2 = 9$, and $\dfrac{f'(0)}{9} = 3\log 3 + 2\left(\dfrac13 – 1\right) = 3\log3 – \dfrac43$. So $f'(0) = 27\log3 – 12$.
$$f'(0) = 27\log 3 – 12$$
Question 62
If $y = (\sin x)^x + \sin^{-1}\sqrt x$, find $\dfrac{dy}{dx}$.
Solution. This is the same function as Question 35. For $(\sin x)^x$, the log is $x\log\sin x$ with derivative $\log\sin x + x\cot x$. The inverse sine of $\sqrt x$ has derivative $\dfrac{1}{\sqrt{1-x}}\cdot\dfrac{1}{2\sqrt x} = \dfrac{1}{2\sqrt{x-x^2}}$.
$$\frac{dy}{dx} = (\sin x)^x[x\cot x + \log\sin x] + \frac{1}{2\sqrt{x-x^2}}$$
Question 63
If $(x^2+y^2)^2 = xy$, find $\dfrac{dy}{dx}$.
Solution. Differentiate both sides with respect to $x$: $$2(x^2+y^2)(2x + 2y\,y’) = y + x\,y’.$$ Expand: $4x(x^2+y^2) + 4y(x^2+y^2)y’ = y + xy’$, so $$y’\left[4y(x^2+y^2) – x\right] = y – 4x(x^2+y^2).$$ So $\dfrac{dy}{dx} = \dfrac{y – 4x(x^2+y^2)}{4y(x^2+y^2) – x}$. This can be put in a neater form. Cross-multiplying the two quotients, the difference of the numerators is $$[y – 4x(x^2+y^2)]\,x(x^2-3y^2) – y(3x^2-y^2)[4y(x^2+y^2)-x] = -4(x^2-y^2)\left[(x^2+y^2)^2 – xy\right],$$ which is zero because $(x^2+y^2)^2 = xy$. Hence on the curve $$\frac{dy}{dx} = \frac{y(3x^2-y^2)}{x(x^2-3y^2)}.$$
$$\frac{dy}{dx} = \frac{y(3x^2-y^2)}{x(x^2-3y^2)}$$
Question 64
If $y = x^{\cot x} + \dfrac{2x^2-3}{x^2+x+2}$, find $\dfrac{dy}{dx}$.
Solution. For $x^{\cot x}$: $\log = \cot x\log x$, so $\dfrac{u’}{u} = -\operatorname{cosec}^2x\log x + \dfrac{\cot x}{x}$.
For the fraction, the quotient rule gives numerator $4x(x^2+x+2) – (2x^2-3)(2x+1) = 4x^3+4x^2+8x – 4x^3 – 2x^2 + 6x + 3 = 2x^2+14x+3$ over $(x^2+x+2)^2$.
$$\frac{dy}{dx} = x^{\cot x}\left(\frac{\cot x}{x} – \operatorname{cosec}^2x\log x\right) + \frac{2x^2+14x+3}{(x^2+x+2)^2}$$
Question 65
Given $y = \tan^{-1}\dfrac ax + \log\sqrt{\dfrac{x-a}{x+a}}$, prove that $\dfrac{dy}{dx} = \dfrac{2a^3}{x^4-a^4}$.
Solution. Differentiate $\tan^{-1}\dfrac ax$: $\dfrac{1}{1+a^2/x^2}\cdot\dfrac{-a}{x^2} = \dfrac{-a}{x^2+a^2}$. Write the log as $\dfrac12\left[\log(x-a) – \log(x+a)\right]$, which differentiates to $\dfrac12\left[\dfrac{1}{x-a} – \dfrac{1}{x+a}\right] = \dfrac{a}{x^2-a^2}$. Adding, $$\frac{dy}{dx} = a\cdot\frac{(x^2+a^2) – (x^2-a^2)}{(x^2+a^2)(x^2-a^2)} = \frac{2a^3}{x^4-a^4}.$$
Proved: $\dfrac{dy}{dx} = \dfrac{2a^3}{x^4-a^4}$.
Question 66
Given $x^my^n = (x+y)^{m+n}$, prove that $\dfrac{dy}{dx} = \dfrac yx$.
Solution. Take logs: $m\log x + n\log y = (m+n)\log(x+y)$. Differentiating, $$\frac mx + \frac ny\,y’ = \frac{(m+n)(1+y’)}{x+y}.$$ Grouping the $y’$ terms, $$y’\left[\frac ny – \frac{m+n}{x+y}\right] = \frac{m+n}{x+y} – \frac mx.$$ The bracket equals $\dfrac{n(x+y) – (m+n)y}{y(x+y)} = \dfrac{nx – my}{y(x+y)}$, and the right side equals $\dfrac{(m+n)x – m(x+y)}{x(x+y)} = \dfrac{nx – my}{x(x+y)}$. Dividing one by the other, $y’ = \dfrac yx$.
Proved: $\dfrac{dy}{dx} = \dfrac yx$.
Common mistakes
- Differentiating $u^v$ as if $v$ were a constant (the power rule) or as if $u$ were a constant (the exponential rule). The right answer is the sum of both, which logarithmic differentiation produces automatically.
- Forgetting the extra $y’$ on the right-hand side of an implicit equation such as $y\log\cos x = x\log\cos y$, where the product rule must be used on both sides.
- Dropping the inner derivative: for example $\dfrac{d}{dx}\log\sin\sqrt{x^2+1}$ needs three links (log, sine, root), and Question 40 needs the factors $2$, $3$ and $5$ in the numerators.
- Replacing $\dfrac{\sec^2x}{\tan x}$ by $\sec x$ instead of $\dfrac{1}{\sin x\cos x} = 2\operatorname{cosec}2x$, which breaks Questions 42, 48 and 57.
- In a “prove that” question, stopping when the expression looks different from the target; identities such as $1-\cos x = 2\sin^2\frac x2$ usually finish the job.
Practise next
More logarithmic differentiation of this kind is in the neighbouring exercises of this chapter.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe