Go to other chapters or to other branches of math
Additional Material for this Chapter
Exercises for this Chapter
Answers to Exercises

Chapter 1
Tables, Matrices and Linear Equations

In a small class 12 students sit in chairs that are arranged in rows of equal length. The following rectangular table shows the seating arrangement:
[1]
			Jim	Sally	Rich	Frances
	(table)	Bob	Jack	Rose	Violet
			Joseph	Bill	Ann	June
Each of the three rows has the names of 4 students. But each of the four columns has the names of 3 students. This table as size of 3x4 (3 by 4). It is customary to give the number of rows first, then the number of columns. (Unfortunately, this is the opposite order for the coordinates of an ordered pair.)

In Row 2 are Bob, Jack, Rose, Violet. In Column 4 are Frances, Violet, Bill. So Violet sits in Row 3 and Column 4. This location is denoted as [3,4]. The persons whose name begins with the letter J sit in seats at locations [1,1], [2,2]. [3,1], [3,4].

In an intuitive sense, these location numbers in brackets locate the empty seats. If the table in [1] is given the name T
[2]

				Jim	Sally	Rich	Frances
	(table)	T =	Bob	Jack	Rose	Violet
				Joseph	Bill	Ann	June
then T[2,3] = Rose, T[3,4] = June.   T is the name of the entire table, but T[i,j] gives the name of the person sitting in chair [i,j], where i = row number, and j = column number.

The teacher may want to interchange (swap) Row 2 and Row 3 to get a different table:
[3]

				Jim	Sally	Rich	Frances 
	(table)	S =	Joseph	Bill	Ann	June
				Bob	Jack	Rose	Violet
If this table [3] is given the name S, then S[2,3] = T[3,3].

A table may have (the names of) things of a common type placed at all the locations in it. In a table an entry has been placed at a location [1,1], an entry has been placed at [1,2], etc.This creates a table of entries, whatever they are.

In this chapter the most common entries are numerical. A table whose entries can be acted upon by arithmetic operations is called a matrix. The most common entries in these discussions are integers and sometimes fractions which are quotients of integers (denominators not zero). For example,
[4a]

				 2   1  -7   4 
	(matrix)	A =   	 4  -3   1   5
				-2   9   4   2
This is another 3x4 table. Its entries are integers. A table of numbers is called a matrix. This matrix is represented in rectangular form, more specifically in a 3x4 rectangular form (3 rows, 4 columns). Another form, called the single array form is
[4b]
A = (3,4,   2,1,-7,4,   4,-3,1,5,   -2,9,4,2)
              row1         row2          row3
This form contains all information about the matrix. The first two entries give the size = number of rows, number of columns. The remainder of the array contains all of the entries. For readability the rows are separated by spaces. The single array form is convenient for storage. Also that form will be used for computer applications of matrices and determinants to be discussed.

Consider now the following simultaneous linear equations:

	  2x + y - 7z  = 4		2u + v - 7w = 4 		2a + b - 7c = 4
	  4x - 3y + z  = 5		4u - 3v + w = 5		4a - 3b + c = 5
  	 -2x + 9y + 4z = 2		-2u + 9v + 4w = 2	 	-2a + 9b + 4c = 2
If the letters x,y,z, u,v,w, a,b,c and the equal signs are omitted then the same matrix [4a] (and [4b]) is produced. The letters play a minor role. More important are the coefficients (numbers) which become entries in the matrix.

A more common notation for a matrix is the use of large curves before and after the table:

Because of the difficulty in producing this notation repetedly, the symbol (matrix) will appear at the beginning of the line on which matrices appear.

The arithmetical nature of a matrix allows their frequent applications to various fields of mathematics and other fields of science. They can be applied in particular to simultaneous linear equations. The word "simultaneous" implies two or more components of an event happening together, and all should be considered together. In simultaneous equations the same unknowns (letters) are used. The word "linear" implies simple unknowns, no exponents, no roots, no logarithms, no trigonometric functions, etc. The two simultaneous linear equations in x and y
[5]

3x + 4y = 10
2x + 5y = 9
can easily be solved: x = 2, y = 1. (For a process of solving these equations click here.) The equations
[6]
3u + 4v = 10,
2u + 5v = 9
have the solution u = 2, v = 1. Other letters can be used for the unknowns. This implies that the letters for the unknowns play a minor role in the process of solving for the values of those unknowns.

Omit the symbols for unknowns and the equal signs in [5] and [6] produces the same 2x3 matrix of the equations:
[7]

	(matrix)		3   4    10                3x + 4y =  10
				2   5     9                 2x + 5y =   9
Multiply Row 1 by -2 and Row 2 by 3, and replace Row 3 by the result produces the matrix of the equations (in a shorter notation, Row 2 <-- -2(Row 1) + 2(Row 2)):
[8]
	(matrix)		3   4    10                3x + 4y =  10
				0   7     7                     7y =   7
Now divide the new Row 2 by 2 to get a new matrix:
[9]:
	(matrix)		3   4    10                 3x + 4y =  10
				0   1     1                       y =   1
Replace Row 1 by -4x(Row 2) + Row 1:
[10]
	(matrix)		   3   0    6                    3x     =   6
				   0   1    1                       y   =   1
Divide Row 1 by 3 to get:
[11]
                   (matrix)		 1    0    2                  x      =   2
		                                    0    1    1                    y   =   1
The solution is in the right column
[12]
	(matrix)		2                         x = 2
				1                         y = 1

Notice that the row operations on the matrix of the equations correspond to legal operations on the equations.

Three rules of algebra for handling simultaneous liner Equations are useful here:
(E1) In any equation, every number may be multiplied by the same non-zero number.
(E2) Any two equations may be added together and this sum may replace either equation (but not both).
(E3) Any two equations may be interchanged.

The corresponding rules for handling Matrices of equations are:
(M1) In any row, every number may be multiplied by the same non-zero number.
(M2) Any two rows may be added together and this sum may repalce either row (but not both).
(M3) Any two rows may be interchanged.
No similar rules will apply here for the columns.

Applying the above rules changes the equations or matrix of the equations. In these discussions the symbol => will mean "rules for handling rows have been applied to produce." For example [7] - [11]may be written:
[13]

(matrix)
	3   4    10	 =>   3   4    10    =>    3   4    10    =>   3   0    6    =>     1   0    2
	2   5     9        0   7     7          0   1     1         0   1    1           0   1    1
Often the chains showing every conversion are long. Some of the intermediate matrices may be omitted. The equations
[14]
2x + 3y + 4z = 21
5x + 4y + 2z = 44
x + 7y + 6z = 41
start the chain:
[15]
			2   3   4    21              -1   0   0   -4           1   0   0   -4
	(matrix)	5   4   2    44     =>        0  -1   0   -7    =>     0   1   0    7    
			1   7   6    41               0   0   1    2           0   0   1   -2
For more detail click here.

It is quite possible that linear equations cannot be solved in the usual sense. For example, the simple equation
[16]

0x = 0
cannot be solved to give a single answer x = ?. In this case x can be any number. So there are infinitiely many "answers."
The other situation is - no answer at all. For example,
[17]
0x = 3
Zero times any number gives zero. The equation [16] presents an unresolvable contradiction.
In both cases zero plays an inportant role as a coefficient. Incidently, the 1x2 matrices of these two "pathological" equations are (0 0) and (0 3) respectively.

A similar situation may exist with simultaneous equations with 2 or more unknowns. A very obvious example is
[18]

3x - 4y = 5
3x - 4y = 5
Intuitively speaking, the second equation supplies no new information to what has been given by the first equation. So the second equation may be "removed" without any loss of information. Atttempts to solve [17] leads to the statement 0 = 0, suggesting that infinitely many solutions exist. The matrix of the equations has two identical rows.

The 0=0 result can be obtained from the equations
[19]

3x - 4y = 5
6x - 8y = 10
Mulltiplying the first equation by 2 does not provide any more information about the solution. The matrix of these equations shows a bottom row proportional to the top row. The matrix of these equations shows a bottom row proportional to the top row.

An attempt to solve the following equations leads to the contradiction like 0=1 (twice the first equation subtracted from the second equation):
[20]

3x - 4y = 5
6x - 8y = 11

The number of columns matrices such as in [4a] are one more than the number of rows. The extra column is on the right side of the matrix and contains the numbers after the equal signs. In the future it will be useful to separate that extra column from the rest of the matrix to produce two sub-matrices: [20]

				 2   1  -7           4 
	(matrix)		 4  -3   1           5
				-2   9   4           2
The left matrix is called the coefficient matrix of the equations. Very often in these discussions it is a square matrix, that is, it has the same number of rows as columns. The column matrix which is a vertical array is sometimes called a column array of values. Every row in it has only one entry. It contains those numbers that come after the equal signs in all the equations.

In this section one use for matrices has been introduced, namely, solving simultaneous linear equations using skeleton forms for the equations. More uses of a less trivial nature will be introduced in the following sections.