Differential Calculus: Several Variables (9hrs) · Engineering Mathematics - I

Partial differentiations

Watch lectures

Partial differentiations

1. From One Variable to Several

For z=f(x,y)z = f(x,y), both xx and yy can change. A partial derivative measures rate of change when one variable moves, the other frozen. Notation:

fx=∂f/∂x,fy=∂f/∂y,fxx=∂2f/∂x2,fxy=∂/∂y(∂f/∂x)f_x = ∂f/∂x , f_y = ∂f/∂y , f_{xx} = ∂²f/∂x² , f_{xy} = ∂/∂y(∂f/∂x)

Definition:

∂f/∂x(x0,y0)=limh→0[f(x0+h,y0)−f(x0,y0)]/h∂f/∂x (x_0,y_0) = lim h→0 [f(x_0+h,y_0)-f(x_0,y_0)]/h

(treat y0y_0 as constant; similarly for ∂f/∂y∂f/∂y).

Geometrically: fxf_x = slope of curve formed by cutting surface z=f(x,y)z=f(x,y) with plane y=y0y=y_0; fyf_y = slope with x=x0x=x_0 plane.

2. How to Compute — Treat the Other Variable as Constant

f(x,y)= x^2 y + y^3 + sin(x y):  f_x = 2x y + y cos(x y)  (y constant)
                                 f_y = x^2 +3y^2 + x cos(x y) (x constant)

f(x,y)= x^y  (x>0):  f_x = y x^{y-1} ,  f_y = x^y log x

u = log(x^2+y^2+z^2): u_x = 2x/(x^2+y^2+z^2) etc.

Chain rule and product/quotient work exactly as in one variable, once the frozen variable is treated as constant.

3. Higher-Order Partials and Clairaut's Theorem

  • Second-order: fxx=∂/∂x(fx)f_{xx}=∂/∂x(f_x), fyyf_{yy}, fxy=∂/∂y(fx)f_{xy}=∂/∂y(f_x), fyx=∂/∂x(fy)f_{yx}=∂/∂x(f_y).
  • Mixed partials equal when continuous: If fxyf_{xy} and fyxf_{yx} are continuous at (x0,y0)(x_0,y_0), then:
fxy(x0,y0)=fyx(x0,y0)f_{xy}(x_0,y_0) = f_{yx}(x_0,y_0)

is Clairaut's (Young's) theorem — the order of differentiation does not matter. Counter-examples where equality fails have discontinuous mixed partials at the point.

  • Notation: ∂2f/∂y∂x∂²f/∂y∂x means first xx then yy (inside out).

4. Total Differential (preview)

If z=f(x,y)z=f(x,y), small changes dx,dydx, dy give:

dz=fxdx+fydydz = f_x dx + f_y dy

This linear approximation is the workhorse for error estimation and the total derivative df/dt=fxdx/dt+fydy/dtdf/dt = f_x dx/dt + f_y dy/dt when x=x(t),y=y(t)x=x(t), y=y(t).

5. Worked Examples

(a) f(x,y)= x^3 y^2 + e^{xy}: f_x =3x^2 y^2 + y e^{xy}, f_y =2x^3 y + x e^{xy}
    f_{xy}= 6x^2 y + e^{xy}+ x y e^{xy}; f_{yx}= 6x^2 y + e^{xy}+ x y e^{xy} ⇒ equal ✓

(b) Verify Clairaut for f= x^2 sin y: f_x=2x sin y, f_y= x^2 cos y,
    f_{xy}=2x cos y, f_{yx}=2x cos y ✓

(c) f= r = √(x^2+y^2): f_x = x/r, f_y = y/r (r≠0); second: f_{xx}= y^2/r^3

(d) Homogeneous check: if f(x,y)= sin^{-1}(y/x): f_x= -y/(x√(x^2-y^2)), f_y=1/√(x^2-y^2)

(e) f(x,y,z)= x^y+y^z+z^x at (1,1,1): f_x= y x^{y-1}+z^x log z → at (1,1,1)=1+0=1

6. Exam Points

  • Compute fx,fy,fxx,fxy,fyxf_x, f_y, f_{xx}, f_{xy}, f_{yx} and verify fxy=fyxf_{xy}=f_{yx} — 5 marks, very frequent.
  • Find ∂z/∂x,∂z/∂y∂z/∂x, ∂z/∂y for z=log(x2+y2),z=tan−1(y/x),z=xyz=log(x^2+y^2), z=tan^{-1}(y/x), z=x^y — 5 marks, frequent.
  • Total differential dzdz and approximate change — 3-5 marks.
  • State Clairaut's theorem and condition — 3 marks.
Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.

← All Engineering Mathematics - I modules