All Exams Test series for 1 year @ ₹349 only
Question

Let X be a continuous random variable having PDF f(x) = 1/8; -3 < x < 5. The median of the distribution of X is:

This question was previously asked in
SSC CGL 2019 (Tier 2) GS Finance & Economics Previous Year Paper (17-Nov-2020)
The correct answer is

1

Finding the Median of a Continuous Random Variable

The question asks us to find the median of a continuous random variable X with a given probability density function (PDF).

The PDF is given as $f(x) = \frac{1}{8}$ for $-3 < x < 5$. This means the random variable X is uniformly distributed over the interval $(-3, 5)$. For values of x outside this interval, the PDF is zero.

Understanding the Median

For a continuous random variable, the median is the value 'm' such that the probability of the variable being less than or equal to 'm' is 0.5. Mathematically, this is expressed as:

$\int_{-\infty}^{m} f(x) dx = 0.5$

In this case, the PDF is non-zero only between -3 and 5. So, the integral needs to be evaluated from the start of the non-zero range up to 'm'. The median 'm' must lie within the interval $(-3, 5)$.

So, we need to solve:

$\int_{-3}^{m} \frac{1}{8} dx = 0.5$

Calculating the Median Step-by-Step

Let's evaluate the integral:

$\int_{-3}^{m} \frac{1}{8} dx = \frac{1}{8} \int_{-3}^{m} 1 dx$

The integral of 1 with respect to x is x.

$\frac{1}{8} [x]_{-3}^{m} = \frac{1}{8} (m - (-3))$

$\frac{1}{8} (m + 3)$

Now, we set this expression equal to 0.5:

$\frac{1}{8} (m + 3) = 0.5$

To solve for 'm', we can multiply both sides by 8:

$m + 3 = 0.5 \times 8$

$m + 3 = 4$

Subtract 3 from both sides:

$m = 4 - 3$

$m = 1$

The calculated median is 1.

We should check if this median lies within the given range of the distribution, which is $(-3, 5)$. Since 1 is indeed between -3 and 5, our result is valid.

Comparing with Options

Let's look at the given options:

  • Option 1: 1
  • Option 2: $\sqrt { \frac{64}{12}}$
  • Option 3: 0
  • Option 4: $\frac{64}{12}$

Our calculated median is 1, which matches Option 1.

Let's briefly check the other options:

  • For m = 0 (Option 3): $\int_{-3}^{0} \frac{1}{8} dx = \frac{1}{8} [x]_{-3}^{0} = \frac{1}{8}(0 - (-3)) = \frac{3}{8} \ne 0.5$. So, 0 is not the median.
  • Option 4: $\frac{64}{12} = \frac{16}{3} \approx 5.33$. This value is outside the domain of the PDF $(-3, 5)$, so it cannot be the median.
  • Option 2: $\sqrt{\frac{64}{12}} = \sqrt{\frac{16}{3}} \approx \sqrt{5.33} \approx 2.31$. This value is within the domain, but we already found the median to be 1. Let's verify: $\int_{-3}^{\sqrt{16/3}} \frac{1}{8} dx = \frac{1}{8} [\sqrt{16/3} - (-3)] = \frac{1}{8} (\sqrt{16/3} + 3) = \frac{1}{8} (4/\sqrt{3} + 3) \approx \frac{1}{8} (2.31 + 3) = \frac{5.31}{8} \approx 0.66 \ne 0.5$.

Therefore, the correct median is 1.

Concept Description
Continuous Random Variable A variable that can take any value within a given range.
Probability Density Function (PDF) A function $f(x)$ for a continuous random variable X, where $\int_a^b f(x) dx$ gives the probability $P(a < X < b)$. The total area under the PDF is 1.
Median of a Continuous Distribution The value 'm' such that half of the probability mass is to its left, i.e., $P(X \le m) = 0.5$.
Uniform Distribution A continuous probability distribution where all values within a specified range are equally likely. The PDF is constant over this range.

Revision Table: Continuous Random Variable Median

Key Concept Formula/Method Application in this Problem
Median 'm' Definition $\int_{-\infty}^{m} f(x) dx = 0.5$ Used to set up the integral equation.
Given PDF $f(x) = 1/8$ for $-3 < x < 5$ Used as the integrand in the equation.
Integration Range From the lower bound of the distribution (-3) to 'm' $\int_{-3}^{m} (1/8) dx$
Solving the Integral $\frac{1}{8} [x]_{-3}^{m} = \frac{1}{8}(m+3)$ Evaluation of the definite integral.
Solving for 'm' $\frac{1}{8}(m+3) = 0.5 \implies m+3=4 \implies m=1$ Finding the value of the median.

Additional Information: Properties of Uniform Distribution

The continuous uniform distribution on the interval [a, b] has the PDF:

$f(x) = \begin{cases} \frac{1}{b-a} & \text{for } a \le x \le b \\ 0 & \text{otherwise} \end{cases}$

In this problem, the interval is $(-3, 5)$, so $a = -3$ and $b = 5$. The PDF is $f(x) = \frac{1}{5 - (-3)} = \frac{1}{8}$. This confirms the distribution is uniform.

For a continuous uniform distribution on $[a, b]$, the median is simply the midpoint of the interval.

Median $= \frac{a+b}{2}$

Using this formula for our problem with $a = -3$ and $b = 5$:

Median $= \frac{-3 + 5}{2} = \frac{2}{2} = 1$

This shortcut for uniform distributions confirms our result obtained by integrating the PDF.

Was this answer helpful?

Similar Questions

  1. Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:

  2. Let x be a random variable with probability mass function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\)

    where, K is a constant. Then the variance of x is:

  3. It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)

  4. If a continuous random variable x has the probability density function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)

    then the value of a such that P[x ≤ a] = P[x > a] is:

  5. Let x ~ Binomial (5,0.6) and Y ~ Poisson (2) be independent. Then P(xy = 0) equals:

  6. If x is a continuous random variable with p.d.f.
    f(x) = 1/√2π e -x2/2dx ,  \( - ∞<x<∞\)

    and y is defined as y = x + 1, then E(y) equals:

  7. At a reservation counter, passengers are arriving for booking the tickets in a poisson fashion with mean rate 60 per hour. The kurtosis of the inter-arrival times of the passengers is:

  8. If a discrete random variable X follows uniform distribution and assume only the values 8, 9, 11, 15, 18, 20, the value of P(|X - 14| < 5) will be:

  9. The probability density function of a random variable X is f(x) = \(\frac{\pi}{10} sin \frac{\pi x}{5}\) ; 0 ≤ x ≤ 5. The first quartile of X is:

  10. The mode of a geometric distribution with parameter p is:


Important Questions from Random Variables Basics

  1. Let X and Y be two real-valued random variables with 

    $\text{E}(X) = 1$, $\text{E}(Y) = 2$, $\text{E}(X^2) = 4$, $\text{E}(Y^2) = 9$, and $\text{E}(XY) = 0.9$, 

    where $\text{E}$ denotes the expectation operator. 

    The value of $\alpha$ that minimizes $\text{E}( (X-\alpha Y)^2 )$ is __________ 

    (Round off to one decimal place)

  2. Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:

  3. Let x be a random variable with probability mass function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\)

    where, K is a constant. Then the variance of x is:

  4. It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)

  5. If a continuous random variable x has the probability density function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)

    then the value of a such that P[x ≤ a] = P[x > a] is:

Need Expert Advice?
Upcoming Exams
SSC CPO
November 23, 2026
SSC CHSL
November 30, 2026
SSC JE
November 30, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2574 Tests 6 Tests Free
9155 Attempts
4.2(953)
English, Hindi
More Questions from SSC CGL

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App