Lesson 3: Cumulative distribution functions and the median

Find the cdf and median of p(x)=x8p(x) = \frac{x}{8}

SkillCumulative distribution functions

Worked example

  • Complex familiar
  • Technology free

XX has pdf p(x)=x8p(x) = \frac{x}{8} for 0≤x≤40 \le x \le 4, and p(x)=0p(x) = 0 elsewhere.

(a) Find the cumulative distribution function F(x)F(x).

(b) Use FF to find P(1<X≤3)P(1 < X \le 3).

(c) Find the exact median of XX.

1 of 5 steps
  1. Step 1: Integrate from the left end of the support

    For 0≤x≤40 \le x \le 4:

    F(x)=∫0xt8 dt=[t216]0x=x216F(x) = \int_0^x \frac{t}{8}\,dt = \left[\frac{t^2}{16}\right]_0^x = \frac{x^2}{16}

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. F(x)=∫axp(t) dtF(x) = \int_a^x p(t)\,dt from the left end aa of the support.

  2. Write all three pieces and check F=0F = 0 and 11 at the ends.

  3. Probabilities: F(b)−F(a)F(b) - F(a). Median: solve F(m)=0.5F(m) = 0.5 inside the support.

Watch out for

  • Giving the median as 2, the middle of the interval: that only works for a symmetric density.

  • Keeping the negative square root.

Save your progress with a free account