LaTeX Calculus Symbols & Integrals
Reference for single, double, and contour integrals (\int, \iint, \oint), partial derivatives (\partial), vector gradient (\nabla), and series limits. 1-click copy.
Calculus Notation Done Right
Calculus has exact conventions, and journals enforce them. Integrals take bounds as subscript and superscript —\int_{a}^{b} — and multiple integrals use dedicated commands rather than repeated signs: \iint and \iiintfrom amsmath produce correct spacing where\int\int leaves awkward gaps. Closed contours use\oint, the standard symbol in complex analysis and electromagnetism.
The differential deserves attention. Rigorous typesetting uses an upright roman d with a thin space before it:\, \mathrm{d}x. Compare\int f(x) dx with\int f(x) \, \mathrm{d}x — the second is the form reviewers expect. The same rule applies to partial derivatives (\partial) and the gradient operator (\nabla), whose divergence and curl forms (\nabla \cdot \mathbf{F},\nabla \times \mathbf{F}) appear in every vector calculus course.
Limits and sums place their bounds automatically in display math:\lim_{x \to 0} and\sum_{i=1}^{n} put limits above and below in\[ ... \] but to the side in inline$...$. Add \limits to force above-and-below placement inline, or \nolimits to force side placement in display. For suprema and infima, \limsup,\liminf, \sup, and\inf are proper operators with upright names — never type them as plain letters.
Calculus in LaTeX FAQ
How do I write double or triple integrals with correct spacing?▼
Instead of typing \int\int which results in awkward spacing, use \iint and \iiint provided by the amsmath package (\usepackage{amsmath}). For multidimensional integrals with dots, use \idotsint.
What is the correct way to typeset differentials like dx in integrals?▼
In rigorous academic publishing, differentials use an upright roman d with a small thin space: \, \mathrm{d}x. For example: \int f(x) \, \mathrm{d}x.
How do I place limits above and below summations or integrals?▼
In display math mode (\[ ... \]), limits automatically place directly above and below \sum and \lim. In inline math mode ($...$), force limits above and below by adding \limits: $\sum\limits_{i=1}^n x_i$.
How do I represent gradient, divergence, and curl?▼
Use \nabla for the del/nabla gradient vector. For divergence, use \nabla \cdot \mathbf{F}. For curl, use \nabla \times \mathbf{F}. For the Laplacian operator, use \nabla^2 or \Delta.