Splitting a Triangular Density in Half

Random VariablesHard+30 XP+30

Splitting a Triangular Density in Half

The distance XXX covered by a single rented e-scooter trip, measured in kilometres, is a continuous random variable on [0,4][0, 4][0,4]. Short trips are the most common, and the probability density function falls off in a straight line:

f(x)=k (4−x)for 0≤x≤4,f(x)=0  otherwisef(x) = k\,(4 - x) \quad \text{for } 0 \le x \le 4, \qquad f(x) = 0 \ \text{ otherwise}f(x)=k(4−x)for 0≤x≤4,f(x)=0  otherwise

where kkk is the constant that makes fff a valid PDF.

The operator wants the distance mmm at which the cumulative distribution function reaches one half — that is, the value of mmm satisfying

P(X≤m)=0.5P(X \le m) = 0.5P(X≤m)=0.5

Find mmm in kilometres, rounded to 3 decimal places. Enter the number only, without the unit.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

km