6 problems found
Let \(f(x) = 7 - 2|x|\). A sequence \(u_0, u_1, u_2, \ldots\) is defined by \(u_0 = a\) and \(u_n = f(u_{n-1})\) for \(n > 0\).
Solution:
Solution:
Find all the solutions of the equation \[|x+1|-|x|+3|x-1|-2|x-2|=x+2.\]
Solution: Case 1: \(x \leq -1\) \begin{align*} && -1-x+x-3(x-1)+2(x-2) &= x + 2 \\ \Leftrightarrow && -x-2 &= x + 2 \\ \Leftrightarrow && x = -2 \end{align*} Case \(-1 < x \leq 0\): \begin{align*} && x+1+x-3(x-1)+2(x-2) &= x + 2 \\ \Leftrightarrow && x&= x + 2 \\ \end{align*} No solutions Case \(0 < x \leq 1\): \begin{align*} && x+1-x-3(x-1)+2(x-2) &= x + 2 \\ \Leftrightarrow && -x&= x + 2 \\ \end{align*} No solutions Case \(1 < x \leq 2\): \begin{align*} && x+1-x+3(x-1)+2(x-2) &= x + 2 \\ \Leftrightarrow && 5x-6&= x + 2 \\ \Leftrightarrow && x = 2 \end{align*} Case \(2 < x\): \begin{align*} && x+1-x+3(x-1)-2(x-2) &= x + 2 \\ \Leftrightarrow && x+2&= x + 2 \\ \end{align*} Therefore the solutions are \(x \in \{-2\} \cup [2, \infty)\)
`24 Hour Spares' stocks a small, widely used and cheap component. Every \(T\) hours \(X\) units arrive by lorry from the wholesaler, for which the owner pays a total \(\pounds (a+qX)\). It costs the owner \(\pounds b\) per hour to store one unit. If she has the units in stock she expects to sell \(r\) units per hour at \(\pounds(p+q)\) per unit. The other running costs of her business remain at \(\pounds c\) pounds an hour irrespective of whether she has stock or not. (All of the quantities \(T,X,a,b,r,q,p\) and \(c\) are greater than 0.) Explain why she should take \(X\leqslant rT\). Given that the process may be assumed continuous (the items are very small and she sells many each hour), sketch \(S(t)\) the amount of stock remaining as a function of \(t\) the time from the last delivery. Compute the total profit over each period of \(T\) hours. Show that, if \(T\) is fixed with \(T\geqslant p/b\), the business can be made profitable if \[ p^{2}>2\frac{(a+cT)b}{r}. \]
Trains leave Barchester Station for London at 12 minutes past the hour, taking 60 minutes to complete the journey and at 48 minutes past the hour taking 75 minutes to complete the journey. The arrival times of passengers for London at Barchester Station are uniformly distributed over the day and all passengers take the first available train. Show that their average journey time from arrival at Barchester Station to arrival in London is 84.6 minutes. Suppose that British Rail decide to retime the fast 60 minute train so that it leaves at \(x\) minutes past the hour. What choice of \(x\) will minimise the average journey time?
Solution: If you arrive between 12 to and 12 past, it will take 60 minutes + how many minutes you wait at the station. If you arrive between 12 past and 12 to, it will take 75 minutes plus waiting at the station. Let's say arrival time \(X \sim U(0,60)\) minutes past the hour, then travel time is. Let's say there are two random variables, \(X_{fast} \sim U(0,24)\) \(X_{slow} \sim U(0, 36)\). Then if you wait for a fast train your expected wait time is \(72\), if you wait for a slow time, your expected wait time is \(75 + 18 = 93\). There is a \(\frac{24}{60} = \frac{4}{10}\) chance of being in the first case, and \(\frac{6}{10}\) chance of the second, ie: \(\frac{4}{10} \cdot 72 + \frac{6}{10} \cdot 93 = \frac{846}{10} = 84.6\) expected wait time. Suppose the time the trains so the expected fraction of time waiting for the fast train is \(t\) and the slow train is \(1-t\). Then the expected time is: \begin{align*} t \l 30t + 60 \r + (1-t) \l 30(1-t) + 75 \r &= 60t^2 -75t + 105 \\ &= 60 \l t^2 - \frac{5}{4}t \r + 105 \\ &= 60 \l t - \frac{5}{8} \r^2 - ? + 105 \\ \end{align*} Threfore we should choose \(x\) such that \(t = \frac58\), which is \(~37.5\) minutes after the slower train, \(25.5\) minutes past.
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).