Practice Problem: normalizing the probability mass function of a continuous random variable


A random variable X has the following probability density function:

$ f_X (x) = \left\{ \begin{array}{ll} k+\frac{1}{10}x, & \text{ if } 0\leq x \leq 2,\\ 0, & \text{ else}, \end{array} \right. $

where k is a constant. Compute $ P(1\leq X \leq 2) $.


Share your answers below

You will receive feedback from your instructor and TA directly on this page. Other students are welcome to comment/discuss/point out mistakes/ask questions too!


Answer 1

To compute the probability $ P(1\leq X \leq 2) $, we can integrate the probability density function over the interval as such:

$ \int_1^2 \! f_X(x) \, \mathrm{d}x. $

Plugging in $ f_X(x) $, we get:

$ \int_1^2 \! k+\frac{1}{10}x \, \mathrm{d}x. $

Solving the integral we obtain:

$ k+\frac{3}{20} $

If we wanted to solve for the constant k, we could setup another integral over the entire function and set it equal to 1 like so:

$ \int_0^2 \! k+\frac{1}{10}x \, \mathrm{d}x. = 1 $

Computing the integral gives us:

$ 2k + \frac{4}{20} = 1 $

And solving for k:

$ k = \frac{2}{5} $

Plugging in k into our previous result we get a probability of:

$ \frac{2}{5} + \frac{3}{20} = \frac{11}{20} = 55% $

Instructor's comment: Can anybody propose a more "compact" solution? -pm

Answer 2

Write it here

Answer 3

Write it here.


Back to ECE302 Spring 2013 Prof. Boutin

Back to ECE302

Alumni Liaison

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch