Question
A uniformly distributed random variable X with probability density function
where u(.) is the unit step function, is passed through a transformation given in the figure below. The probability density function of the transformed random variable Y would be...
(a) fY(y) = (1/5)(u(y+2.5) − u(y−2.5))
(b) fY(y) = 0.5δ(y) + 0.5δ(y−1)
(c) fY(y) = 0.25δ(y+2.5) + 0.25δ(y−2.5) + 0.5δ(y)
(d) fY(y) = 0.25δ(y+2.5) + 0.25δ(y−2.5)
Correct Answer
The transformation maps X to Y such that:
- If X ∈ [-2.5, 2.5], then Y = 1
- If X < −2.5 or X > 2.5, then Y = 0
Since X is uniform on [-5, 5], the probability that X is inside [-2.5, 2.5] is:
P(Y=0) = 0.5
Thus the PDF of Y is:
* This corresponds to option (b)
