112 problems found
Solution:
If \[ \mathrm{f}(x)=nx-\binom{n}{2}\frac{x^{2}}{2}+\binom{n}{3}\frac{x^{3}}{3}-\cdots+(-1)^{r+1}\binom{n}{r}\frac{x^{r}}{r}+\cdots+(-1)^{n+1}\frac{x^{n}}{n}\,, \] show that \[ \mathrm{f}'(x)=\frac{1-(1-x)^{n}}{x}\,. \] Deduce that \[ \mathrm{f}(x)=\int_{1-x}^{1}\frac{1-y^{n}}{1-y}\,\mathrm{d}y. \] Hence show that \[ \mathrm{f}(1)=1+\frac{1}{2}+\frac{1}{3}+\cdots+\frac{1}{n}\,. \]
Solution: \begin{align*} f(x) & =nx-\binom{n}{2}\frac{x^{2}}{2}+\binom{n}{3}\frac{x^{3}}{3}-\cdots+(-1)^{r+1}\binom{n}{r}\frac{x^{r}}{r}+\cdots+(-1)^{n+1}\frac{x^{n}}{n} \\ f'(x) &= n - \binom{n}{2} x + \binom{n}{3}x^2 - \cdots (-1)^{r+1} \binom{n}{r} + \cdots + (-1)^{n+1} x^{n-1} \\ &= \frac{1-(1-x)^n}{x} \end{align*} Therefore, since \(\displaystyle f(x) = \int_0^xf'(t)\,dt\) \begin{align*} f(x) &= \int_0^x \frac{1 - (1-t)^n}{t} \, dt \\ &= \int_{1}^{1-x} \frac{1-y^n}{1-y} (-1)\, dy \tag{Let \(y = 1-t, \frac{dy}{dt} = -1\)} \\ &= \boxed{\int_{1-x}^1 \frac{1-y^n}{1-y} dy} \\ &= \int_{1-x}^1 \l 1 + y + y^2 + \cdots + y^{n-1} \r \, dy \\ &= \left [ y + \frac{y^2}{2} + \frac{y^3}{3} + \cdots + \frac{y^n}{n} \right]_{1-x}^1 \\ \end{align*} So when \(x = 1, 1-x = 0\) so we exactly have the sum required.
Solution:
If there are \(x\) micrograms of bacteria in a nutrient medium, the population of bacteria will grow at the rate \((2K-x)x\) micrograms per hour. Show that, if \(x=K\) when \(t=0\), the population at time \(t\) is given by \[ x(t)=K+K\frac{1-\mathrm{e}^{-2Kt}}{1+\mathrm{e}^{-2Kt}}. \] Sketch, for \(t\geqslant0\), the graph of \(x\) against \(t\). What happens to \(x(t)\) as \(t\rightarrow\infty\)? Now suppose that the situation is as described in the first paragraph, except that we remove the bacteria from the nutrient medium at a rate \(L\) micrograms per hour where \(K^{2}>L\). We set \(\alpha=\sqrt{K^{2}-L}.\) Write down the new differential equation for \(x\). By considering a new variable \(y=x-K+\alpha,\) or otherwise, show that, if \(x(0)=K\) then \(x(t)\rightarrow K+\alpha\) as \(t\rightarrow\infty\).
Solution: \begin{align*} && \dot{x} &= (2K-x)x \\ \Rightarrow && \int \d t &= \int \frac{1}{(2K-x)x} \d x \\ &&&= \int \frac1{2K}\left ( \frac{1}{2K-x} + \frac{1}{x} \right) \d x \\ &&&= \frac{1}{2K} \left (\ln x - \ln (2K-x) \right) \\ \Rightarrow && 2Kt+C &= \ln \frac{x}{2K-x} \\ t = 0, x = K: && C &= \ln \frac{K}{2K-K} = 0 \\ \Rightarrow && e^{2Kt} &= \frac{x}{2K-x} \\ \Rightarrow && e^{-2Kt} &= \frac{2K}{x} -1 \\ \Rightarrow && x &= \frac{2K}{1+e^{-2Kt}} \\ &&&= K + K \frac{1-e^{-2Kt}}{1+e^{-2Kt}} \end{align*}
By means of the change of variable \(\theta=\frac{1}{4}\pi-\phi,\) or otherwise, show that \[ \int_{0}^{\frac{1}{4}\pi}\ln(1+\tan\theta)\,\mathrm{d}\theta=\tfrac{1}{8}\pi\ln2. \] Evaluate \[ {\displaystyle \int_{0}^{1}\frac{\ln(1+x)}{1+x^{2}}\,\mathrm{d}x}\qquad\mbox{ and }\qquad{\displaystyle \int_{0}^{\frac{1}{2}\pi}\ln\left(\frac{1+\sin x}{1+\cos x}\right)\,\mathrm{d}x}. \]
Solution: \begin{align*} && I &= \int_0^{\frac14\pi} \ln (1 + \tan \theta) \d \theta \\ \theta = \tfrac14\pi - \phi, \d \theta = -\d\phi: &&&= \int_0^{\frac14 \pi} \ln ( 1 + \tan (\tfrac14\pi - \phi)) \d \phi \\ &&&= \int_0^{\frac14 \pi} \ln \left ( 1 + \frac{1 - \tan \phi}{1+\tan \phi} \right) \d \phi \\ &&&= \int_0^{\frac14 \pi} \ln \left ( \frac{2}{1+\tan \phi} \right) \d \phi \\ &&&= \tfrac14 \pi \ln 2 - I \\ \Rightarrow && I &= \tfrac18\pi \ln 2 \end{align*} \begin{align*} && J &= \int_0^1 \frac{\ln(1+x)}{1+x^2} \d x \\ x= \tan \theta \d \theta, \d \theta = \frac{\d x}{1+x^2} &&&= \int_0^{\frac14 \pi} \ln(1 + \tan \theta) \d \theta \\ &&&= \tfrac18 \pi \ln 2 \end{align*} \begin{align*} && K &= \int_0^{\frac12 \pi} \ln \left ( \frac{1 + \sin x}{1 + \cos x} \right) \d x \\ y = \tfrac12\pi - x, \d y = -\d x: &&&= \int_0^{\frac12\pi} \ln \left ( \frac{1+\cos y}{1+\sin y}\right) \d y \\ &&&= -K \\ \Rightarrow && K &= 0 \end{align*}
Solution:
By making the change of variable \(t=\pi-x\) in the integral \[ \int_{0}^{\pi}x\mathrm{f}(\sin x)\,\mathrm{d}x, \] or otherwise, show that, for any function \(\mathrm{f},\) \[ \int_{0}^{\pi}x\mathrm{f}(\sin x)\,\mathrm{d}x=\frac{\pi}{2}\int_{0}^{\pi}\mathrm{f}(\sin x)\,\mathrm{d}x\,. \] Evaluate \[ \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x\quad\mbox{ and }\quad\int_{0}^{2\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x\,. \]
Solution: \begin{align*} && I &= \int_0^{\pi} x f(\sin x) \d x \\ t = \pi - x, \d t = -\d t : &&&= \int_{t = \pi}^{t = 0} (\pi - t) f(\sin (\pi - t)) -\d t \\ &&&= \int_0^{\pi} (\pi - t) f(\sin t) \d t \\ \Rightarrow && 2 I &= \pi \int_0^\pi f(\sin t) \d t \\ \Rightarrow && I &= \frac{\pi}{2} \int_0^{\pi} f(\sin x) \d x \end{align*} \begin{align*} && I &= \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ &&&= \frac{\pi}{2}\int_0^\pi \frac{\sin x}{1 + \cos^2 x} \d x \\ &&&= \frac{\pi}{2}\left [ -\tan^{-1} \cos x\right]_0^{\pi} \\ &&&= \tan 1 - \tan (-1) = \frac{\pi^2}{4} \\ \\ && I &= \int_{0}^{2\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ &&&= \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x + \int_{\pi}^{2\pi} \frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ u = x - \pi, \d u = \d x: &&&= \frac{\pi^2}{4} + \int_{0}^{\pi} \frac{(u+\pi)(-\sin u)}{1 + \cos^2 u}\d u \\ &&&= \frac{\pi^2}{4} -\frac{3\pi}{2} \int_0^{\pi} \frac{\sin u}{1+\cos^2 u} \d u \\ &&&= - \frac{\pi^2}2 \end{align*}
By making the substitution \(y=\cos^{-1}t,\) or otherwise, show that \[ \int_{0}^{1}\cos^{-1}t\,\mathrm{d}t=1. \] A pin of length \(2a\) is thrown onto a floor ruled with parallel lines equally spaced at a distance \(2b\) apart. The distance \(X\) of its centre from the nearest line is a uniformly distributed random variable taking values between \(0\) and \(b\) and the acute angle \(Y\) the pin makes with a direction perpendicular to the line is a uniformly distributed random variable taking values between \(0\) and \(\pi/2\). \(X\) and \(Y\) are independent. If \(X=x\) what is the probability that the pin crosses the line? If \(a < b\) show that the probability that the pin crosses a line for a general throw is \(\dfrac{2a}{\pi b}.\)
Solution: \begin{align*} && I &= \int_0^1 \cos^{-1} t \d t \\ \cos y = t: -\sin y \d y = \d t: &&&= \int_{\frac{\pi}{2}}^0 -y \sin y \d y \\ &&&= \int_0^{\pi/2} y \sin y \d y \\ &&&= \left [-y \cos y \right]_0^{\pi/2} + \int_0^{\pi/2} \cos y \d y \\ &&&= \left [ \sin y \right]_0^{\pi/2} = 1 \end{align*}
Solution:
The function \(\mathrm{g}\) satisfies, for all positive \(x\) and \(y\), \[ \mathrm{g}(x)+\mathrm{g}(y)=\mathrm{g}(z),\tag{*} \] where \(z=xy/(x+y+1).\) By treating \(y\) as a constant, show that \[ \mathrm{g}'(x)=\frac{y^{2}+y}{(x+y+1)^{2}}\mathrm{g}'(z)=\frac{z(z+1)}{x(x+1)}\mathrm{g}'(z), \] and deduce that \(2\mathrm{g}'(1)=(u^{2}+u)\mathrm{g}'(u)\) for all \(u\) satisfying \(0 < u < 1.\) Now by treating \(u\) as a variable, show that \[ \mathrm{g}(u)=A\ln\left(\frac{u}{u+1}\right)+B, \] where \(A\) and \(B\) are constants. Verify that \(\mathrm{g}\) satisfies \((*)\) for a suitable value of \(B\). Can \(A\) be determined from \((*)\)? The function \(\mathrm{f}\) satisfies, for all positive \(x\) and \(y\), \[ \mathrm{f}(x)+\mathrm{f}(y)=\mathrm{f}(z) \] where \(z=xy.\) Show that \(\mathrm{f}(x)=C\ln x\) where \(C\) is a constant.
Solution: Note that \(z = xy/(x+y+1) \Rightarrow y(x-z) = z(x+1)\) \begin{align*} && g(x) + g(y) &= g(z) \\ \Rightarrow && g'(x) &= g'(z) \cdot \frac{y(x+y+1) - xy \cdot 1} {(x+y+1)^2} \\ &&&= g'(z) \frac{y^2+y}{(x+y+1)^2} \\ &&&= g'(z) \frac{z^2(y^2+y)}{x^2y^2} \\ &&&= g'(z) \frac{z^2(y+1)}{x^2y} \\ &&&= g'(z) \frac{z^2}{x^2} \left (1 + \frac{x-z}{z(x+1)} \right) \\ &&&= g'(z) \frac{z}{x^2} \frac{zx+x}{x+1} \\ &&&= g'(z) \frac{z(z+1)}{x(x+1)} \end{align*} If \(x = 1\) then as \(y\) ranges from \(0\) to \(\infty\), \(z\) ranges from \(0\) to \(1\), so \(g'(1) = \frac{z(z+1)}{1(1+1)}g'(z)\), ie \(2g'(1) = (u^2+u)g'(u)\). \begin{align*} && g'(u) &= \frac{A}{u(u+1)} \\ \Rightarrow && g(u) &= A\int \left ( \frac{1}{u} - \frac{1}{u+1} \right) \d u \\ &&&= A \left ( \ln u - \ln(u+1) \right) + B \\ &&&= A \ln \left ( \frac{u}{u+1} \right) + B \\ \\ && A \ln \left ( \frac{x}{x+1} \right) + B+A \ln \left ( \frac{y}{y+1} \right) + B &=A \ln \left ( \frac{z}{z+1} \right) + B \\ \Rightarrow && B &= A \ln \left ( \frac{z}{z+1} \frac{y+1}{y} \frac{x+1}{x} \right) \\ &&&= A \ln \left ( \frac{1}{1+\frac{x+y+1}{xy}} \frac{(y+1)(x+1)}{xy} \right) \\ &&&= A \ln 1 \\ &&& = 0 \end{align*} Therefore \(B = 0\). \(A\) cannot be determined from \((*)\). Suppose \(f(x) + f(y) = f(z)\), then \(f'(x) = yf'(z)\). Letting \(x = 1\) we find \(f'(1) = uf'(u) \Rightarrow f(u) = C \ln u + D\), but \(D = 0\) so \(f(x) = C \ln x\)
Solve the quadratic equation \(u^{2}+2u\sinh x-1=0\), giving \(u\) in terms of \(x\). Find the solution of the differential equation \[ \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^{2}+2\frac{\mathrm{d}y}{\mathrm{d}x}\sinh x-1=0 \] which satisfies \(y=0\) and \(y'>0\) at \(x=0\). Find the solution of the differential equation \[ \sinh x\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^{2}+2\frac{\mathrm{d}y}{\mathrm{d}x}-\sinh x=0 \] which satisfies \(y=0\) at \(x=0\).
Solution: \begin{align*} && 0 &= u^2 + 2u \sinh x -1 \\ &&&= u^2 + u(e^x-e^{-x})-e^{x}e^{-x} \\ &&&= (u-e^{-x})(u+e^x) \\ \Rightarrow && u &= e^{-x}, -e^x \end{align*} \begin{align*} && 0 &= \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^{2}+2\frac{\mathrm{d}y}{\mathrm{d}x}\sinh x-1 \\ \Rightarrow && \frac{\d y}{\d x} &= e^{-x}, -e^x \\ \Rightarrow && y &= -e^{-x}+C, -e^x+C \\ y(0) = 0: && C &= 1\text{ both cases } \\ y'(0) > 0: && y &= 1-e^{-x} \end{align*} \begin{align*} && 0 &= \sinh x u^2 + 2u -\sinh x \\ \Rightarrow && u &= \frac{-2 \pm \sqrt{4+4\sinh^2 x}}{2\sinh x} \\ &&&= \frac{-1 \pm \cosh x}{\sinh x} = - \textrm{cosech }x \pm \textrm{coth}x \\ \\ && 0 &= \sinh x\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^{2}+2\frac{\mathrm{d}y}{\mathrm{d}x}-\sinh x \\ \Rightarrow && \frac{\d y}{\d x} &= - \textrm{cosech }x \pm \textrm{coth}x \\ \Rightarrow && y &= -\ln \left ( \tanh \frac{x}{2} \right) \pm \ln \sinh x+C \end{align*} For \(x \to 0\) to be defined, we need \(+\), so \begin{align*} && y &= \ln \left (\frac{\sinh x}{\tanh \frac{x}{2}} \right) + C \\ && y &= \ln \left (\frac{2\sinh \frac{x}{2} \cosh \frac{x}{2}}{\tanh \frac{x}{2}} \right)+C \\ &&&= \ln \left (2 \cosh^2 x \right) + C \\ y(0) = 0: && 0 &= \ln 2+C \\ \Rightarrow && y &= \ln(2 \cosh^2 x) -\ln 2 \\ && y &= 2 \ln (\cosh x) \end{align*}
Solution:
Write down the binomial expansion of \((1+x)^{n}\), where \(n\) is a positive integer.
Solution: \[ (1+x)^n = \sum_{k=0}^n \binom{n}{k} x^k \]