Definition
For f(x,y), the partial derivative with respect to x is:
∂x∂f=limh→0hf(x+h,y)−f(x,y)
Hold y constant and differentiate with respect to x.
Alternative notation: fx, ∂xf.
Higher Derivatives
Second partial derivatives:
∂x2∂2f=fxx,∂y2∂2f=fyy
Mixed partials:
∂x∂y∂2f=fxy,∂y∂x∂2f=fyx
Equality of mixed partials: For well-behaved functions (continuous second derivatives):
fxy=fyx
Chain Rule
One Independent Variable
If f=f(x,y) and x=x(t), y=y(t):
dtdf=∂x∂fdtdx+∂y∂fdtdy

Two Independent Variables
If f=f(x,y) and x=x(u,v), y=y(u,v):
∂u∂f=∂x∂f∂u∂x+∂y∂f∂u∂y
∂v∂f=∂x∂f∂v∂x+∂y∂f∂v∂y
Implicit Differentiation
For F(x,y)=0:
dxdy=−∂F/∂y∂F/∂x
Proof: Differentiate F(x,y(x))=0:
∂x∂F+∂y∂Fdxdy=0
Total Differential
For f=f(x,y):
df=∂x∂fdx+∂y∂fdy
This is the total differential: the linear approximation to the change in f.
Directional Derivative
The rate of change of f in direction n^=(nx,ny):
Dn^f=∇f⋅n^=∂x∂fnx+∂y∂fny
The gradient ∇f points in direction of steepest increase.
Taylor Series for Two Variables
f(a+h,b+k)=f(a,b)+hfx(a,b)+kfy(a,b)+21(h2fxx+2hkfxy+k2fyy)+⋯
Compact form:
f(a+h)=f(a)+∇f⋅h+21hTHh+⋯
where H is the Hessian matrix:
H=(fxxfyxfxyfyy)
Reciprocity and Cyclic Relations
Reciprocity Relation
For f(x,y,z)=0:
(∂y∂x)z=(∂x∂y)z1
The subscript indicates what variable is held constant.
Cyclic Relation
(∂y∂x)z⋅(∂z∂y)x⋅(∂x∂z)y=−1
Application: Thermodynamics (relating partial derivatives of state functions).
Why Partial Derivatives Matter
- Optimisation: Find maxima and minima of multivariable functions
- Thermodynamics: Relate state variables
- PDEs: Model heat, waves, diffusion
- Machine learning: Gradient descent optimises loss functions
The key skill is determining which variables are independent vs dependent — this determines which derivatives make sense.