Change one variable while holding the other fixed
A partial derivative measures change along one coordinate direction. Differentiating with respect to x holds y constant; differentiating with respect to y holds x constant. The gradient collects these derivatives into a vector. It has a different type from the function value: f(x,y) is a scalar, whereas ∇f(x,y) has two components.[1]
The dot-product formula requires differentiability at the point. To measure change per unit distance, u must be normalized.[1]
Existence of partial derivatives alone does not guarantee differentiability. Continuous partial derivatives in a neighborhood are a sufficient condition. If coordinates have different scales or physical dimensions, the meaning of distance and direction must also be specified. This calculator therefore uses normalized dimensionless coordinates.[1]
What the gradient tells you geometrically
Among unit directions, the largest increase occurs parallel to ∇f and equals ‖∇f‖.[1]
The statement follows from the dot product or Cauchy–Schwarz inequality. Along a regular level curve, f remains constant, so its tangent vector is perpendicular to the gradient. When ∇f=0, no unique first-order steepest direction is selected. A zero gradient does not prove a minimum; the Hessian test uses second derivatives to help classify the point.[1]
Calculate a gradient and check a direction
Quadratic surface at a specific point
- Given
- f(x,y)=x2+3xy+2y2, P=(1,2).
- Find
- Find the gradient and greatest rate of change.
Hold the other variable fixed in each partial derivative.
Substitute the point afterward.
The magnitude is the maximum directional derivative.
Result: Steepest unit direction: (8,11)/√185.
Check: f(1,2)=15 is the function value, not the gradient. The two partial derivatives can be checked separately.
Normalize a supplied direction first
- Given
- f(x,y)=x2+y2, P=(1,2), direction vector v=(3,4).
- Find
- Calculate change per unit distance in direction v.
The direction vector has length 5.
The gradient at the point is (2,4).
Result: The directional derivative is 4.4.
Check: Without normalization the dot product would be 22: that is the derivative along the differently parameterized curve P+tv, not per unit distance.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Calculator for a quadratic function
The calculator returns fx, fᵧ or gradient magnitude at a point. F does not affect the gradient.[1]
Scope is explicitly limited to this two-dimensional quadratic polynomial. Inputs are coefficients and a point, not arbitrary expressions. Constant F is not required for derivatives and is therefore not requested as an unnecessary input. A magnitude is not a vector component; choose the target that matches the question. Components can be negative, while magnitude is nonnegative.[1]
Differentiate, normalize and interpret
Calculate · Foundation
Find ∇f(2,−1) for f=2x2+xy−y2.
Show hint
fx=4x+y and fᵧ=x−2y.
Learning goal: Calculate both components separately.
Show solution and calculation
∇f(2,−1)=(7,4), magnitude √65≈8.062258.
Error analysis · Application
For f=xy, someone writes fx=y+x. What is wrong?
Show hint
In the partial derivative, y does not depend on x.
Learning goal: Distinguish partial and total derivatives.
Show solution and calculation
Correct: fx=y.
An additional term involving the derivative of y belongs to a different problem in which y=y(x).
Interpret · Foundation
What follows from ∇f(0,0)=0 for f=x2−y2?
Show hint
Compare the x- and y-axes.
Learning goal: Do not equate zero gradient with a minimum.
Show solution and calculation
First-order change vanishes, but f increases along y=0 and decreases along x=0.
The origin is a saddle, not a minimum.
Transfer · Application
For ∇f=(3,4), choose a unit direction with zero directional derivative.
Show hint
Find a perpendicular vector and normalize it.
Learning goal: Find a tangent direction to a level curve.
Show solution and calculation
u=(−4/5,3/5) has length 1 and (3,4)·u=−12/5+12/5=0.
Calculate · Application
At P=(1,2), f=x2+y2 has gradient (2,4). Find the steepest decrease and corresponding unit direction.
Show hint
Reverse the normalized gradient.
Learning goal: Combine magnitude and direction.
Show solution and calculation
u=(−1/√5,−2/√5), Dᵤf=−√20=−2√5≈−4.472136.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 1, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a distinct DE/EN article with model limits, two worked examples and five varied exercises.
Cite this reference page
Quanta. Partial derivatives and gradient. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/gradient-partielle-ableitungen
When citing a specific scientific statement, also cite the specialist source linked to that statement.