By definition of the partial derivative of a function we treat all variables as constant except for one. Hence the proof of the first formula can be reduced to the proof of the second one. The general proof is quite tedious, so we only illustrate the main ideas if We need to compute the limit as of
To do so we rewrite the expression as
adding and subtracting a term. As is differentiable at it follows that
for As a differentiable function of one variable is continuous, we have that as Hence, by definition of partial derivatives,
To deal with the remaining term we apply the mean value theorem to the function By assumption, that function is differentiable and its derivative is continuous at Thus, by the mean value theorem there exist such that
with As is continuous at it follows that as Finally, by continuity of with respect to we conclude that
as If we put everything together it follows that
as required. For general there are more terms to add and subtract, but the basic ideas stay the same.