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 at Analysis →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers