Definitions

A matrix (plural: matrices) is simply a rectangular array of ``things''. For now, we'll assume the ``things'' are numbers, but as you go on in mathematics, you'll find that matrices can be arrays of very general objects. Pretty much all that's required is that you be able to add, subtract, and multiply the ``things''.

Here are some examples of matrices. Notice that it is sometimes useful to have variables as entries, as long as the variables represent the same sorts of ``things'' as appear in the other slots. In our examples, we'll always assume that all the slots are filled with numbers. All our examples contain only real numbers, but matrices of complex numbers are very common.

$\displaystyle \begin{pmatrix}1 & 4 & 3 \\ 2 & 5 & 4 \\ 1 & -3 & -2
\end{pmatrix...
...1 \\ 3 \\ 5 \\ 7 \end{pmatrix},\quad
\begin{pmatrix}x & y & z & w \end{pmatrix}$

The first example is a square $ 3\times 3$ matrix; the next is a $ 2\times 4$ matrix (2 rows and 4 columns--if we talk about a matrix that is ``$ m\times n$'' we mean it has $ m$ rows and $ n$ columns). The final two examples consist of a single column matrix, and a single row matrix. These final two examples are often called ``vectors''--the first is called a ``column vector'' and the second, a ``row vector''. We'll use only column vectors in this introduction.

Often we are interested in representing a general $ m\times n$ matrix with variables in every location, and that is usually done as follows:

$\displaystyle \begin{pmatrix}
a_{11} & a_{12} & a_{13} & \cdots & a_{1n} \\
a_...
... & \ddots & \vdots \\
a_{m1} & a_{m2} & a_{m3} & \cdots & a_{mn}
\end{pmatrix}$

The number in row $ i$ and column $ j$ is represented by $ a_{ij}$, where $ 1 \le i \le m$ and $ 1 \le j \le n$. Sometimes when there is no question about the dimensions of a matrix, the entire matrix can simply be referred to as:

$\displaystyle \begin{pmatrix}a_{ij}\end{pmatrix}.
$



Subsections