Skip to content
GATEiit

GATE All 17 EM papers & ES · Calculus

Functions of Several Variables, Partial and Total Derivatives

Functions of several variables, path-dependent 2D limits, partial and total derivatives, Clairaut mixed-partial symmetry, multivariable chain rule, Jacobians, 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.

  • Chain rule →

    Jacobians and coordinate changes compose partial derivatives across variable maps.

  • Limits, continuity and differentiability →

    Multivariable limits generalize 1D limits to approaching along infinitely many curves.

This topic comes before: Electromechanical energy conversion principles, Error analysis, Complex Numbers, Analytic Functions and Cauchy–Riemann Equations, First-Order Ordinary Differential Equations, Gradient, Directional Derivatives, Divergence and Curl, Integration and Fundamental Theorems of Integral Calculus, Maxima and Minima, Multiple Integrals (Double and Triple Integrals), Partial Differential Equations and Classification, Backpropagation for neural networks, Tensors

Concept notes

1. Level sets, domains and path-dependent limits

A scalar field z=f(x,y) maps points in a region D⊆R2 to real numbers. Its level curves f(x,y)=c represent constant-value contours (e.g. constant-pressure isobars or streamlines ψ(x,y)=c).

The limit lim⁡(x,y)→(a,b)f(x,y)=L exists only if every approaching curve yields the same L:

  • To disprove existence: evaluate along two paths (lines y−b=m(x−a), or parabolas y=kx2). If the limit depends on m or k, the limit does not exist.
  • To prove existence: factor and bound using ∣x∣≤r, ∣y∣≤r (r=x2+y2), or switch to polar coordinates and check uniformity as r→0+ independent of θ.
Path dependence of lim (x,y) → (0,0)y = mxy = kx²Different limits along different paths ⇒ DNELevel curves & tangent-plane linearisation∇fdf ≈ fₓ dx + fᵧ dy along tangent plane
Left: approaching (0, 0) along different curves tests whether a 2D limit exists. Right: level curves and gradient linearisation.

2. Definition and computation

For a function f(x,y), the partial derivative with respect to x at (a,b) is fx(a,b)=∂f∂x∣(a,b)=lim⁡h→0f(a+h,b)−f(a,b)h. It is the rate of change of f when only x moves and y is frozen at b. Likewise fy freezes x. The idea extends to any number of variables.

How to compute: treat every other variable as a constant and differentiate as usual. For f=x3y2+exy: fx=3x2y2+y exy,fy=2x3y+x exy.

Geometric meaning. Cutting the surface z=f(x,y) with the plane y=b gives a curve z=f(x,b); fx(a,b) is the slope of that curve at x=a. So fx and fy are slopes along the two coordinate directions. The slope in any other direction is the directional derivative, built from the gradient (fx,fy) (see Gradient, divergence and curl).

Notation. ∂f∂x, fx, ∂xf and D1f all mean the same thing. In physics and circuits a subscript often records what is held fixed, e.g. (∂V∂T)I.

Existence is weak. Having both fx and fy at a point does not make f continuous there. The function equal to xyx2+y2 away from the origin and 0 at the origin has fx(0,0)=fy(0,0)=0, yet along y=x it equals 12, so it is not continuous at (0,0). When the partial derivatives are themselves continuous, f is differentiable and all the rules below are safe; GATE functions are almost always of this kind.

xyP(a, b)y = b fixedx = a fixedlevel curves of f(x, y) (dashed)xz = f(x, b)aslope = ∂f/∂x at (a, b)section of the surface by the plane y = b
Meaning of $fx(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). $fy$ is the same with $x = a$ held fixed.

3. Chain rule and implicit differentiation

One parameter. If z=f(x,y) with x=x(t) and y=y(t), then dzdt=∂z∂xdxdt+∂z∂ydydt. This total derivative adds the effect of t through each path. Example: the power in a resistor, P=V2R, changes with time if both V and R drift: dPdt=2VRdVdt−V2R2dRdt.

Two parameters. If x=x(u,v) and y=y(u,v), ∂z∂u=zx xu+zy yu,∂z∂v=zx xv+zy yv. For polar coordinates x=rcos⁡θ, y=rsin⁡θ: zr=zxcos⁡θ+zysin⁡θ,zθ=−zx rsin⁡θ+zy rcos⁡θ.

Implicit functions. If F(x,y)=0 defines y as a function of x and Fy≠0, dydx=−FxFy. This follows from the chain rule: Fx+Fydydx=0. For F(x,y,z)=0, similarly ∂z∂x=−FxFz and ∂z∂y=−FyFz.

Example: on the curve x3+y3=6xy at (3,3), Fx=3x2−6y=9 and Fy=3y2−6x=9, so dydx=−1.

Leibniz's rule for differentiating an integral with variable limits uses the same ideas and is covered in Theorems of integral calculus.

zxyt∂z/∂x∂z/∂ydx/dtdy/dtdz/dt = (∂z/∂x)(dx/dt)+ (∂z/∂y)(dy/dt)Multiply along each pathfrom z down to t,then add the paths.
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. Tangent planes, normals and Jacobians

For a surface z=f(x,y) at (x0,y0,z0), the tangent plane is z−z0=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0). Equivalently, for F(x,y,z)=0, the normal vector is ∇F=(Fx,Fy,Fz).

Jacobian determinant: for (u,v) as functions of (x,y), Key GATE Jacobian properties:

  • Inverse: ∂(u,v)∂(x,y)⋅∂(x,y)∂(u,v)=1.
  • Chain rule: ∂(u,v)∂(r,θ)=∂(u,v)∂(x,y)⋅∂(x,y)∂(r,θ).
  • Functional dependence: u,v are functionally dependent iff J=0 identically.
  • Coordinate volume scaling: polar dx dy=r dr dθ (J=r); spherical dx dy dz=r2sin⁡ϕ dr dϕ dθ.

5. Euler's theorem on homogeneous functions

f(x,y) is homogeneous of degree n if f(tx,ty)=tnf(x,y) for all t>0. Examples: x3+5xy2 (degree 3), x2+y2x−y (degree 1), xy or sin⁡(yx) (degree 0).

Euler's theorem. If f is homogeneous of degree n with continuous partial derivatives, x∂f∂x+y∂f∂y=nf. With continuous second partials, applying it again gives x2fxx+2xy fxy+y2fyy=n(n−1)f. For three variables, add the z terms in the same pattern.

When u itself is not homogeneous but F(u) is, of degree n (common GATE form, e.g. sin⁡u, tan⁡u, eu of a homogeneous expression): xux+yuy=nF(u)F′(u). Example: if tan⁡u=x3+y3x−y (degree 2), then xux+yuy=2tan⁡usec⁡2u=sin⁡2u.

How to use it. Check the degree by replacing x,y with tx,ty. Then the weighted sum xfx+yfy comes without computing either partial. A degree-0 function always gives xfx+yfy=0.

Degree n xfx+yfy x2fxx+2xyfxy+y2fyy
0 0 0
1 f 0
2 2f 2f
3 3f 6f

Formulas to remember

Partial derivative
fx(a,b)=lim⁡h→0f(a+h,b)−f(a,b)h
Equality of mixed partialsWhen both are continuous
fxy=fyx
Laplace's equation
uxx+uyy=0
Chain rule (one parameter)
dzdt=∂z∂xdxdt+∂z∂ydydt
Implicit differentiation
dydx=−FxFy,Fy≠0
Total differential
dz=∂z∂x dx+∂z∂y dy
Relative error of a product of powers
z=k xayb  ⇒  dzz=adxx+bdyy
Euler's theoremf homogeneous of degree n
xfx+yfy=nf
Euler's theorem, second order
x2fxx+2xy fxy+y2fyy=n(n−1)f
Tangent plane to z = f(x, y)
z−z0=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0)

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 f(x,y)=x2y3+sin⁡(xy), find fxy and fyx, and evaluate them at (1,0).

  1. Step 1: Find the first partials.

    Try it on paper first.

Example 2: Rate of change of resistor power

numerical

A resistor has V=10 V across it, rising at 0.5 V/s, while its resistance R=20 Ω rises at 0.2 Ω/s as it heats. Find the rate of change of the power P=V2R at this instant.

  1. Step 1: Find the partial derivatives of P.

    Try it on paper first.

Example 3: Proving a 2D limit using polar bounds

numerical

Evaluate lim⁡(x,y)→(0,0)x3+y3x2+y2.

  1. Step 1: Substitute x = r cosθ, y = r sinθ.

    Try it on paper first.

Example 4: Tangent plane to a surface

numerical

Find the equation of the tangent plane to z=x2+3y2 at (1,1,4).

  1. Step 1: Compute partials at (1, 1).

    Try it on paper first.

Previous year questions

No official PYQ in our currently live papers is tagged with this exact topic yet. The topic test below uses original GATE-style 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 Engineering Mathematics (All 17 EM papers & ES) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.