1531 problems found
A game in a casino is played with a fair coin and an unbiased cubical die whose faces are labelled \(1, 1, 1, 2, 2\) and \(3.\) In each round of the game, the die is rolled once and the coin is tossed once. The outcome of the round is a random variable \(X\). The value, \(x\), of \(X\) is determined as follows. If the result of the toss is heads then \(x= \vert ks -1\vert\), and if the result of the toss is tails then \(x=\vert k-s\vert\), where \(s\) is the number on the die and \(k\) is a given number. Show that \(\mathbb{E}(X^2) = k +13(k-1)^2 /6\). Given that both \(\mathbb{E}(X^2)\) and \(\mathbb{E}(X)\) are positive integers, and that \(k\) is a single-digit positive integer, determine the value of \(k\), and write down the probability distribution of \(X\). A gambler pays \(\pounds 1\) to play the game, which consists of two rounds. The gambler is paid:
Solution: \begin{align*} && \mathbb{E}(X^2) &= \frac12 \left (\frac16 \left ( 3(k -1)^2+2(2k-1)^2+(3k-1)^2 \right) +\frac16 \left ( 3(k -1)^2+2(k-2)^2+(k-3)^2 \right) \right) \\ &&&= \frac12 \left (\frac16 \left (20k^2-20k+6 \right) + \frac16 \left ( 6k^2-20k+20\right) \right) \\ &&&= \frac1{12} \left (26k^2-40k+ 26\right) \\ &&&= \frac{13}{6} (k^2+1) - \frac{10}{3}k \\ &&&= \frac{13}{6}(k-1)^2+k \end{align*} Since \(k\) a single digit positive number and \(\mathbb{E}(X^2)\) is an integer, \(6 \mid k-1 \Rightarrow k = 1, 7\). \begin{align*} \mathbb{E}(X | k=1) &= \frac12 \left (\frac16 \left ( 2+2 \right) +\frac16 \left ( 2+2 \right) \right) = \frac23 \not \in \mathbb{Z}\\ \mathbb{E}(X | k=7) &= \frac12 \left (\frac16 \left ( 3\cdot6+2\cdot13+20 \right) +\frac16 \left ( 3\cdot6+2\cdot5+4 \right) \right) = 8 \end{align*} Therefore \(k = 7\) The probability distribution is \begin{align*} && \mathbb{P}(X=4) = \frac1{12} \\ && \mathbb{P}(X=5) = \frac1{6} \\ && \mathbb{P}(X=6) = \frac12 \\ && \mathbb{P}(X=13) = \frac1{6} \\ && \mathbb{P}(X=20)= \frac1{12} \\ \end{align*} The only ways to score more than \(25\) are: \(20+6, 20+13, 20+20, 13+13\) The only ways to score exactly \(25\) are \(20+5\) \begin{align*} \mathbb{P}(>25) &= \frac1{12} \cdot\left(2\cdot \frac12+2\cdot\frac16+\frac1{12}\right) + \frac{1}{6^2} \\ &= \frac{7}{48} \\ \mathbb{P}(=25) &= \frac{2}{12 \cdot 6} = \frac{1}{36} \\ \\ \mathbb{E}(\text{payout}) &= \frac{7}{48}w + \frac{1}{36} = \frac{21w+4}{144} \end{align*} The casino needs \(\frac{21w+4}{144} < 1 \Rightarrow 21w< 140 \Rightarrow w < \frac{20}{3}\)
A continuous random variable \(X\) has a triangular distribution, which means that it has a probability density function of the form \[ \f(x) = \begin{cases} \g(x) & \text{for \(a< x \le c\)} \\ \h(x) & \text{for \(c\le x < b\)} \\ 0 & \text{otherwise,} \end{cases} \] where \(\g(x)\) is an increasing linear function with \(\g(a)=0\), \(\h(x)\) is a decreasing linear function with \(\h(b) =0\), and \(\g(c)=\h(c)\). Show that \(\g(x) = \dfrac{2(x-a)}{(b-a)(c-a)}\) and find a similar expression for \(\h(x)\).
Solution: Since \(\int f(x) \, dx = 1\), and \(f(x)\) is a triangle with base \(b-a\), it must have height \(\frac{2}{b-a}\) in order to have the desired area. Since \(g(a) = 0, g(c) = \frac{2}{b-a}\), \(g(x) = A(x-a)\) and \(\frac{2}{b-a} = A (c-a) \Rightarrow g(x) = \frac{2(x-a)}{(b-a)(c-a)}\) as required. Similarly, \(h(x) = B(x-b)\) and \(\frac{2}{b-a} = B(c-b) \Rightarrow h(x) = \frac{2(b-x)}{(b-a)(b-c)}\) The mean of the distribution will be: \begin{align*} \int_a^b xf(x) \, dx &= \int_a^c xg(x) \, dx + \int_c^b xh(x) \, dx \\ &= \frac{2}{(b-a)(c-a)} \int_a^c x(x-a) dx + \frac{2}{(b-a)(b-c)} \int_c^b x(b-x) \, dx \\ &= \frac{2}{(b-a)} \l \frac{1}{c-a} \left [ \frac{x^3}{3} - a\frac{x^2}{2} \right ]_a^c + \frac{1}{b-c} \left [ b\frac{x^2}{2} - \frac{x^3}{3} \right ]_c^b\r \\ &= \frac{2}{(b-a)} \l \frac{1}{c-a} \l \frac{c^3}{3} - a\frac{c^2}{2} - \frac{a^3}{3} + \frac{a^3}{2} \r + \frac{1}{b-c} \l \frac{b^3}{2} - \frac{b^3}{3} - \frac{bc^2}{2} + \frac{c^3}{3} \r \r \\ &= \frac{2}{(b-a)} \l \l \frac{c^2+ac+a^2}{3} - \frac{a(a+c)}{2} \r +\l \frac{b(b+c)}{2} - \frac{b^2+bc+c^2}{3} \r\r \\ &= \frac{2}{(b-a)} \l \frac{2c^2+2ac+2a^2}{6} - \frac{3a^2+3ac}{6} + \frac{3b^2+3bc}{6} - \frac{2b^2+2bc+2c^2}{6} \r \\ &= \frac{2}{(b-a)} \l \frac{-a^2+b^2-ac+bc}{6} \r \\ &= \frac{a+b+c}{3} \\ \end{align*} The median \(M\) satisfies: \begin{align*} && \int_a^M f(x) \, dx &= \frac12 \\ \end{align*} The left hand triangle will have area: \(\frac{c-a}{b-a}\) which will be \(\geq \frac12\) if \(c \geq \frac{a+b}{2}\). In this case we need \begin{align*} && \frac{(M-a)^2}{(b-a)(c-a)} &= \frac12 \\ \Rightarrow && M &= a + \sqrt{\frac12 (b-a)(c-a)} \end{align*} Otherwise, we need: \begin{align*} && \frac{(b-M)^2}{(b-a)(b-c)} &= \frac12 \\ \Rightarrow && M &= b - \sqrt{\frac12 (b-a)(b-c)} \end{align*} These are consistent, if \(c = \frac{b+a}{2}\)
In the triangle \(ABC\), the base \(AB\) is of length 1 unit and the angles at~\(A\) and~\(B\) are \(\alpha\) and~\(\beta\) respectively, where \(0<\alpha\le\beta\). The points \(P\) and~\(Q\) lie on the sides \(AC\) and \(BC\) respectively, with \(AP=PQ=QB=x\). The line \(PQ\) makes an angle of~\(\theta\) with the line through~\(P\) parallel to~\(AB\).
This question concerns the inequality \begin{equation} \int_0^\pi \bigl( f(x) \bigr)^2 \d x \le \int_0^\pi \bigl( f'(x)\bigr)^2 \d x\,.\tag{\(*\)} \end{equation}
Solution:
Solution:
Solution:
Given that \(y=xu\), where \(u\) is a function of \(x\), write down an expression for \(\dfrac {\d y}{\d x}\).
Solution: \begin{align*} \frac{\d y}{\d x} &= \frac{\d }{\d x} \l y \r \\ &= \frac{\d }{\d x} \l xu \r \\ &\underbrace{=}_{\text{product rule}} \frac{\d}{\d x} \l x \r u + x \frac{\d}{\d x} \l u \r \\ &= u + x \frac{\d u}{\d x} \end{align*} \begin{questionparts} \item \begin{align*} && \frac{\d y}{\d x} &= \frac{2y + x}{y - 2x} \\ && u + x \frac{\d u}{\d x} &= \frac{2u + 1}{u - 2} \\ && x \frac{\d u}{\d x} &= \frac{2u-1-u^2+2u}{u-2} \\ \Rightarrow && \int \frac{2-u}{u^2-4u+1} \d u &= \int \frac{1}{x} \d x \\ && \int \frac{2-u}{(u-2)^2-5} \d u &= \int \frac1x \d x \\ && -\frac12\ln| (u-2)^2 - 5| &= \ln x + C \\ (x,y) = (1,1): && - \ln 2 &= C \\ \Rightarrow && \ln x^2 &= \ln 4 - \ln |5 - (u-2)^2| \\ \Rightarrow && x^2 &= \frac{4}{5- (u-2)^2} \\ \Rightarrow && 4 & = x^2(5 - (\frac{y}{x} - 2)^2) \\ &&&= 5x^2 - (y-2x)^2 \\ &&&= x^2+4xy-y^2 \end{align*} \item It would be convienient if \(x-2y -4 = X-2Y\) and \(2x+y-3 = 2X+Y\), ie \(a-2b = 4\) and \(2a+b = 3\), ie \(a = 2, b = -1\). Now our differential equation is: \begin{align*} && \frac{\d Y}{\d X} &= \frac{X - 2Y}{2X+Y} \\ && \frac{\d X}{\d Y} &= \frac{2X + Y}{X-2Y} \end{align*} This is the same differential equation we have already solved, just with the roles of \(x\) and \(y\) interchanged with \(Y\) and \(X\) and with the point \((0,3)\) being on the curve, ie: \(Y^2 + 4XY-X^2 = c\) and \(c = 9\), therefore our equation is: \[ (y-1)^2 + 4(y-1)(x+2)-(x+2)^2 = 9\]
By simplifying \(\sin(r+\frac12)x - \sin(r-\frac12)x\) or otherwise show that, for \(\sin\frac12 x \ne0\), \[ \cos x + \cos 2x +\cdots + \cos nx = \frac{\sin(n+\frac12)x - \sin\frac12 x}{2\sin\frac12x}\,. \] The functions \(S_n\), for \(n=1, 2, \dots\), are defined by \[ S_n(x) = \sum_{r=1}^n \frac 1 r \sin rx \qquad (0\le x \le \pi). \]
Solution: \begin{align*} && \sin(r + \tfrac12)x - \sin(r - \tfrac12) x &= \sin rx \cos \tfrac12x + \cos r x\sin\tfrac12x - \sin r x \cos \tfrac12 x + \cos rx \sin \tfrac12 x \\ &&&= 2\cos r x \sin\tfrac12 x \\ \\ && S &= \cos x + \cos 2x + \cdots + \cos n x \\ && 2\sin \tfrac12 x S &= \sin(1 + \tfrac12)x - \sin \tfrac12 x + \\ &&&\quad+ \sin(2+\tfrac12)x - \sin(2- \tfrac12)x + \\ &&&\quad+ \sin(3+\tfrac12)x - \sin(3 - \tfrac12)x + \\ &&& \quad + \cdots + \\ &&&\quad + \sin(n+\tfrac12)x - \sin(n-\tfrac12)x \\ &&&=\sin(n+\tfrac12)x - \sin\tfrac12 x \\ \Rightarrow && S &= \frac{\sin(n+\tfrac12)x - \sin\tfrac12 x}{2 \sin \tfrac12 x} \end{align*}
Solution:
For positive integers \(n\), \(a\) and \(b\), the integer \(c_r\) (\(0\le r\le n\)) is defined to be the coefficient of \(x^r\) in the expansion in powers of \(x\) of \((a+bx)^n\). Write down an expression for \(c_r\) in terms of \(r\), \(n\), \(a\) and \(b\). For given \(n\), \(a\) and \(b\), let \(m\) denote a value of \(r\) for which \(c_r\) is greatest (that is, \(c_m \ge c_r\) for \(0\le r\le n\)). Show that \[ \frac{b(n+1)}{a+b} - 1 \le m \le \frac {b(n+1)}{a+b} \,. \] Deduce that \(m\) is either a unique integer or one of two consecutive integers. Let \(G(n,a,b)\) denote the unique value of \(m\) (if there is one) or the larger of the two possible values of \(m\).
Solution: \(c_r = \binom{n}{r}a^{n-r}b^r\) \begin{align*} && c_m &\geq c_{m+1} \\ \Rightarrow && \binom{n}{m} a^{n-m}b^m &\geq \binom{n}{m+1} a^{n-m-1}b^{m+1} \\ \Rightarrow && \frac{1}{(n-m)}a &\geq \frac{1}{m+1}b \\ \Rightarrow && (m+1)a &\geq (n-m)b \\ \Rightarrow && m(a+b) &\geq nb -a \\ \Rightarrow && m &\geq \frac{n(b+1)-a-b}{a+b}=\frac{n(b+1)}{a+b} - 1 \\ \\ && c_m &\geq c_{m-1} \\ \Rightarrow && \binom{n}{m} a^{n-m}b^m &\geq \binom{n}{m-1} a^{n-m+1}b^{m-1} \\ \Rightarrow && \frac{1}m b &\geq \frac{a}{(n-m+1)} \\ \Rightarrow && (n-m+1)b &\geq ma \\ \Rightarrow && (n+1)b &\geq m(a+b) \\ \Rightarrow && m &\leq \frac{(n+1)b}{a+b} \end{align*} Since \(m\) lies between two values \(1\) apart is is either equal to one of those two values or is the unique integer between them. Let \(\displaystyle G(n,a,b) = \left \lfloor \frac{b(n+1)}{a+b} \right \rfloor\), so
A uniform rectangular lamina \(ABCD\) rests in equilibrium in a vertical plane with the \(A\) in contact with a rough vertical wall. The plane of the lamina is perpendicular to the wall. It is supported by a light inextensible string attached to the side \(AB\) at a distance \(d\) from \(A\). The other end of the string is attached to a point on the wall above \(A\) where it makes an acute angle \(\theta\) with the downwards vertical. The side \(AB\) makes an acute angle \(\phi\) with the upwards vertical at \(A\). The sides \(BC\) and \(AB\) have lengths \(2a\) and \(2b\) respectively. The coefficient of friction between the lamina and the wall is \(\mu\).
Solution:
A particle is projected from a point \(O\) on horizontal ground with initial speed \(u\) and at an angle of \(\theta\) above the ground. The motion takes place in the \(x\)-\(y\) plane, where the \(x\)-axis is horizontal, the \(y\)-axis is vertical and the origin is \(O\). Obtain the Cartesian equation of the particle's trajectory in terms of \(u\), \(g\) and~\(\lambda\), where \(\lambda=\tan\theta\). Now consider the trajectories for different values of \(\theta\) with \(u\)~fixed. Show that for a given value of~\(x\), the coordinate~\(y\) can take all values up to a maximum value,~\(Y\), which you should determine as a function of \(x\), \(u\) and~\(g\). Sketch a graph of \(Y\) against \(x\) and indicate on your graph the set of points that can be reached by a particle projected from \(O\) with speed \(u\). Hence find the furthest distance from \(O\) that can be achieved by such a projectile.
A small smooth ring \(R\) of mass \(m\) is free to slide on a fixed smooth horizontal rail. A light inextensible string of length~\(L\) is attached to one end,~\(O\), of the rail. The string passes through the ring, and a particle~\(P\) of mass~\(km\) (where \(k>0\)) is attached to its other end; this part of the string hangs at an acute angle \(\alpha\) to the vertical and it is given that \(\alpha\) is constant in the motion. Let \(x\) be the distance between \(O\) and the ring. Taking the \(y\)-axis to be vertically upwards, write down the Cartesian coordinates of~\(P\) relative to~\(O\) in terms of \(x\), \(L\) and~\(\alpha\).
The lifetime of a fly (measured in hours) is given by the continuous random variable \(T\) with probability density function \(f(t)\) and cumulative distribution function \(F(t)\). The hazard function, \(h(t)\), is defined, for \(F(t) < 1\), by \[ h(t) = \frac{f(t)}{1-F(t)}\,. \]
Solution:
A random number generator prints out a sequence of integers \(I_1, I_2, I_3, \dots\). Each integer is independently equally likely to be any one of \(1, 2, \dots, n\), where \(n\) is fixed. The random variable \(X\) takes the value \(r\), where \(I_r\) is the first integer which is a repeat of some earlier integer. Write down an expression for \(\mathbb{P}(X=4)\).
Solution: \begin{align*} && \mathbb{P}(X > 4) &= 1 \cdot \frac{n-1}{n} \cdot \frac{n-2}{n} \cdot \frac{n-3}{n} \\ && \mathbb{P}(X > 3) &= 1 \cdot \frac{n-1}{n} \cdot \frac{n-2}{n} \\ \Rightarrow && \mathbb{P}(X =4) &= \mathbb{P}(X > 3) - \mathbb{P}(X > 4) \\ &&&= \frac{(n-1)(n-2)}{n^2} \left (1 - \frac{n-3}{n} \right) \\ &&&= \frac{3(n-1)(n-2)}{n^3} \end{align*}