Underleaf Logo
Underleaf
Blog
Log InTry Free

Learn LaTeX

Getting Started

  • What is LaTeX?
  • LaTeX for Beginners

Integrals and Summations in LaTeX

LaTeX provides powerful commands for typesetting integrals, summations, and limits. This guide covers everything you need to know about writing these mathematical expressions in your documents.

Integrals

LaTeX offers various commands for different types of integrals:

TypeCommandExampleResult
Indefinite integral\int\int f(x) \,dx
Definite integral\int_{a}^{b}\int_{0}^{1} x^2 \,dx
Double integral\iint\iint_D f(x,y) \,dx\,dy
Triple integral\iiint\iiint_V f(x,y,z) \,dx\,dy\,dz
Contour integral\oint\oint_C f(z) \,dz

Summations and Products

Summations and products are essential for series and sequence notation:

TypeCommandExampleResult
Basic summation\sum_{i=1}^{n}\sum_{i=1}^{n} x_i
Infinite series\sum_{n=1}^{\infty}\sum_{n=1}^{\infty} \frac{1}{n^2}
Product notation\prod_{i=1}^{n}\prod_{i=1}^{n} x_i
Double summation\sum_{i=1}^{m} \sum_{j=1}^{n}\sum_{i=1}^{m} \sum_{j=1}^{n} a_{ij}

Limits

Limit notation is commonly used in calculus and analysis:

TypeCommandExampleResult
Basic limit\lim_{x \to a}\lim_{x \to 0} \sin(x)/x
Limit to infinity\lim_{x \to \infty}\lim_{x \to \infty} \frac{1}{x}
One-sided limit (from left)\lim_{x \to a^-}\lim_{x \to 0^-} \frac{1}{x}
One-sided limit (from right)\lim_{x \to a^+}\lim_{x \to 0^+} \frac{1}{x}

Display Style vs. Inline Mode

LaTeX adjusts the size and positioning of integrals and summations based on the context:

Inline mode (between $ $):

Display mode (between \[ \]):

Common Examples

Here are some common mathematical expressions combining integrals, sums, and limits:

Fourier Series:

Integration by Parts:

Double Integral in Polar Coordinates:

Try it free

Skip the syntax — let AI write it.

Snap a photo of an equation, a table, or full handwritten notes and Underleaf turns it into clean, compilable LaTeX in seconds. 10 free credits every month, no credit card required.

Convert your page
Handwritten notes converted into a typeset LaTeX document

Integrals and Summations in LaTeX

LaTeX provides powerful commands for typesetting integrals, summations, and limits. This guide covers everything you need to know about writing these mathematical expressions in your documents.

Integrals

LaTeX offers various commands for different types of integrals:

TypeCommandExampleResult
Indefinite integral\int\int f(x) \,dx
Definite integral\int_{a}^{b}\int_{0}^{1} x^2 \,dx
Double integral\iint\iint_D f(x,y) \,dx\,dy
Triple integral\iiint\iiint_V f(x,y,z) \,dx\,dy\,dz
Contour integral\oint\oint_C f(z) \,dz

Summations and Products

Summations and products are essential for series and sequence notation:

TypeCommandExampleResult
Basic summation\sum_{i=1}^{n}\sum_{i=1}^{n} x_i
Infinite series\sum_{n=1}^{\infty}\sum_{n=1}^{\infty} \frac{1}{n^2}
Product notation\prod_{i=1}^{n}\prod_{i=1}^{n} x_i
Double summation\sum_{i=1}^{m} \sum_{j=1}^{n}\sum_{i=1}^{m} \sum_{j=1}^{n} a_{ij}

Limits

Limit notation is commonly used in calculus and analysis:

TypeCommandExampleResult
Basic limit\lim_{x \to a}\lim_{x \to 0} \sin(x)/x
Limit to infinity\lim_{x \to \infty}\lim_{x \to \infty} \frac{1}{x}
One-sided limit (from left)\lim_{x \to a^-}\lim_{x \to 0^-} \frac{1}{x}
One-sided limit (from right)\lim_{x \to a^+}\lim_{x \to 0^+} \frac{1}{x}

Display Style vs. Inline Mode

LaTeX adjusts the size and positioning of integrals and summations based on the context:

Inline mode (between $ $):

Display mode (between \[ \]):

Common Examples

Here are some common mathematical expressions combining integrals, sums, and limits:

Fourier Series:

Integration by Parts:

Double Integral in Polar Coordinates:

Underleaf Logo
Underleaf

Practical tools for academic writing, document conversion, and research workflows.

Go to appContact us

Company

PricingBlogTutorialsConference TemplatesConference Deadlines

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorLaTeX Table GeneratorCitation GeneratorThesis GeneratorChrome ExtensionAll Tools

Ask AI about Underleaf

Ask ChatGPTAsk ClaudeAsk Perplexity

© 2026 Underleaf. All rights reserved.