A Level Further Mathematics · Chapter 47 · Further Statistics · Further Statistics 2
A continuous random variable spreads its probability along a range of values, so probabilities are areas under a density curve rather than heights.
Heights, waiting times and masses can take any value in a range, not just whole numbers. This chapter describes such variables with probability density functions, and uses integration to find probabilities, averages, spreads and percentiles.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- recognise a valid probability density function and find an unknown constant
- find probabilities by integrating the density
- find and use the cumulative distribution function
- calculate , and
- find the median, quartiles and percentiles, the mode, and comment on skewness
- obtain the density from a cumulative distribution function
Time: three sessions, about 4½ hours, plus the practice ladder and the exam workshop.
You need first: integration and differentiation of polynomials, and expectation and variance for discrete variables.
The big idea
The big idea
A continuous random variable is described by a probability density function . The density is never negative, and the total area under it is 1. Probabilities are areas:
The diagram shows a density that rises steadily across its range. Values near 3 are more likely than values near 0, because the curve is higher there. But the height itself is not a probability. Only areas are, so the chance of any exact value is zero.
From bars to curves
For a discrete variable, probabilities sit on separate bars. Imagine making the bars narrower and narrower while keeping their total area at 1. In the limit the bars merge into a smooth curve. That curve is the density, and the area under any stretch of it gives the probability of landing there.
Why single values have zero probability
A single value has no width, so the area above it is zero. This is why for a continuous variable. It also means that and are equal. Strict and non-strict inequalities give the same answers, which removes a common source of worry.
Densities measure crowding
A density is probability per unit of . Where it is high, values crowd together; where it is low, they are spread thinly. A density can exceed 1, as long as it does so only over a short range. Thinking of it as crowding, rather than as probability, avoids many mistakes.
Where these models come from
Densities are chosen to match how a quantity behaves. A waiting time that is more likely to be short might have a falling density. A measurement that clusters in the middle might have a hump-shaped one. The models in this chapter are simple polynomials, which keep the integration manageable while showing all the key ideas.
Section 1
Probability density functions
Conditions for a valid density
A function is a probability density function if for every and the total area under it is 1. The density is usually given on a range, such as , and is zero outside it. Both conditions must hold. An unknown constant is found from the area condition.
Common mistake: treating the height f(a) as the probability that X equals a. The height is a density, not a probability. For a continuous variable, , and probabilities come only from areas. A density can exceed 1, which no probability can.
Probability is area under the density
- k
- 0.1111
- Total area
- 1
- P(1 ≤ X ≤ 2)
- 0.2593
Figure 47.1 shades the area that gives a probability. The wrong model draws the height , which is not a probability at all.
Finding a constant
If on , the area is . Setting this equal to 1 gives . Always check that the resulting density is never negative on its range. A negative constant, or a density that dips below zero, means the function cannot be valid.
Probabilities by integration
To find , integrate the density from to . If the interval extends beyond the range of the density, only the part inside the range contributes. Sketching the density and shading the area first makes it clear which limits to use, and helps to catch impossible answers.
Checking an answer
A probability must lie between 0 and 1. If an integral gives a negative value or a value above 1, something has gone wrong, perhaps the limits or the constant. Comparing with a sketch is a good check: a small shaded area should give a small probability.
Piecewise densities
Some densities have different formulas on different parts of the range. To find a probability across a join, split the integral at the join and add the pieces. Each piece uses its own formula. The total area condition also needs all the pieces added together.
Sketching a density
A quick sketch shows where the density is high and low, which values are most likely, and roughly where the mean lies. It also shows whether the density is symmetric or skewed. Examination questions sometimes ask for a sketch, and a clear one earns marks on its own.
Density shape and likely values
The shape of the density tells you about the variable before any calculation. A rising density means larger values are more likely. A falling one means smaller values are more likely. A symmetric hump means values cluster around the middle. These impressions guide every later calculation.
Densities in the real world
Real quantities rarely follow a simple polynomial exactly. A model is chosen because it captures the main features, such as where values cluster and how far they spread. Simple models make calculations possible by hand. Their predictions are then compared with data to judge whether the model is good enough.
Recognising an invalid function
A function that dips below zero anywhere on its range cannot be a density, whatever its total area. A function whose total area is not one can sometimes be fixed by a constant. But a negative part cannot be fixed by scaling. Checking the sign as well as the area is essential.
Units of a density
If is measured in seconds, the density is measured in probability per second. Multiplying by a width in seconds gives a probability with no units. This explains why heights can exceed one: a density of two per second over half a second gives a probability of one.
Area as the key idea
Almost every calculation in this chapter is an area. Finding a constant makes the whole area one. A probability is part of the area. The cumulative function is the area so far. Keeping this single picture in mind ties the whole chapter together and makes new questions less daunting.
Worked example 1: finding k
The density of is for and zero otherwise. Find .
| Working | Reason |
|---|---|
| Integrate over the whole range | |
| The total area under a density is one | |
| Solve for the constant |
Probabilities that cross the range
If a question asks for a probability over an interval that runs past the end of the range, only the part inside counts. For example, with a range from 0 to 3, the probability of being above 2.5 needs an integral from 2.5 to 3 only. Beyond the range the density is zero and adds nothing.
Worked example 2: a probability
For the density in worked example 1, find .
| Working | Reason |
|---|---|
| Integrate between the two limits | |
| Substitute the limits and subtract | |
| Evaluate the probability as a decimal |
Check yourself. The density of is for . Calculate .
Show the answer
Integrating gives . Half of the probability lies in the middle unit of the range.
Section 2
The cumulative distribution function
Definition
The cumulative distribution function gives the probability that is at most :
It is 0 below the range, rises through the range, and is 1 above it. Probabilities follow from .
Common mistake: integrating the density without the lower limit, so the cumulative function does not start at zero. The integral must run from the lower end of the range, not from zero or with no limit at all. Otherwise is wrong by a constant, and it may exceed 1.
The cumulative distribution function
- f(x)
- 0.5
- F(x) = P(X ≤ x)
- 0.375
Figure 47.2 draws the density and its cumulative function together. The wrong model's curve, without the lower limit, starts above zero and ends above one.
Writing F in full
A cumulative distribution function should be given for every value of , usually in three parts: 0 below the range, the integrated formula within it, and 1 above it. Leaving out the outer parts loses marks. The three parts should join continuously, which is a useful check.
Properties of F
never decreases, because adding more of the range can only add probability. It starts at 0 and ends at 1. For a continuous variable it has no jumps. These properties make it easy to spot an incorrect : any dip, any value outside 0 to 1, or any jump means an error.
Using F for probabilities
Once is known, any probability is a subtraction, with no further integration. This makes very efficient when several probabilities are needed. It is also how the median and quartiles are found in section 4, by solving equations involving .
Variables with ranges not starting at zero
When the range starts at a value other than zero, such as , the lower limit of the integral is that value. Using 0 instead is a common slip that gives the wrong constant. Always integrate from the start of the range.
Reading F from a graph
On a graph of , the height at is the probability of being at most . The steepest part of is where the density is largest. A flat part of shows a range with no probability. Reading these features helps to connect the two functions.
F as a running total
Think of as a running total of probability, adding up as you move from left to right. At the start of the range nothing has been collected. By the end, everything has. In between, the total grows quickly where the density is high and slowly where it is low.
Comparing two values
The cumulative function makes comparisons easy. If is 0.3 and is 0.8, then half of the probability lies between and . This kind of reasoning is quick and avoids integrating again. It is especially useful when a question asks for several probabilities in turn.
The complement rule
The probability that is greater than is one minus . This complement rule saves effort when the upper part of the range is wanted. Because single values have zero probability, it does not matter whether the inequality is strict or not.
Sketching F
To sketch a cumulative function, start at zero on the left of the range and finish at one on the right. Where the density is large, draw the curve rising steeply; where it is small, draw it nearly flat. Outside the range the sketch is a horizontal line at zero or one.
Worked example 3: F for a power density
Find the cumulative distribution function of with density on .
| Working | Reason |
|---|---|
| for | Integrate from the start of the range |
| for and for | State the values outside the range |
| Evaluate at a point as a check |
Three-part definitions
Writing the cumulative function in three parts makes it complete. It shows clearly what happens below, within and above the range. Examiners often award a separate mark for the outer parts. Leaving them out suggests that the function is undefined there, which is not true.
Worked example 4: a range not starting at zero
The density of is for . Find and .
| Working | Reason |
|---|---|
| Integrate from the lower end of the range | |
| Check: and | The function must start at zero and end at one |
| Substitute the value into the formula |
Check yourself. For the density on , write down on the range.
Show the answer
Integrating from 0 gives . Checking the ends, and , as required.
Section 3
Mean, variance and E(g(X))
Expectation by integration
The mean and variance are defined like their discrete versions, with integrals replacing sums:
More generally, for any function .
Common mistake: quoting E(X²) as the variance without subtracting the square of the mean. measures the size of about zero. The variance measures spread about the mean, so the square of the mean must be subtracted.
The mean and variance of a continuous variable
- E(X)
- 2.25
- E(X²)
- 5.4
- Var(X) = E(X²) − [E(X)]²
- 0.3375
Figure 47.3 shows the mean as a balance point with a band of one standard deviation. The wrong model's band, from , is far too wide.
Derivation: the expectation of a linear function
Write the expectation of as an integral and split it into two parts.
The first integral is the mean and the second is the total area, which is one.
The same splitting, applied to the squared distance from the mean, gives .
The mean as a balance point
If the density were cut out of card, the mean is where it would balance. A density piled up on the right has its mean towards the right. For a symmetric density, the mean is at the centre. This picture helps to check whether a calculated mean is sensible.
Rules for expectation
The rules from discrete variables still hold. and . These follow from the linearity of integration. They let you find the mean and variance of a transformed variable without integrating again.
Expectations of other functions
To find or , multiply the density by the function and integrate. This is the same pattern every time. Many questions ask for first, as a step towards the variance, so it helps to set out both integrals side by side.
Standard deviation
The standard deviation is the square root of the variance, in the same units as . It gives a sense of typical distance from the mean. For many densities, most of the probability lies within two standard deviations of the mean, which is a useful rough check.
Units and scale
If is measured in metres, the mean is in metres and the variance in square metres. Doubling every value doubles the mean and multiplies the variance by four. Keeping units in mind helps to catch errors, such as forgetting to square a scaling factor.
Mean and median can differ
For a symmetric density the mean and the median coincide. For a skewed density they differ, because the mean is pulled towards the long tail while the median is not. Comparing them gives a first impression of skewness, which section 5 develops further.
Setting out expectation integrals
Write each expectation as an integral with its limits, then integrate term by term. Keep fractions exact until the end where possible. Exact working makes it easier to spot errors and to combine results such as the mean and the second moment into the variance.
Very large expectations
Some densities, especially those with long tails, can give very large or even infinite expectations. The models in this course always have finite ranges, so their expectations are finite. Still, a mean far outside the range would be a sure sign of an error, since a mean must lie within the range.
Worked example 5: mean and variance
Find and for the density on .
| Working | Reason |
|---|---|
| Integrate x times the density | |
| Integrate x squared times the density | |
| Subtract the square of the mean |
Expectation is not always intuitive
The mean of a function is not usually the function of the mean. For example, the mean of is not the square of the mean of ; the difference is exactly the variance. Only for linear functions can you apply the function to the mean directly. For anything else, integrate.
Worked example 6: a function of X
For the same density, find and .
| Working | Reason |
|---|---|
| Use the rule for a linear function | |
| The added constant does not affect spread | |
| Multiply by the square of two |
Check yourself. Calculate when has density on .
Show the answer
First find the second moment by multiplying the density by squared and integrating over the range: . A constant multiple comes straight outside the expectation, so multiplying by three gives .
Section 4
Median, quartiles and percentiles
Solving F(m) = 0.5
The median splits the probability in half, so . Similarly, the lower quartile solves , the upper quartile solves , and the th percentile solves . Each needs first, then an equation.
Common mistake: solving f(m) = 0.5 instead of F(m) = 0.5. The median is where half the area lies to the left. Setting the density equal to one half finds where the curve has a certain height, which has nothing to do with splitting the area.
Solving the equations
The equation may be linear, quadratic or cubic. For a quadratic, use the formula and choose the root inside the range. For a cubic, take a cube root or use a numerical method. Always check that the answer lies within the range of the density.
Choosing the right root
A quadratic equation often has two roots, but only one lies in the range. The other is a mathematical artefact of the formula and has no meaning. State why the rejected root is not valid, such as being negative or above the upper limit. This earns credit and shows understanding.
Percentiles in practice
Percentiles are used to set limits, such as the waiting time that 90% of customers do not exceed. They come straight from . In context, give the answer with units and a sentence explaining what it means. This connects the calculation back to the situation.
Interquartile range
The interquartile range is the upper quartile minus the lower quartile. It measures the spread of the middle half of the distribution. Unlike the standard deviation, it is not affected by extreme values in the tails, so it can be a better summary for skewed distributions.
Checking a median
After finding the median, substitute it back into . The result should be 0.5. Also check that the median lies between the quartiles and within the range. These quick checks catch most algebraic errors, especially in quadratic or cubic equations.
Medians in context
A median is often easier to explain than a mean. Saying that half of all journeys take less than 23 minutes is clear to anyone. In context, give the median with units and a sentence of explanation. This turns a calculation into useful information.
Numerical methods for medians
Sometimes the equation for the median cannot be solved exactly. Then a numerical method, such as trying values or using a calculator's equation solver, finds an answer to the required accuracy. Show a sign change around the answer to justify it, just as in numerical methods elsewhere.
Percentiles and decisions
Percentiles turn a distribution into decisions. A company might guarantee delivery within the time that 95% of parcels meet. Finding that percentile needs only the cumulative function and an equation. This is one of the most practical uses of the ideas in this chapter.
The median is not halfway along the range
The median is halfway through the probability, not halfway along the range. For a density that rises, more probability lies towards the top of the range, so the median sits above the midpoint. Only for a symmetric density does the median fall exactly in the middle of the range.
Worked example 7: a median from a cubic
Find the median of the density on .
| Working | Reason |
|---|---|
| Set the cumulative function equal to one half | |
| Multiply both sides by twenty-seven | |
| Take the cube root |
Quartiles describe spread
The quartiles split the distribution into four equal parts. Their positions show where the middle half of the values lies. If the lower quartile is much closer to the median than the upper quartile is, the upper half is more spread out, which is another sign of positive skew.
Reporting quartiles
Give each quartile to a sensible accuracy, usually three significant figures. If the context has units, include them. A short sentence, such as "a quarter of the values lie below this", helps a reader. It also shows the examiner that you understand the result.
Worked example 8: quartiles from a quadratic
For the density on , with , find the median and the upper quartile.
| Working | Reason |
|---|---|
| gives , so | Solve and keep the root in range |
| gives | Set F equal to three quarters |
| Keep the positive root in the range |
Check yourself. Using the same density, find the lower quartile.
Show the answer
Setting gives , so . The other root is negative, so it lies outside the range and is rejected.
Section 5
The mode and skewness
The mode
The mode is the value of where the density is largest. For a smooth hump, find it by differentiating and setting . But the largest value may be at an end of the range, where the derivative need not be zero. So always compare turning points with the endpoints.
Common mistake: looking only for a turning point and missing a mode at the end of the range. If the density rises all the way across its range, it has no turning point, and the mode is at the upper end. Checking the values at the endpoints catches this case.
Skewness
A density with a long tail to the right is positively skewed, and one with a long tail to the left is negatively skewed. For positive skew, typically mode < median < mean, because the tail pulls the mean towards it. For negative skew the order reverses. For a symmetric density, all three are equal.
Describing skewness
To describe skewness, compare the mean, median and mode, and say which way the tail points. Calculating all three and stating their order is a strong answer. A sketch of the density supports the description. In context, say what the skewness means, such as most waits being short with a few long ones.
The mode of a linear density
A straight-line density is either rising, falling or flat. A rising one has its mode at the upper end, a falling one at the lower end. A flat one, the uniform density, has every value equally dense, so it has no single mode. Recognising these shapes saves unnecessary differentiation.
Using the second derivative
At a turning point, a negative second derivative confirms a maximum. This is rarely needed for simple densities, where the shape is obvious from a sketch. But it is a reliable check for more complicated ones, and a question may ask you to justify that a turning point is a maximum.
Summaries of location
The mean, median and mode each summarise where the distribution is centred. The mean uses every value and is affected by the tails. The median depends only on the middle. The mode shows the most crowded value. Which is best depends on the shape and the purpose.
Skewness in data and models
The same language describes data and models. A histogram of waiting times with a long right tail is positively skewed, and a density chosen to model it should be too. Comparing the skewness of the model with that of the data is one way to check whether a model is suitable.
Choosing a measure to report
For a strongly skewed distribution, the median is usually the most representative single value. The mean can be pulled far into the tail by a few extreme values. Reports of incomes or house prices often quote medians for this reason. The context decides which summary is most useful.
Densities with two peaks
Some densities have two separate peaks, often because two different groups are mixed together. Such a density is called bimodal. Its mean may fall in a valley between the peaks, where few values actually occur. Spotting two peaks warns that a single summary may mislead.
The mode of a hump
A density shaped like a single hump, zero at both ends, has its mode at the top of the hump. Differentiating finds it directly. Because the density is zero at the ends, the endpoints cannot compete, so the turning point is the answer. Still, stating this comparison shows a complete method.
Worked example 9: a mode by differentiation
Find the mode of on .
| Working | Reason |
|---|---|
| Differentiate the density to find turning points | |
| at , with | Find the turning point and its height |
| Endpoints give , so the mode is 2 | Compare with the ends of the range |
Skewness and the shape of the density
A density that falls from left to right puts most of its probability at small values, with a thin tail stretching right. That is positive skew. A density that rises from left to right is the mirror image, with negative skew. Sketching the density usually reveals the direction straight away.
Worked example 10: comparing measures
For on , the mean is 1 and the median is 0.879. Find the mode and describe the skewness.
| Working | Reason |
|---|---|
| The density falls across the range, so the mode is 0 | A falling line is highest at the left end |
| Mode 0 < median 0.879 < mean 1 | Put the three measures in order |
| Positive skew, with a tail to the right | Interpret the order of the measures |
Check yourself. State the mode of the density on , and explain why differentiation alone fails.
Show the answer
The derivative is zero only at , where the density is smallest. The density rises all the way to the end of the range, so the mode is at , which differentiation alone would miss.
Section 6
From F back to f
Differentiating the cumulative function
Since is the integral of , the density is the derivative of :
within the range. Outside the range the density is zero. This lets you find the density when a question gives the cumulative distribution function.
Common mistake: integrating F instead of differentiating it to find f. The density is the rate at which increases. Integrating moves in the wrong direction and gives a function that is not a density at all.
Derivation: the density is the derivative of F
For a small width h, the probability of landing just above x is almost the area of a thin strip.
Dividing by h and letting h shrink to zero gives the derivative.
So the density measures how fast probability accumulates at each point.
Checking a cumulative function
A function can be a cumulative distribution function only if it rises from 0 to 1 without ever decreasing. Its derivative, the density, must therefore be non-negative everywhere. Differentiating and checking the sign is a good test of whether a given function is valid.
Probabilities from F directly
When is given, there is no need to find for probabilities, since . The density is needed only for the mode, for sketching, or for expectations. Choose the quickest route for what the question asks.
Piecewise cumulative functions
If has different formulas on different parts of the range, differentiate each part separately. The density may then be piecewise too. Check that the pieces of join continuously, because a jump in would mean a value with positive probability, which cannot happen for a continuous variable.
Recognising a density from its shape
The derivative of a quadratic is a straight-line density, and the derivative of a cubic is a quadratic density. So the degree of tells you the shape of . This helps when sketching, and it gives a quick check on the differentiation.
Linking the two functions
The density and the cumulative function carry the same information in two forms. The density shows where values crowd together. The cumulative function shows how much probability has built up. Moving between them, by integrating or differentiating, is a core skill of this chapter.
A density must integrate back to F
After finding from , a good check is to integrate from the start of the range and confirm that it gives back. This catches slips in differentiation, such as a lost constant. It also confirms that the total area is one.
When a question gives F
Questions often give the cumulative function because it makes probabilities immediate. Read carefully what is asked. A probability needs only subtraction. A mean needs the density first, then an integral. A median needs only an equation in . Choosing the shortest route saves time in the examination.
Moving between the two forms
Integrating a density gives the cumulative function, and differentiating the cumulative function gives the density back. The two operations undo each other. Becoming fluent in both directions means you can start from whichever form a question provides and reach any quantity that is asked for.
Worked example 11: f from F
The cumulative distribution function of is for . Find the density.
| Working | Reason |
|---|---|
| Differentiate the cumulative function | |
| for | Simplify the fraction to its lowest terms |
| otherwise | The density is zero outside the range |
Which form to use
Some calculations are easier with the density and others with the cumulative function. Probabilities and percentiles come quickly from . Means, variances and modes need . Knowing which form suits each task, and moving between them confidently, is the main skill this section builds.
Worked example 12: a probability from F
With for , find the density and .
| Working | Reason |
|---|---|
| on | Differentiate within the range |
| Subtract the cumulative values | |
| Evaluate the probability as a decimal |
Check yourself. Using on , find the median.
Show the answer
Solving gives , so . The negative root lies outside the range and is rejected.
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| , | A valid density | Finding constants | No, learn it |
| Probability is area | Probabilities | No, learn it | |
| , | Cumulative function | Probabilities and medians | No, learn it |
| The mean | Location | Yes | |
| The variance | Spread | Yes | |
| The median | Location | No, learn it |
Reasoning
Proof workshop: the variance formula for a continuous variable
The claim
For a continuous random variable with density and mean ,
Strategy
Start from the definition of variance as the expected squared distance from the mean. Expand the square into three terms. Then split the integral into three integrals, and recognise each one as a known quantity: the second moment, the mean, and the total area.
The key insight is that integration is linear, so constants come outside and sums split apart. Each piece then matches a definition already met in this chapter.
The proof
Expanding the square and splitting the integral,
The three integrals are , and 1. So the expression equals
Checking every step
The expansion is ordinary algebra. Taking outside the integrals is allowed because it is a constant. The last integral is 1 because is a density, and the middle one is the mean by definition.
A numerical check uses the density on , with and . The formula gives , matching worked example 5.
The proof is the same as for discrete variables, with integrals in place of sums. This shows that the two kinds of variable share the same structure. Every expectation rule carries over in the same way.
The second form is almost always easier to use. Expanding the square inside the integral first would give three separate integrals every time. Finding the two moments once and combining them is quicker and less prone to slips, which is why examination questions use it.
Your turn
Use the formula to find the variance of the density on .
Show a model proof
Here and . So the variance is .
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. A density is for . Find .
Worked solution to Q1
The total area must be one, so integrate over the whole range: . Setting gives , so the density is .
Q2. Using the density in Q1, calculate .
Worked solution to Q2
Integrate the density from 1 to the end of the range: . So three quarters of the probability lies above 1.
Q3. Write down for the density in Q1 and evaluate .
Worked solution to Q3
Integrating from the start of the range gives on . At 1.5 this is , the probability of being at most 1.5.
Rung 2: Application
Q4. Obtain the mean of for the Q1 density.
Worked solution to Q4
Multiply the density by and integrate over the range: . The mean lies above 1 because the density rises towards 2.
Q5. Calculate for the Q1 density.
Worked solution to Q5
First find the second moment by integrating squared times the density, . Then subtract the square of the mean from Q4, giving , which is positive as a variance must be.
Q6. Work out the median of the density in Q1.
Worked solution to Q6
Set the cumulative function equal to one half: , so . The root inside the range is .
Rung 3: Analysis
Q7. For the density in Q1, evaluate .
Worked solution to Q7
Use the rule for a linear function of a random variable, with the mean from Q4. This gives , without any further integration.
Q8. Suppose has density for , with . Show that the upper quartile is 1.5.
Worked solution to Q8
Substitute 1.5 into the cumulative function to check it: . Since equals three quarters there, 1.5 is the upper quartile.
Q9. Deduce the mode of on without differentiating.
Worked solution to Q9
The density is a symmetric hump that is zero at both ends of the range. A symmetric hump peaks at its centre, so the mode is at the midpoint, .
Rung 4: Stretch
Q10. Find the density whose cumulative distribution function is for .
Worked solution to Q10
Differentiate the cumulative function within its range: for . Outside that range the density is zero.
Q11. Compute the lower quartile of the density on .
Worked solution to Q11
A quarter of the probability lies below the lower quartile, so set the cumulative function equal to one quarter: , so . Taking the cube root gives , which lies inside the range as it should.
Q12. For the same density, calculate .
Worked solution to Q12
Multiply the density by cubed and integrate over the range: . The same method gives any power of .
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to setting up the right integral or equation: the total area, the probability, , or . A1 marks go to correct values and expressions. B1 marks go to stating outside the range, rejecting invalid roots, and describing skewness.
Write the limits on every integral. When solving for a median or quartile, show the equation and justify the root you choose.
Exam question 1 (8 marks · Paper 4 · about 11 minutes)
Suppose that is the density of for and zero otherwise. Find , , and . (8)
Mark scheme for exam question 1
Sets total area equal to 1 M1
A1
Integrates from 1 to 2 M1
A1
M1
A1
Uses M1
A1
Exam question 2 (6 marks · Paper 4 · about 8 minutes)
Let have density for . Find the cumulative distribution function of in full, and hence find the median. (6)
Mark scheme for exam question 2
Integrates from 0 to M1
on A1
below 0 and above 2 B1
Sets M1
M1
A1
Exam question 3 (6 marks · Paper 4 · about 8 minutes)
Given that has density for , show that . (6)
Mark scheme for exam question 3
M1
A1
M1
A1
M1
A1
Exam question 4 (6 marks · Paper 4 · about 8 minutes)
The cumulative distribution function of is for . Find the density of , and the median. (6)
Mark scheme for exam question 4
Differentiates M1
on A1
M1
A1
M1
A1
Exam question 5 (6 marks · Paper 4 · about 8 minutes)
A waiting time has density for . Find the mean and the median, state the mode, and describe the skewness. (6)
Mark scheme for exam question 5
M1
A1
Solves M1
A1
Mode 0 B1
Mode < median < mean, so positive skew B1
Exam question 6 (5 marks · Paper 4 · about 7 minutes)
When has density for , its moments are and . Find and , and find . (5)
Mark scheme for exam question 6
M1
A1
B1
M1
A1
Exam question 7 (6 marks · Paper 4 · about 8 minutes)
The function is the density of for . Find the mode, explain why the mean and median equal it, and find . (6)
Mark scheme for exam question 7
Sets M1
Mode 2 A1
The density is symmetric about 2 B1
So mean = median = 2 B1
M1
A1
Exam question 8 (6 marks · Paper 4 · about 8 minutes)
Prove that for a density with mean , and use it to find the variance of the density on . (6)
Mark scheme for exam question 8
Expands M1
Splits into three integrals M1
Identifies , and 1 A1
Simplifies to A1
and M1
A1
Annotated model answer: exam question 2
Integrating from the start of the range, . M1. This gives for . A1. Below the range , and above it . B1.
For the median, set . M1. Then , so . M1. The formula gives , and only lies in the range. A1.
Annotated model answer: exam question 5
The mean is . M1. This equals . A1. For the median, solve . M1. So and . A1.
The density falls across its range, so it is highest at 0 and the mode is 0. B1. Since mode < median < mean, the distribution has positive skew, with a long tail to the right. B1.
Connections
Synoptic link
Discrete random variables introduced expectation and variance, which this chapter extends from sums to integrals. Probability generating functions dealt with discrete distributions in a compact form.
Combinations of normal random variables uses the most important continuous distribution of all. Estimation, confidence intervals and normal tests relies on continuous distributions to describe sample means.
Synoptic question 1. For a discrete variable, can be positive. Explain why it is always zero for a continuous variable.
Answer to synoptic question 1
A continuous variable's probability is the area under its density. The area above a single point has no width, so it is zero. That is why a continuous variable gives every exact value probability zero.
Recap
Recap and next step
- A density is non-negative with total area 1, and probabilities are areas under it.
- is found by integrating from the start of the range, and .
- and .
- The median and quartiles solve , and .
- The mode is the largest value of ; check endpoints as well as turning points.
- Comparing mode, median and mean shows the direction of skewness.
Next chapter: Correlation, which measures the strength of a linear relationship and tests whether it is significant.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Further Statistics 2 section 2: continuous random variables, probability density functions and cumulative distribution functions, the mean, variance, median, quartiles, percentiles and mode, expectation of functions of a continuous random variable, and skewness. It is assessed on Paper 4B, Further Statistics 2. Similar content appears in AQA (7367) and OCR (H245) statistics options.