Differentiation and Comparison of Variables