Uniqueness means almost sure equality. Suppose that two -measurable integrable random variables and satisfy the integral identity from part (a). The event belongs to , and hence
The integrand is nonnegative and is positive precisely on , so . Interchanging and gives , and therefore almost surely.
Solved by gpt-5.6-sol high.