GateAI
Probability and Statistics

GATE CSE 2017 Set 1 · Q19

NAT1 markMedium

Time

Let XX be a Gaussian random variable with mean 00 and variance σ2\sigma^2. Let Y=max⁡(X,0)Y = \max(X, 0) where max⁡(a,b)\max(a,b) is the maximum of aa and bb. The median of YY is ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 0 (±0)

Probability and Statistics

Since X∼N(0,σ2)X \sim \mathcal{N}(0, \sigma^2) is symmetric about 00:

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

Now consider the transformed random variable Y=max⁡(X,0)Y = \max(X, 0):

  • For X≤0X \le 0, Y=0Y = 0.

  • For X>0X > 0, Y=X>0Y = X > 0.

The cumulative distribution function (CDF) of YY, FY(y)=P(Y≤y)F_Y(y) = P(Y \le y), satisfies:

  • For $y < 0$: $F_Y(y) = 0$

  • For y=0y = 0: FY(0)=P(Y≤0)=P(X≤0)=0.5F_Y(0) = P(Y \le 0) = P(X \le 0) = 0.5

  • For y>0y > 0: FY(y)=P(X≤y)>0.5F_Y(y) = P(X \le y) > 0.5

By definition, a median mm of YY must satisfy P(Y≤m)≥0.5P(Y \le m) \ge 0.5 and P(Y≥m)≥0.5P(Y \ge m) \ge 0.5.

At m=0m = 0:

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

Thus, the median of YY is 0.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Probability and Statistics previous year question is Q19 of the GATE CSE 2017 Set 1 paper. Find more GATE CSE PYQs on Probability and Statistics in Engineering Mathematics, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Probability and Statistics PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Probability and Statistics in GATE CSE

Probability and Statistics has 46 GATE CSE PYQs across 23 papers from 2011 to 2026. 11 of them are 1-mark NAT questions like this one, and it is the only one in GATE CSE 2017 Set 1.

How GATE tests Probability and Statistics

More from GATE CSE 2017 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2017 Set 1 · Q19 · NAT

Let X be a Gaussian random variable with mean 0 and variance 2. Let Y = max(X, 0) where max(a,b) is the maximum of a and b. The median of Y is …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.