7 problems found
The random variable \(X\) takes only non-negative integer values and has probability generating function \(\G(t)\). Show that \[ \P(X = 0 \text{ or } 2 \text{ or } 4 \text { or } 6 \ \ldots ) = \frac{1}{2}\big(\G\left(1\right)+\G\left(-1\right)\big). \] You are now given that \(X\) has a Poisson distribution with mean \(\lambda\). Show that \[ \G(t) = \e^{-\lambda(1-t)} \,. \]
Solution: \begin{align*} &&G_X(t) &= \mathbb{E}(t^N) \\ &&&= \sum_{k=0}^{\infty} \mathbb{P}(X = k) t^k \\ \Rightarrow && G_X(1) &= \sum_{k=0}^{\infty} \mathbb{P}(X = k) \\ \Rightarrow && G_X(-1) &= \sum_{k=0}^{\infty} (-1)^k\mathbb{P}(X = k) \\ \Rightarrow && \frac12 (G_X(1) + G_X(-1) &= \sum_{k=0}^{\infty} \frac12 (1 + (-1)^k) \mathbb{P}(X = k) \\ &&&= \sum_{k=0}^{\infty} \mathbb{P}(X =2k) \end{align*}
Define \(\cosh x\) and \(\sinh x\) in terms of exponentials and prove, from your definitions, that \[ \cosh^{4}x-\sinh^{4}x=\cosh2x \] and \[ \cosh^{4}x+\sinh^{4}x=\tfrac{1}{4}\cosh4x+\tfrac{3}{4}. \] Find \(a_{0},a_{1},\ldots,a_{n}\) in terms of \(n\) such that \[ \cosh^{n}x=a_{0}+a_{1}\cosh x+a_{2}\cosh2x+\cdots+a_{n}\cosh nx. \] Hence, or otherwise, find expressions for \(\cosh^{2m}x-\sinh^{2m}x\) and \(\cosh^{2m}x+\sinh^{2m}x,\) in terms of \(\cosh kx,\) where \(k=0,\ldots,2m.\)
Solution: \begin{align*} \cosh x &= \frac12 (e^x + e^{-x}) \\ \sinh x &= \frac12 (e^x - e^{-x}) \\ \end{align*} \begin{align*} \cosh^4x -\sinh^4 x &= (\cosh^2x -\sinh^2 x)(\cosh^2x +\sinh^2 x) \\ &= \left ( \frac14 \left (e^{2x}+2+e^{-2x} \right)- \frac14 \left (e^{2x}-2+e^{-2x} \right) \right)(\cosh^2x +\sinh^2 x) \\ &= (\cosh^2x +\sinh^2 x) \\ &= \left ( \frac14 \left (e^{2x}+2+e^{-2x} \right)+ \frac14 \left (e^{2x}-2+e^{-2x} \right) \right) \\ &= \frac{1}{4} \left (2e^{2x}+2e^{-2x} \right) \\ &= \frac12 \left ( e^{2x}+e^{-2x} \right) \\ &= \cosh 2x \\ \\ \cosh^4x +\sinh^4 x &= \frac1{2^4}\left (e^{4x}+4e^{2x}+6+4e^{-2x}+e^{-4x} \right)+\frac1{2^4}\left (e^{4x}-4e^{2x}+6-4e^{-2x}+e^{-4x} \right) \\ &= \frac18 (e^{4x}+e^{-4x}) + \frac{3}{4} \\ &= \frac14 \cosh 4x + \frac34 \end{align*} \begin{align*} \cosh^n x &=\frac{1}{2^n} \left ( e^{x}+e^{-x} \right)^n \\ &= \frac{1}{2^n} \sum_{k=0}^n \binom{n}{k} e^{kx}e^{-(n-k)x} \\ &= \frac{1}{2^n} \sum_{k=0}^n \binom{n}{k} e^{2kx-nx} \\ &= \frac{1}{2^n} \left ( \binom{n}{n} \left(e^{nx}+e^{-nx} \right) + \binom{n}{n-1}\left(e^{(n-2)x}+e^{-(n-2)x} \right) + \cdots + \binom{n}{n-k} \left( e^{(n-2k)x}+e^{-(n-2k)x} \right) + \cdots \right) \\ &= \frac{1}{2^{n-1}} \cosh nx + \frac{1}{2^{n-1}} \binom{n}{n-1} \cosh (n-2)x + \cdots + \frac{1}{2^{n-1}} \binom{n}{n-k} \cosh (n-2k)x + \cdots \end{align*} ie \begin{align*} \cosh^{2m} x &= \frac{1}{2^{2m-1}} \cosh 2m x + \frac{2m}{2^{2m-1}} \cosh(2(m-1)x) + \cdots + \frac{1}{2^{2m-1}}\binom{2m}{k} \cosh (2(m-k)x) +\cdots+ \frac{1}{2^{2m-1}} \binom{2m}{m} \\ \sinh^{2m} x &= \frac{1}{2^{2m-1}} \cosh 2m x - \frac{2m}{2^{2m-1}} \cosh(2(m-1)x) + \cdots + (-1)^{k}\frac{1}{2^{2m-1}}\binom{2m}{k} \cosh (2(m-k)x) +\cdots+ (-1)^m\frac{1}{2^{2m-1}} \binom{2m}{m} \\ \cosh^{2m} x -\sinh^{2m} x &= \frac{m}{2^{2m-3}} \cosh (2(m-1)x) + \cdots + \frac{1}{2^{2m-2}} \binom{2m}{2k+1}\cosh(2(m-2k-1)x) + \cdots\\ \cosh^{2m} x +\sinh^{2m} x &= \frac{1}{2^{2m-2}} \cosh (2mx) + \cdots + \frac{1}{2^{2m-2}} \binom{2m}{2k}\cosh(2(m-2k)x) + \cdots \end{align*}
The real numbers \(x\) and \(y\) satisfy the simultaneous equations $$ \sinh (2x) = \cosh y \qquad\hbox{and}\qquad \sinh(2y) = 2 \cosh x. $$ Show that \(\sinh^2 y\) is a root of the equation $$ 4t^3 + 4t^2 -4t -1=0 $$ and demonstrate that this gives at most one valid solution for \(y\). Show that the relevant value of \(t\) lies between \(0.7\) and \(0.8\), and use an iterative process to find \(t\) to 6 decimal places. Find \(y\) and hence find \(x\), checking your answers and stating the final answers to four decimal places.
Solution: Let \(t = \sinh^2 y\), then \begin{align*} && \sinh(2x) &= \cosh y \tag{1}\\ && \sinh(2y) &= 2 \cosh x \tag{2} \\ \\ && \cosh(2x) &= 2 \cosh^2 x -1 \\ (2): &&&= \frac12 \sinh^2(2y) -1 \\ && 1 &= \left (\frac12 \sinh^2(2y) -1 \right)^2 - \cosh^2 y \\ &&&= \frac14 \sinh^4(2y)-\sinh^2(2y)+1-\cosh^2 y \\ \Rightarrow && 0 &= \frac14 (\cosh^2 (2y)-1)^2- (\cosh^2 (2y)-1) - \cosh^2 y \\ &&&= \frac14 \left ( \left (1+2\sinh^2 y \right)^2-1 \right)^2 -\left ( \left (1+2\sinh^2 y \right)^2 -1\right) - (1 + \sinh^2 y ) \\ &&&= \frac14 \left ( 1 + 4t+4t^2 -1\right)^2 - \left ( 1+4t+4t^2-1\right) - (1 + t) \\ &&&= \frac14 (4t + 4t^2)^2 - (4t+4t^2)-1-t \\ &&&= 4(t+t^2)^2 - 4t^2-5t-1 \\ &&&= 4t^4+8t^3+4t^2-4t^2-5t-1 \\ &&& = 4t^4+8t^3-5t-1 \\ &&&= (t+1)(4t^3+4t^2-4t-1) \end{align*} Since \(\sinh^2 y\) is positive, we must be a root of the second cubic. Let \(f(t) = 4t^3+4t^2-4t-1\), then \(f(0) = -1\) and \(f'(t) = 12t^2+8t-4 = 4(t+1)(3t-1)\), so we have turning points at \(-1\) and \(\frac13\). Since \(f(-1) = 3 > 0\) and \(f(0) < 0\) we must have exactly one root larger than zero. Therefore there is a unique root. \(f(0.7) = -0.468 < 0\) \(f(0.8) = 0.408 > 0\) since \(f\) is continuous and changes sign, the root must fall in the interval \((0.7, 0.8)\). Let \(t_{n+1} = t_n - \frac{f(t_n)}{f'(t_n)}\), and \(t_0 = 0.75\), then \begin{align*} t_0 &= 0.75 \\ t_1 &= 0.7571428571 \\ t_2 &= 0.7570684728 \\ t_3 &= 0.7570684647 \end{align*} So \(t \approx 0.757068\), \(\sinh y \approx 0.870097\), \(y \approx 0.786474\), \(x \approx 0.546965\)
Suppose that \(y\) satisfies the differential equation \[ y=x\frac{\mathrm{d}y}{\mathrm{d}x}-\cosh\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right).\tag{*} \] By differentiating both sides of \((*)\) with respect to \(x\), show that either \[ \frac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}=0\qquad\mbox{ or }\qquad x-\sinh\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)=0. \] Find the general solutions of each of these two equations. Determine the solutions of \((*)\).
Solution: \begin{align*} && y & =x\frac{\mathrm{d}y}{\mathrm{d}x}-\cosh\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right) \\ \Rightarrow && \frac{\d y}{\d x} &= \frac{\d y}{\d x} + x\frac{\d ^2 y}{\d x^2} - \sinh \left ( \frac{\d y}{\d x} \right) \frac{\d^2 y}{\d x^2} \\ \Rightarrow && 0 &= \frac{\d^2 y}{\d x^2} \left ( x - \sinh \left ( \frac{\d y}{\d x}\right)\right) \end{align*} Therefore \(\frac{\d^2y}{\d x^2} = 0\) or \( x - \sinh \left ( \frac{\d y}{\d x}\right) = 0\) as required. \begin{align*} && \frac{\d ^2 y}{\d x^2} &= 0 \\ \Rightarrow && y &= ax + b \\ \\ && 0 &= x - \sinh \left ( \frac{\d y}{\d x}\right) \\ \Rightarrow && \frac{\d y}{\d x} &= \sinh^{-1} (x) \\ \Rightarrow && y &= x \sinh^{-1} x - \sqrt{x^2+1} + C \end{align*} Since it is necessary the solution satisfies one of those equations, we just need to check if either of these types of solutions work for our differential equation, ie \begin{align*} && ax + b &\stackrel{?}{=} ax - \cosh(a) \\ \Rightarrow && b &= -\cosh(a) \\ \Rightarrow && y &= ax -\cosh(a) \\ \\ && x \sinh^{-1} x - \sqrt{x^2+1} + C &\stackrel{?}{=} x\sinh^{-1} x - \cosh ( \sinh^{-1} x) \\ &&&= \sinh^{-1} x -\sqrt{x^2+1} \\ \Rightarrow && C &= 0 \end{align*} Therefore the general solutions are, \(y = ax - \cosh(a)\) and \(y = x \sinh^{-1} x - \sqrt{x^2+1}\)
Solution:
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*}