Suppose and are nonnegative integers. An -by- matrix is a rectangular array of elements of with rows and columns:

The notation denotes the entry in row , column of .

  • First index is row number
  • Second index is column number

For example, if we have

Thus refers to the entry in the second row, third column of , which means that

With the definition of matrix addition and scalar multiplication of matrices, we can define a vector space.

For and positive integers, the set of all -by- matrices with entries in is denoted by .

Dimension of

Suppose and are positive integers. With addition and scalar multiplication as defined above, is a vector space with .

  • The additive identity of is the -by- matrix all of whose entries are .