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. The memory-less property is followed by which of the following continuous distribution:

  2. A Poisson distribution has a double mode at x = 1 and x = 2. The probability for x = 1 or for x = 2 of these two value is:

  3. 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:

  4. 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:

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

  6. If ten coins are tossed simultaneously, then the probability of getting at most 1 head is:

  7. The PDF of babies’ age is defined as \(f(x)=\dfrac{3}{4}x(2-x);0<x<2\) , The 5 th decile point of X is:

  8. The interquartile range of continuous random variable X having PDF f(x) = e -x ; x ≥ 0 is:

  9. Patients arrive at a clinic following the Poisson process, with the mean rate of 10 customers per hour. The inter-arrival time of a customer follows:

  10. The length of time X, needed by an examinee of competition to complete a 1-hour exam, is a random variable with
    PDF \(f(x)=\dfrac{6}{5}(x^2+x);0 \le x \le 1.\) , The value of F(0.5) is:


Important Questions from Random Variables Basics

  1. The square of a standard normal variate is a

  2. The memory-less property is followed by which of the following continuous distribution:

  3. A Poisson distribution has a double mode at x = 1 and x = 2. The probability for x = 1 or for x = 2 of these two value is:

  4. 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:

  5. 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:

Need Expert Advice?
Upcoming Exams
SSC CGL
September 30, 2026
UPSSSC PET
October 23, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2503 Tests 6 Tests Free
5388 Attempts
4.2(868)
English, Hindi

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