Algebraic study of systems of partial differential equations