Rules for Calculating Derivatives and Differentials for Functions of Multiple Variables
Just like the Derivatives calculate the Instantaneous Rate of Change and Differentials calculate the Change in the Value of Functions of a Single Variable,
the same is done for Functions of Multiple Variables with the help of Partial Derivatives, Total Derivatives, Partial Differentials and Total Differentials.
The following points explain these terms for a Function of Multiple Variables \(F\) given as follows
\(F=f(x_1, x_2, \cdots, x_n)\) ...(1)
Partial Derivatives: The Partial Derivatives of the Function \(F\) as given in equation (1) with respect to Variables \(x_1, x_2, \cdots, x_n\) denoted by \(F_{x_1}', F_{x_2}', \cdots, F_{x_n}'\)
is given as
Partial Derivative of any Function of Multiple Variables with respect to One Particular Variable calculates the
Instantaneous Rate of Change of the Function when the Value of that Particular Variable changes Infinitesmally
and is calculated by Calculating the Derivative of the Function with respect to that Variable while considering the Values of other Variables to be Constant.
For example, the Partial Derivative \(F_{x_1}'\) is calculated by Calculating the Derivative of Function \(F\) with respect to Variable \(x_1\) while considering the Values of other Variables to be Constant.
Similarly the Partial Derivative \(F_{x_2}'\) is calculated by Calculating the Derivative of Function \(F\) with respect to Variable \(x_2\) while considering the Values of other Variables to be Constant
and so on.
Partial Differentials and Total Differentials: The Partial Differentials of the Function \(F\) as given in equation (1) with respect to Variables \(x_1, x_2, \cdots, x_n\) denoted by \(dF_{x_1}, dF_{x_2}, \cdots, dF_{x_n}\)
is calculated by Multiplying the Partial Derivatives with the Differentials of the corresponding Variables as given in the following
Since the Total Differential of the Function \(F\) is 0, it allows us to calculate the Derivative of any One Variable with respect to any other Variable
if we consider Variables other than the ones which are involved in calculating Derivatives are Constants.
For example, if we want to calculate the Derivative of Variable \(x_1\) with respect to Variable \(x_2\), then we can consider Variables \(x_3, x_4, \cdots, x_n\) to be Constants, which
means the Differentials of these Variables \(dx_3, dx_4, \cdots, dx_n\) are 0. Hence equation (4) becomes,
Chain Rule for Function of Multiple Variables: The Chain Rule is used for calculating the
Total Derivative or Partial Derivatives of any Multi-Variable Function when the Variables of the Function are themselves Functions of One or More Variables.
In such cases, Total Derivative and Partial Derivatives are calculated using Total Derivative Operator and Partial Derivative Operators respectively
which are themselves calculated using the Chain Rule.
Total Derivative is/can be calculated using Chain Rule under the following 2 circumstances
When the Multi Variable Function has One Independent Variable and Other Variables are Functions of the Independent Variable:
For example, if the Variables \(x_1, x_2, \cdots, x_n\) of Multi Variable Function \(F\) as given in equation (1) are such that Variable \(x_1\) is Independent Variable and Variables \(x_2, x_3, \cdots, x_n\) are themselves Functions of a Variable \(x_1\) as follows
Using the Total Derivative Operator as given in equation (6) above, the Total Derivative of Function \(F\) with respect to Variable \(x_1\) is calculated as
Please note that the formula of Total Derivative Operator \({\Large \frac{d}{dx_1}}\) given in equation (6) can also be used for calculating the Total Derivatives of Partial Derivatives of \(F\). For example the Total Derivative of
\({\Large \frac{\partial F}{\partial x_n}}\) with respect to Variable \(x_1\) can be given as
When each Variable of the Multi Variable Function is a Function of a Single Variable:
For example, if the Variables \(x_1, x_2, \cdots, x_n\) of Multi Variable Function \(F\) as given in equation (1) are themselves Functions of a Single Variable \(t\) as follows
Using the Total Derivative Operator as given in equation (11) above, the Total Derivative of Function \(F\) with respect to Variable \(t\) is calculated as
Please note that the formula of Total Derivative Operator \({\Large \frac{d}{dt}}\) given in equation (11) can also be used for calculating the Total Derivatives of Partial Derivatives of \(F\). For example the Total Derivative of
\({\Large \frac{\partial F}{\partial x_n}}\) with respect to Variable \(t\) can be given as
Partial Derivatives are/can be calculated using Chain Rule when the Variables of the Function are themselves Functions of Multiple Variables.
For example, if the Variables \(x_1, x_2, \cdots, x_n\) of Multi Variable Function \(F\) as give in equation (1) are themselves Functions of a Variables \(t_1, t_2,\cdots, t_k\) as follows
As can be seen from the the Matrix Equation (16) above, the Row Matrix containing Partial Derivatives with respect to Independent Variables can be represented as a Product of
Row Matrix of Partial Derivatives with respect to Dependent Variables and the Jacobian Matrix
of Partial Derivatives of Dependent Variables with respect to Independent Variables.
Such Matrix Equations can be used to represent Partial Derivative Operators for Any Arbitrary Level of Dependency of Variables.
For example, if the Variables \(t_1, t_2,\cdots, t_k\) are further themselves Function of Variables \(u_1, u_2,\cdots, u_m\) such that
Once the Partial Derivative Operators are calculated using the Chain Rule, they can be used to calculate the Partial Derivatives
of Functions or Partial Derivatives of Partial Derivatives of Functions.