UcenlyOpen in the app

Calculus 2 · BE5B01MA2 · Topic 3 of 14

Partial & directional derivatives, tangent plane, gradient

Week 3. Freeze all variables but one, then assemble the gradient.

Open the interactive lesson

Key ideas

Differentiate one variable at a time

A partial derivative treats the other variables as constants. For C² functions the mixed partials agree: fxy = fyx.

Linearise at a point

For a differentiable f, the tangent plane to z=f(x,y) at (x₀,y₀) is the graph of the linearisation. It approximates f near the point.

Use the gradient for directions

The directional derivative along a unit vector u is ∇f·u. It is largest in the direction of ∇f, with value ‖∇f‖, and zero along level curves because ∇f is orthogonal to them.

In one line: Normalise the direction vector before you take a directional derivative.

Formulas

Practice with worked solutions

Question 1

Find fy(1,0).

f(x,y)=x3+xy2−sin⁡(xy)+6f(x,y)=x^3+xy^2-\sin(xy)+6
Worked solution

Answer: -1

  1. fy=2xy−xcos⁡(xy)f_y=2xy-x\cos(xy)
  2. fy(1,0)=0−1⋅cos⁡0=−1f_y(1,0)=0-1\cdot\cos0=-1

Treat x as a constant and differentiate in y.

Question 2

Find the directional derivative of f at P(1,2) in the direction of v=(3,4).

f(x,y)=x2yf(x,y)=x^2y
Worked solution

Answer: 16/5

  1. ∇f=⟨2xy, x2⟩,∇f(1,2)=⟨4,1⟩\nabla f=\langle2xy,\ x^2\rangle,\quad\nabla f(1,2)=\langle4,1\rangle
  2. u=15⟨3,4⟩,Duf=15(12+4)=165\mathbf u=\tfrac15\langle3,4\rangle,\quad D_{\mathbf u}f=\tfrac15(12+4)=\tfrac{16}5

Normalise v first, then take the dot product with the gradient.

Question 3

Use the linearisation of f at (1,2) to approximate f(1.1, 1.9).

f(x,y)=x2yf(x,y)=x^2y
Worked solution

Answer: 2.3

  1. f(1,2)=2,fx=2xy=4,fy=x2=1f(1,2)=2,\quad f_x=2xy=4,\quad f_y=x^2=1
  2. L(1.1,1.9)=2+4(0.1)+1(−0.1)=2.3L(1.1,1.9)=2+4(0.1)+1(-0.1)=2.3

Linearisation: f(1,2)+fx·Δx+fy·Δy.

More Calculus 2 practice in Ucenly

Sources

Written by Ucenly. Based on the BE5B01MA2 course materials: