Polynomial manipulations