Expectation of product of brownian motion and stochastic integral

brownian motionmartingalesstochastic-calculusstochastic-integralsstochastic-processes

Let $f:[0,\infty)\to\mathbb{R}$ be a deterministic continuous function and $B$ a Brownian motion with $B_0=0$. I need to prove that $$\mathbb{E}\left(B_t\int_0^tf(s)dB_s\right)=\int_0^tf(s)ds.$$ I really am not sure where to start with this. I have considered trying to use limit definition of the stochastic integral by an approximation of $f$ as a simple function, but then I am unsure about taking the limit out of the expectation and if this would even really take me anywhere.

Best Answer

Hint: Compute $d(X_tY_t)$ where $X_t = B_t$ and $Y_t = \int_0^t f(s)dB_s$.