Skip to content
Official PYQ · 2017

GATE CS 2017 Set 1 Q19 — Probability: Random Variables and Distributions

Explain with AI
Let XX be a Gaussian random variable with mean 0 and variance σ2\sigma ^{2}. Let YY = max⁡(X,0)\max\left ( X,0 \right ) where max⁡(a,b)\max\left ( a,b \right ) is the maximum of aa and bb. The median of YY is ______________ .
View worked solution

Answer: 0

We are given that XX is a Gaussian (normal) random variable with mean μ=0\mu = 0 and variance σ2\sigma^2. Since the normal distribution is symmetric about its mean:

P(X≤0)=0.5andP(X≥0)=0.5P(X \le 0) = 0.5 \quad \text{and} \quad P(X \ge 0) = 0.5

The random variable YY is defined as Y=max⁡(X,0)Y = \max(X, 0). Let us find the cumulative distribution function (CDF) of YY, denoted as FY(y)=P(Y≤y)F_Y(y) = P(Y \le y):

  • For y<0y < 0, since YY is always non-negative (max⁡(X,0)≥0\max(X, 0) \ge 0), we have FY(y)=0F_Y(y) = 0.
  • For y≥0y \ge 0, Y≤y  ⟺  max⁡(X,0)≤y  ⟺  X≤yY \le y \iff \max(X, 0) \le y \iff X \le y. Thus, FY(y)=P(X≤y)F_Y(y) = P(X \le y).

By definition, a median mm of a random variable YY is any value that satisfies:

P(Y≤m)≥0.5andP(Y≥m)≥0.5P(Y \le m) \ge 0.5 \quad \text{and} \quad P(Y \ge m) \ge 0.5

Let's evaluate these probabilities for m=0m = 0:

  1. First condition: P(Y≤0)=P(X≤0)=0.5≥0.5P(Y \le 0) = P(X \le 0) = 0.5 \ge 0.5.
  2. Second condition: Since Y=max⁡(X,0)Y = \max(X, 0), YY is never negative. Thus, P(Y≥0)=1≥0.5P(Y \ge 0) = 1 \ge 0.5.

Since m=0m = 0 satisfies both conditions, the median of YY is 0.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions