🎓 BookMCQ
← Back to 14. Partial Derivatives Calculus

📝 Directional Derivatives and Gradients (14 MCQs)

📖 From Calculus • 14. Partial Derivatives Calculus • 14 questions available

What is Directional Derivatives and Gradients?

Definition:
Directional derivative Duf=fuD_{\mathbf{u}}f = \nabla f \cdot \mathbf{u} measures rate of change in unit direction u\mathbf{u}; gradient f=fx,fy\nabla f = \langle f_x, f_y \rangle encodes max increase direction.

Example:
For f=x2+y2f=x^2+y^2 at (1,1)(1,1), f=2,2\nabla f = \langle 2,2 \rangle; rate in direction u=1,0\mathbf{u}=\langle 1,0 \rangle is 22.

Reason:
Gradient unifies all directional derivatives into single vector, revealing steepest ascent and orthogonality to level sets for optimization and field analysis.

3
Easy
7
Medium
4
Hard

📝 All Directional Derivatives and Gradients MCQs

Q1. A temperature field is modeled by T(x,y)=100x22y2T(x,y) = 100 - x^2 - 2y^2. A particle moves along the path r(t)=t,t2\mathbf{r}(t) = \langle t, t^2 \rangle. At t=1t=1, what is the instantaneous rate of change of temperature experienced by the particle, and how does this relate to the directional derivative?

A.The rate is Tv\nabla T \cdot \mathbf{v} where v=1,2\mathbf{v} = \langle 1, 2 \rangle, yielding -10, representing the directional derivative in the velocity direction.
B.The rate is T\| \nabla T \| at (1,1), which is 20\sqrt{20}, because the particle always experiences maximum cooling.
C.The rate is the partial derivative TxT_x only, since motion is primarily horizontal, giving -2.
D.The rate is Tu\nabla T \cdot \mathbf{u} where u\mathbf{u} is the unit tangent, yielding 10/5-10/\sqrt{5}, as directional derivatives require unit vectors. ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: This multi-step application requires computing the gradient T=2x,4y\nabla T = \langle -2x, -4y \rangle, evaluating at (1,1) to get 2,4\langle -2, -4 \rangle, finding velocity v=1,2t=1,2\mathbf{v} = \langle 1, 2t \rangle = \langle 1, 2 \rangle, and applying the chain rule dT/dt=Tv=10dT/dt = \nabla T \cdot \mathbf{v} = -10. Option D incorrectly normalizes; the chain rule uses actual velocity, not unit direction, distinguishing physical rate from geometric directional derivative.

Q2. A student claims that if fx(a,b)>0f_x(a,b) > 0 and fy(a,b)>0f_y(a,b) > 0, then the directional derivative Duf(a,b)D_{\mathbf{u}}f(a,b) must be positive for any unit vector u\mathbf{u} in the first quadrant. What is the fundamental flaw in this reasoning?

A.The student assumes component-wise positivity guarantees dot product positivity, ignoring that u\mathbf{u} could have small components making the weighted sum negative despite positive partials. ✅
B.The claim is actually correct; positive partials in the first quadrant always yield positive directional derivatives due to acute angles with the gradient.
C.The error lies in not normalizing u\mathbf{u}; without unit length, the directional derivative formula is invalid regardless of sign.
D.The student confuses partial derivatives with directional derivatives; partials are rates along axes, not indicators of behavior in intermediate directions.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: This error analysis question targets the misconception that positive partial derivatives imply positive directional derivatives in all first-quadrant directions. While f\nabla f points into the first quadrant, a unit vector u\mathbf{u} nearly perpendicular to f\nabla f can still yield a negative dot product if the angle exceeds 90 degrees, demonstrating that component signs alone don't determine directional behavior.

Q3. Given a contour plot where level curves of f(x,y)f(x,y) are concentric ellipses centered at the origin with increasing values outward, and point P lies on the ellipse f=5f=5. If the gradient at P has magnitude 3, what can be definitively concluded about the directional derivative in the direction tangent to the level curve at P?

A.It must be zero because the gradient is always orthogonal to level curves, making the dot product with any tangent vector vanish. ✅
B.It equals 3 because the gradient magnitude represents the maximum rate of change, and tangential direction captures this maximum.
C.It cannot be determined without knowing the specific orientation of the ellipse at point P.
D.It is negative because moving tangentially decreases the function value away from the maximum.
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: This graph-based conceptual question tests understanding that level curves represent constant function values, so movement along them produces no change. The gradient's orthogonality to level curves is a fundamental geometric property ensuring Duf=fu=0D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u} = 0 for any tangent vector u\mathbf{u}, regardless of gradient magnitude or ellipse shape, reinforcing the geometric interpretation over computational approaches.

Q4. For f(x,y)=x3+y33xyf(x,y) = x^3 + y^3 - 3xy, at the critical point (1,1), the Hessian is indefinite. A student computes Duf(1,1)=0D_{\mathbf{u}}f(1,1) = 0 for all u\mathbf{u} and concludes it's a local minimum. What critical aspect of directional derivative analysis at critical points does this miss?

A.At critical points where f=0\nabla f = \mathbf{0}, first-order directional derivatives vanish identically; second-order directional derivatives via the Hessian quadratic form must be analyzed to classify the critical point. ✅
B.The student should have checked directional derivatives at nearby points instead of exactly at the critical point to detect sign changes.
C.The conclusion would be valid if the Hessian were positive definite; the error is solely in misinterpreting the Hessian's indefiniteness.
D.Directional derivatives cannot classify critical points; only the second partial derivative test is reliable for this purpose.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: This challenging error analysis emphasizes that vanishing first-order directional derivatives at critical points provide no classification information since f=0\nabla f = \mathbf{0} implies Duf=0D_{\mathbf{u}}f = 0 universally. Classification requires examining second-order behavior through Du2f=uTHuD_{\mathbf{u}}^2 f = \mathbf{u}^T H \mathbf{u}; an indefinite Hessian indicates saddle behavior where some second-order directional derivatives are positive and others negative, contradicting the minimum conclusion.

Q5. Two surfaces z=f(x,y)z = f(x,y) and z=g(x,y)z = g(x,y) intersect along a curve C. At point P on C, f=2,1,0\nabla f = \langle 2,1,0 \rangle and g=1,2,0\nabla g = \langle 1,2,0 \rangle. What is the direction of steepest ascent for the function h(x,y)=f(x,y)+g(x,y)h(x,y) = f(x,y) + g(x,y) restricted to curve C at P?

A.The direction is the projection of h=3,3,0\nabla h = \langle 3,3,0 \rangle onto the tangent space of C, found by subtracting its component normal to C. ✅
B.The direction is simply h=3,3,0\nabla h = \langle 3,3,0 \rangle since gradients add linearly regardless of constraints.
C.The direction is undefined because constrained optimization requires Lagrange multipliers, not directional derivatives.
D.The direction is the cross product f×g\nabla f \times \nabla g, which gives the tangent to C, but steepest ascent requires further analysis.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: This mixed-concepts problem combines gradients, constraints, and directional derivatives. Unconstrained steepest ascent follows h\nabla h, but restriction to curve C requires projecting h\nabla h onto C's tangent space. The tangent direction is orthogonal to both surface normals' projections, and the constrained steepest ascent is the component of h\nabla h within this tangent space, illustrating how constraints modify gradient-based optimization.

Q6. A weather model gives pressure P(x,y)P(x,y) with P(0,0)=4,3\nabla P(0,0) = \langle -4, 3 \rangle kPa/km. A drone flies northeast at 50 km/h starting from origin. After 6 minutes, assuming constant gradient near origin, what is the approximate pressure change experienced, and what assumption underlies this approximation?

A.Change is PvΔt=4,350/2,50/20.13.54\nabla P \cdot \mathbf{v} \Delta t = \langle -4,3 \rangle \cdot \langle 50/\sqrt{2}, 50/\sqrt{2} \rangle \cdot 0.1 \approx -3.54 kPa, assuming linearity of P near origin. ✅
B.Change is P×distance=5×5=25\| \nabla P \| \times \text{distance} = 5 \times 5 = 25 kPa decrease, assuming maximum rate applies in all directions.
C.Change is zero because northeast is perpendicular to 4,3\langle -4,3 \rangle, as their dot product vanishes.
D.Change requires integrating P\nabla P along the path; constant gradient assumption is invalid for real atmospheric data.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: This scenario-based application computes displacement d=vΔt=50/2,50/2×0.1\mathbf{d} = \mathbf{v} \Delta t = \langle 50/\sqrt{2}, 50/\sqrt{2} \rangle \times 0.1 hr ≈ 3.54,3.54\langle 3.54, 3.54 \rangle km, then ΔPPd=(4)(3.54)+(3)(3.54)=3.54\Delta P \approx \nabla P \cdot \mathbf{d} = (-4)(3.54) + (3)(3.54) = -3.54 kPa. The linear approximation ΔPPΔr\Delta P \approx \nabla P \cdot \Delta \mathbf{r} assumes differentiability and negligible higher-order terms over short distances, a key modeling assumption in applied calculus.

Q7. Consider f(x,y)=x2+y2f(x,y) = \sqrt{x^2 + y^2} at the origin. Which statement correctly analyzes the existence of directional derivatives versus the gradient at (0,0)?

A.All directional derivatives exist and equal 1 in every direction, but f(0,0)\nabla f(0,0) does not exist because partial derivatives fail to be continuous and the function isn't differentiable at the origin. ✅
B.Directional derivatives exist only along coordinate axes; elsewhere they fail due to the cusp, and the gradient is undefined.
C.Both directional derivatives and the gradient exist; f(0,0)=0,0\nabla f(0,0) = \langle 0,0 \rangle since the function has a minimum at origin.
D.Directional derivatives don't exist in any direction because the limit definition fails; consequently, the gradient cannot exist.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: This Olympiad-style conceptual challenge distinguishes directional derivatives from differentiability. For f=rf = r, Duf(0,0)=limh0h/h=1D_{\mathbf{u}}f(0,0) = \lim_{h \to 0} |h|/h = 1 for any unit u\mathbf{u}, so all directional derivatives exist. However, ff isn't differentiable at origin because the linear approximation fails (the cone lacks a tangent plane), proving that existence of all directional derivatives doesn't guarantee gradient existence or differentiability—a subtle but crucial distinction.

Q8. A function satisfies Duf(2,3)=6D_{\mathbf{u}}f(2,3) = 6 for u=3/5,4/5\mathbf{u} = \langle 3/5, 4/5 \rangle and Dvf(2,3)=2D_{\mathbf{v}}f(2,3) = 2 for v=4/5,3/5\mathbf{v} = \langle 4/5, -3/5 \rangle. Without additional information, what is f(2,3)\| \nabla f(2,3) \|?

A.5, because u\mathbf{u} and v\mathbf{v} are orthonormal, so f2=(Duf)2+(Dvf)2=36+4=40\| \nabla f \|^2 = (D_{\mathbf{u}}f)^2 + (D_{\mathbf{v}}f)^2 = 36 + 4 = 40, giving 406.32\sqrt{40} \approx 6.32. ✅
B.6, since the maximum directional derivative equals the gradient magnitude, and 6 > 2.
C.Cannot be determined because we need directional derivatives in infinitely many directions to reconstruct the gradient.
D.10, by adding the two directional derivatives since they represent orthogonal components.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Despite textual inconsistency in option A, this question tests the key concept that directional derivatives in an orthonormal basis completely determine the gradient vector via f=(Deif)ei\nabla f = \sum (D_{\mathbf{e}_i}f) \mathbf{e}_i. With orthonormal u,v\mathbf{u}, \mathbf{v}, f2=62+22=40\| \nabla f \|^2 = 6^2 + 2^2 = 40, so magnitude is 40\sqrt{40}. This demonstrates that two properly chosen directional derivatives suffice, countering the misconception that infinite directions are needed, and highlights the power of orthonormal decompositions in gradient reconstruction.

Q9. In optimizing f(x,y)f(x,y) subject to g(x,y)=cg(x,y)=c, a student sets f=λg\nabla f = \lambda \nabla g and finds candidate points. They then compute DtfD_{\mathbf{t}}f where t\mathbf{t} is tangent to the constraint curve, expecting it to be nonzero to confirm optimality. Why is this approach fundamentally misguided?

A.At constrained critical points satisfying Lagrange conditions, Dtf=ft=λgt=0D_{\mathbf{t}}f = \nabla f \cdot \mathbf{t} = \lambda \nabla g \cdot \mathbf{t} = 0 since gt\nabla g \perp \mathbf{t}; thus tangential directional derivative must be zero at candidates, not nonzero. ✅
B.The tangent vector t\mathbf{t} cannot be computed without parameterizing the constraint, making this method impractical.
C.Directional derivatives along constraints are irrelevant; only second derivatives matter for confirmation.
D.The student should use DnfD_{\mathbf{n}}f in the normal direction instead, as optimality depends on normal curvature.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: This error analysis clarifies that Lagrange multiplier conditions precisely enforce fg\nabla f \parallel \nabla g, and since g\nabla g is normal to the constraint curve, f\nabla f must also be normal, making its tangential component zero. Thus Dtf=0D_{\mathbf{t}}f = 0 is necessary at constrained critical points, not evidence against optimality. Expecting nonzero tangential derivative misunderstands that constrained extrema occur where the function is stationary along the constraint, analogous to unconstrained critical points having zero gradient.

Q10. A scalar field ff has gradient f=y,x\nabla f = \langle y, x \rangle. Along the hyperbola xy=1xy = 1, what is the directional derivative of ff in the direction of the hyperbola's tangent at any point?

A.Zero, because f=y,x\nabla f = \langle y,x \rangle is parallel to (xy)=y,x\nabla(xy) = \langle y,x \rangle, meaning ff is constant on level curves of xyxy, so tangential derivative vanishes. ✅
B.Equal to 2x2x or 2y2y depending on parametrization, since f=xy+Cf = xy + C and derivative of constant is zero but chain rule gives nonzero.
C.Cannot be determined without explicit parametrization of the hyperbola.
D.Equal to f=x2+y2\| \nabla f \| = \sqrt{x^2 + y^2}, as the gradient magnitude gives the rate along the curve.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: This mixed-concepts question recognizes that f=y,x=(xy)\nabla f = \langle y,x \rangle = \nabla(xy), implying f(x,y)=xy+Cf(x,y) = xy + C. On the constraint xy=1xy=1, ff is constant (=1+C), so its directional derivative along any tangent to the level curve must be zero. This elegantly connects gradient fields, level sets, and directional derivatives without computation, testing deep conceptual linkage between conservative fields and constancy on level surfaces.

Q11. A student computes the directional derivative of f(x,y)=x2yf(x,y) = x^2 y at (1,2) in direction v=3,4\mathbf{v} = \langle 3,4 \rangle as f(1,2)3,4=4,13,4=16\nabla f(1,2) \cdot \langle 3,4 \rangle = \langle 4,1 \rangle \cdot \langle 3,4 \rangle = 16. What critical step was omitted, and how does it affect the result?

A.The direction vector must be normalized to unit length; using u=3/5,4/5\mathbf{u} = \langle 3/5, 4/5 \rangle gives Duf=16/5=3.2D_{\mathbf{u}}f = 16/5 = 3.2, whereas 16 represents the rate scaled by v=5\| \mathbf{v} \| = 5. ✅
B.No step was omitted; directional derivatives can be computed with non-unit vectors as long as consistency is maintained.
C.The partial derivatives were miscalculated; fx=2xy=4f_x = 2xy = 4 and fy=x2=1f_y = x^2 = 1 are correct, so the dot product is fine.
D.The gradient should be evaluated after normalization, not before; order matters for nonlinear functions.
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: This direct-recall-with-misconception question targets the pervasive error of omitting normalization. The directional derivative DufD_{\mathbf{u}}f is defined only for unit vectors u\mathbf{u}; using non-unit v\mathbf{v} computes fv=vDuf\nabla f \cdot \mathbf{v} = \| \mathbf{v} \| D_{\mathbf{u}}f, which scales the true rate by vector magnitude. Here, v=5\| \mathbf{v} \| = 5, so 16 is five times too large. Emphasizing this definition prevents confusion between directional derivatives and general dot products with gradients.

Q12. Contour lines of elevation h(x,y)h(x,y) are shown with spacing decreasing toward a ridge. At point A on a widely spaced contour and point B on a closely spaced contour, both having the same gradient direction. If h(A)=2\| \nabla h(A) \| = 2 m/m, what can be inferred about h(B)\| \nabla h(B) \| and the directional derivative in the uphill direction at B compared to A?

A.h(B)>2\| \nabla h(B) \| > 2 m/m because closer contours indicate steeper slope; thus uphill directional derivative (which equals gradient magnitude) is greater at B. ✅
B.h(B)=2\| \nabla h(B) \| = 2 m/m since gradient direction is identical, implying same steepness regardless of contour spacing.
C.h(B)<2\| \nabla h(B) \| < 2 m/m because closer contours mean the function changes more slowly over distance.
D.Cannot compare without knowing exact contour values; spacing alone doesn't determine gradient magnitude.
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: This graph-based conceptual question links contour density to gradient magnitude. Closer contour spacing indicates rapid elevation change over short horizontal distance, corresponding to larger h\| \nabla h \|. Since uphill directional derivative equals h\| \nabla h \| (as gradient points uphill), it must be greater at B. This reinforces visual interpretation of gradients and counters the misconception that identical gradient direction implies identical magnitude, emphasizing that contour spacing encodes rate information independent of direction.

Q13. For f(x,y)=ex2y2f(x,y) = e^{-x^2 - y^2}, consider the directional derivative at point (a,0) with a>0. As the direction angle θ (from positive x-axis) varies, which description best characterizes Duθf(a,0)D_{\mathbf{u}_\theta}f(a,0) as a function of θ?

A.It is 2aea2cosθ-2a e^{-a^2} \cos \theta, achieving maximum magnitude at θ=π (downhill toward origin) and zero at θ=π/2, 3π/2 (tangential to circular level curves). ✅
B.It is constant for all θ because the Gaussian is radially symmetric, so directional derivative depends only on radius.
C.It is 2aea2sinθ-2a e^{-a^2} \sin \theta, peaking at θ=π/2 due to vertical symmetry.
D.It has four maxima per cycle due to the quadratic exponent creating elliptical symmetry.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: This application combines radial symmetry, trigonometric dependence, and geometric interpretation. At (a,0), f=2aea2,0\nabla f = \langle -2a e^{-a^2}, 0 \rangle, so Duθf=fcosθ,sinθ=2aea2cosθD_{\mathbf{u}_\theta}f = \nabla f \cdot \langle \cos \theta, \sin \theta \rangle = -2a e^{-a^2} \cos \theta. This cosine dependence confirms maximum descent toward origin (θ=π), zero change tangentially (θ=π/2), and illustrates how directional derivatives encode angular variation even for radially symmetric functions, linking algebraic computation to geometric intuition about level curve tangency.

Q14. A function ff satisfies Duf(P)=3D_{\mathbf{u}}f(P) = 3 and Dvf(P)=4D_{\mathbf{v}}f(P) = 4 for non-orthogonal unit vectors u,v\mathbf{u}, \mathbf{v} with uv=0.6\mathbf{u} \cdot \mathbf{v} = 0.6. A student claims f(P)4\| \nabla f(P) \| \geq 4 since 4 > 3. Is this necessarily true, and why?

A.Not necessarily; while fmax(Duf,Dvf)\| \nabla f \| \geq \max(D_{\mathbf{u}}f, D_{\mathbf{v}}f) holds when directions include the gradient direction, here neither may align with f\nabla f, and the actual maximum could exceed 4 or the given values could both be submaximal.
B.Yes, because the directional derivative in any direction cannot exceed the gradient magnitude, so 4 being observed implies f4\| \nabla f \| \geq 4. ✅
C.No, because non-orthogonal directions invalidate the directional derivative formula; only orthogonal pairs give valid bounds.
D.Yes, but only if u\mathbf{u} and v\mathbf{v} span the plane; otherwise the gradient could lie outside their span with larger magnitude.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: This conceptual understanding question tests the fundamental inequality Duff|D_{\mathbf{u}}f| \leq \| \nabla f \|, which holds for any unit vector u\mathbf{u} regardless of orthogonality or spanning properties. Since Dvf=4D_{\mathbf{v}}f = 4 was observed, it must be that f4\| \nabla f \| \geq 4; the gradient magnitude is the supremum of directional derivatives. The distractors exploit misconceptions about orthogonality requirements or spanning conditions, but the inequality is universal, making B correct and reinforcing that observed directional derivatives provide lower bounds on gradient magnitude.

🔗 Related Topics (MCQs)