Partial derivatives of functions of several variables: first and higher order, equality of mixed partials, the chain rule and implicit differentiation, total differentials for error and sensitivity estimates, and Euler's theorem.
Before you start
Differentiation of one-variable functions
A partial derivative is an ordinary derivative taken with every other variable held constant, so all the one-variable rules carry over.
Chain rule for one variable
The multivariable chain rule adds up one-variable chain rules along each path of dependence.
For a function , the partial derivative with respect to at is
It is the rate of change of when only moves and is frozen at . Likewise freezes . The idea extends to any number of variables.
How to compute: treat every other variable as a constant and differentiate as usual. For :
Geometric meaning. Cutting the surface with the plane gives a curve ; is the slope of that curve at . So and are slopes along the two coordinate directions. The slope in any other direction is the directional derivative, built from the gradient (see Gradient, divergence and curl).
Notation. , , and all mean the same thing. In physics and circuits a subscript often records what is held fixed, e.g. .
Existence is weak. Having both and at a point does not make continuous there. The function equal to away from the origin and at the origin has , yet along it equals , so it is not continuous at . When the partial derivatives are themselves continuous, is differentiable and all the rules below are safe; GATE functions are almost always of this kind.
Meaning of $f_x(a, b)$: hold $y = b$, move only in $x$ (left), and take the slope of the resulting one-variable curve $z = f(x, b)$ at $x = a$ (right). $f_y$ is the same with $x = a$ held fixed.
2. Higher-order partials and Laplace's equation
Differentiating again gives four second-order partials of :
Equality of mixed partials (Schwarz / Clairaut). If and are continuous near a point, they are equal there:
This holds for all polynomials, exponentials, sines and their combinations, so you may differentiate in whichever order is easier. Without continuity it can fail: for (with ), the two mixed partials at the origin are and .
Shortcut: for , is the same whichever way you go: and .
Laplace's equation. A function with continuous second partials satisfying
is called harmonic. Examples: , , , (away from the origin). Harmonic functions appear in EC as electrostatic potential in a charge-free region and as the real and imaginary parts of analytic functions, which satisfy the Cauchy–Riemann equations , .
The wave equation and the diffusion equation are also statements about partial derivatives; checking whether a given satisfies one is a routine GATE task (substitute and compare).
3. Chain rule and implicit differentiation
One parameter. If with and , then
This total derivative adds the effect of through each path. Example: the power in a resistor, , changes with time if both and drift: .
Two parameters. If and ,
For polar coordinates , :
Implicit functions. If defines as a function of and ,
This follows from the chain rule: . For , similarly and .
Example: on the curve at , and , so .
Leibniz's rule for differentiating an integral with variable limits uses the same ideas and is covered in Theorems of integral calculus.
Chain rule as a tree: $z$ depends on $x$ and $y$, which both depend on $t$. Each path from $z$ to $t$ contributes the product of its derivatives.
4. Total differential, errors and sensitivity
For small changes , in the inputs, the change in is approximately the total differential
This is the first-order Taylor approximation in two variables.
Relative (percentage) errors. For a product of powers , take logarithms and differentiate:
So exponents become multipliers of the percentage errors.
Formula
Percentage change
Signs matter. If the errors have known signs, add them with signs. If only their sizes are known (tolerances), the maximum possible error adds magnitudes: for with on and on , the worst case is .
Sensitivity. In control and circuits, the sensitivity of to a parameter is , which is just the exponent above. For in an circuit, .
These are linear estimates; they are good when the changes are a few per cent, and worsen for large changes.
5. Euler's theorem on homogeneous functions
is homogeneous of degree if for all . Examples: (degree 3), (degree 1), or (degree 0).
Euler's theorem. If is homogeneous of degree with continuous partial derivatives,
With continuous second partials, applying it again gives
For three variables, add the terms in the same pattern.
When itself is not homogeneous but is, of degree (common GATE form, e.g. , , of a homogeneous expression):
Example: if (degree 2), then .
How to use it. Check the degree by replacing with . Then the weighted sum comes without computing either partial. A degree-0 function always gives .
Degree
0
0
0
1
0
2
3
Formulas to remember
Partial derivative
Equality of mixed partialsWhen both are continuous
Laplace's equation
Chain rule (one parameter)
Implicit differentiation
Total differential
Relative error of a product of powers
Euler's theorem homogeneous of degree
Euler's theorem, second order
Common mistakes
Forgetting to treat the other variable as a constant, for example differentiating y² with respect to x as 2y.
Dropping one path in the chain rule; every route from z to t contributes a term.
Writing dy/dx = F_x / F_y without the minus sign in implicit differentiation.
Adding signed percentage errors when the question asks for the maximum possible error; then the magnitudes add.
Applying Euler's theorem to a function that is not homogeneous, such as sin⁻¹ of a homogeneous ratio, instead of applying it to F(u).
Assuming that existence of f_x and f_y at a point makes f continuous or differentiable there.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Mixed partials in either order
numerical
For , find and , and evaluate them at .
Step 1: Find the first partials.
Try it on paper first.
Example 2: Drift of the resonant frequency
numerical
An tank has . With temperature, rises by and falls by . Estimate the percentage change in .
Step 1: Write f₀ as a product of powers.
Try it on paper first.
Example 3: Rate of change of resistor power
numerical
A resistor has across it, rising at , while its resistance rises at as it heats. Find the rate of change of the power at this instant.
Step 1: Find the partial derivatives of P.
Try it on paper first.
Example 4: Euler's theorem through F(u)
numerical
If , find .
Step 1: Is u homogeneous?
Try it on paper first.
Previous year questions
No official GATE EC question is tagged with this topic yet. The topic test below uses practice questions.
Topic test
8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.