wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
FORMULA SHEET • MODULE 3.16 Reference Sections

Multivariable Derivatives, Chain Rule, Euler & Extrema Formulas

Partial derivatives, total differentials, Clairaut symmetry, multivariable chain rules, implicit differentiation, Euler's homogeneous theorems, 2D Taylor/Hessian extrema tests, and Lagrange multipliers.

Mathematical Rigor & Accuracy Notes
  • Partial Existence Does Not Imply Differentiability: Both fxf_x and fyf_y can exist at (x0,y0)(x_0, y_0) while ff fails to have a tangent plane (or even continuity). Total differentiability requires lim⁡(h,k)→(0,0)∣f(x0+h,y0+k)−L(x0+h,y0+k)∣h2+k2=0\lim_{(h,k)\to(0,0)} \frac{|f(x_0+h, y_0+k) - L(x_0+h, y_0+k)|}{\sqrt{h^2+k^2}} = 0; continuous partials (C1C^1) provide a sufficient guarantee.
  • Clairaut / Schwarz Symmetry Condition: fxy(x0,y0)=fyx(x0,y0)f_{xy}(x_0, y_0) = f_{yx}(x_0, y_0) holds wherever both mixed second partials exist in a neighborhood and are continuous at (x0,y0)(x_0, y_0). Discontinuous mixed partials (such as Peano's function) can violate equality at the origin.
  • Hessian Discriminant D=0D = 0: When D=fxxfyy−fxy2=0D = f_{xx}f_{yy} - f_{xy}^2 = 0, the Second Derivative Test is strictly inconclusive and can hide a valley, peak, ridge, or parabolic saddle; resolve via direct sign analysis of Δf(h,k)\Delta f(h, k).
  • Lagrange Regularity Condition: The equation ∇f=λ∇g\nabla f = \lambda \nabla g detects constrained extrema only at regular constraint points where ∇g≠0\nabla g \neq \mathbf{0}; singular cusps where ∇g=0\nabla g = \mathbf{0} and domain endpoints must be checked separately.

1. Partial Derivatives, Total Differential & Tangent Planes

First-Order Partial Derivatives
fx(x0,y0)=lim⁡h→0f(x0+h,y0)−f(x0,y0)h,fy(x0,y0)=lim⁡k→0f(x0,y0+k)−f(x0,y0)kf_x(x_0, y_0) = \lim_{h \to 0} \frac{f(x_0 + h, y_0) - f(x_0, y_0)}{h}, \qquad f_y(x_0, y_0) = \lim_{k \to 0} \frac{f(x_0, y_0 + k) - f(x_0, y_0)}{k}
Tangent Plane Linearization L(x, y)
L(x,y)=f(x0,y0)+fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0)L(x, y) = f(x_0, y_0) + f_x(x_0, y_0)(x - x_0) + f_y(x_0, y_0)(y - y_0)

Condition:Valid local linear model when ff is differentiable at (x0,y0)(x_0, y_0)

Total Differential df
df=∂f∂x dx+∂f∂y dy(df=∑i=1n∂f∂xi dxi)df = \frac{\partial f}{\partial x}\,dx + \frac{\partial f}{\partial y}\,dy \qquad \left(df = \sum_{i=1}^n \frac{\partial f}{\partial x_i}\,dx_i\right)

First-order error approximation Δf≈df\Delta f \approx df for small increments Δx=dx\Delta x = dx, Δy=dy\Delta y = dy.

Total Differentiability Criterion
lim⁡(h,k)→(0,0)∣f(x0+h,y0+k)−f(x0,y0)−fx(x0,y0)h−fy(x0,y0)k∣h2+k2=0\lim_{(h,k) \to (0,0)} \frac{\bigl|f(x_0+h, y_0+k) - f(x_0, y_0) - f_x(x_0, y_0)h - f_y(x_0, y_0)k\bigr|}{\sqrt{h^2 + k^2}} = 0

Condition:Guaranteed if fx,fyf_x, f_y exist near (x0,y0)(x_0, y_0) and are continuous at (x0,y0)(x_0, y_0)

2. Higher-Order Partials & Clairaut's Symmetry Theorem

Second-Order Partial Derivatives
fxx=∂2f∂x2,fyy=∂2f∂y2,fxy=(fx)y=∂2f∂y ∂x,fyx=(fy)x=∂2f∂x ∂yf_{xx} = \frac{\partial^2 f}{\partial x^2}, \qquad f_{yy} = \frac{\partial^2 f}{\partial y^2}, \qquad f_{xy} = (f_x)_y = \frac{\partial^2 f}{\partial y\,\partial x}, \qquad f_{yx} = (f_y)_x = \frac{\partial^2 f}{\partial x\,\partial y}
Clairaut / Schwarz Symmetry Theorem
fxy(x0,y0)=fyx(x0,y0)f_{xy}(x_0, y_0) = f_{yx}(x_0, y_0)

Condition:Provided fxyf_{xy} and fyxf_{yx} exist near (x0,y0)(x_0, y_0) and are continuous at (x0,y0)(x_0, y_0)

Peano's counterexample f(x,y)=xy(x2−y2)x2+y2f(x, y) = \frac{xy(x^2 - y^2)}{x^2 + y^2} (f(0,0)=0f(0,0)=0) has fxy(0,0)=−1≠+1=fyx(0,0)f_{xy}(0,0) = -1 \neq +1 = f_{yx}(0,0) because the mixed partials fail continuity at the origin.

3. Multivariable Chain Rule & Implicit Differentiation

Chain Rule Along a Parameterized Curve r(t)
dzdt=∂f∂xdxdt+∂f∂ydydt=∇f(r(t))⋅r′(t)\frac{dz}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt} = \nabla f\bigl(\mathbf{r}(t)\bigr) \cdot \mathbf{r}'(t)

Condition:When ff is differentiable and x(t),y(t)x(t), y(t) are differentiable

2D Parameter Tree Chain Rule
∂z∂u=∂z∂x∂x∂u+∂z∂y∂y∂u,∂z∂v=∂z∂x∂x∂v+∂z∂y∂y∂v\frac{\partial z}{\partial u} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}, \qquad \frac{\partial z}{\partial v} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial v}
Implicit Curve Derivative (2D)
F(x,y)=0  ⟹  dydx=−FxFyF(x, y) = 0 \implies \frac{dy}{dx} = -\frac{F_x}{F_y}

Condition:Provided F∈C1F \in C^1 and Fy(x,y)≠0F_y(x, y) \neq 0

Implicit Surface Partials (3D)
F(x,y,z)=0  ⟹  ∂z∂x=−FxFz,∂z∂y=−FyFzF(x, y, z) = 0 \implies \frac{\partial z}{\partial x} = -\frac{F_x}{F_z}, \qquad \frac{\partial z}{\partial y} = -\frac{F_y}{F_z}

Condition:Provided F∈C1F \in C^1 and Fz(x,y,z)≠0F_z(x, y, z) \neq 0

4. Homogeneous Functions & Euler's Theorems

Homogeneity Definition of Degree n
f(tx,ty)=tn f(x,y)orf(x,y)=xnψ ⁣(yx)f(t x, t y) = t^n\,f(x, y) \quad \text{or} \quad f(x, y) = x^n \psi\!\left(\frac{y}{x}\right)

Condition:For all scaling factors t>0t > 0 on the conical domain (x>0x > 0 for the quotient form)

Euler's First-Order Theorem
x∂f∂x+y∂f∂y=n f(x,y)x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = n\,f(x, y)

Condition:In mm variables: ∑i=1mxi ∂f∂xi=n f\sum_{i=1}^m x_i\,\frac{\partial f}{\partial x_i} = n\,f

Euler's Second-Order Identity
x2∂2f∂x2+2xy∂2f∂x ∂y+y2∂2f∂y2=n(n−1) f(x,y)x^2\frac{\partial^2 f}{\partial x^2} + 2xy\frac{\partial^2 f}{\partial x\,\partial y} + y^2\frac{\partial^2 f}{\partial y^2} = n(n - 1)\,f(x, y)

Condition:Requires f∈C2f \in C^2 and homogeneous of degree nn

Composite Homogeneous Deduction g(u) = f_n
xux+yuy=ng(u)g′(u)=:φ(u)  ⟹  x2uxx+2xyuxy+y2uyy=φ(u)(φ′(u)−1)x u_x + y u_y = n\frac{g(u)}{g'(u)} =: \varphi(u) \implies x^2 u_{xx} + 2xy u_{xy} + y^2 u_{yy} = \varphi(u)\bigl(\varphi'(u) - 1\bigr)

Condition:When g(u)g(u) is homogeneous of degree nn and g′(u)≠0g'(u) \neq 0 (e.g., sin⁡u=fn\sin u = f_n)

5. 2D Taylor Expansion, Hessian Matrix & Extrema Classification

2D Second-Order Taylor Approximation
T2(p0+h)=f(p0)+∇f(p0)⋅h+12hTHf(p0)hT_2(\mathbf{p}_0 + \mathbf{h}) = f(\mathbf{p}_0) + \nabla f(\mathbf{p}_0)\cdot\mathbf{h} + \frac{1}{2}\mathbf{h}^T \mathbf{H}_f(\mathbf{p}_0)\mathbf{h}

Explicitly: f(x0+h,y0+k)≈f(x0,y0)+fxh+fyk+12(rh2+2shk+tk2)f(x_0+h, y_0+k) \approx f(x_0, y_0) + f_x h + f_y k + \frac{1}{2}\bigl(r h^2 + 2s h k + t k^2\bigr).

Hessian Matrix & Discriminant D
Hf(x0,y0)=(rsst)=(fxxfxyfyxfyy),D=det⁡(Hf)=rt−s2\mathbf{H}_f(x_0, y_0) = \begin{pmatrix} r & s \\ s & t \end{pmatrix} = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}, \qquad D = \det(\mathbf{H}_f) = rt - s^2

Condition:At a critical point where ∇f(x0,y0)=0\nabla f(x_0, y_0) = \mathbf{0} (or ∇f\nabla f undefined)

Second Derivative Test Summary at Stationary Point (∇f = 0, C²)

Hessian Determinant DDCurvature Sign r=fxxr = f_{xx}Eigenvalues of Hf\mathbf{H}_fClassification
D>0D > 0r>0r > 0Both λ1,λ2>0\lambda_1, \lambda_2 > 0Strict Local Minimum (cup up)
D>0D > 0r<0r < 0Both λ1,λ2<0\lambda_1, \lambda_2 < 0Strict Local Maximum (dome down)
D<0D < 0Anyλ1λ2<0\lambda_1 \lambda_2 < 0 (opposite signs)Saddle Point (indefinite)
D=0D = 0AnyAt least one λi=0\lambda_i = 0Inconclusive — inspect Δf(h,k)\Delta f(h,k) sign directly

6. Lagrange Multipliers & Constrained Optimization

Single Constraint System
∇f(x,y,z)=λ ∇g(x,y,z),g(x,y,z)=c\nabla f(x, y, z) = \lambda\,\nabla g(x, y, z), \qquad g(x, y, z) = c

Condition:Regularity assumption: ∇g(x∗,y∗,z∗)≠0\nabla g(x^*, y^*, z^*) \neq \mathbf{0}

Multiplier sensitivity law: λ=df∗dc\lambda = \frac{df^*}{dc} measures change in optimal objective per unit relaxation of constraint cc.

Two-Constraint System
∇f(x,y,z)=λ ∇g(x,y,z)+μ ∇h(x,y,z),g=c1,  h=c2\nabla f(x, y, z) = \lambda\,\nabla g(x, y, z) + \mu\,\nabla h(x, y, z), \qquad g = c_1,\; h = c_2

Condition:Regularity: ∇g\nabla g and ∇h\nabla h are linearly independent (∇g×∇h≠0\nabla g \times \nabla h \neq \mathbf{0})

  • Boundary & Global Extrema on Compact Domains: For continuous ff on a closed bounded set SS, compare (1) interior critical points (∇f=0\nabla f = \mathbf{0} or undefined), (2) Lagrange candidates along smooth boundary faces, and (3) boundary corners/cusps where ∇g=0\nabla g = \mathbf{0}.

Related Formula Reference Sheets

All Formula Sheets