70 problems found
Sum the following infinite series.
Solution:
The sequence \(a_{1},a_{2},\ldots,a_{n},\ldots\) forms an arithmetic progression. Establish a formula, involving \(n,\) \(a_{1}\) and \(a_{2}\) for the sum \(a_{1}+a_{2}+\cdots+a_{n}\) of the first \(n\) terms. A sequence \(b_{1},b_{2},\ldots,b_{n},\ldots\) is called a double arithmetic progression if the sequence of differences \[ b_{2}-b_{1},b_{3}-b_{2},\ldots,b_{n+1}-b_{n},\ldots \] is an arithmetic progression. Establish a formula, involving \(n,b_{1},b_{2}\) and \(b_{3}\), for the sum \(b_{1}+b_{2}+b_{3}+\cdots+b_{n}\) of the first \(n\) terms of such a progression. A sequence \(c_{1},c_{2},\ldots,c_{n},\ldots\) is called a factorial progression if \(c_{n+1}-c_{n}=n!d\) for some non-zero \(d\) and every \(n\geqslant1\). Suppose \(1,b_{2},b_{3},\ldots\) is a double arithmetic progression, and also that \(b_{2},b_{4},b_{6}\) and \(220\) are the first four terms in a factorial progression. Find the sum \(1+b_{2}+b_{3}+\cdots+b_{n}.\)
Solution: Since the common difference is \(a_2 - a_1\) we can find that \(a_n = a_1 + (n-1)(a_2-a_1)\), then \begin{align*} && a_1 &&+&& a_2 &&+&& \cdots &&+&& (a_1 + (n-2)(a_2 - a_1) && + && (a_1 + (n-1) (a_2 - a_1)) \\ + && (a_1 + (n-1) (a_2 - a_1))&&+&& (a_1 + (n-2)(a_2 - a_1)&&+&& \cdots &&+&& a_2 && + && a_1 \\ \hline \\ = && 2a_1 + (n-1)(a_2 - a_1) && + && 2a_1 + (n-1)(a_2 - a_1) && + && \cdots && + 2a_1 + (n-1)(a_2 - a_1) && + 2a_1 + (n-1)(a_2 - a_1) \\ = && n(2a_1 + (n-1) (a_2 - a_1)) \end{align*} Therefore the sum is \(a_1 n + \frac{n(n-1)}{2} (a_2 - a_1)\). Since \(b_n - b_1 = (b_n - b_{n-1}) + (b_{n-1} - b_{n-2}) + \cdots (b_2 - b_1)\), \(b_n - b_1 = a_1 (n-1) + \frac{(n-1)(n-2)}{2}(a_2 - a_1) = (b_2-b_1)(n-1) + \frac{(n-1)(n-2)}{2}(b_3 -2b_2 +b_1)\). So \(b_n = b_1 + (b_2 - b_1)(n-1) + \frac{(n-1)(n-2)}{2} (b_3 - 2b_2 + b_1)\). In particular \begin{align*} \sum_{i=1}^n b_i &= \sum_{i=1}^n \l b_1 + (b_2 - b_1)(n-1) + \frac{(n-1)(n-2)}{2} (b_3 - 2b_2 + b_1)\r \\ &= nb_1 + (b_2-b_1) \frac{n(n-1)}{2} + \frac{n(n-1)(n-2)}{6}(b_3-2b_2+b_1) \end{align*} Let \(b_2 - b_1 = x\) and \(b_3 - 2b_2+b_1 = y\), then \begin{align*} b_4 - b_2 &= d &= &2x + 3y \\ b_6-b_4 &= 2d &=& 2x +(10-3)y \\ &&=&2x + 7y \\ 220-b_6&=6d &=& 220-(1 + 5x + 10y) \\ \end{align*} \begin{align*} && 4x + 6y &= 2x + 7y \\ && 6x+21y &= 219-5x-10y \\ \Rightarrow && 2x - y &= 0 \\ && 11x + 31y &= 219 \\ \Rightarrow && x &= 3 \\ && y &= 6 \end{align*} Therefore the final sum is \begin{align*} n + 3 \frac{n(n-1)}{2} + 6 \frac{n(n-1)(n-2)}{6} &= n^3-\frac32n^2+\frac32n \end{align*}
For \(x>0\) find \(\int x\ln x\,\mathrm{d}x\). By approximating the area corresponding to \(\int_{0}^{1}x\ln(1/x)\, \d x\) by \(n\) rectangles of equal width and with their top right-hand vertices on the curve \(y=x\ln(1/x)\), show that, as \(n\rightarrow\infty\), \[ \frac{1}{2}\left(1+\frac{1}{n}\right)\ln n-\frac{1}{n^{2}}\left[\ln\left(\frac{n!}{0!}\right)+\ln\left(\frac{n!}{1!}\right)+\ln\left(\frac{n!}{2!}\right)+\cdots+\ln\left(\frac{n!}{(n-1)!}\right)\right]\rightarrow\frac{1}{4}. \] {[}You may assume that \(x\ln x\rightarrow0\) as \(x\rightarrow0\).{]}
Solution: Integrating by parts we obtain: \begin{align*} \int x \ln x \, \d x &= [\frac12 x^2 \ln x] - \int \frac12x^2 \cdot \frac1x \d x \\ &= \frac12 x^2 \ln x - \frac14 x^2 + C \end{align*}
Obtain the sum to infinity of each of the following series.
Solution:
The real numbers \(u_{0},u_{1},u_{2},\ldots\) satisfy the difference equation \[ au_{n+2}+bu_{n+1}+cu_{n}=0\qquad(n=0,1,2,\ldots), \] where \(a,b\) and \(c\) are real numbers such that the quadratic equation \[ ax^{2}+bx+c=0 \] has two distinct real roots \(\alpha\) and \(\beta.\) Show that the above difference equation is satisfied by the numbers \(u_{n}\) defined by \[ u_{n}=A\alpha^{n}+B\beta^{n}, \] where \[ A=\frac{u_{1}-\beta u_{0}}{\alpha-\beta}\qquad\mbox{ and }\qquad B=\frac{u_{1}-\alpha u_{0}}{\beta-\alpha}. \] Show also, by induction, that these numbers provide the only solution. Find the numbers \(v_{n}\) \((n=0,1,2,\ldots)\) which satisfy \[ 8(n+2)(n+1)v_{n+2}-2(n+3)(n+1)v_{n+1}-(n+3)(n+2)v_{n}=0 \] with \(v_{0}=0\) and \(v_{1}=1.\)
Solution: First notice that \(u_n = \alpha^n\) and \(u_n = \beta^n\) both satisfy the recurrence, since: \begin{align*} && a \alpha^2 + b \alpha + c &= 0 \\ \Rightarrow && a \alpha^{n+2} + b \alpha^{n+1} + c \alpha^n &= 0 \\ \Rightarrow && a u_{n+2} + bu_{n+1} + cu_n &=0 \end{align*} Notice also that if \(u_n\) and \(v_n\) both satisfy the recurrence, then any linear combination of them will satisfy the recurrence: \begin{align*} && \begin{cases} au_{n+2} + bu_{n+1} + cu_n &= 0 \\ av_{n+2} + bv_{n+1} + cv_n &= 0 \\ \end{cases} \\ \Rightarrow && a (\lambda u_{n+2}+ \mu v_{n+2}) + b (\lambda u_{n+1}+ \mu v_{n+1}) + c (\lambda u_{n}+ \mu v_{n}) &= 0 \end{align*} by adding a linear combination of the top two equations. Therefore it suffices to check that the constants \(A\) and \(B\) are such that we match \(u_0\) and \(u_1\). \(\frac{u_1 - \beta u_0}{\alpha - \beta} + \frac{u_1 - \alpha u_0}{\beta - \alpha} = u_0\) and \(\frac{u_1 - \beta u_0}{\alpha - \beta}\alpha + \frac{u_1 - \alpha u_0}{\beta - \alpha}\beta = u_1\). So we are done. Suppose we have another sequence, then we first notice that the first and second terms must be identical to each other. Suppose the first \(k\) terms are identical, then since the \(k+1\)th term depends only on the \(k\) and \(k-1\)th terms (both of which are equal) the \(k+1\)th term is the same. Therefore, by the principle of mathematical induction, all terms are the same. First notice that if you put \(v_n = (n+1)w_n\) we have \begin{align*} && 8(n+3)(n+2)(n+1)w_{n+2} - 2(n+3)(n+2)(n+1)w_{n+1} - (n+3)(n+2)(n+1)w_n &= 0 \\ \Rightarrow && 8w_{n+2}-2w_{n+1}-w_n &= 0 \end{align*} This has characteristic equation \(8\lambda^2 - 2\lambda - 1 = 0 \Rightarrow \lambda = \frac12, -\frac14\). Therefore the general solution is \(w_n = A \l \frac12 \r^n + B \l -\frac14\r^n\) and \(v_n = (n+1)\l A \l \frac12 \r^n + B \l -\frac14\r^n \r\). When \(n = 0\) we have \(A+B = 0 \Rightarrow B =-A\). When \(n=1\) we have \(1 = 2 \l \frac{A}{2} + \frac{A}{4} \r \Rightarrow A = \frac{4}{3}\), therefore \[ v_n = \frac{4}{3}(n+1) \l \frac{1}{2^n} + \l -\frac14\r^n \r\]
Each day, books returned to a library are placed on a shelf in order of arrival, and left there. When a book arrives for which there is no room on the shelf, that book and all books subsequently returned are put on a trolley. At the end of each day, the shelf and trolley are cleared. There are just two-sizes of book: thick, requiring two units of shelf space; and thin, requiring one unit. The probability that a returned book is thick is \(p\), and the probability that it is thin is \(q=1-p.\) Let \(M(n)\) be the expected number of books that will be put on the shelf, when the length of the shelf is \(n\) units and \(n\) is an integer, on the assumption that more books will be returned each day than can be placed on the shelf. Show, giving reasoning, that
Solution:
Show that the sum of the infinite series \[ \log_{2}\mathrm{e}-\log_{4}\mathrm{e}+\log_{16}\mathrm{e}-\ldots+(-1)^{n}\log_{2^{2^{n}}}\mathrm{e}+\ldots \] is \[ \frac{1}{\ln(2\sqrt{2})}. \] {[}\(\log_{a}b=c\) is equivalent to \(a^{c}=b\).{]}
Solution: Let \(S = \log_{2}\mathrm{e}-\log_{4}\mathrm{e}+\log_{16}\mathrm{e}-\ldots+(-1)^{n}\log_{2^{2^{n}}}\mathrm{e}+\ldots\) then \begin{align*} S &= \sum_{n=0}^{\infty} (-1)^n \log_{2^{2^n}} e \\ &= \sum_{n=0}^{\infty} (-1)^n \frac{\log e}{\log {2^{2^n}}} \\ &= \sum_{n=0}^{\infty} (-1)^n \frac{\log e}{2^n\log {2}} \\ &= \frac{\log e}{\log 2} \sum_{n=0}^{\infty} \frac{(-1)^n}{2^n} \\ &= \frac{1}{\log_e 2} \frac{1}{1+\frac12} \\ &= \frac{1}{\ln (2^{3/2})} \\ &= \frac{1}{\ln (2 \sqrt{2})} \end{align*}
Let \(a\) and \(b\) be positive integers such that \(b<2a-1\). For any given positive integer \(n\), the integers \(N\) and \(M\) are defined by \[ [a+\sqrt{a^{2}-b}]^{n}=N-r, \] \[ [a-\sqrt{a^{2}-b}]^{n}=M+s, \] where \(0\leqslant r<1\) and \(0\leqslant s<1\). Prove that \begin{questionparts} \item \(M=0\), \item \(r=s\), \item \(r^{2}-Nr+b^{n}=0.\) \end{questionpart} Show that for large \(n\), \(\left(8+3\sqrt{7}\right)^{n}\) differs from an integer by about \(2^{-4n}\).
Solution:
If \(y=\mathrm{f}(x)\), then the inverse of \(\mathrm{f}\) (when it exists) can be obtained from Lagrange's identity. This identity, which you may use without proof, is \[ \mathrm{f}^{-1}(y)=y+\sum_{n=1}^{\infty}\frac{1}{n!}\frac{\mathrm{d}^{n-1}}{\mathrm{d}y^{n-1}}\left[y-\mathrm{f}\left(y\right)\right]^{n}, \] provided the series converges.
Solution:
Prove that \[ \tan^{-1}t=t-\frac{t^{3}}{3}+\frac{t^{5}}{5}-\cdots+\frac{(-1)^{n}t^{2n+1}}{2n+1}+(-1)^{n+1}\int_{0}^{t}\frac{x^{2n+2}}{1+x^{2}}\,\mathrm{d}x. \] Hence show that, if \(0\leqslant t\leqslant1,\) then \[ \frac{t^{2n+3}}{2(2n+3)}\leqslant\left|\tan^{-1}t-\sum_{r=0}^{n}\frac{(-1)^{r}t^{2r+1}}{2r+1}\right|\leqslant\frac{t^{2n+3}}{2n+3}. \] Show that, as \(n\rightarrow\infty,\) \[ 4\sum_{r=0}^{n}\frac{(-1)^{r}}{(2r+1)}\rightarrow\pi, \] but that the error in approximating \(\pi\) by \({\displaystyle 4\sum_{r=0}^{n}\frac{(-1)^{r}}{(2r+1)}}\) is at least \(10^{-2}\) if \(n\) is less than or equal to \(98\).
Solution: We start by noticing that \(\displaystyle \tan^{-1} t = \int_0^t \frac{1}{1+x^2} \d x\). Consider the geometric series \(1-x^2+(-x^2)^2+ \cdots + (-x^2)^n = \frac{1-(-x^2)^{n+1}}{1+x^2}\). Therefore, \((1+x^2)(1-x^2+(-x^2)^2+ \cdots + (-x^2)^n) = 1-(-x^2)^{n+1}\) or \(1 = (1+x^2)(1-x^2+x^4-\cdots+(-1)^nx^{2n}) +(-1)^{n+1}x^{2n+2}\) \begin{align*} \tan^{-1} t &= \int_0^t \frac{1}{1+x^2} \d x \\ &= \int_0^t \frac{(1+x^2)(1-x^2+x^4-\cdots+(-1)^nx^{2n}) +(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \\ &= \int_0^t (1-x^2+x^4-\cdots+(-1)^nx^{2n})\d x + \int_0^t \frac{(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \\ &= t - \frac{t^3}{3}+\frac{t^5}{5}-\cdots + (-1)^n \frac{t^{2n+1}}{2n+1}+\int_0^t \frac{(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \\ &= \sum_{r=0}^n \frac{(-1)^r t^{2r+1}}{2r+1} + \int_0^t \frac{(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \\ \end{align*} Therefore we can say (for \(0 \leq t \leq 1\)) \begin{align*} \left | \tan^{-1} t - \sum_{r=0}^n \frac{(-1)^r t^{2r+1}}{2r+1} \right | &= \left | \int_0^t \frac{(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \right | \\ &\leq \left | \int_0^t x^{2n+2} \d x \right | \\ &= \frac{t^{2n+3}}{2n+3} \\ \\ \left | \tan^{-1} t - \sum_{r=0}^n \frac{(-1)^r t^{2r+1}}{2r+1} \right | &= \left | \int_0^t \frac{(-1)^{n+1}x^{2n+2}}{x^2+1} \d x \right | \\ &\geq \left | \int_0^t \frac{(-1)^{n+1}x^{2n+2}}{1+1} \d x \right | \\ &= \frac{t^{2n+3}}{2(2n+3)} \\ \end{align*} Since \(\tan^{-1} 1 = \frac{\pi}{4}\) we must have that: \begin{align*} \lim_{n \to \infty} \left | \frac{\pi}{4} - \sum_{r=0}^{n}\frac{(-1)^{r}}{(2r+1)} \right | \to 0 \Rightarrow \lim_{n \to \infty} 4\sum_{r=0}^{n}\frac{(-1)^{r}}{(2r+1)} \to \pi \end{align*} However, \begin{align*} && \left | 4\sum_{r=0}^{n}\frac{(-1)^{r}}{(2r+1)} - \pi \right | &\geq 4 \frac{1}{2(2n+3)} \\ && &= \frac{2}{2n+3} \\ \\ && \frac{2}{2n+3} \geq 10^{-2} \\ \Leftrightarrow && 200 \geq 2n+3 \\ \Leftrightarrow && 197 \geq 2n \\ \Leftrightarrow && 98.5 \geq n \\ \end{align*} Therefore we need more than \(98\) terms to get two decimal places of accuracy. Not great!