7 problems found
Solution:
The numbers \(f(r)\) satisfy \(f(r)>f(r+1)\) for $r=1, 2, \dots\(. Show that, for any non-negative integer \)n$, \[ k^n(k-1) \, f(k^{n+1}) \le \sum_{r=k^n}^{k^{n+1}-1}f(r) \le k^n(k-1)\, f(k^n)\, \] where \(k\) is an integer greater than 1.
Solution: \begin{align*} && \sum_{r=k^n}^{k^{n+1}-1} f(r) &\leq \sum_{r=k^n}^{k^{n+1}-1} f(k^{n}) \\ &&&= (k^{n+1}-k^n)f(k^n) \\ &&&= k^n(k-1)f(k^n) \\ \\ && \sum_{r=k^n}^{k^{n+1}-1} f(r) &\geq \sum_{r=k^n}^{k^{n+1}-1} f(k^{n+1}) \\ &&&= (k^{n+1}-k^n)f(k^{n+1}) \\ &&&= k^n(k-1)f(k^{n+1}) \\ \end{align*}
A box contains \(n\) pieces of string, each of which has two ends. I select two string ends at random and tie them together. This creates either a ring (if the two ends are from the same string) or a longer piece of string. I repeat the process of tying together string ends chosen at random until there are none left. Find the expected number of rings created at the first step and hence obtain an expression for the expected number of rings created by the end of the process. Find also an expression for the variance of the number of rings created. Given that \(\ln 20 \approx 3\) and that \(1+ \frac12 + \cdots + \frac 1n \approx \ln n\) for large \(n\), determine approximately the expected number of rings created in the case \(n=40\,000\).
Solution: Let \(X_i\) be the indicator variable a loop is formed when there are \(i\) strings in the bag, so \(\mathbb{P}(X_i = 1) = \frac{1}{2i-1}\). Therefore \begin{align*} && Y_n &= X_n + Y_{n-1} \\ && Y_n &= X_n + \cdots + X_1 \\ \Rightarrow && \E[Y_n] &= \frac{1}{2n-1} + \frac{1}{2n-3} + \cdots + \frac{1}{1} \\ && \var[Y_n] &= \sum_{i=1}^n \frac{1}{2i-1} \frac{2i-2}{2i-1} \\ &&&= 2\sum_{i=1}^n \frac{i-1}{(2i-1)^2} \end{align*} \begin{align*} && \E[Y_{n}] &= 1 + \frac13 + \cdots + \frac{1}{2n-1} \\ &&&= 1 + \frac12 + \cdots + \frac1{2n} - \frac12\left (1 + \frac12 + \cdots + \frac1n \right) \\ &&&\approx \ln 2n -\frac12 \ln n \\ &&&= \ln 2 \sqrt{n} \\ \\ && \E[Y_{40\,000}] &= \ln 2 \sqrt{40\,000} \\ &&&= \ln 400 \\ &&&= 2 \ln 20 \approx 6 \end{align*}
The function \(\f\) satisfies \(0\leqslant\f(t)\leqslant K\) when \(0\leqslant t\leqslant x\). Explain by means of a sketch, or otherwise, why \[0\leqslant\int_{0}^{x} \f (t)\,{\mathrm d}t \leqslant Kx.\] By considering \(\displaystyle \int_{0}^{1}\frac{t}{n(n-t)}\,{\mathrm d}t\), or otherwise, show that, if \(n>1\), \[ 0\le \ln \left( \frac n{n-1}\right) -\frac 1n \le \frac 1 {n-1} - \frac 1n \] and deduce that \[ 0\le \ln N -\sum_{n=2}^N \frac1n \le 1. \] Deduce that as \(N\to \infty\) \[ \sum_{n=1}^N \frac1n \to\infty. \] Noting that \(2^{10}=1024\), show also that if \(N<10^{30}\) then \[ \sum_{n=1}^N \frac1n <101. \]
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.
The makers of Cruncho (`The Cereal Which Cares') are giving away a series of cards depicting \(n\) great mathematicians. Each packet of Cruncho contains one picture chosen at random. Show that when I have collected \(r\) different cards the expected number of packets I must open to find a new card is \(n/(n-r)\) where \(0\leqslant r\leqslant n-1.\) Show by means of a diagram, or otherwise, that \[ \frac{1}{r+1}\leqslant\int_{r}^{r+1}\frac{1}{x}\,\mathrm{d}x\leqslant\frac{1}{r} \] and deduce that \[ \sum_{r=2}^{n}\frac{1}{r}\leqslant\ln n\leqslant\sum_{r=1}^{n-1}\frac{1}{r} \] for all \(n\geqslant2.\) My children will give me no peace until we have the complete set of cards, but I am the only person in our household prepared to eat Cruncho and my spouse will only buy the stuff if I eat it. If \(n\) is large, roughly how many packets must I expect to consume before we have the set?
Solution: