All formulas

Mathematics

Definite integral - formula in LaTeX

A definite integral is the signed area under the graph between a and b. The limits go in _{a} and ^{b}. The \, command adds a space before the differential, and \mathrm{d} sets the d upright, as the ISO standard recommends.

∫abf(x) dx\int_{a}^{b} f(x)\,\mathrm{d}x

LaTeX code

$$
\int_{a}^{b} f(x)\,\mathrm{d}x
$$

Got this formula in your notes or on a whiteboard? Snap a photo and CamteX turns it into LaTeX. Try it free

What the symbols mean

a,ba, b
limits of integration
f(x)f(x)
integrand
dx\mathrm{d}x
differential of the integration variable

A math formula - one of the most frequently typed in assignments, lecture notes and calculus or algebra homework.

Worked example

The area under the parabola y = x² from 0 to 2. The square bracket with limits is the Newton-Leibniz evaluation; \left[ and \right] size it to the fraction inside.

∫02x2 dx=[x33]02=83\int_{0}^{2} x^2\,\mathrm{d}x = \left[\dfrac{x^3}{3}\right]_{0}^{2} = \dfrac{8}{3}

Other ways to write it

LaTeX commands in this formula

\int
integral
x_{0}
subscript; wrap several characters in braces
x^{2}
superscript (power); wrap several characters in braces
\,
thin space, e.g. between factors of a product
\mathrm
upright font

How to use this formula in LaTeX?

  1. Copy the code with the button above - $$…$$ is centered display math.
  2. Paste it into the CamteX editor, Overleaf or any LaTeX document.
  3. Inside a sentence, use single $…$ instead of double.
  4. The formula works without extra packages.

Related formulas - Mathematics

Drawing formulas is faster than typing them.

Draw a formula, table or chart - CamteX AI turns it into ready LaTeX and inserts it into your document.

Try it free