doing Gaußalgorithm within Math

Discuss the formula editor
Post Reply
Catscrash
Posts: 1
Joined: Wed Dec 05, 2007 12:53 pm

doing Gaußalgorithm within Math

Post by Catscrash »

Hi,
i think all of you know the gaußalgorithm to solve problems like

2x_1 + 3x_2 + 4x_3 = 1
x_1 + 2_x_2 + 6x_3 = 3
8x_1 + 4x_2 + 3x_3 = 4

or sth. like that, it looks then like

2 3 4 | 1
1 2 6 | 3
8 4 3 | 4

i would like to display that in a nice way with left( right) around it and a long dash where all the small ones are now, has anyone of you an idea how to do this?
User avatar
RGB
Posts: 1456
Joined: Mon Oct 08, 2007 1:34 am

Re: doing Gaußalgorithm within Math

Post by RGB »

Try with the following:

Code: Select all

left( matrix{a # b ## c # d ## e # f } mline matrix{g ## h ## i} right)
NOTE: you can use stack instead of matrix for the right part, but there will be alignment problems.
There are two types of people: those who believe that there are two types of people and those who do not.

openSUSE Leap with KDE Plasma / LibreOffice
Post Reply