Exercise 1: Is it a density? Two conditions, and a height of 3 that is allowed
A function is a probability density function of a random variable when for every AND . Then : a probability is an AREA under the graph of . Nothing in the definition bounds the HEIGHT of .
Each function below is outside the interval where it is given. The figure shows the first one.
- a) on . Show that is a density even though , then compute and .
- b) on . Compute . Is a density?
- c) on . Show that is a density, writing the improper integral as a limit, and compute .
- d) on . Explain why no constant makes a density.
- e) A student writes: since in part a), cannot be a density, because a probability never exceeds . Correct the reasoning and say what the number does mean.
Show the solution
Answers
- a) and : a density. , .
- b) , but on : NOT a density.
- c) : a density. .
- d) : the area is infinite for , negative or zero otherwise.
- e) is a probability PER UNIT LENGTH: , and .
a) Two conditions, checked one at a time. Sign: on and elsewhere, so everywhere. Area: . Both hold, so is a density, and the value plays no role in either condition. Then , the shaded area of the figure, and . Half of the interval carries only one eighth of the probability: the mass sits near , where the curve is high. That is how the height of matters: it says WHERE the probability is concentrated, not how large a probability is.
b) . The area condition holds, and it is a trap: the integral is a SIGNED area, and the negative part over has been cancelled by extra positive area on the right. Since for , the sign condition fails and is NOT a density. Used as one, it would give , a negative probability. Checking only that the total is is the classic half-answer, and it costs the whole question.
c) Sign: for , so there. Area: the interval is infinite, so the integral is improper and is written as a limit. An antiderivative of is ; check by differentiating: . So , which tends to as . is a density. Then . Writing with plugged in as a number is what markers penalize: the limit is the definition, and it must appear.
d) The sign condition forces , and gives area , not . For : as . The area under on is INFINITE, and no positive multiple of an infinite area equals . Normalizing means dividing by the total area, which is only possible when that area is finite and non-zero. Compare with part c): decreases fast enough for the area to converge, does not.
e) The student confuses a height with an area. The value is a probability per unit length, like a density in kilograms per metre: only its product with a length, and in general its integral, is a probability. For a short interval, . With this is about , and the exact value is . As the probability tends to : , whatever the height is. So heights can be any non-negative number, including or ; what can never exceed is an area.