Lesson 2: Probability density functions

Find kk for p(x)=kx(4−x)p(x) = kx(4 - x) and use it

SkillsValid probability density functionsProbabilities as integrals

Worked example

  • Simple familiar
  • Technology free

A continuous random variable XX has probability density function

p(x)={kx(4−x),0≤x≤40,elsewhere.p(x) = \begin{cases} kx(4 - x), & 0 \le x \le 4 \\ 0, & \text{elsewhere.} \end{cases}

(a) Find the value of kk.

(b) Find P(X<1)P(X < 1).

1 of 4 steps
  1. Step 1: Set the total area equal to 1

    ∫04kx(4−x) dx=1\int_0^4 kx(4 - x)\,dx = 1

Try a similar one

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

Method

  1. Write ∫p(x) dx=1\int p(x)\,dx = 1 over the support.

  2. Antidifferentiate, substitute the limits, solve for kk.

  3. Check p(x)≥0p(x) \ge 0 on the support.

  4. Integrate p(x)p(x) over the required interval for each probability.

Watch out for

  • Integrating kk as if it were a variable: it is a constant factor and comes outside.

  • Leaving out the check that p(x)≥0p(x) \ge 0 in a "show that" question.

Save your progress with a free account