Partial Derivatives

For function f(x,y)f(x,y) and some point in the domain (x0,y0)D(x_0,y_0)\in D, we define derivatives of f(x,y)f(x,y) at (x0,y0)(x_0,y_0) with respect to xx as

fx(x0,y0)=limΔx0f(x0+Δx,y0)f(x0,y0)Δx=limΔx0ΔwΔxf_x(x_0,y_0)=\lim_{\Delta x\to 0}\frac{f(x_0+\Delta x,y_0)-f(x_0,y_0)}{\Delta x}=\lim_{\Delta x\to 0}\frac{\Delta w}{\Delta x}

which as also be denoted as (wx)(x0,y0)\Big( \frac{\partial w}{\partial x} \Big)_{(x_0,y_0)}

When we extend this to even more variables, the full version looks like this:

fxj(a)=limh0f(a+hej)f(a)hf_{x_j}(\mathbf{a})=\lim_{h\to 0}\frac{f(\mathbf{a}+h\mathbf{e}_j)-f(\mathbf{a})}{h}

If f()f(\cdot) is partially differentiable at every point in DD, then we have the partial derivative function fx()f_x(\cdot), also denoted as Dxjf(a)D_{x_j} f(\mathbf{a})

Corollary: Tangent Plane

我们可以用偏导数计算切于某点的平面,考虑 f:XR,XR2f:X\mapsto \mathbb{R}, X\subset \mathbb{R}^2,切于点 x=(a,b,f(a,b))\mathbf{x}=(a,b,f(a,b)) 的平面是

z=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)z=f(a,b)+f_x(a,b)\big(x-a\big)+f_y(a,b)\big(y-b\big)

Example 1. Suppose z=xyz=x^y, prove that xyzx+1lnxzy=2z\frac{x}{y}\frac{\partial z}{\partial x}+\frac{1}{\ln x}\frac{\partial z}{\partial y}=2z

Since z=xyz=x^y, so

zx=yxy1zy=xylnxz_x=yx^{y-1}\\ z_y=x^y \ln x

Substituting and we can prove the statement.

Second Order Partial Derivatives

CkC^k function

If ff’s kk -th derivative exists and is continuous on DD, then we denote ff as a CkC^k function.

Proposition: 2fxy=2fyx    \frac{\partial^2 f}{\partial x\partial y}=\frac{\partial^2 f}{\partial y\partial x} \iff ff is a C2C^2 function

Chain Rule for Partial Derivatives

For vector-valued functions, suppose h=fg,y0=g(t0)\boldsymbol{h}=\boldsymbol{f}\circ\boldsymbol{g}, y_0=g(t_0), then

Dh(t0)=Df(y0)Dg(t0)D\boldsymbol{h}(\boldsymbol{t}_0)=D\boldsymbol{f}(\boldsymbol{y}_0)D\boldsymbol{g}(\boldsymbol{t}_0)


Total Differential

Δwdw=fx(x0,y0)dx+fy(x0,y0)dy\Delta w\approx dw=f_x(x_0,y_0)dx+f_y(x_0,y_0)dy