Ripetizioni di Analisi
EN

Worked examples · Sheet 1

Normalizing probability densities

Theory used:Density of a random variable

Go to: Exercise 1Exercise 2

Exercise 1

Let for , with elsewhere. Determine and calculate .

x f_X 1231 O
The shaded triangle has base and height , so its area is .

A density must be nonnegative and have total area one. The function is zero outside , so its integral over the real line reduces to the integral from to . An antiderivative of is . At it equals , and at it equals , so the integral is and the normalization condition becomes .

Since is positive between and , the positive value also satisfies the sign condition. By the definition of a density, integrate only over the final segment, from to , to find the required probability. The antiderivative at is , so the difference between the endpoint values is and the probability is .

Over this segment the graph bounds a triangle with base and height , so the area formula confirms the value . The final segment covers half the length of the support but only a quarter of the probability because the density decreases along the interval.

Exercise 2

The function equals on , on and zero elsewhere. Determine and calculate .

To normalize the function, add two integrals because its expression changes at . The constant segment has length and contributes . On the increasing segment, an antiderivative of is . It equals at and at , so the contribution is . The condition gives .

The resulting value is positive, so both pieces are nonnegative and is a density. The requested interval also crosses , so split the probability into two integrals. The first contribution comes from the constant piece, with width and height , giving . The second comes from the increasing piece. The antiderivative equals at and at . Multiplying the difference by gives .

The events on the two segments are disjoint apart from a single endpoint of probability zero. Add the results to obtain the required probability .

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents