Print this page and work through it on paper. Revealed answers are never printed, so you can check one question and still print a clean sheet.

  1. Show the solution to question 1

    (a) Impose total area one. The density vanishes outside , so

    giving . Non-negativity: on both factors and are , so there, and elsewhere. Both conditions hold, so is a genuine density.

    (b) Integrate from the left. For nothing has accumulated, so . For ,

    For all the mass is to the left, so ; as a check, , so the pieces join continuously. Differentiating on : , as the theorem that density and distribution determine each other requires.

    (c) Subtract. First the two values of :

    Hence and .

    The endpoints do not matter because is continuous, so by the theorem Point probabilities vanish ; moving an endpoint in or out of the interval adds or removes an event of probability zero.

    Sanity check: is symmetric about , so should equal . Indeed , and . ✓

    (d) Height against area. , while by the theorem Point probabilities vanish.

    The number is a rate, probability per unit length near : for a short interval of length centred at , . The number is the probability of the single point , which has no length and therefore no area under the curve.

  2. Show the solution to question 2

    (a) Substitute in the defining integral. By definition . Put , so ; as runs from up to , runs from down to . Hence

    the last step because is even. Finally the total area is one, so .

    (b) Two specialisations. Put in (a): , so , which is exactly the statement that is a median.

    For , property (4) of a distribution function gives , and the left endpoint may be included because for a continuous distribution function (the theorem Point probabilities vanish). Therefore

    With these are precisely the symmetry identities for the standard normal; the proof shows they have nothing to do with the exponential in , only with its evenness.

    (c) The Cauchy density. Take , which is even, positive, and integrates to . The symmetry argument for says: is odd, so its integral over the line is zero. But the definition of first requires , and here

    So does not exist at all, and “ by symmetry” is an integral that was never defined. Note that (b) is untouched: the median of the Cauchy distribution is , because a median needs only and never a moment.

  3. Show the solution to question 3

    (a) Non-negative with total area one. Clearly . By the evenness of ,

    (b) Check absolute convergence first. Integrating by parts with , ,

    so exists. Now is an odd function, so (legitimate precisely because the integral converges absolutely).

    For the variance use the computational formula. Since , , and by evenness and one more integration by parts (, ),

    So and .

    (c) Integrate from the left in two regimes. For the density is on , so

    For , the left half contributes and the rest is

    The lower quartile satisfies , so it lies in the branch: gives . The upper quartile lies in the branch: gives , so . They are mirror images, as they must be for an even density.

    (d) Law of the unconscious statistician. Split at so that can be removed:

    For the right-hand integrand is , a constant, and diverges. The expectation is : the density's tail decays exactly as fast as grows, so nothing is left to make the integral converge.

  4. Show the solution to question 4

    (a) Constant density, linear cdf. The interval has length , so for and otherwise. Then for , for , and for . By the uniform formulas,

    (b) Turn each event into an interval. means , so

    means or , two disjoint events:

    Both answers are also visible as lengths: each event occupies half of the width- interval.

    (c) Invert the cdf. Solving , that is , gives , so by the inverse transform theorem has distribution function . Check: and , agreeing with (a).

    (d) A non-linear inverse. The density on has cdf , which is continuous and strictly increasing on , so the theorem applies. Solving gives , hence

    From the density: . From : , since . They agree. Note the cube root pushes uniform draws upward — only one draw in eight lands below — which is what a density that grows like towards requires.

  5. Show the solution to question 5

    (a) Differentiate the exponential. Write with . By the chain rule,

    Since everywhere, has the sign of : positive for , zero at , negative for . So rises to a single maximum at , where the exponential is and the height is .

    Differentiating again with the product rule,

    This vanishes exactly at , is negative between them (concave, the cap of the bell) and positive outside (convex, the tails). The sign changes, so these are genuine inflection points, at height .

    (b) Set the densities equal. With ,

    Taking logarithms, , so the crossings are at

    At the narrow curve is higher ( against ), so is above between the crossings and below it outside them: the narrow bell wins in the middle and the wide bell wins in both tails.

    (c) The drawing. Both curves are symmetric about , where each has its peak: and , exactly half. By (a), has inflection points at (height ) and at (height ). Mark the crossings at , where both curves have height . The tails: at , is already invisible while is still clearly off the axis, and at both are negligible.

    Shaded areas. Under the region over has area . Under , the variable is , so the same region has area . The narrow curve's shaded area is larger, as the picture shows: it is taller over the whole of .

    Yet both total areas are . The wide curve is half as tall but twice as wide: , so substituting gives . What loses over it recovers in the tails beyond the crossing points.

  6. Show the solution to question 6

    (a) Standardise, then read left tails. For : , so

    For the endpoints standardise to and , a symmetric band, so by the symmetry identity

    Sanity check: a band should hold more than the band () and less than the band (). ✓

    (b) The inverse problem. We need with . That is below , so , and , giving . Untransform with the standard deviation, not the variance:

    (c) The difference of two independent normals. Let . By the theorem on linear combinations of independent normals, with , ,

    The variances add even though the variables are subtracted. The event “ lighter than ” is , so

    (d) Sums and averages. By the corollary on sums of an independent sample, , so — not . Then

    The average of bags has standard deviation ; setting this equal to gives , so . Quadrupling the sample halves the spread, and the spread here must be quartered.

  7. Show the solution to question 7

    (a) The rate is , so the mean is . By the theorem Poisson counts and exponential gaps, :

    The mean is hour minutes, and the standard deviation equals the mean for an exponential, so it is also minutes. Finally : the chance of waiting longer than the average wait is about , well under a half.

    (b) The median. Solve : , so hours minutes, a little under minutes.

    It lies below the mean because (a) showed : more than half of the probability sits below the mean, so the point that splits the probability in half must be to its left. This is the signature of a right-skewed distribution — most waits are short, and the long ones drag the average up without moving the median.

    (c) Memorylessness. In hours, the question is . By the theorem Memorylessness with and ,

    Ten minutes of waiting has bought nothing: the remaining wait is distributed exactly as it was on arrival.

    (d) Two more survival calculations. With and mean ,

    For the -minute window, hour and the count is Poisson with mean , so . The survival function gives , the same number — as it must be, since “no bus by time ” and “the wait exceeds ” are the same event.

  8. Show the solution to question 8

    Why survival functions suffice. , so the survival function determines the distribution function and hence, by the theorem that density and distribution determine each other, the whole distribution. Showing that a variable has survival function for therefore proves it is .

    (a) Rescaling. For and ,

    which is the survival function of . As a check on the direction, , consistent with the rule that the mean is the reciprocal of the rate: stretching the time scale by divides the rate by .

    (b) The minimum of independent exponentials. The minimum exceeds exactly when both variables do, so . By independence the probabilities multiply:

    This is the survival function of , so and . Note that this is smaller than both and : waiting for the first of two things is faster than waiting for either alone, and the rates simply add.

    (c) Constant hazard. With and ,

    The hazard is the instantaneous failure rate given survival so far: for small ,

    A constant hazard says the chance of failing in the next instant does not depend on the age already reached, which is exactly what memorylessness asserts: indeed the memoryless identity gives directly. Ageing would show up as a hazard that increases with .

    (d) Apply (b). The device's lifetime is with and , so it is . Then

    and the expected lifetime is thousand hours, about hours — shorter than the hours of the weaker component on its own.

  9. Show the solution to question 9

    (a) A chi-squared with three degrees of freedom. By definition , so and . From the computational formula for the variance,

    Expanding instead, , with three fourth-power terms and three cross terms. Independence gives for , so

    The two routes agree; the cross terms are where independence enters.

    (b) Fold the normal. For , by the symmetry identities,

    and for . Both halves of the bell are folded onto , which is why the density doubles. For the mean, the substitution is immediate:

    Since , , and so

    (c) The square of a standard normal. (about ). For the median we need , so and

    This is below : the density is unbounded at and has a long right tail, so it is strongly right-skewed and the median sits well below the mean.

    (d) The denominator of a . By linearity and the scaling of variance, with and ,

    So has mean and a standard deviation that shrinks to zero: it concentrates at . In the denominator therefore tends to and behaves like the numerator alone, which is . For finite the denominator still wobbles, and the wobble is what fattens the tails of .

  10. Show the solution to question 10

    (a) Both halves of the validity condition. and , so the rule is satisfied. The approximating normal has

    (b) Where the bar for ends. The bars up to and including end at , so with the correction

    Cutting at instead gives and .

    Against the exact , the corrected value is off by and the uncorrected one by — more than a hundred times worse. The uncorrected version has thrown away half of the bar at , whose area is about , which accounts for almost the whole of its error. Sanity check: is above the mean, so the answer must exceed . ✓

    (c) Two whole bars. The event is the pair of bars spanning , so

    against the exact . Without the correction the “interval” would have width one and would cover only half of each bar. Note that the mean sits exactly on the boundary between the two bars, so by symmetry and each is about .

    (d) The inverse problem. With , and . The event is , and standardising,

    We need this to be at least , that is . Since is strictly increasing this holds exactly when , i.e. , so the smallest is

    Including the continuity correction would only enlarge the band (to ) and so only raise the probability, so certainly suffices under either convention. The is the whole story: to halve the tolerance to at the same confidence would need , four times as many tosses.

  11. Show the solution to question 11

    (a) Argument A ignores the independence hypothesis. The definition of the -distribution requires the numerator and the chi-squared to be independent. Here is a function of , so the pair is not independent and the definition simply does not apply. The conclusion is also false, and the cleanest way to see it is that is bounded:

    because the numerator is at most the denominator. So with probability one.

    No variable is bounded. Let with and independent, and fix any . On the event we have and hence . The two events are independent, since everywhere, and since has mean and so cannot exceed with probability one. Their intersection therefore has positive probability, and for every : exceeds any bound. A variable confined to cannot be .

    The repair is to use a chi-squared built from other normals: with independent of , the variable is genuinely , because now the numerator and denominator are independent.

    (b) Argument B swaps expectation and squaring. The step is false: expectation does not commute with a non-linear function, and holds only for linear . In fact with equality only for a constant , and is plainly not constant — so the “conclusion” is the very thing that shows the step was wrong.

    Correctly, integrate by parts with and , so :

    Hence , which is the case of .

    (c) Argument C ignores independence in the definition of . The claim is correct: by the symmetry identity. The false step is “hence ”: the definition requires the standard normals being squared to be independent, and is a function of .

    In fact . By linearity, , so the quoted mean is right — the mean never needed independence. But by the scaling of variance and (b),

    not . Of the three quoted facts — the distribution, the mean and the variance — only the mean survives. (The distribution is wrong too: , and there is no reason for a variable to match that.)

  12. Show the solution to question 12

    (a) Exchange the order of integration. Since , the density vanishes on and

    The region can be described the other way round as . The integrand , so the double integral may be evaluated in either order (Tonelli's theorem), and integrating over first gives

    An alternative is integration by parts with , , , giving ; the boundary term vanishes because , the tail of a convergent integral. That is where the finite mean is used.

    (b) Two checks. For , and

    with no integration by parts required. For , on and beyond, so

    the midpoint, as the uniform formula says.

    (c) Minimum and maximum. The minimum exceeds when both do; by independence,

    so and by (a) .

    The maximum is at most when both are, so and

    This is not an exponential survival function, but (a) does not care:

    (d) The identity and its explanation. . ✓

    It had to hold because for any two numbers the smaller plus the larger is their sum: as random variables, outcome by outcome. Expectation is linear, so the expectations agree — no independence, and no exponential distribution, is needed for that step.

    The value also has a direct reading. The first of the two variables to finish arrives after , an wait of mean . At that moment the survivor has already lasted units, but by memorylessness its remaining life is a fresh with mean . So , exactly as computed.

Full solutions sheet →