Value of partial derivative depends on all inputs
Statement
The general expression for the partial derivative of a function with respect to any of the inputs is an expression in terms of all the inputs. For instance, the general expression for is an expression involving both and . This is because, even though the -coordinate is kept constant when calculating the partial derivative at a particular point, that constant value need not be the same at all the points.
Example
Mathematical example involving two variables
For instance, consider:
Then, we have:
and:
Note that each of the expressions involves both the variables and . In particular, this means that the value of at a point depends on both the -coordinate and the -coordinate of the point. Thus, for instance:
Despite the same -value of 2 in both cases, the -values are different because of differences in the input -values.
Similarly, consider:
Despite the same -value of 4 in both cases, the -values are different because of differences in the input -values.
Real-world example
The real-world example mentioned here uses something that's a relative derivative between logarithms of quantities, but the idea is the same. In standard microeconomic theory, the quantity demanded for a particular good is considered a function of the unit price and a number of other determinants of demand. The demand function studies the relation between quantity demanded and unit price holding all the other determinants of demand constant. There is a concept of price-elasticity of demand that measures the relative logarithmic derivative of quantity demanded with respect to price.
The relevance of the discussion here is that the price-elasticity of demand depends on the values of the other determinants of demand that we are holding constant. In other words, a change in the value of one of the other determinants of demand could affect the price-elasticity of demand at a particular unit price. For instance, a change in an individual's income could affect the price-elasticity of demand function. Similarly, a change in the price of a substitute good could affect the price-elasticity of demand function.
Partial truth and falsehood
Second-order mixed partial
The second-order mixed partial derivative captures precisely this fact. Basically, the second-order mixed partial derivative with respect to two of the input variables describes how the partial derivative with respect to one variable changes in terms of the second variable. The statement here can thus be interpreted as saying that the second-order mixed partial derivative of a function is not always zero.
Conditions where the value depends only on the specific input
The only cases where the partial derivative with respect to one variable depends only on that variable is where the function is additively separable in terms of a function purely of that variable and a function of the other variables. Another way of thinking of this is that the second-order mixed partials with respect to that particular variable and all the other variables are zero. Technically, the function needs to be a partially additively separable function between that variable and all the other variables.
For a function of two variables, this is the same as being an additively separable function between the two variables. Explicitly, for a function of the form:
the partial derivative with respect to is just , which does not depend on , whereas the partial derivative with respect to is just , which does not depend on .
Here is an example of a function of three variables:
This function is a sum of a function purely of and a function that does not involve . The partial derivative with respect to thus involves only :
On the other hand, because does not have this form with respect to , the first partial derivative with respect to does depend on other variables. Specifically, it depends on both and in this case: