Skip to content

Mean gap between two uniforms on three to four

Question

Two independent random variables XX and YY are each uniform on the interval (3,4)(3,4). Compute the expected absolute difference E∣X−Y∣E|X-Y|.

Short answer

1/31/3. Shifting both by 33 changes nothing, so this is E∣U1−U2∣E|U_1-U_2| for two standard uniforms. The two points cut [0,1][0,1] into three pieces that are exchangeable, so each, including the middle piece of length ∣U1−U2∣|U_1-U_2|, has mean 13\tfrac13.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free