Solve any maths problem
Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.
Step by step
- f(x, y) = y - \frac{1}{x^{2} y}
The gradient is the vector of partial derivatives. Differentiate with respect to each variable, holding the others constant.
- \frac{\partial f}{\partial x} = \frac{2}{x^{3} y}
Treat every variable except x as a constant.
- \frac{\partial f}{\partial y} = 1 + \frac{1}{x^{2} y^{2}}
Treat every variable except y as a constant.
- \nabla f = \left[\begin{matrix}\frac{2}{x^{3} y}\\1 + \frac{1}{x^{2} y^{2}}\end{matrix}\right]
Assemble the gradient vector. It points in the direction of steepest ascent.
Reveal the answer
\nabla f = \left[\begin{matrix}\frac{2}{x^{3} y}\\1 + \frac{1}{x^{2} y^{2}}\end{matrix}\right]