Download - Matrix and Matrices
TABLE OF CONTENTS
1 Definition1.1 Size2 Notation3 Basic operations3.1 Addition, scalar
multiplication and transposition
3.2 Matrix multiplication
3.3 Row operations3.4 Submatrix
DefinitionA matrix is a rectangular array of numbers or other
mathematical objects, for which operations such as addition and multiplication are defined. Most commonly, a matrix over afield F is a rectangular array of scalars from F. Most of this article focuses on real and complex matrices, i.e., matrices whose elements are real numbers or complex numbers, respectively.
The numbers, symbols or expressions in the matrix are called its entries or its elements. The horizontal and vertical lines of entries in a matrix are called rows and columns, respectively.
SIZE The size of a matrix is defined by the number of rows and
columns that it contains. A matrix with m rows and n columns is called an m × n matrix or m-by-n matrix, while m and nare called its dimensions. For example, the matrix A above is a 3 × 2 matrix.
Matrices which have a single row are called row vectors, and those which have a single column are called column vectors. A matrix which has the same number of rows and columns is called a square matrix. A matrix with an infinite number of rows or columns (or both) is called an infinite matrix. In some contexts, such as computer algebra programs, it is useful to consider a matrix with no rows or no columns, called an empty matrix.
Notation An alternative notation uses large parentheses instead of box brackets:
The specifics of symbolic matrix notation varies widely, with some prevailing trends. Matrices are usually symbolized using upper-case letters (such as A in the examples above), while the corresponding lower-case letters, with two subscript indices (e.g., a11, or a1,1), represent the entries. In addition to using upper-case letters to symbolize matrices, many authors use a special typographical style, commonly boldface upright (non-italic), to further distinguish matrices from other mathematical objects. An alternative notation involves the use of a double-underline with the variable name, with or without boldface style, (e.g., ).
The entry in the i-th row and j-th column of a matrix A is sometimes referred to as the i,j, (i,j), or (i,j)th entry of the matrix, and most commonly denoted as ai,j, or aij. Alternative notations for that entry are A[i,j] or Ai,j. For example, the (1,3) entry of the following matrix A is 5 (also denoted a13, a1,3, A[1,3] or A1,3):
Sometimes, the entries of a matrix can be defined by a formula such as ai,j = f(i, j). For example, each of the entries of the following matrix A is determined by aij = i − j.
To add two matrices: add the numbers in the matching positions:
These are the calculations:3+4=7 8+0=84+1=5 6-9=-3
ADDING
NEGATIVE
The negative of a matrix is also simple:
These are the calculations:-(2)=-2 -(-4)=+4-(7)=-7 -(10)=-10
SUBTRACTING
To subtract two matrices: subtract the numbers in the matching positions:
These are the calculations:3-4=-1 8-0=8
4-1=3 6-(-9)=15
MULTIPLY by a CONTANT
We can multiply a matrix by some value:
These are the calculations:
2×4=8 2×0=0
2×1=2 2×-9=-18
DIVIDING
And what about division? Well we don't actually divide matrices, we do it this way:
A/B = A × (1/B) = A × B-1
where B-1 means the "inverse" of B.
TRANSPOSING
To "transpose" a matrix, swap the rows and columns. We put a "T" in the top right-hand corner to mean transpose:
A matrix is usually shown by a capital letter (such as A, or B) Each entry (or "element") is shown by a lower case letter with
a "subscript" of row,column:
NOTATION
Name Size Example Description
Row vector 1 × n [3 7 2]
A matrix with one row, sometimes used to represent a vector
Column vector n × 1
A matrix with one column, sometimes used to represent a vector
Square matrix n × n
A matrix with the same number of rows and columns, sometimes used to represent a linear transformation from a vector space to itself, such as reflection, rotation, or shearing.