**linear equation examples**for LibreOffice Math. You can write every code here in Math's input textbox and it shows the beautiful equation directly. And you can also write every code in LibreOffice Writer document. Finally, you can download the sample documents (.odt & .odf) below containing all equations. This article is intended for teachers so they can use LibreOffice for all mathematic documents in schools.

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

## How It Looks

If you wonder how the code looks in both LibreOffice Math and Writer, here is the picture. Left is Math and right is Writer.

## Example 1

Picture:

Code:

ax = b.

## Example 2

Picture:

Code:

x = b over a, while a <> 0.

## Example 3

Picture:

Code:

y = mx + b,

## Example 4

Picture:

Code:

Ax + By = C,

## Example 5

Picture:

Code:

ax+ by + c = 0,

## Example 6

Picture:

Code:

y - y_1 = { {y_2 - y_1} over {x_2 - x1} (x-x_1)}

## Example 7

Picture:

Code:

( x_2 - X_1 )( y-y_1 ) = ( y_2 - y_1 )( x-x_1 ).

## Example 8

Picture:

Code:

x( y_2 - y_1 ) - y( x_2 - x_1 ) = x_1 y_2 - x_2 y_1

## Example 9

Picture:

Code:

a_1 x_1 + a_2 x_2 + ... + a_n x_n = b,

## Example 10

Picture:

Code:

{{a( x+2 )} over {5}} = 7 + { {5x} over 13 }

## Download Sample Documents

I think it's essential for all users to get the example documents so here you can download all

**linear equations**above in Writer and Math formats. All documents are licensed under CC BY-SA 3.0.

LibreOffice Math document (.odf)

LibreOffice Writer document (.odt)

## References

All equations examples above are based from references below: