Let X be a continuous random variable denoting the temperature measured. The range of temperature is [0, 100] degree Celsius and let the probability density function of X be f(x) = 0.01 for 0 <= X <= 100. The mean of X is ________
A. 2.5
B. 5.0
C. 25.0
D. 50.0
GATE 2021 · General Aptitude · Probability Density Function · medium
Answer: Mean of X = 50.0 (Option D)
Verify the PDF is valid: integral from 0 to 100 of 0.01 dx = 0.01 * 100 = 1. Valid.
Compute the mean using the expected value integral: E[X] = integral from 0 to 100 of x * 0.01 dx = 0.01 * [x^2/2] from 0 to 100 = 0.01 * (10000/2) = 0.01 * 5000 = 50