Mathematical foundations: differentiation