Differentiates expressions