Michael G. answered 12/31/24
PhD Ivy League Tutor specializing in Mathematics, Stats, and Test Prep
Hi Brandile!
To determine the density of any order statistic, recall that the distribution for the kth order statistic is:
fX(k)(x) = n!/(k-1)!(n-k!) * [F(x)]k-1[1-F(x)]n-kf(x)
where f(.) is the density of X(k).
In the case of a Uniform(1,4) random variable, the density is just 1/3 between 1 and 4 and 0 elsewhere, and the CDF is 0 for x<1, (x-1)/3 for 1≤x≤4, and 1 for x>4.
Plugging things in, you get that following density for the maximum between 1 and 4:
fX(2)(x) = 2!/(2-1)!(2-2)! * [(x-1)/3]2-1*[1-(x-1)/3]2-2(1/3)
We can rewrite this to make it match the answers a little more obviously:
fX(2)(x) = 2/9 * (x-1) for 1≤x≤4, and 0 elsewhere.