Solution (source code)

= Solution

Apply Q5(b) in each independent coordinate, with $\mu=\lambda$, to change from the Ornstein-Uhlenbeck path law to d-dimensional <Wiener measure> $\mathbb Q^x$. Its density is
$$
\exp\!\left(-\lambda\int_0^t\omega_s\cdot d\omega_s
-\frac{\lambda^2}{2}\int_0^t|\omega_s|^2ds\right).
$$
Multiplication by the positive potential factor cancels the second term exactly. Therefore
$$
\boxed{u(t,x)=\int\exp\!\left(-\lambda\int_0^t\omega_s\cdot d\omega_s\right)\mathbb Q^x(d\omega).}
$$
The integral in its exponent is an <Itô integral> under Wiener measure, not an ordinary pathwise line integral. The <Itô formula> for $|\omega|^2$ gives
$$
\int_0^t\omega_s\cdot d\omega_s=\frac12\left(|\omega_t|^2-|x|^2-dt\right).
$$
Hence an equivalent endpoint-only Wiener integral is
$$
\boxed{u(t,x)=e^{\lambda(|x|^2+dt)/2}\int e^{-\lambda|\omega_t|^2/2}\,\mathbb Q^x(d\omega).}
$$