GATE EE 2015 · Random Variables (Overview)

NAT · 1 mark · Problem EM-RVAR-0073

A random variable X has probability density function f(x) as given below:\[f(x)=\left\{\begin{matrix} a+bx & for \; 0 \lt x \lt 1\\ 0& otherwise \end{matrix}\right.\]If the expected value E[X]=2/3, then \(Pr[X \lt 0.5]\) is .

Numerical answer (NAT).

Solve it on GATE DA practice →More Random Variables problems

Show the worked solution\[\begin{aligned} f(x)&=\left\{\begin{matrix} a+bx & \text{for }0 \lt x \lt 1\\ 0 & \text{otherwise} \end{matrix}\right.&\\ \text{Now given }E(X)&=2/3\\ \int_{0}^{1}xf(x)dx&=\frac{2}{3}\\ \int_{0}^{1}x(a+bx)dx&=\frac{2}{3}\\ a\left ( \frac{x^2}{2} \right )_0^1+b\left ( \frac{x^3}{3} \right )_0^1&=\frac{2}{3}\\ a\left ( \frac{1}{2} \right )+b\left ( \frac{1}{3} \right )&=\frac{2}{3}\\ 3a+2b&=4\;\;...(i)\\ \text{Now, }\int_{0}^{1}f(x)dx &=1\\ (\text{total probability} & \text{ is always equal to 1})\\ \int_{0}^{1}(a+bx)dx&=\left ( ax+\frac{bx^2}{2} \right )_0^1=1\\ a+\frac{b}{2}&=1\\ 2a+b&=2\;\;...(ii)\\ \text{Now solving } & \text{ (i) and (ii), we get}\\ a&=0,b=2\\ So,\; \;f(x)&=\left\{\begin{matrix} 2x & \text{for }0 \lt x lt 1\\ 0 & \text{otherwise} \end{matrix}\right.&\\ \text{Now we need}&\\ P(x \lt 0.5)&=\int_{0}^{0.5}2xdx=2\left ( \frac{x^2}{2} \right )_0^{0.5}\\ &=0.5^2-0^2=0.25 \end{aligned}\]

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com