MATH101 Calculus Workshop Exercise 3 Solutions


W3.1. By the quotient rule, we can differentiate cot⁡x\cot x whenever sin⁡x≠0\sin x\neq 0 and obtain

dd⁢x⁢cot⁡x=dd⁢x⁢cos⁡xsin⁡x=(dd⁢x⁢cos⁡x)⁢sin⁡x-cos⁡x⁢(dd⁢x⁢sin⁡x)sin2⁡x=-sin2⁡x-cos2⁡xsin2⁡x=-1sin2⁡x=-cosec2x  (x≠nπ)\eqalign{{{d}\over{dx}}\cot x&={{d}\over{dx}}{{\cos x}\over{\sin x}}\cr&={{({{% d}\over{dx}}\cos x)\sin x-\cos x({{d}\over{dx}}\sin x)}\over{\sin^{2}x}}\cr&={% {-\sin^{2}x-\cos^{2}x}\over{\sin^{2}x}}\cr&={{-1}\over{\sin^{2}x}}=-{\hbox{% cosec}}^{2}x\qquad(x\neq n\pi)\cr}

W3.2 (i) f⁢(x)=x1/2-6⁢x-3+log⁡x+log⁡2f(x)=x^{1/2}-6x^{-3}+\log x+\log 2, so f′⁢(x)=2-1⁢x-1/2+18⁢x-4+x-1.f^{\prime}(x)=2^{-1}x^{-1/2}+18x^{-4}+x^{-1}.

(ii) We have dd⁢u⁢eu=eu{{d}\over{du}}e^{u}=e^{u} and dd⁢x⁢3⁢x5=15⁢x4{{d}\over{dx}}3x^{5}=15x^{4}, so by the chain rule

dd⁢x⁢e3⁢x5=15⁢x4⁢e3⁢x5.{{d}\over{dx}}e^{3x^{5}}=15x^{4}e^{3x^{5}}.

(iii) By the product rule, and then the chain rule, we have

dd⁢x⁢(ex2⁢sin⁡x)=(dd⁢x⁢ex2)⁢sin⁡x+ex2⁢dd⁢x⁢sin⁡x=ex2⁢(2⁢x⁢sin⁡x+cos⁡x).\eqalign{{{d}\over{dx}}\Bigl(e^{x^{2}}\sin x\Bigr)&=\Bigl({{d}\over{dx}}e^{x^{% 2}}\Bigr)\sin x+e^{x^{2}}{{d}\over{dx}}\sin x\cr&=e^{x^{2}}\bigl(2x\sin x+\cos x% \bigr).\cr}

(iv) By the chain rule

dd⁢x⁢(cos⁡3⁢x)5=15⁢cos4⁡3⁢x⁢(-sin⁡3⁢x)=-15⁢sin⁡3⁢x⁢cos4⁡3⁢x.{{d}\over{dx}}\bigl(\cos 3x\bigr)^{5}=15\cos^{4}3x(-\sin 3x)=-15\sin 3x\cos^{4% }3x.

(v) By the quotient rule,

dd⁢x⁢cos⁡x45⁢x=(dd⁢x⁢cos⁡x4)⁢x-cos⁡x4⁢d⁢xd⁢x5⁢x2=-4⁢x4⁢sin⁡x4-cos⁡x45⁢x2.\eqalign{{{d}\over{dx}}{{\cos x^{4}}\over{5x}}&={{({{d}\over{dx}}\cos x^{4})x-% \cos x^{4}{{dx}\over{dx}}}\over{5x^{2}}}\cr&={{-4x^{4}\sin x^{4}-\cos x^{4}}% \over{5x^{2}}}.\cr}

W3.3 Let NN be the number of bacteria, and regard NN as a continuous variable depending upon time xx. The differential equation is

d⁢Nd⁢x=k⁢N{{dN}\over{dx}}=kN

with initial condition N⁢(0)=AN(0)=A, where kk and AA are constants to be determined. The solution is N⁢(x)=A⁢ek⁢xN(x)=Ae^{kx}. Now N⁢(0)=A=106N(0)=A=10^{6}, and N⁢(100)=2×106N(100)=2\times 10^{6}, so 2=e100⁢k2=e^{100k} and k=(log⁡2)/100.k=(\log 2)/100. Now we look for xx such that N⁢(x)=107N(x)=10^{7}, so ek⁢x=10e^{kx}=10; so

x=(log⁡10)/k=100⁢(log⁡10)/(log⁡2)=332⁢s.x=(\log 10)/k=100(\log 10)/(\log 2)=332s.

W3.4 The inverse function rule asserts that d⁢yd⁢x=1/d⁢xd⁢y.{{dy}\over{dx}}=1\big/{{dx}\over{dy}}.

(i) When y=sin-1⁡xy=\sin^{-1}x we have x=sin⁡yx=\sin y, so d⁢xd⁢y=cos⁡y{{dx}\over{dy}}=\cos y and cos2⁡y+sin2⁡y=1\cos^{2}y+\sin^{2}y=1. Hence, for -1<x<1-1<x<1 we have

d⁢yd⁢x=1/d⁢xd⁢y=1cos⁡y=11-sin2⁡y=11-x2.{{dy}\over{dx}}=1\big/\,\,{{dx}\over{dy}}={{1}\over{\cos y}}={{1}\over{\sqrt{1% -\sin^{2}y}}}={{1}\over{\sqrt{1-x^{2}}}}.

(ii) When y=cosh-1⁡xy=\cosh^{-1}x we have x=cosh⁡yx=\cosh y, so d⁢xd⁢y=sinh⁡y,{{dx}\over{dy}}=\sinh y, where cosh2⁡y-sinh2⁡y=1\cosh^{2}y-\sinh^{2}y=1. Hence for x>1x>1 we have

d⁢yd⁢x=1/d⁢xd⁢y=1sinh⁡y=1cosh2⁡y-1=1x2-1.{{dy}\over{dx}}=1\big/\,\,{{dx}\over{dy}}={{1}\over{\sinh y}}={{1}\over{\sqrt{% \cosh^{2}y-1}}}={{1}\over{\sqrt{x^{2}-1}}}.

(iii) We take the positive square root in (i) and (ii) since sin-1\sin^{-1} and cosh-1\cosh^{-1} are increasing functions.

consider this point in detail with reference to the graphs


W3.5. The derivative of tanh⁡y\tanh y is sech2⁢y{\hbox{sech}}^{2}y since by the quotient rule

dd⁢y⁢tanh⁡y=dd⁢y⁢sinh⁡ycosh⁡y=(dd⁢y⁢sinh⁡y)⁢cosh⁡y-sinh⁡y⁢(dd⁢y⁢cosh⁡y)cosh2⁡y=cosh2⁡y-sinh2⁡ycosh2=1cosh2⁡y.\eqalign{{{d}\over{dy}}\tanh y&={{d}\over{dy}}{{\sinh y}\over{\cosh y}}\cr&={{% ({{d}\over{dy}}\sinh y)\cosh y-\sinh y({{d}\over{dy}}\cosh y)}\over{\cosh^{2}y% }}\cr&={{\cosh^{2}y-\sinh^{2}y}\over{\cosh^{2}}}\cr&={{1}\over{\cosh^{2}y}}.\cr}

[1] mark

Let y=tanh-1⁡xy=\tanh^{-1}x so that x=tanh⁡yx=\tanh y and then by the inverse function rule

d⁢yd⁢x=1/d⁢xd⁢y=1/sech2⁢y.{{dy}\over{dx}}=1\big/\,\,{{dx}\over{dy}}=1\big/\,{\hbox{sech}}^{2}y.

Dividing the relation cosh2⁡y-sinh2⁡y=1\cosh^{2}y-\sinh^{2}y=1 through by cosh2⁡y\cosh^{2}y, we deduce that 1-tanh2⁡y=sech2⁢y1-\tanh^{2}y={\hbox{sech}}^{2}y, whence

d⁢yd⁢x=11-tanh2⁡y=11-x2  (-1<x<1).{{dy}\over{dx}}={{1}\over{1-\tanh^{2}y}}={{1}\over{1-x^{2}}}\qquad(-1<x<1).

W3.6. The volume of the cube is V=x3V=x^{3}, so by the chain rule

k=d⁢Vd⁢t=d⁢Vd⁢x⁢d⁢xd⁢t=3⁢x2⁢d⁢xd⁢t.k={{dV}\over{dt}}={{dV}\over{dx}}{{dx}\over{dt}}=3x^{2}{{dx}\over{dt}}.

The surface area is A=6⁢x2A=6x^{2}, so we rearrange this to

d⁢xd⁢t=k3⁢x2=2⁢kA.{{dx}\over{dt}}={{k}\over{3x^{2}}}={{2k}\over{A}}.

Remark. We expect AA to be on the denominator, and kk on the numerator; whereas the factor 22 is a special feature of the cube.


W3.7 (i) Now f⁢(x)=exf(x)=e^{x} has f′⁢(x)=exf^{\prime}(x)=e^{x} and f′′⁢(x)=ex>0f^{\prime\prime}(x)=e^{x}>0, so ff is convex.

(ii) Also g⁢(x)=xkg(x)=x^{k} has g′⁢(x)=k⁢xk-1g^{\prime}(x)=kx^{k-1} and g′′⁢(x)=k⁢(k-1)⁢xk-2>0g^{\prime\prime}(x)=k(k-1)x^{k-2}>0, so gg is convex for x>0x>0.

(iii) Finally, h⁢(x)=x⁢log⁡xh(x)=x\log x has h′⁢(x)=log⁡x+1h^{\prime}(x)=\log x+1 and h′′⁢(x)=1/x>0h^{\prime\prime}(x)=1/x>0 for x>0x>0, so hh is convex.

W3.8 Let PnP_{n} be the statement

Pn:dnd⁢xn(1-x)-1=n!(1-x)n+1  (-1<x<1).P_{n}:{{d^{n}}\over{dx^{n}}}(1-x)^{-1}={{n!}\over{(1-x)^{n+1}}}\qquad(-1<x<1).

Basis of induction:P1P_{1} asserts that

dd⁢x(1-x)-1=1!(1-x)2  (-1<x<1),{{d}\over{dx}}(1-x)^{-1}={{1!}\over{(1-x)^{2}}}\qquad(-1<x<1),

which is true.

Induction step: Assume PnP_{n} so that

dnd⁢xn(1-x)-1=n!(1-x)n+1  (-1<x<1),{{d^{n}}\over{dx^{n}}}(1-x)^{-1}={{n!}\over{(1-x)^{n+1}}}\qquad(-1<x<1),

then differentiate both sides with respect to xx

dd⁢xdnd⁢xn(1-x)-1=(n+1)⁢n!(1-x)n+2  (-1<x<1),{{d}\over{dx}}{{d^{n}}\over{dx^{n}}}(1-x)^{-1}={{(n+1)n!}\over{(1-x)^{n+2}}}% \qquad(-1<x<1),

so

dn+1d⁢xn+1(1-x)-1=(n+1)!(1-x)n+2  (-1<x<1),{{d^{n+1}}\over{dx^{n+1}}}(1-x)^{-1}={{(n+1)!}\over{(1-x)^{n+2}}}\qquad(-1<x<1),

hence Pn+1P_{n+1} holds; hence result by induction.

W3.9 (i) The function cosh⁡x\cosh x is strictly increasing on (0,∞)(0,\infty), so so sech⁢x=1/cosh⁡x{\hbox{sech}}x=1/\cosh x is strictly decreasing. Alternatively, we note that

dd⁢x⁢sech⁢x=dd⁢x⁢1cosh⁡x=-sinh⁡xcosh2⁡x<0{{d}\over{dx}}{\hbox{sech}}x={{d}\over{dx}}{{1}\over{\cosh x}}=-{{\sinh x}% \over{\cosh^{2}x}}<0

for all x>0x>0.

(ii) Dividing the identity cosh2⁡y-sinh2⁡y=1\cosh^{2}y-\sinh^{2}y=1 by cosh2⁡y\cosh^{2}y, we obtain 1-tanh2⁡y=sech2⁢y1-\tanh^{2}y={\hbox{sech}}^{2}y. Write y=sech-1⁢xy={\hbox{sech}}^{-1}x, so x=sech⁢yx={\hbox{sech}}y. Then

d⁢xd⁢y=-tanh⁡y⁢sech⁢y=-x⁢1-x2,{{dx}\over{dy}}=-\tanh y\,{\hbox{sech}}y=-x\sqrt{1-x^{2}},

so by the inverse function rule

d⁢yd⁢x=1/d⁢xd⁢y=-1x⁢1-x2.{{dy}\over{dx}}=1/{{dx}\over{dy}}={{-1}\over{x\sqrt{1-x^{2}}}}.

W3.10 With

y⁢(x)=1a⁢cosh⁡a⁢xy(x)={{1}\over{a}}\cosh ax

we have

d⁢yd⁢x=sinh⁡a⁢x{{dy}\over{dx}}=\sinh ax

and

d2⁢yd⁢x2=a⁢cosh⁡a⁢x{{d^{2}y}\over{dx^{2}}}=a\cosh ax

so

d2⁢yd⁢x2=a⁢1+sinh2⁡a⁢x{{d^{2}y}\over{dx^{2}}}=a\sqrt{1+\sinh^{2}ax}

which gives the required result

d2⁢yd⁢x2=a⁢1+(d⁢yd⁢x)2.{{d^{2}y}\over{dx^{2}}}=a\sqrt{1+\Bigl({{dy}\over{dx}}\Bigr)^{2}}.

W3.11 With g⁢(x)=k⁢x+1+x-exg(x)=kx+1+x-e^{x} we have g⁢(x)→-∞g(x)\rightarrow-\infty as x→∞x\rightarrow\infty and g⁢(x)→-∞g(x)\rightarrow-\infty as x→-∞x\rightarrow-\infty. So the maximum value of gg occurs at a stationary point. We have

g′⁢(x)=k+1-ex,g^{\prime}(x)=k+1-e^{x},

and

g′′⁢(x)=-ex;g^{\prime\prime}(x)=-e^{x};

so there is a stationary point where g′⁢(a)=0g^{\prime}(a)=0, so ea=k+1e^{a}=k+1 and a=log⁡(1+k);a=\log(1+k); this is a local maximum since g′′⁢(a)<0g^{\prime\prime}(a)<0. Now the maximum value of gg is

g⁢(a)=k⁢a+1+a-ea=k⁢a+1+a-(k+1)=(k+1)⁢(a-1)+1=(k+1)⁢(log⁡(1+k)-1)+1.\eqalignno{g(a)&=ka+1+a-e^{a}\cr&=ka+1+a-(k+1)\cr&=(k+1)(a-1)+1\cr&=(k+1)(\log% (1+k)-1)+1.\cr}

W3.12. (i) The difference quotient is

f⁢(a+h)-f⁢(a)h=2⁢(a+h)2+5⁢(a+h)-2⁢a2-5⁢ah=2⁢a2+4⁢a⁢h+2⁢h2+5⁢a+5⁢h-2⁢a2-5⁢ah=4⁢a⁢h+2⁢h2+5⁢hh=4⁢a+2⁢h+5→4a+5  (h→0)\eqalignno{{{f(a+h)-f(a)}\over{h}}&={{2(a+h)^{2}+5(a+h)-2a^{2}-5a}\over{h}}\cr% &={{2a^{2}+4ah+2h^{2}+5a+5h-2a^{2}-5a}\over{h}}\cr&={{4ah+2h^{2}+5h}\over{h}}% \cr&=4a+2h+5\cr&\rightarrow 4a+5\qquad(h\rightarrow 0)\cr}

so ff is differentiable and f′⁢(a)=4⁢a+5.f^{\prime}(a)=4a+5.

(ii) Here the difference quotient is only defined when a≠-2a\neq-2, and for a≠-2a\neq-2 we can choose a+h≠-2a+h\neq-2 also. Hence taking terms over a common denominator, we have

g⁢(a+h)-g⁢(a)h=12+a+h-12+ah=2+a-(2+a+h)h⁢(2+a)⁢(2+a+h)=-1(2+a)⁢(2+a+h)→-1(2+a)2  (h→0)\eqalignno{{{g(a+h)-g(a)}\over{h}}&={{{{1}\over{2+a+h}}-{{1}\over{2+a}}}\over{% h}}\cr&={{2+a-(2+a+h)}\over{h(2+a)(2+a+h)}}\cr&=-{{1}\over{(2+a)(2+a+h)}}\cr&% \rightarrow{{-1}\over{(2+a)^{2}}}\qquad(h\rightarrow 0)\cr}

hence gg is differentiable, and g′⁢(a)=-1/(2+a)2.g^{\prime}(a)=-1/(2+a)^{2}.

W3.13 To find the equation of the tangent to the curve y=sin⁡x+cos⁡x+1y=\sin x+\cos x+1 at x=3⁢π/4x=3\pi/4, we note that y⁢(3⁢π/4)=1y(3\pi/4)=1 and

y′=cos⁡x-sin⁡xy^{\prime}=\cos x-\sin x

so y′⁢(3⁢π/4)=-2y^{\prime}(3\pi/4)=-\sqrt{2}; hence the tangent is

y-1=-2⁢(x-3⁢π/4).y-1=-\sqrt{2}(x-3\pi/4).

W3.14 (i) The function sinh⁡x\sinh x is strictly increasing on (0,∞)(0,\infty), so so cosech⁢x=1/sinh⁡x{\hbox{cosech}}x=1/\sinh x is strictly decreasing. Alternatively, we note that

dd⁢x⁢cosech⁢x=dd⁢x⁢1sinh⁡x=-cosh⁡xsinh2⁡x<0{{d}\over{dx}}{\hbox{cosech}}x={{d}\over{dx}}{{1}\over{\sinh x}}=-{{\cosh x}% \over{\sinh^{2}x}}<0

for all x>0x>0.

(ii) From the identity cosh2⁡y-sinh2⁡y=1\cosh^{2}y-\sinh^{2}y=1, we obtain coth2⁡y-1=cosech2⁢y\coth^{2}y-1={\hbox{cosech}}^{2}y. Write y=cosech-1⁢xy={\hbox{cosech}}^{-1}x, so x=cosech⁢yx={\hbox{cosech}}y. Then

d⁢xd⁢y=-coth⁡y⁢cosech⁢y=-x⁢x2-1,{{dx}\over{dy}}=-\coth y\,{\hbox{cosech}}y=-x\sqrt{x^{2}-1},

so by the inverse function rule

d⁢yd⁢x=1/d⁢xd⁢y=-1x⁢x2-1.{{dy}\over{dx}}=1/{{dx}\over{dy}}={{-1}\over{x\sqrt{x^{2}-1}}}.