Matrices from a linear system
If one works through a system of linear equations, it becomes clear that an organized attack involves arranging the system into some type of array and manipulating the rows of that array.For example, the system
3x + 4y - 4z = 0
2x - 4y + 5z = 3
7x + y = –3
3x - 5z = 10
might be written, in an abbreviated form, as
[ 3 4 -4 : 0 ]
[ 2 -4 5 : 3 ]
[ 7 1 0 : –3 ]
[ 3 0 -5 : 10 ]
This "box" is the augmented matrix of the system of equations.
It is not easy to write mathematics in Google's blogger. The augmented matrix of the system above is better written as follows.
It is not easy to write mathematics in Google's blogger. The augmented matrix of the system above is better written as follows.
[ 3 4 -4 ]
[ 2 -4 5 ]
[ 7 1 0 ]
[ 3 0 -5 ]
This matrix has the same number of rows as the system has equations; it has the same number of columns as the system has variables. Each row corresponds to an equation; each column corresponds to a variable.
An m x n matrix is a rectangular array of numbers, arranged in m rows and n columns. The numbers come from some set, minimally a ring but usually we will assume the elements (entries) of a matrix are from a given field.
An m x n matrix is a rectangular array of numbers, arranged in m rows and n columns. The numbers come from some set, minimally a ring but usually we will assume the elements (entries) of a matrix are from a given field.
Addition and scalar multiplication of matrices
Two matrices A and B, both of size m x n, may be added in the obvious way; we add corresponding entries to create A+B. More formally, we will write A_{i,j} for the entry of A in row i, column j. Then
(A+B)_{i,j} = A_{i,j}+B_{i,j}.
We may multiply a matrix A by a number r ("scalar") by simply multiplying each entry of A by r. Thus
(rA)_{i,j} = rA_{i,j}.
Multiplication of matrices
Two matrices A and B may be multiplied in the order AB if and only if the number of columns of A is equal to the number of rows of B. Matrix multiplication is more complicated than the previous two operations and is designed to mimic the composition of linear transformations. (More on that later.)The matrix equation corresponding to a linear system
A system of linear equations can be written in matrix notation as a single matrix equation. (This fact will motivate much of our study of matrices.)

