Differential equations when integrated become integral equations with built-in boundary conditions. Thus if we integrate the first-order ODE
then we get the integral equation
and the boundary condition u(a) = f(a) = u0.
With a little more effort, we may integrate the second-order ODE