differentiate from first principle