Application of Liapunov theory to boundary value problems