Let 𝒮 be a system of linear equation in the set of variables 𝒳= { x1, x2, ,xn } given with equations

a 11 x 11 + a 12 x 12 ++ a 1n x 1n = b1 a 21 x 21 + a 22 x 22 ++ a 2n x 2n = b2 a m1 x m1 + a m2 x m2 ++ a mn x mn = bm

Let 𝒜 be the m×n matrix where entry ij equals aij and 𝒷 be the 1×n column matrix whose entry 1j equals bj. The matrix 𝒜 is coefficient matrix of the system of linear equations. The augmented matrix of the system (𝒜𝒷) is the m×n+1 matrix where entry ij equals aij if jn and bj otherwise.That is the coefficient matrix is

( a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn )

and the augmented matrix is

( a 11 a 12 a 1n b1 a 21 a 22 a 2n b2 a m1 a m2 a mn bm )

The system of linear equations

5 x1 + 4 x2 = -1 9x1 + 7 x2 = -2 -x1 - x2 = 0

has matrix

( 5 4 9 7 -1 -1 )

and augmented matrix

( 5 4 -1 9 7 -2 -1 -1 0 )

The system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4

has matrix

( 1 3 3 2 1 3 9 -6 4 3 2 6 -4 2 2 )

and augmented matrix

( 1 3 3 2 1 7 3 9 -6 4 3 -7 2 6 -4 2 2 -4 )

The system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4 0 = 7

has matrix

( 1 3 3 2 1 3 9 -6 4 3 2 6 -4 2 2 0 0 0 0 0 )

and augmented matrix

( 1 3 3 2 1 7 3 9 -6 4 3 -7 2 6 -4 2 2 -4 0 0 0 0 0 7 )

Let 𝒮 be a system of linear equation in the set of variables 𝒳={ x1, x2, ,xn } given with equations

a 11 x 11 + a 12 x 12 ++ a 1n x 1n = b1 a 21 x 21 + a 22 x 22 ++ a 2n x 2n = b2 a m1 x m1 + a m2 x m2 ++ a mn x mn = bm

the vector representation of the system of linear equations is

( a 11 a 21 a m1 ) x1 + ( a 12 a 22 a m2 ) x2 + + ( a 1n a 2n a mn ) xn = ( b1 b2 bn )

In vector form the system of linear equations

5 x1 + 4 x2 = -1 9x1 + 7 x2 = -2 -x1 - x2 = 0

is

( 5 9 -1 ) x1 + ( 4 7 -1 ) x2 = ( -1 -2 0 )

In vector form the system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4

is

( 1 3 2 ) x1 + ( 3 9 6 ) x2 + ( 3 -6 -4 ) x3 + ( 2 4 2 ) x4 + ( 1 3 2 ) x5 = ( 7 -7 -4 )

In vector form the system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4 0 = 7

is

( 1 3 2 0 ) x1 + ( 3 9 6 0 ) x2 + ( 3 -6 -4 0 ) x3 + ( 2 4 2 0 ) x4 + ( 1 3 2 0 ) x5 = ( 7 -7 -4 7 )

For completeness we will also introduce the matrix form of a system of linear equations. Its complete motivation will be clear once matrix multiplication is described.

Let 𝒮 be a system of linear equation in the set of variables 𝒳={ x1, x2, ,xn } given with equations

a 11 x 11 + a 12 x 12 ++ a 1n x 1n = b1 a 21 x 21 + a 22 x 22 ++ a 2n x 2n = b2 a m1 x m1 + a m2 x m2 ++ a mn x mn = bm

the matrix representation of the system of linear equations is

( a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn ) ( x1 x2 xn ) = ( b1 b2 bn )

or

( a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn ) x = ( b1 b2 bn )

for short.

The system of linear equations

5 x1 + 4 x2 = -1 9x1 + 7 x2 = -2 -x1 - x2 = 0

has matrix representation

( 5 4 9 7 -1 -1 ) ( x1 x2 ) = ( -1 -2 0 )

The system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4

has matrix representation

( 1 3 3 2 1 3 9 -6 4 3 2 6 -4 2 2 ) ( x1 x2 x3 x4 x5 ) = ( 7 -7 -4 )

The system of linear equations

x1 + 3 x2 + 3 x3 + 2 x4 + x5 = 7 3x1 + 9 x2 - 6 x3 + 4 x4 + 3 x5 = -7 2 x1 + 6 x2 - 4 x3 + 2 x4 + 2 x5 = -4 0 = 7

has matrix representation

( 1 3 3 2 1 3 9 -6 4 3 2 6 -4 2 2 0 0 0 0 0 ) ( x1 x2 x3 x4 x5 ) = ( 7 -7 4 7 )