polynomial derivative