Partial derivative operator in LaTeX (\frac{\partial}{\partial x})

∂∂x\frac{\partial}{\partial x}
LaTeX command
\frac{\partial}{\partial x}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Operator for the partial derivative with respect to x, holding every other variable fixed.

Multivariable calculus and PDEs are full of it: the heat equation \frac{\partial u}{\partial t} = k\frac{\partial^2 u}{\partial x^2}, gradients, and Jacobian matrices all use it. The curly \partial distinguishes it from the ordinary d of \frac{d}{dx}, which is reserved for functions of one variable. Mixed partials are written \frac{\partial^2 f}{\partial x\,\partial y}, with a thin space between the factors in the denominator. When fractions get crowded, the subscript shorthand \partial_x f or f_x is a compact alternative, common in physics and in long PDE systems where stacked fractions would blow up line height.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

∂u∂t=k∂2u∂x2\frac{\partial u}{\partial t} = k \frac{\partial^2 u}{\partial x^2}
\documentclass{article}
\begin{document}
Partial derivative operator: $\frac{\partial}{\partial x}$

\[ \frac{\partial u}{\partial t} = k \frac{\partial^2 u}{\partial x^2} \]
\end{document}

Related symbols

All Calculus & Analyse →

Frequently asked questions

How do I write Partial derivative operator in LaTeX?
Type \frac{\partial}{\partial x} in math mode, for example $\frac{\partial u}{\partial t} = k \frac{\partial^2 u}{\partial x^2}$. It works in plain LaTeX without loading any package.
Which package do I need for \frac{\partial}{\partial x}?
None. \frac{\partial}{\partial x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \frac{\partial}{\partial x} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\frac{\partial}{\partial x}$ in running text.
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen