Partial derivatives, differential, directional derivative, gradient.

Let (x1,...,xk,..,xn) be an arbitrary fixed point from the domain of definition of the function u=f(x1,...,xn). Giving the variable xk,,,(k=1,2,...,n) the increment δxk, consider the limit. limδxk0f(x1,...,xk+δxk,...,xn)f(x1,...,xk,...,xn)δxk.

This limit is called the partial derivative (of the 1st order) of the given function with respect to the variable xk at the point (x1,...,xn) and is denoted by uxk or fxk(x1,...,xn).

Partial derivatives are calculated according to the usual rules and formulas of differentiation (with all variables except xk treated as constants).

The partial derivatives of the 2nd order of the function u=f(x1,x2,...,xn) are called the partial derivatives of its partial derivatives of the 1st order. Second-order derivatives are denoted as follows: xk(uxk)=2uxk2=fxkxk(x1,x2,...,xk,...,xn). xl(uxk)=2uxkxl=fxkxl(x1,x2,...,xk,...,xl,...,xn). Similarly, partial derivatives of orders higher than the second are defined and denoted.

Examples:

Find the first and second-order partial derivatives of the given functions:

1. z=x5+y55x3y3.

Solution.

zx=(x5+y55x3y3)x=5x415x2y3;

zy=(x5+y55x3y3)y=5y415x3y2;

zxx=(5x415x2y3)x=20x330xy3;

zxy=(5x415x2y3)y=45x2y2;

zyy=(5y415x3y2)y=20y330x3y;

zyx=(5y415x3y2)x=45x2y2.

Answer: zx=5x415x2y3; zy=5y415x3y2; zxx=20x330xy3; zxy=45x2y2; zyy=20y330x3y; zyx=45x2y2.

2. z=xyx2+y2.

Solution.

zx=(xyx2+y2)x=yx2+y2xy2x2x2+y2x2+y2=y(x2+y2)x2y(x2+y2)x2+y2= =y3(x2+y2)x2+y2;

zy=(xyx2+y2)y=xx2+y2xy2y2x2+y2x2+y2=x(x2+y2)xy2(x2+y2)x2+y2= =x3(x2+y2)x2+y2;

zxx=(y3(x2+y2)3/2)x=32y32x(x2+y2)5/2=3y3x(x2+y2)5/2;

zxy=(y3(x2+y2)3/2)y=3y2(x2+y2)3/232y3(x2+y2)1/22y(x2+y2)3= =3y2(x2+y2)3y4(x2+y2)5/2=3y2x2(x2+y2)5/2;

zyy=(x3(x2+y2)3/2)y=32x32y(x2+y2)5/2=3x3y(x2+y2)5/2;

zyx=(x3(x2+y2)3/2)x=3x2(x2+y2)3/232x3(x2+y2)1/22x(x2+y2)3= =3x2(x2+y2)3x4(x2+y2)5/2=3x2y2(x2+y2)5/2.

Answer: zx=y3(x2+y2)x2+y2; zy=x3(x2+y2)x2+y2; zxx=3y3x(x2+y2)5/2; zxy=3y2x2(x2+y2)5/2; zyy=3x3y(x2+y2)5/2; zyx=3x2y2(x2+y2)5/2.

3.z=ln(x2+y2).

Solution.

zx=(ln(x2+y2))x=2xx2+y2;

zy=(ln(x2+y2))y=2yx2+y2;

zxx=(2xx2+y2)x=2(x2+y2)2x2xx2+y2=2(x2+y2)x2+y2;

zxy=(2xx2+y2)y=2x2y1(x2+y2)2=4xy(x2+y2)2;

zyy=(2yx2+y2)x=2(x2+y2)2y2yx2+y2=2(x2y2)x2+y2;

zyx=(2yx2+y2)x=2y2x1(x2+y2)2=4xy(x2+y2)2.

Answer: zx=2xx2+y2; zy=2yx2+y2; zxx=2(x2+y2)x2+y2; zxy=4xy(x2+y2)2; zyy=2(x2y2)x2+y2; zyx=4xy(x2+y2)2.

4. Find fx(3,2),fy(3,2), fxx(3,2),fxy(3,2), fyy(3,2), if f(x,y)=x3y+xy22x+3y1.

Solution.

Let's find the partial derivatives:

fx=(x3y+xy22x+3y1)x=3x2y+y2;

fy=(x3y+xy22x+3y1)y=x3+2xy+3;

fxx=(3x2y+y2)x=6xy;

fxy=(3x2y+y2)y=3x2+2y;

fyy=(x3+2xy+3)x=2x.

Now let's find the values of the partial derivatives at the point (3,2):

fx(3,2)=(3x2y+y2)|(3,2)=54+4=58;

fy(3,2)=(x3+2xy+3)|(3,2)=27+12+3=42;

fxx(3,2)=6xy|(3,2)=36;

fxy(3,2)=(3x2+2y)|(3,2)=27+4=31;

fyy(3,2)=2x|(3,2)=6.

Answer: fx(3,2)=58,fy(3,2)=42, fxx(3,2)=36,fxy(3,2)=31, fyy(3,2)=4.

5. Show that (zx)2+zy+x+z=0 given z=4e2y+(2x+4y3)eyx1.

Solution.

Let's find the partial derivatives:

zx=(4e2y+(2x+4y3)eyx1)x=2ey1;

zy=(4e2y+(2x+4y3)eyx1)y=8e2y+4ey(2x+4y3)ey.

(zx)2+zy+x+z= =(2ey1)2+(8e2y+4ey(2x+4y3)ey)+ +x+4e2y+(2x+4y3)eyx1= =4e2y4ey+18e2y+4ey2xey4yey+3ey+ +4e2y+2xey+4yey3ey1=0.

Answer: Proven.

For the differential of the function u=f(x1,x2,...,xn), the formula applies: du=ux1dx1+ux2dx2+...+uxndxn.

Functions u and v of several variables obey the usual rules of differentiation:d(u+v)=du+dv, d(uv)=vdu+udv, d(uv)=vduudvv2.

For a sufficiently small ρ=Δx12+Δx22+...+Δxn2, for a differentiable function u=f(x1,x2,...,xn), approximate equalities occur: Δudu, f(x1+Δx1,x2+Δx2,...,xn+Δxn)f(x1,x2,...,xn)+df(x1,x2,...,xn).

Examples:

Find differentials of functions:

6. z=ln(y+x2+y2).

Solution.

dz=zxdx+zydy.

zx=(ln(y+x2+y2))x=1y+x2+y2(y+x2+y2)x=1y+x2+y212x2+y2(x2+y2)x= =1y+x2+y212x2+y22x=xyx2+y2+x2+y2.

zy=(ln(y+x2+y2))y=1y+x2+y2(y+x2+y2)y= =1y+x2+y2(1+12x2+y2(x2+y2)y)= =1y+x2+y2(1+12x2+y22y)=1y+x2+y2+yx2+y2(y+x2+y2)= =x2+y2+y(y+x2+y2)x2+y2=1x2+y2.

dz=xyx2+y2+x2+y2dx+1x2+y2dy.

Answer: dz=xyx2+y2+x2+y2dx+1x2+y2dy.

7. z=lncosxy.

Solution.

dz=zxdx+zydy.

Let's find the partial derivatives:

zx=(lncosxy)x=1cosxy(cosxy)x=1cosxysinxy(xy)x= =1cosxysinxy1y.

zy=(lncosxy)y=1cosxy(cosxy)y=1cosxysinxy(xy)y= =1cosxysinxyxy2.

dz=(1cosxysinxy1y)dx+(1cosxysinxyxy2)dy=tgxyydx+xtgxyy2.

Answer: dz=tgxyydx+xtgxyy2dy.

8. Compute approximately (2.01)3.03.

Solution.

The desired number will be considered as the value of the function f(x,y)=xy at x=x0+Δx,y=y0+Δy, where x0=2,y0=3, Δx=0.01, and Δy=0.03. We have:

f(2,3)=23=8,

Δf(x,y)df(x,y)=yxy1dx+xylnxdy

Δf(2,3)32310,01+23ln20,030,06+0,17=0,23.

Therefore, (2,01)3,038+0,23=8,23.

Answer: 8,23.

Directional derivative.

If the direction l in the space Oxyz is characterized by direction cosines cosα,cosβ,cosγ and the function u=f(x,y,z) is differentiable, then the directional derivative along l is calculated using the formula:

ul=uxcosα+uycosβ+uzcosγ.

The rate of maximum increase of functions at a given point, in magnitude and direction, is determined by the vector - the gradient of the function:

gradu=uxi+uyj+uzk,the value of which is equal to

|gradu|=(ux)2+(uy)2+(uz)2.

Examples:

1. Find the derivative of the function z=x2y2 at the point M(1,1) in the direction of l that makes an angle α=π/3 with the positive direction of the Ox axis.

Solution.

The direction l is characterized by direction cosines cosα=cosπ/3=1/2;

cosβ=cos(π/2π/3)=cosπ/6=3/2.

We find the directional derivative using the formula zl=zxcosα+zycosβ.

zx=2x;

zy=2y;

zl=2x122y32.

zl=21122132=13.

Answer: 13.

2. Find the derivative of the function u=xyz at the point M(1,1,1) in the direction of l(cosα,cosβ,cosγ). What is the magnitude of the gradient of the function at this point?

Solution.

The direction l is characterized by direction cosines.

We find the directional derivative using the formula ul=uxcosα+uycosβ+uzcosγ.

ux=yz;

uy=xz;

uz=xy, ul=yzcosα+xzcosβ+xycosγ.

ul|M(1,1,1)=cosα+cosβ+cosγ.

gradu=(yz,xz,xy);

gradu|M(1,1,1)=(1,1,1);

|gradu|M(1,1,1)=1+1+1=3

Answer: ul=cosα+cosβ+cosγ;|gradu|=3.

Tags: Partial derivatives, calculus, derivative, differential, directional derivative, limDirectional derivative, mathematical analysis