Linearity of partial differential equations