## Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > Latex gradient symbol

How to write gradient symbol in Latex ? The gradient of a differentiable function f of several variables is the vector field whose components are the partial derivatives of f

## Write gradient symbol in Latex

You can use the default math mode with \nabla function:


$$\nabla u$$



$$\nabla u$$

## More examples gradient symbol in Latex

Let’s write the mathematical definition


$$\nabla f(\left.x_{1}, x_{2}, \ldots, x_{n}\right)=\left[\begin{array}{c} \dfrac{\partial f}{\partial x_1}(\left.x_{1}, x_{2}, \ldots, x_{n}\right)\\ \dfrac{\partial f}{\partial x_2}(\left.x_{1}, x_{2}, \ldots, x_{n}\right) \\ \vdots \\ \dfrac{\partial f}{\partial x_n}(\left.x_{1}, x_{2}, \ldots, x_{n}\right) \end{array}\right]$$



$$\nabla f(\left.x_{1}, x_{2}, \ldots, x_{n}\right)=\left[\begin{array}{c} \dfrac{\partial f}{\partial x_1}(\left.x_{1}, x_{2}, \ldots, x_{n}\right)\\ \dfrac{\partial f}{\partial x_2}(\left.x_{1}, x_{2}, \ldots, x_{n}\right) \\ \vdots \\ \dfrac{\partial f}{\partial x_n}(\left.x_{1}, x_{2}, \ldots, x_{n}\right) \end{array}\right]$$

Have a look to gradient conjugate algorithm (english)
Un œil sur la méthode du gradient conjugué (french)