Statement
For a square-integrable adapted process $(Y_t)$,
$$ \mathbb E\left[\left(\int_0^T Y_t,dB_t\right)^2\right]
\int_0^T \mathbb E[Y_t^2],dt. $$
Meaning
The second moment of the Ito integral is exactly the time integral of the second moment of the integrand.
Why it works
For simple processes, expanding the square produces diagonal terms and cross terms.
- Cross terms vanish because different Brownian increments are independent and centered.
- Diagonal terms contribute
Taking limits yields the full formula.