generalize to Lp norm of the derivative