With means distance, derivative