Solution for the initial problems