Post · 7 min read· pp. 275–281

4.4 End of Chapter Problems


Video Available Video Available

Problem

Choose a real number uniformly at random in the interval [2,6][2,6] and call it XX.

  1. Find the CDF of X, FX(x)F_X (x).
  2. Find EXEX.

Problem

Let XX be a continuous random variable with the following PDF \begin{equation} \nonumber f_X(x) = \left{ \begin{array}{l l} ce^{-4x} & \quad x \geq 0 \ 0 & \quad otherwise \end{array} \right. \end{equation} where cc is a positive constant.

  1. Find c.
  2. Find the CDF of X, FX(x)F_X(x).
  3. Find P(2<X<5)P(2 < X < 5).
  4. Find EXEX.

Problem

Let XX be a continuous random variable with PDF \begin{equation} \nonumber f_X(x) = \left{ \begin{array}{l l} x^{2} + \frac{2}{3} & \quad 0 \leq x \leq 1 \ 0 & \quad otherwise \end{array} \right. \end{equation}

  1. Find E(Xn)E(X^{n}), for n=1,2,3,⋯n=1,2,3,\cdots.
  2. Find the variance of XX.

Problem

Let XX be a uniform(0,1)uniform(0,1) random variable, and let Y=e−XY = e^{-X}.

  1. Find the CDF of YY.
  2. Find the PDF of YY.
  3. Find EYEY.

Problem

Let XX be a continuous random variable with PDF \begin{equation} \nonumber f_X(x) = \left{ \begin{array}{l l} \frac{5}{32}x^{4} & \quad 0 < x \leq 2 \ 0 & \quad otherwise \end{array} \right. \end{equation} and let Y=X2Y = X^{2}.

  1. Find the CDF of YY.
  2. Find the PDF of YY.
  3. Find EYEY.

Problem

Let X∼Exponential(λ)X \sim Exponential (\lambda), and Y=aXY=a X, where aa is a positive real number. Show that

Y∼Exponential(λa).Y \sim Exponential\left(\frac{\lambda}{a}\right).


Problem

Let X∼Exponential(λ)X \sim Exponential (\lambda). Show that

  1. EXn=nλEXn−1EX^n=\frac{n}{\lambda} EX^{n-1}, for n=1,2,3,⋯n=1,2,3,\cdots;
  2. EXn=n!λnEX^n=\frac{n!}{\lambda^{\large{n}}}, for n=1,2,3,⋯n=1,2,3,\cdots.

Problem

Let X∼N(3,9)X \sim N(3,9).

  1. Find P(X>0)P(X > 0).
  2. Find P(−3<X<8)P(-3 < X < 8).
  3. Find P(X>5∣X>3)P(X > 5|X > 3).

Problem

Let X∼N(3,9)X \sim N(3,9) and Y=5−XY = 5 - X.

  1. Find P(X>2)P(X > 2).
  2. Find P(−1<Y<3)P(-1 < Y < 3).
  3. Find P(X>4∣Y<2)P(X > 4|Y < 2).

Problem Let XX be a continuous random variable with PDF \begin{equation} \nonumber f_X(x) = \frac{1}{\sqrt{2\pi}}e^{-\frac{x^{2}}{2}} \hspace{20pt} \textrm{for all }x \in \mathbb{R}. \end{equation} and let Y=∣X∣Y = \sqrt{|X|}. Find fY(y)f_Y(y).


Problem

Let X∼Exponential(2)X \sim Exponential(2) and $ Y = 2 + 3X$.

  1. Find P(X>2)P(X > 2).
  2. Find EYEY and Var(Y)Var(Y).
  3. Find P(X>2∣Y<11)P(X > 2|Y < 11).

Problem

The median of a continuous random variable XX can be defined as the unique real number m that satisfies \begin{equation} P(X \geq m) = P(X < m) = \frac{1}{2}. \end{equation} Find the median of the following random variables

  1. X∼Uniform(a,b)X \sim Uniform(a,b).
  2. Y∼Exponential(λ)Y \sim Exponential(\lambda).
  3. W∼N(μ,σ2)W \sim N(\mu,\sigma^2).

Problem

Let XX be a random variable with the following CDF \begin{equation} \nonumber F_X(x) = \left{ \begin{array}{l l} 0 & \quad \textrm{for}: x < 0 \ x & \quad \textrm{for}: 0 \leq x < \frac{1}{4} \ x + \frac{1}{2} & \quad \textrm{for}: \frac{1}{4} \leq x < \frac{1}{2} \ 1 & \quad \textrm{for}: x \geq \frac{1}{2} \end{array} \right. \end{equation}

  1. Plot FX(x)F_X(x) and explain why XX is a mixed random variable.
  2. Find P(X≤13)P(X \leq \frac{1}{3}).
  3. Find P(X≥14)P(X \geq \frac{1}{4}).
  4. Write CDF of XX in the form of \begin{equation} \nonumber F_X(x) = C(x) + D(x), \end{equation}

where C(x)C(x) is a continuous function and D(x)D(x) is in the form of a staircase function, i.e., \begin{equation} \nonumber D(x)=\sum_k a_ku(x - x_k). \end{equation}5. Find c(x)=ddxC(x)c(x) = \frac{d}{dx}C(x). 6. Find EXEX using EX=∫−∞∞xc(x)dx+∑kxkakEX = \int_{-\infty}^{\infty} xc(x)dx + \sum_k x_k a_k


Problem

Let XX be a random variable with the following CDF \begin{equation} \nonumber F_X(x) = \left{ \begin{array}{l l} 0 & \quad \textrm{for}: x < 0 \ x & \quad \textrm{for}: 0 \leq x < \frac{1}{4} \ x + \frac{1}{2} & \quad \textrm{for}: \frac{1}{4} \leq x < \frac{1}{2} \ 1 & \quad \textrm{for}: x \geq \frac{1}{2} \end{array} \right. \end{equation}

  1. Find the generalized PDF of X,fX(x)X, f_X(x).
  2. Find EXEX using fX(x)f_X(x).
  3. Find Var(X)Var(X) using fX(x)f_X(x).

Problem

Let XX be a mixed random variable with the following generalized PDF \begin{equation} \nonumber f_X(x) = \frac{1}{3}\delta(x + 2) + \frac{1}{6}\delta(x - 1) + \frac{1}{2}\frac{1}{\sqrt{2\pi}}e^{-\frac{x^2}{2}}. \end{equation}

  1. Find P(X=1)P(X = 1) and P(X=−2)P(X = -2).
  2. Find P(X≥1)P(X \geq 1).
  3. Find P(X=1∣X≥1)P(X = 1|X \geq 1).
  4. Find EXEX and Var(X)Var(X).

Problem

A company makes a certain device. We are interested in the lifetime of the device. It is estimated that around 2% of the devices are defective from the start so they have a lifetime of 0 years. If a device is not defective, then the lifetime of the device is exponentially distributed with a parameter λ=2\lambda = 2 years. Let X be the lifetime of a randomly chosen device.

  1. Find the generalized PDF of XX.
  2. Find P(X≥1)P(X \geq 1).
  3. Find P(X>2∣X≥1)P(X > 2|X \geq 1).
  4. Find EXEX and Var(X)Var(X).

Problem

A continuous random variable is said to have a Laplace(μ,b)Laplace(\mu,b) distribution [14] if its PDF is given by \begin{equation} \nonumber f_X(x) = \frac{1}{2b} \exp \left( -\frac{|x - \mu|}{b}\right)\ \nonumber = \left{\begin{array}{l l} \frac{1}{2b} \exp \left( \frac{x-\mu}{b} \right) & \quad \textrm{if }: x < \mu\ \frac{1}{2b} \exp \left( -\frac{x-\mu}{b} \right) & \quad \textrm{if }: x \geq \mu \end{array}\right. \end{equation} where μ∈R\mu \in \mathbb{R} and b>0b > 0.

  1. If X∼Laplace(0,1)X \sim Laplace(0,1), find EXEX and Var(X)Var(X).
  2. If X∼Laplace(0,1)X \sim Laplace(0,1) and Y=bX+μY = bX + \mu, show that Y∼Laplace(μ,b)Y \sim Laplace(\mu,b).
  3. Let Y∼Laplace(μ,b)Y \sim Laplace(\mu,b), where μ∈R\mu \in \mathbb{R} and b>0b > 0. Find EYEY and Var(Y)Var(Y).

Problem

Let X∼Laplace(0,b)X \sim Laplace(0,b), i.e., \begin{equation} \nonumber f_X(x) = \frac{1}{2b} \exp \left( -\frac{|x|}{b} \right), \end{equation} where b>0b > 0. Define Y=∣X∣Y = |X|. Show that Y∼Exponential(1b)Y \sim Exponential \left( \frac{1}{b} \right).


Problem

A continuous random variable is said to have the standard Cauchy distribution if its PDF is given by \begin{equation} \nonumber f_X(x) = \frac{1}{\pi(1 + x^2)}. \end{equation} If XX has a standard Cauchy distribution, show that EXEX is not well-defined. Also, show EX2=∞EX^2 = \infty.


Problem

A continuous random variable is said to have a Rayleigh distribution with parameter σ\sigma if its PDF is given by \begin{equation} \nonumber f_X(x) = \frac{x}{\sigma^2} e^{-x^2/2\sigma^2} u(x)\ \nonumber = \left{\begin{array}{l l} \frac{x}{\sigma^2} e^{-x^2/2\sigma^2} & \quad \textrm{if}: x \geq 0\ 0 & \quad \textrm{if } x < 0 \end{array}\right. \end{equation} where σ>0\sigma > 0.

  1. If X∼Rayleigh(σ)X \sim Rayleigh(\sigma), find EXEX.
  2. If X∼Rayleigh(σ)X \sim Rayleigh(\sigma), find the CDF of X,FX(x)X, F_X(x).
  3. If X∼Exponential(1)X \sim Exponential(1) and Y=2σ2XY = \sqrt{2\sigma^2X}, show that Y∼Rayleigh(σ)Y \sim Rayleigh(\sigma).

Problem

A continuous random variable is said to have a Pareto(xm,α)Pareto(x_m,\alpha) distribution [15] if its PDF is given by \begin{equation} \nonumber f_X(x) = \left{ \begin{array}{l l} \alpha \frac{x_m^{\alpha}}{x^{\alpha+1}} & \quad \textrm{for}: x \geq x_m \ 0 & \quad \textrm{for}: x < x_m \end{array} \right. \end{equation} where xm,α>0x_m, \alpha > 0. Let X∼Pareto(xm,α)X \sim Pareto(x_m,\alpha).

  1. Find the CDF of XX, FX(x)F_X(x).
  2. Find P(X>3xm∣X>2xm)P(X > 3x_m|X > 2x_m).
  3. If α>2\alpha > 2, find EXEX and Var(X)Var(X).

Problem

Let Z∼N(0,1)Z \sim N(0,1). If we define X=eσZ+μX = e^{\sigma Z+\mu}, then we say that XX has a log-normal distribution with parameters μ\mu and σ\sigma, and we write X∼LogNormal(μ,σ)X \sim LogNormal(\mu,\sigma).

  1. If X∼LogNormal(μ,σ)X \sim LogNormal(\mu,\sigma), find the CDF of XX in terms of the Φ\Phi function.
  2. Find EXEX and Var(X)Var(X).

Problem

Let X1X_1, X2X_2, ⋯\cdots, XnX_n be independent random variables with Xi∼Exponential(λ)X_i \sim Exponential(\lambda). Define \begin{equation} \nonumber Y = X_1 + X_2 + \cdots + X_n. \end{equation} As we will see later, YY has a Gamma distribution with parameters nn and λ\lambda, i.e., Y∼Gamma(n,λ)Y \sim Gamma(n,\lambda). Using this, show that if Y∼Gamma(n,λ)Y \sim Gamma(n,\lambda), then EY=nλEY = \frac{n}{\lambda} and Var(Y)=nλ2Var(Y) = \frac{n}{\lambda^2}.