4.4.3Multivariable Calculus

Partial derivatives — notation, calculation, geometric meaning

1,628 words7 min readdifficulty · medium1 backlinks

WHY do we need partial derivatives?

In single-variable calculus, f(x)f(x) has one slope f(x)f'(x). But a surface like z=f(x,y)z=f(x,y) has infinitely many directions you could move at a point. There is no single "slope". So we ask a simpler, more honest question:

If I only walk in the xx-direction (keeping yy fixed), how fast does the height change?

That gives the partial derivative with respect to xx. Same idea for yy. These two special directions are the foundation everything else (gradient, directional derivative, tangent plane) is built from.


WHAT is a partial derivative? (definition from first principles)

WHY this is just an ordinary derivative: define a single-variable function g(x)=f(x,b)g(x)=f(x,b) (freeze y=by=b). Then fx(a,b)=g(a).\frac{\partial f}{\partial x}(a,b)=g'(a). So all your old differentiation rules still apply — you just treat the frozen variable as a number.

Notation (all mean the same thing)

Evaluated at a point: fx(a,b)\left.\dfrac{\partial f}{\partial x}\right|_{(a,b)} or fx(a,b)f_x(a,b).


HOW to calculate — the freeze-and-differentiate algorithm

  1. Pick the variable you differentiate with respect to.
  2. Treat every other variable as a constant (a fixed number like 77).
  3. Differentiate normally using all the usual rules (power, product, chain...).
  4. Plug in the point if a number is asked.

GEOMETRIC meaning — slices of the surface

Figure — Partial derivatives — notation, calculation, geometric meaning

These two slopes are the two tangent lines spanning the tangent plane at (a,b)(a,b): z=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb).z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b). WHY: the tangent plane must reproduce both slice-slopes, so the coefficients are exactly the partials.


Higher-order & mixed partials (a peek)

You can differentiate again: fxx=x(fx)f_{xx}=\partial_x(f_x), and mixed fxy=y(fx)f_{xy}=\partial_y(f_x).


Common mistakes (steel-manned)


Active Recall

Recall Forecast then verify

Q: For f(x,y)=excosyf(x,y)=e^{x}\cos y, predict fxf_x and fyf_y before reading. A: fx=excosyf_x=e^x\cos y (cos y is constant), fy=exsinyf_y=-e^x\sin y (exe^x constant).

Recall Feynman: explain to a 12-year-old

Imagine a hilly field. You're standing at a spot. If you take ONE step straight East and see how much higher or lower you got, that's the "East slope" — the partial derivative in xx. Take one step North instead → that's the "North slope", the partial in yy. You measure each direction separately by pretending you can only walk that one way. The hill doesn't change; you just choose which path to test.


Flashcards

What does f/x\partial f/\partial x measure?
Rate of change of ff as xx varies with all other variables held constant.
Limit definition of fx(a,b)f_x(a,b)?
limh0f(a+h,b)f(a,b)h\lim_{h\to0}\frac{f(a+h,b)-f(a,b)}{h}.
How do you compute a partial derivative practically?
Treat all other variables as constants and differentiate normally.
Geometric meaning of fx(a,b)f_x(a,b)?
Slope of the tangent line to the curve cut by the plane y=by=b at x=ax=a.
Why use \partial instead of dd?
Because ff depends on several variables; \partial signals others are held fixed.
f=x2yf=x^2y: find fxf_x.
2xy2xy (not 2x2x — keep the yy).
f=sin(xy2)f=\sin(xy^2): find fyf_y.
cos(xy2)2xy\cos(xy^2)\cdot 2xy.
Clairaut's theorem states?
If second partials are continuous, fxy=fyxf_{xy}=f_{yx}.
Tangent plane formula at (a,b)(a,b)?
z=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b).
Common error: differentiating 7y-7y in fxf_x?
It's a constant w.r.t. xx, so its xx-derivative is 00.

Connections

  • Gradient vector — packages fx,fyf_x,f_y into f\nabla f.
  • Directional derivative — generalizes partials to any direction.
  • Tangent plane and linear approximation — built from the two partials.
  • Chain rule (multivariable) — partials chain together.
  • Total differentialdf=fxdx+fydydf=f_x\,dx+f_y\,dy.
  • Single-variable derivative — the special case partials reduce to.
  • Clairaut's theorem — symmetry of mixed partials.

Concept Map

has infinitely many directions

ask simpler question

defines

limit definition

freeze y=b as g x

so use old rules

written as

apply power product chain

x-direction and y-direction

builds

Multivariable function z=f x,y

No single slope

Wiggle one input freeze others

Partial derivative

lim h to 0 of difference quotient

Ordinary derivative g' a

Freeze-and-differentiate algorithm

Notation df/dx = fx = Dx f

Compute fx and fy

Foundation for gradient

Directional derivative and tangent plane

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, single-variable calculus mein function f(x)f(x) ka ek hi slope hota hai. Lekin jab function do (ya zyada) variables ka ho, jaise z=f(x,y)z=f(x,y), toh ek hi point pe bohot saari directions mein chal sakte ho — toh "ek slope" ka koi matlab nahi banta. Isliye hum simple sawaal poochte hain: "Sirf xx ki taraf chaloon, yy ko freeze karke, toh height kitni fast badlegi?" Yahi hai partial derivative f/x\partial f/\partial x.

Calculation ka funda ekdum easy hai: jis variable ke respect mein differentiate kar rahe ho usko chhodke baaki sabko constant (number) maan lo, aur phir normal differentiation rules laga do. Jaise f=x2yf=x^2y mein fx=2xyf_x = 2xy — yahan yy ko constant coefficient ki tarah saath le jaate hain, usse drop nahi karte. Aur jis term mein xx hai hi nahi, uska xx-derivative seedha 00.

Geometric meaning samjho: surface ko ek vertical plane se kaato. Agar y=by=b fix karo, toh ek curve milta hai, aur fx(a,b)f_x(a,b) us curve ki tangent line ka slope hai. Isi tarah x=ax=a fix karke fyf_y milta hai. Ye do slopes milke tangent plane banate hain — pure multivariable calculus ki neev yahi hai (gradient, directional derivative, optimization sab isi pe khade hain).

Yaad rakhne ka mantra: "Freeze the rest, slope the best." Aur do galtiyan mat karna — (1) doosre variable ko bhoolna mat, woh constant ban ke saath rehta hai; (2) point ki value pehle mat daalo, pehle differentiate karo, phir number plug karo.

Go deeper — visual, from zero

Test yourself — Multivariable Calculus

Connections