Partial derivative
Definition at a point
Generic definition
Suppose is a function of more than one variable, where is one of the input variables to . Fix a choice and fix the values of all the other variables. The partial derivative of with respect to , denoted , or , is defined as the derivative at of the function that sends to at for the same fixed choice of the other input variables.
For a function of two variables
Suppose is a real-valued function of two variables , i.e., the domain of is a subset of . Suppose is a point in the domain of . We define the partial derivatives at as follows:
| Item | For partial derivative with respect to | For partial derivative with respect to |
|---|---|---|
| Notation | Also denoted or |
Also denoted or |
| Definition as derivative | . In other words, it is the derivative (at ) of the function | . In other words, it is the derivative (at ) of the function . |
| Definition as limit (using derivative as limit of difference quotient) | ||
| Definition as directional derivative | Directional derivative at with respect to a unit vector in the positive -direction. | Directional derivative at with respect to a unit vector in the positive -direction. |
For a function of multiple variables
The notation here gets a little messy, so read it carefully. We consider a function of variables, which we generically denote respectively. Consider a point in the domain of the function. In other words, this is a point where .
Suppose is a natural number in the set .
| Item | Value for partial derivative with respect to |
|---|---|
| Notation | Also denoted or |
| Definition as derivative | . In other words, it is the derivative of the function with respect to , evaluated at the point . |
| Definition as a limit (using derivative as limit of difference quotient) | |
| Definition as a directional derivative | Directional derivative in the positive -direction. |
Definition as a function
Generic definition
Suppose is a function of more than one variable, where is one of the input variables to . The partial derivative of with respect to , denoted , or is defined as the function that sends points in the domain of (including values of all the variables) to the partial derivative with respect to of (i.e., the derivative treating the other inputs as constants for the computation of the derivative). In particular, the domain of the partial derivative of with respect to is a subset of the domain of .
We can compute the partial derivative of relative to each of the inputs to .
MORE ON THE WAY THIS DEFINITION OR FACT IS PRESENTED: We first present the version that deals with a specific point (typically with a subscript) in the domain of the relevant functions, and then discuss the version that deals with a point that is free to move in the domain, by dropping the subscript. Why do we do this?
The purpose of the specific point version is to emphasize that the point is fixed for the duration of the definition, i.e., it does not move around while we are defining the construct or applying the fact. However, the definition or fact applies not just for a single point but for all points satisfying certain criteria, and thus we can get further interesting perspectives on it by varying the point we are considering. This is the purpose of the second, generic point version.
For a function of two variables
Suppose is a real-valued function of two variables , i.e., the domain of is a subset of . The partial derivatives of with respect to and are both functions of two variables each of which has domain a subset of the domain of .
| Item | For partial derivative with respect to | For partial derivative with respect to |
|---|---|---|
| Notation | Also denoted or |
Also denoted or |
| Definition as derivative | It is the derivative of the function , treating as an unknown constant | It is the derivative of the function , treating as an unknown constant |
| Definition as limit (using derivative as limit of difference quotient) | ||
| Definition as directional derivative | Directional derivative with respect to a unit vector in the positive -direction. | Directional derivative with respect to a unit vector in the positive -direction. |
For a function of multiple variables
| Item | Value for partial derivative with respect to |
|---|---|
| Notation | Also denoted or |
| Definition as derivative | It is the derivative of the function with respect to , where all the other variables are treated as unknown constants while doing the differentiation. |
| Definition as a limit (using derivative as limit of difference quotient) | |
| Definition as a directional derivative | Directional derivative in the positive -direction. |
Related notions
Caveats
Expression for partial derivative depends on all inputs
For further information, refer: Value of partial derivative depends on all inputs
The general expression for the partial derivative 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.
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, and are distinct because of the different -values.
In fact, 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.
Meaning of partial derivative depends on all variables
For further information, refer: Meaning of partial derivative depends on entire coordinate system
This is a very subtle but very important point. It says that the partial derivative with respect to one variable depends not only on the choice of that particular variable, but on the choice of the other variables that are being kept constant for the purpose of computing the partial derivative. If a coordinate transformation is performed that changes what those other variables are, that could affect the value of the partial derivative.
This has a very real-world corollary. In economics and social science, we often talk of the partial derivative with respect to one variable as measuring what happens ceteris paribus on the other variables. However, the notion of ceteris paribus on other variables depends on what the other variables are. If we redefine the coordinate system to change that meaning, the partial derivative can change.
For instance, consider the function:
In this case, we have:
Now, suppose we consider in terms of and . Then, , as a function of and , is . Thus, we get:
Note that the two partial derivatives with respect to are not equal. The reason for this is that in the first case, we are taking the partial derivative with respect to keeping constant, whereas in the second case, we are taking the partial derivative with respect to keeping constant.