document.write( "Question 252226: Let the random variable X have the density function\r
\n" ); document.write( "\n" ); document.write( " f(x)= {kx for 0\n" ); document.write( " {0 elsewhere \r
\n" ); document.write( "\n" ); document.write( "If the mode of this distribution is at x =sqrt(2)/4, then what is the median of X?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #185130 by Greenfinch(383)\"\" \"About 
You can put this solution on YOUR website!
For a continuous random variable, the probability density function is
\n" ); document.write( "f(x) = { kx for 0 < x < sqrt (2/k)
\n" ); document.write( " { else 0
\n" ); document.write( "The cumulative distribution function F(x) for this is therefore the integral from 0 to sqrt (2/k) of kx dx or [(k x^2)/2] from x = 0 to sqrt(2/k).
\n" ); document.write( "The graph of the function starts at 0 when x = 0 and has a slope of k. The highest point is therefore at the point sqrt(2/k) which is the mode. The shape is a triangle whose length is sqrt(2/k) and whose height is k x sqrt(2/k). This area is the total probability and is therefore equal to 1. Since the k appears in both parts, this cannot be used to determine k, but knowing that the mode is at sqrt (2)/4 gives sqrt( k) = 4 so k = 16. The pdf now becomes
\n" ); document.write( "f(x) = 16x for {0 < x < sqrt (1/8)
\n" ); document.write( " { else
\n" ); document.write( "The median occurs when the cdf F(x) = 1/2
\n" ); document.write( "so F(x)= 8 x^2 = 1/2
\n" ); document.write( "x^2 = 1/16
\n" ); document.write( "x= 1/4
\n" ); document.write( "This fits in with expectations, The median is 1/sqrt2 = .7071 of the distance along the x axis.
\n" ); document.write( "
\n" );