**LibreOffice Math**users some examples of integral formulas. These are 10 examples of integral expressions, each with the code you can execute in both LibreOffice Math and Writer. I hope by this article, anyone in schools or universities can use LibreOffice to write any mathematical document without using nonfree software.

Subscribe to UbuntuBuzz Telegram Channel https://telegram.me/ubuntubuzz to get article updates directly.

## Using Math Code in Writer

These codes are written in LibreOffice Math's language. But each of them can be written in LibreOffice Writer document. So you can make for example a math exam document in Writer composed from these integrals examples. To do so, just copy any code into document > block the code > visit menu Insert > Object > Formula. See picture below.

## Example 1

Picture:

Code:

int from{a} to{b} f( x ) d

## Example 2

Picture:

Code:

int f( x ) dx

## Example 3

Picture:

Code:

F(x) = int f( x ) dx

## Example 4

Picture:

Code:

int from{ a } to { b } f( x ) dx = F( b ) - F( a )

## Example 5

Picture:

Code:

int from{ 0 } to{ 1 } {{ 3 dx }over{ x^2 + 1 }}

## Example 6

Picture:

Code:

int from{ 0 } to{ 1 } sqrt{x} dx

## Example 7

Picture:

Code:

int from{ E } lline f rline d %mu < +infinity

## Example 8

Picture:

Code:

int from{ E } f d %mu = int from{ E } f^+ nospace{} d %mu - int from{ E } f^- nospace{ } d %mu

## Example 9

Picture:

Code:

binom{ f^+ nospace{} ( x ) = max( \{ f(x),0\} ) }{ f^- nospace{} (x) = max (\{-f(x),0\}) }

## Example 10

Picture:

Code:

int from{ a } to{ b } ( %alpha f + %beta g) ( x ) dx = %alpha int from{ a } to { b } f( x ) dx + %beta int from{ a } to{ b } g( x ) dx.

## Reference

https://en.wikipedia.org/wiki/Integral