Directional Derivatives & Steepest Ascent

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 7682 | Total Attempts: 9,547,133
| Questions: 15 | Updated: Dec 15, 2025
Please wait...
Question 1 / 15
0 %
0/100
Score 0/100
1) For the function f(x, y) = x sin(y), what is the gradient ∇f?

Explanation

The gradient is the vector of partial derivatives (∂f/∂x, ∂f/∂y). To find ∂f/∂x, we treat y as a constant. The derivative of x is 1, and sin(y) is a constant coefficient, so ∂f/∂x = 1*sin(y) = sin(y). To find ∂f/∂y, we treat x as a constant. The derivative of sin(y) is cos(y), so ∂f/∂y = x cos(y). Therefore, ∇f = (sin(y), x cos(y)).

Submit
Please wait...
About This Quiz
Directional Derivatives & Steepest Ascent - Quiz

Understanding gradients and directional derivatives is essential for analyzing how multivariable functions change across the plane or in three-dimensional space. In this quiz, you'll compute gradients, evaluate them at specific points, and use them to determine rates of change in arbitrary directions. You’ll also explore the geometric meaning of the... see moregradient—how it points in the direction of steepest ascent, how it relates to level curves and surfaces, and how directional derivatives quantify change along any chosen path. These problems are designed to strengthen both your computational skills and your conceptual understanding of multivariable differentiation, giving you insight into the structure and behavior of functions of several variables. see less

2)
You may optionally provide this to label your report, leaderboard, or certificate.
2) On a contour map (a plot of level curves), what does the spacing of the level curves indicate about the gradient vector?

Explanation

The magnitude of the gradient represents the steepness or the rate of change of the function. On a contour map, if level curves (representing equal steps in height/value) are packed closely together, it means the function value is changing rapidly over a short distance. This corresponds to a steep slope and, consequently, a gradient vector with a large magnitude.

Submit
3) Find the gradient of f(x,y) = x³y².

Explanation

The gradient ∇f is the vector of partial derivatives (∂f/∂x, ∂f/∂y). To find ∂f/∂x, we treat y as a constant and differentiate x³y² with respect to x. Using the power rule, the derivative of x³ is 3x², and since y² is treated as a constant multiplier, we get ∂f/∂x = 3x²y². To find ∂f/∂y, we treat x as a constant and differentiate x³y² with respect to y. The derivative of y² is 2y, and x³ is treated as a constant multiplier, giving us ∂f/∂y = 2x³y. Therefore, the gradient is ∇f = (3x²y², 2x³y).

Submit
4) Calculate the directional derivative of f(x, y) = x² + y² at the point (1, 1) in the direction of the unit vector u = <0.6, 0.8>.

Explanation

We start by finding the gradient of the function f(x, y) = x² + y². The partial derivative with respect to x is 2x, and the partial derivative with respect to y is 2y, so the gradient is <2x, 2y>. Next, we evaluate the gradient at the point (1, 1), which gives us the vector <2, 2>. To find the directional derivative, we calculate the dot product of the gradient vector <2, 2> and the given unit direction vector <0.6, 0.8>. Performing the dot product gives us (2 * 0.6) + (2 * 0.8), which equals 1.2 + 1.6. Summing these values results in 2.8.

Submit
5) What is the maximum possible value of the directional derivative of a function f at a point P?

Explanation

The directional derivative is given by D_u f = ||∇f|| cos(θ). This value is maximized when cos(θ) = 1, which occurs when the direction u is the same as the direction of the gradient (θ = 0). In this case, the directional derivative becomes ||∇f|| * 1 = ||∇f||. Thus, the maximum rate of change is the magnitude of the gradient itself.

Submit
6) Find the gradient of the function f(x, y) = x * e^y.

Explanation

To compute the gradient, we determine the partial derivatives with respect to each variable. First, we differentiate f(x, y) = x * e^y with respect to x while treating y as a constant. The derivative of x is 1, and e^y acts as a coefficient, so the result is e^y. Next, we differentiate with respect to y while treating x as a constant. The derivative of e^y is e^y, and x acts as a coefficient, so the result is x * e^y. Assembling these components into a vector, we obtain the gradient <e^y, x * e^y>.^y,>

Submit
7) If f(x,y) represents the altitude of a mountain and the gradient at your location is <0.5, -0.5>, and you walk Due North (direction <0, 1>), will you be ascending or descending?

Explanation

To determine if the function increases or decreases, we look at the directional derivative in the direction of movement. The direction is North, represented by the unit vector j = <0, 1>. The directional derivative is the dot product of the gradient and the direction: ∇f · j = <0.5, -0.5> · <0, 1> = (0.5)(0) + (-0.5)(1) = -0.5. Since the result is negative, the altitude is decreasing, meaning you are descending.

Submit
8) Find the directional derivative of f(x, y) = xy + y² at the point (2, 1) in the direction of the vector v = <3, 4>.

Explanation

First, we compute the gradient of the function f(x, y) = xy + y². The partial derivative with respect to x is y, and the partial derivative with respect to y is x + 2y. Evaluating this at the point (2, 1), we get a gradient of <1, 2 + 2(1)> which simplifies to <1, 4>. Next, we must normalize the direction vector v = <3, 4> because the formula requires a unit vector. The magnitude of v is √(3² + 4²) = 5. Dividing v by its magnitude, we get the unit vector u = <3/5, 4/5> or <0.6, 0.8>. Finally, we take the dot product of the gradient <1, 4> and the unit vector <0.6, 0.8>. This yields (1 * 0.6) + (4 * 0.8) = 0.6 + 3.2, which equals 3.8.

Submit
9) What is the maximum rate of increase of the function f(x, y) = x² - 3y at the point (2, 1)?

Explanation

We interpret the significance of the gradient to find the maximum rate of increase. The direction of maximum increase is given by the gradient vector, but the *rate* (magnitude) of that increase is the magnitude (length) of the gradient vector. First, we find the gradient. The partial derivative with respect to x is 2x, and with respect to y is -3. At the point (2, 1), the gradient is <2(2), -3> = <4, -3>. To find the maximum rate, we calculate the magnitude of this vector: √(4² + (-3)²). This simplifies to √(16 + 9) = √(25), which equals 5.

Submit
10) For the function f(x, y) = sin(x) + cos(y), what is the direction of steepest descent at the point (0, 𝜋/2)?

Explanation

We start by finding the gradient vector. The partial derivative with respect to x is cos(x), and with respect to y is -sin(y). Evaluating this at (0, 𝜋/2), we get cos(0) = 1 and -sin(𝜋/2) = -1, so the gradient is <1, -1>. The direction of steepest descent is the opposite of the gradient direction. Therefore, we multiply the gradient by -1 to get -<1, -1>, which results in the vector <-1, 1>.

Submit
11) For the function f(x, y) = x² + 2y² at (1, 1), what is the rate of increase in the direction of steepest increase?

Explanation

The rate of increase in the direction of steepest increase is the magnitude of the gradient. We get that ∇f = (2x, 4y). At (1,1), ∇f = (2, 4). Its magnitude is √(2² + 4²) = √(4+16) = √20.

Submit
12) If the gradient of f at a point is <2, 2> and the directional derivative in the direction of a unit vector u is √(8), what is the angle between the gradient and u?

Explanation

We use the alternative formula for the directional derivative: D_u f = ||gradient|| * cos(theta), where theta is the angle between the gradient and the direction vector. First, we calculate the magnitude of the gradient <2, 2>, which is √(2² + 2²) = √(8). We are given that the directional derivative is also √(8). Setting up the equation, we have √(8) = √(8) * cos(theta). Dividing both sides by √(8) gives cos(theta) = 1. The angle whose cosine is 1 is 0 degrees. This implies the direction u is exactly aligned with the gradient.

Submit
13) Find the gradient of the function of three variables w = x² + y² + z² at the point (1, 2, 3).

Explanation

We extend the definition of the gradient to three variables by computing partial derivatives for x, y, and z. The partial derivative with respect to x is 2x. The partial derivative with respect to y is 2y. The partial derivative with respect to z is 2z. This gives the gradient vector field <2x, 2y, 2z>. We then substitute the coordinates of the point (1, 2, 3) into this vector. This yields <2(1), 2(2), 2(3)>, which simplifies to <2, 4, 6>.

Submit
14) The gradient of a function f at the point (2, 3) is <4, -1>. What is the slope of the tangent line to the level curve f(x, y) = c passing through (2, 3)?

Explanation

We utilize the geometric property that the gradient vector is perpendicular (normal) to the level curve. The gradient is given as <4, -1>. The slope of this gradient vector is change-in-y over change-in-x, which is -1/4. Since the tangent line to the level curve is perpendicular to the gradient, its slope must be the negative reciprocal of the gradient's slope. The negative reciprocal of -1/4 is 4. Therefore, the slope of the tangent line to the level curve is 4.

Submit
15) Suppose the directional derivative of f at a point P is 0 in the direction <1, 1> and 0 in the direction <1, -1>. What is the gradient of f at P?

Explanation

We analyze the relationship between the gradient and the directional derivatives. If the directional derivative is 0 in a certain direction, the gradient must be perpendicular to that direction. Here, the gradient is perpendicular to <1, 1> and also perpendicular to <1, -1>. In a two-dimensional plane, the only vector that is perpendicular to two non-parallel vectors simultaneously is the zero vector. Therefore, the gradient vector must be <0, 0>, indicating a critical point (like a local maximum, minimum, or saddle point) or a flat region.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
For the function f(x, y) = x sin(y), what is the gradient ∇f?
On a contour map (a plot of level curves), what does the spacing of...
Find the gradient of f(x,y) = x³y².
Calculate the directional derivative of f(x, y) = x² + y² at...
What is the maximum possible value of the directional derivative of a...
Find the gradient of the function f(x, y) = x * e^y.
If f(x,y) represents the altitude of a mountain and the gradient at...
Find the directional derivative of f(x, y) = xy + y² at the point...
What is the maximum rate of increase of the function f(x, y) = x²...
For the function f(x, y) = sin(x) + cos(y), what is the direction of...
For the function f(x, y) = x² + 2y² at (1, 1), what is the...
If the gradient of f at a point is <2, 2> and the directional...
Find the gradient of the function of three variables w = x² +...
The gradient of a function f at the point (2, 3) is <4, -1>....
Suppose the directional derivative of f at a point P is 0 in the...
Alert!

Advertisement