(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

How to calculate the expected value of the log of a uniform distribution?

2. Relevant equations

E[X] where X=ln(U(0,1))

3. The attempt at a solution

integral from 0 to 1 of a.ln(a) da where a = U(0,1)

= -1/4

However I know the answer is -1

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Expected value of the log of a uniform distribution

**Physics Forums | Science Articles, Homework Help, Discussion**