Problems

Filters
Clear Filters

2 problems found

2014 Paper 1 Q13
D: 1500.0 B: 1483.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)\).

  1. Show that the mean of the distribution is \(\frac13(a+b+c)\).
  2. Find the median of the distribution in the different cases that arise.


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}\)

1990 Paper 1 Q16
D: 1500.0 B: 1486.1

A bus is supposed to stop outside my house every hour on the hour. From long observation I know that a bus will always arrive some time between 10 minutes before and ten minutes after the hour. The probability it arrives at a given instant increases linearly (from zero at 10 minutes before the hour) up to a maximum value at the hour, and then decreases linearly at the same rate after the hour. Obtain the probability density function of \(T\), the time in minutes after the scheduled time at which a bus arrives. If I get up when my alarm clock goes off, I arrive at the bus stop at 7.55am. However, with probability 0.5, I doze for 3 minutes before it rings again. In that case with probability 0.8 I get up then and reach the bus stop at 7.58am, or, with probability 0.2, I sleep a little longer, not reaching the stop until 8.02am. What is the probability that I catch a bus by 8.10am? I buy a louder alarm clock which ensures that I reach the stop at exactly the same time each morning. This clock keeps perfect time, but may be set to an incorrect time. If it is correct, the alarm goes off so that I should reach the stop at 7.55am. After 100 mornings I find that I have had to wait for a bus until after 9am (according to the new clock) on 5 occasions. Is this evidence that the new clock is incorrectly set? {[}The time of arrival of different buses are independent of each other.{]}


Solution: The probability density function will look like a triangle with base \(20\) minutes and therefore height \(\frac{1}{10}\) per minute, ie: \begin{align*} f_T(t) &= \begin{cases} \frac{1}{100}(t+10) & \text{if } -10 \leq t \leq 0 \\ \frac{1}{100}(10-t) & \text{if } 0 \leq t \leq 10 \\ 0 & \text{otherwise} \end{cases} \end{align*} \begin{align*} \mathbb{P}(\text{catch bus}) &=0.5 \mathbb{P}(\text{bus arrives after 7:55})+0.4 \mathbb{P}(\text{bus arrives after 7:58}) + 0.1 \mathbb{P}(\text{bus arrives after 8:02}) \\ &= \frac12 \cdot \left (1 - \frac18 \right) + \frac{2}{5} \cdot \left ( 1 - \frac{4^2}{5^2} \cdot \frac{1}{2} \right) + \frac{1}{10} \cdot \frac{4^2}{5^2} \cdot \frac12 \\ &= \frac{1\,483}{2\,000} \\ &\approx 74\% \end{align*} \begin{align*} \mathbb{P}(\text{catch bus}) &= \mathbb{P}(\text{bus arrives after 7:55}) \mathbb{P}(\text{catch next bus by 9:00}) \\ &= \frac78 + \frac18 \cdot \frac12 \\ &= \frac{15}{16} \end{align*} He should expect to miss \(6.25\) buses, so missing \(5\) seems about right. (Using a binomial calculation, seeing 5 or fewer buses is ~\(40\%\) which isn't suspicious).