Differentiability of the solution