Separation of Variables and Integration