+5 votes
61 views
in Office by (242k points)
reopened
LaTeX: Representing integrals - this is how it works

1 Answer

+3 votes
by (1.6m points)
 
Best answer

How to write integrals in LaTeX

If you want to write formulas with integrals in LaTeX, you only need one command. You can read more about this here..

image image

You can't avoid the integral in math to calculate areas. If formulas in LaTeX with the integral sign are to be displayed cleanly, a command must be used. No matter if you are a complete LaTeX beginner or a professional - here you will find out which command you need for it.

How to write integrals in LaTeX

Integral signs can be added with the command \ int_ {a} ^ {b} . _a and ^ b represent the lower and upper limits of the integral and are to be written in curly brackets. Note that the integral expression in math mode should be entered within LaTeX. The math mode is started with the characters $ and also closed again.

For example, if you want to represent the integral from a to b over f of x, dx, enter:

$ \int_{a}^{b} f(x)dx $

Another minimal example for a double integral as a complete LaTeX file:

\documentclass{article}

\usepackage[utf8]{inputenc}
\begin{document}
$ \int_{a}^b\int_{c}^d f(x,y)dxdy $
\end{document}

image
The integral sign is not a challenge for LaTeX.

...