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 微積分・解析 →

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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得