Complexity of Gradients, Jacobians, and Hessians