Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > **LaTex symbol partial derivative**

All the versions of this article: <English> <français>

How to write the LaTex symbol of the partial derivative: \partial

The \partial command is used in LaTeX to represent a partial derivative.

The \partial command can be used as follows to display the partial derivative of a function $f$ with respect to a variable $x$:

```
\frac{\partial f}{\partial x}
```

$$ \frac{\partial f}{\partial x} $$

It is possible to add a subscript under the partial derivative to specify with respect to which variable the derivative is taken. For example, to represent the partial derivative of a function $f$ with respect to the variable $x$ while specifying that the variable $y$ is constant, the following command can be used:

```
\frac{\partial f}{\partial x}_y
```

$$ \frac{\partial f}{\partial x}_y $$

It is also possible to represent higher order partial derivatives. For example, to represent the second partial derivative of a function $f$ with respect to the variable $x$, the following command can be used:

```
\frac{\partial^2 f}{\partial x^2}
```

$$ \frac{\partial^2 f}{\partial x^2} $$

The notations for subscripts and higher order partial derivatives can be combined. For example, to represent the second partial derivative of a function $f$ with respect to the variables $x$ and $y$, the following command can be used:

```
\frac{\partial^2 f}{\partial x \partial y}
```

$$ \frac{\partial^2 f}{\partial x \partial y} $$

Partial differential equations are equations that involve partial derivatives of unknown functions. They are often used to model physical phenomena. Here are some examples of famous partial differential equations:

**–** The heat equation:

The heat equation is a partial differential equation that models the diffusion of heat in an object. It is given by:

```
\frac{\partial u}{\partial t} = \alpha \nabla^2 u
```

$$ \frac{\partial u}{\partial t} = \alpha \nabla^2 u $$

where $u(x, t)$ is the temperature at location $x$ and time $t$, $\alpha$ is the thermal diffusivity, and $\nabla^2$ is the Laplace operator.

**–** The Stokes equations:

The Stokes equations are a system of partial differential equations that model the motion of an incompressible viscous fluid. They are given by:

```
\begin{align}
\nabla \cdot \mathbf{u} &= 0\\
\rho \left( \frac{\partial \mathbf{u}}{\partial t} + \mathbf{u} \cdot \nabla \mathbf{u} \right) &= - \nabla p + \mu \nabla^2 \mathbf{u}
\end{align}
```

$$ \begin{align} \nabla \cdot \mathbf{u} &= 0\\ \rho \left( \frac{\partial \mathbf{u}}{\partial t} + \mathbf{u} \cdot \nabla \mathbf{u} \right) &= - \nabla p + \mu \nabla^2 \mathbf{u} \end{align} $$

where $\mathbf{u}$ is the fluid velocity, $p$ is the pressure, $\rho$ is the fluid density, $\mu$ is the dynamic viscosity, and $\nabla^2$ is the Laplace operator.

**–** The Navier-Stokes equations:

The Navier-Stokes equations are partial differential equations that describe the motion of an incompressible viscous fluid. They are of great importance in fluid mechanics, engineering, and physics.

The Navier-Stokes equations in $d$ dimensions are:

```
\begin{align}
\frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} &= - \frac{1}{\rho} \nabla p + \nu \nabla^2 \mathbf{u} + \mathbf{f}, \quad \mathrm{for} \quad \mathbf{x} \in \Omega, \\
\nabla \cdot \mathbf{u} &= 0, \quad \mathrm{for} \quad \mathbf{x} \in \Omega,
\end{align}
```

$$ \begin{align} \frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla) \mathbf{u} &= - \frac{1}{\rho} \nabla p + \nu \nabla^2 \mathbf{u} + \mathbf{f}, \quad \mathrm{for} \quad \mathbf{x} \in \Omega, \\ \nabla \cdot \mathbf{u} &= 0, \quad \mathrm{for} \quad \mathbf{x} \in \Omega, \end{align} $$

where $\mathbf{u}(\mathbf{x},t)$ is the velocity of the fluid at position $\mathbf{x} \in \Omega$ and time $t$, $p(\mathbf{x},t)$ is the pressure, $\rho$ is the mass density of the fluid, $\nu$ is the kinematic viscosity, $\mathbf{f}(\mathbf{x},t)$ is the external force applied to the fluid, and $\nabla$ is the gradient operator.

The first equation is the conservation of momentum equation, which describes the evolution of the fluid velocity in response to applied forces. The second equation is the continuity equation, which expresses the conservation of mass.

The Navier-Stokes equations are nonlinear and can be very difficult to solve. They are often solved numerically using methods such as finite element method or finite difference method.

- How to get dots in Latex \ldots,\cdots,\vdots and \ddots
- Partial Derivatives of Multivariable Functions in LaTeX
- $L^1$, $L^2$, $L^p$ and $L^\infty$ spaces in Latex
- Greater Than or Similar To Symbol in LaTeX
- Horizontal and vertical curly Latex braces: \left\{,\right\},\underbrace{} and \overbrace{}
- How to display formulas inside a box or frame in Latex ? \boxed
- How to write a vector in Latex ? \vec,\overrightarrow
- How to write algorithm and pseudocode in Latex ?\usepackage{algorithm},\usepackage{algorithmic}
- How to write angle in latex langle, rangle, wedge, angle, measuredangle, sphericalangle
- How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, Vmatrix
- How to write number sets N Z D Q R C with Latex: \mathbb, amsfonts and \mathbf
- How to write table in Latex ? begin{tabular}...end{tabular}
- Intersection and big intersection symbols in LaTeX
- Laplace Transform in LaTeX
- Latex absolute value
- Latex arrows
- Latex backslash symbol
- Latex binomial coefficient
- Latex bra ket notation
- Latex ceiling function
- Latex complement symbol
- Latex complex numbers
- Latex congruent symbol
- Latex convolution symbol
- Latex copyright, trademark, registered symbols
- Latex dagger symbol or dual symbol
- Latex degree symbol
- LateX Derivatives, Limits, Sums, Products and Integrals
- Latex empty set
- Latex euro symbol
- Latex expected value symbol - expectation
- Latex floor function
- Latex gradient symbol
- Latex hat symbol - wide hat symbol
- Latex horizontal space: qquad,hspace, thinspace,enspace
- Latex how to hide page number
- Latex how to insert a blank or empty page with or without numbering \thispagestyle,\newpage,\usepackage{afterpage}
- Latex how to write a fraction
- Latex how to write bar
- Latex how to write percent
- Latex how to write text in math mode
- Latex how to write underscore
- Latex imaginary part symbol
- Latex indicator function
- Latex infinity symbol
- Latex jacobian symbol
- Latex natural numbers
- Latex normal distribution symbol
- Latex not parallel symbol
- Latex not subset symbol
- Latex numbering equations
- Latex orthogonal symbol - Latex perpendicular symbol
- Latex overset and underset
- Latex parallel symbol
- Latex piecewise function
- Latex plus or minus symbol
- Latex product symbol
- Latex quaternion numbers
- Latex rational numbers
- Latex real numbers
- Latex real part symbol
- Latex square root symbol
- Latex subset symbol
- Latex symbol approximately
- Latex symbol average
- Latex symbol belongs to
- LaTeX symbol characteristic function
- Latex symbol checkmark
- Latex symbol different
- Latex symbol exists
- Latex symbol for all x
- Latex symbol if and only if / equivalence
- LaTeX symbol Is proportional to
- Latex symbol multiply
- Latex symbol norm for vector and sum
- Latex symbol not equal
- Latex symbol not exists
- Latex symbol not in
- LaTex symbol partial derivative
- Latex symbol Planck constant h
- Latex symbol there exists one and only one
- Latex tensor product
- Latex yen symbol
- Not Equivalent Symbol in LaTeX
- Strikethrough - strike out text or formula in LaTeX
- Text above arrow in LaTeX
- Transpose Symbol in LaTeX
- Union and Big Union Symbol in LaTeX
- Variance Symbol in LaTeX