Polynomial gradient
Find the gradient of x^2+y^2
Method: Differentiate with respect to each variable separately.
- 1.Holding y constant gives f_x=2x.
- 2.Holding x constant gives f_y=2y.
- 3.Place both partials in a vector.
Final answer
Free online calculator
Compute the gradient vector of any scalar function of two or three variables. Get each partial derivative with step-by-step work.
Step-by-step solutions
See the working, not only the result
Exact and decimal forms
Use the form that fits your problem
No account needed
Start with the example or enter your own
Quick start
The calculator is ready with a sample problem. Replace it with your own when you are ready.
Type f(x, y) or f(x, y, z) using standard notation.
We differentiate with respect to each variable in turn.
The partial derivatives combine into the gradient vector.
Method notes
Compute a gradient vector and understand how each partial derivative contributes to direction of change.
The gradient is assembled by differentiating once with respect to each independent variable while holding the others constant. At a point, the vector points in the direction of steepest local increase.
Compare the method and intermediate steps with your own work before checking the final expression.
Polynomial gradient
Method: Differentiate with respect to each variable separately.
Final answer
Mixed term
Method: Treat the other variable as constant in each partial.
Final answer
Evaluate at a point
Method: Find the symbolic gradient before substituting.
Final answer
Continue learning
Before you calculate
The calculator supports functions of two or three variables. For more variables, enter the expression and we compute each partial.
Yes. The gradient vector points in the direction of steepest increase of the function at each point.
It stores one partial derivative for each input direction, so both magnitude and direction matter.
It identifies a critical point; additional tests are needed to determine whether it is a minimum, maximum, or saddle point.
Related tools