## Integrals and Limits in LaTeX

Posted: 19th September 2009 by Tim in LaTeX
Tags: , , , , , , , , , ,

If you’re doing calculus, you’re going to want to print out the integral symbol, and talk about limits. LaTeX makes that easy for you.

In math mode (ie: between $…$, $…$, etc), integral symbols may be added using the \int_{lower}^{upper} command. Adding \displaystyle beforehand will make the symbol large and easier to read.

Limits are even easier. \lim_{limit_details} will print the limit. limit_details will usually be in the form 0\to\infty (ie: from 0 to infinity) or similar.

As an example, the following code:

\displaystyle\int_{a}^{b} f(x) dx = \lim_{n\to\infty} \sum_{i=1}^{n} f(x_i)\Delta x

will display the following:

Too easy.

1. Martin says:

Even nicer with \, \mathrm d x instead of dx.

2. rajeev cp says:

BNM(x,y)=(sigma)Nm=11m(x,y)/N

Dt(x,y)=lt(x,y)-BMt-1(x,y) need code for printing this

3. With \displaystyle I can now write limits , you are great, thank you very very much !!