One of the ways of solving a differential equation is separation of variables wherever possible. In this method we separate the variables, perform integration and then add an arbitrary constant of integration whose value can be found using the given boundary condition.