Partial derivatives and gradient vector
Find the partial derivatives of a second-degree polynomial in two variables and calculate the gradient vector at a point.
Calculate the result
Worked example
Problem
Find the partial derivatives of f(x,y) = x² + xy + 2y² and the gradient vector at (1, 2).
For f(x,y) = x² + xy + 2y², the gradient vector at (1, 2) is (4, 9).
Differentiate with respect to x keeping y constant
Differentiate with respect to y keeping x constant
Replace the point
Common mistake
In the partial derivative with respect to x, the term xy gives y, because y is treated as constant.
