Solve any maths problem
Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.
Gradient of 1/sqrt(x^2 + y^2 + z^2)
\frac{1}{\sqrt{x^{2} + y^{2} + z^{2}}}
Step by step
- f(x, y, z) = \frac{1}{\sqrt{x^{2} + y^{2} + z^{2}}}
The gradient is the vector of partial derivatives. Differentiate with respect to each variable, holding the others constant.
- \frac{\partial f}{\partial x} = - \frac{x}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}
Treat every variable except x as a constant.
- \frac{\partial f}{\partial y} = - \frac{y}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}
Treat every variable except y as a constant.
- \frac{\partial f}{\partial z} = - \frac{z}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}
Treat every variable except z as a constant.
- \nabla f = \left[\begin{matrix}- \frac{x}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}\\- \frac{y}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}\\- \frac{z}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{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{x}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}\\- \frac{y}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}\\- \frac{z}{\left(x^{2} + y^{2} + z^{2}\right)^{\frac{3}{2}}}\end{matrix}\right]