Maths WorkshopMaths problems with full solutions
Exercise 522Calculus › Multivariable calculus › Partial derivativesHigh schoolAdded 3 Nov 2026

Directional derivative

#directional derivative#gradient#direction

Statement

Let f(x,y)=x2yf(x,y)=x^2y and u⃗=(1,1)/2\vec u=(1,1)/\sqrt2. Compute the directional derivative Du⃗f(1,2)D_{\vec u}f(1,2).

Hint

Du⃗f=∇f⋅u⃗D_{\vec u}f=\nabla f\cdot\vec u.

Show solutionHide solution

Solution

Gradient. ∇f=(2xy,x2)\nabla f=(2xy,x^2), so ∇f(1,2)=(4,1)\nabla f(1,2)=(4,1).

Dot product. Du⃗f(1,2)=(4,1)⋅(1,1)2=52D_{\vec u}f(1,2)=(4,1)\cdot\frac{(1,1)}{\sqrt2}=\frac{5}{\sqrt2}.

Conclusion. Du⃗f(1,2)=5/2D_{\vec u}f(1,2)=5/\sqrt2.