In this tutorial, we explain how to write different types of integrals and limits in Latex and Tex. The YouTube tutorial accompanying this webpage is given below.
The minimal latex code is given below
\documentclass[a4paper]{article}
\usepackage{amssymb,amsmath}
\usepackage{float}
\title{Integrals and limits in Latex}
\author{A. Haber}
\begin{document}
\maketitle
\begin{abstract}
This is abstract
\end{abstract}
\section*{Integrals}
\end{document}
You can edit this template with the latex code given below.
How to Write Integrals
Simple integrals can be written like this:
\int_{a}^{b} f(x) \, dx
The output is
(1)
Integrals with two integrals and two bounds can be written like this
\int_{a}^{b} \int_{c}^{d} f(x) \, dx \, dy
(2)
Double integrals over a single integration domain can be written like this:
\iint_{D} f(x,y) \, dx \, dy
(3)
Triple integrals over a single integration domain can be written like this
\iiint_{D} f(x,y,z) \, dx \, dy \, dz
(4)
Quadruple integrals over a single integration domain can be written like this
\iiiint_{D} f(x,y,z,w) \, dx \, dy \, dz \, dw
(5)
We can also write integrals and dots like this
\idotsint_V f(x_{1},x_{2},\ldots, x_{n}) \, dx_{1}\, dx_{2}\ldots dx_{n}
(6)
We can write integrals with a circle like this
\oint_V f(s) \, ds
(7)
How to write limit values in Latex
We write limit values as follows
\lim_{x\to \infty} f(x) = 2
(8)
We can also write them like this
\lim_{x \rightarrow \infty} f(x) = 2
(9)
Then, we can also write limits in fraction expressions like this
\lim_{x \to 3} \frac{3-x}{x-2}
(10)