Different types of integrals (∫, ∬, ∭) in LaTeX
In this tutorial, you will learn how to use integral, Double-integral, and Triple-integral with limits in LaTeX.
To write these integrals you can use the amsmath
package. This package provides the following commands.
Name | Command | Output |
---|---|---|
Integral | \int | ![]() |
Double-integral | \iint | ![]() |
Triple-integral | \iiint | ![]() |
Integrals with limits in LaTeX
If you want to add upper and lower limits you can use this:
\int_{min}^{max}
or
\iint_{min}^{max}
or
\iiint_{min}^{max}
But if you want to add upper and lower limits for every single integral symbol in double or triple integral, in this case, you have to use the \int
command two or three times. Like this:
Double integral with limits: \int_{min}^{max} \int_{min}^{max}
Triple integral with limits: \int_{min}^{max} \int_{min}^{max} \int_{min}^{max}
Also, you can use the \limits
and \nolimits
command to change the min and max position in the inline and display math mode.
\documentclass{article} \usepackage{amsmath} \begin{document} \noindent Without \verb|\limits| in math mode: $$ \int_{a}^{b} $$ With \verb|\limits| in math mode: $$ \int\limits_{a}^{b} $$ With \verb|\nolimits| in math mode: $$ \int\nolimits_{a}^{b} $$ Without \verb|\limits| in inline math mode:\\ \begin{center} $ \int_{a}^{b} $ \end{center} With \verb|\limits| in inline math mode:\\ \begin{center} $ \int\limits_{a}^{b} $ \end{center} With \verb|\nolimits| in inline math mode:\\ \begin{center} $ \int\nolimits_{a}^{b} $ \end{center} \end{document}
Output:
Some examples of double and triple integral.
\documentclass{article} \usepackage{amsmath} \begin{document} $$ \int^1_0\int^2_0 $$ $$ \frac{1}{\pi}\int^\pi_0\int^\pi_0\int^\pi_0 $$ \end{document}
Output:
Big integral in LaTeX
If you need different sizes (bigger than regular) of integral symbols then you can use the bigints
package. This package provides different commands to get different sizes of integral symbols.
\documentclass{article} \usepackage{bigints} \begin{document} $$ \verb|\bigintssss| < \verb|\bigintsss| < \verb|\bigintss| < \verb|\bigints| < \verb|\bigint|$$ $$ \bigintssss_{0}^{1} \frac{1}{\frac{1}{x}} , \bigintsss_{0}^{1} \frac{1}{\frac{1}{x}} , \bigintss_{0}^{1} \frac{1}{\frac{1}{x}} , \bigints_{0}^{1} \frac{1}{\frac{1}{x}} , \bigint_{0}^{1} \frac{1}{\frac{1}{x}} $$ \end{document}
Output:
Leave a Reply