9 BASICS
9.1. Matrices as collections of column vectors
Matrices can be viewed simply as a collection of column vectors of same size, that is, as a collection of points in a multi-dimensional space.
A matrix can be described as follows: given
vectors
in
we can define the
matrix
with
‘s as columns:
![]()
Geometrically,
represents
points in an
-dimensional space.
The notation
denotes the set of
matrices.
With our convention, a column vector in
is thus a matrix in
, while a row vector in
is a matrix in
.
9.2. Transpose
The notation
denotes the element of
in row
and column
. The transpose of a matrix
, denoted by
, is the matrix with element
at the
position, with
and
.
9.3. Matrices as collections of rows
Similarly, we can describe a matrix in row-wise manner: given
vectors
in
, we can define the
matrix
with the transposed vectors
as rows:
![Rendered by QuickLaTeX.com \[B = \begin{pmatrix} b_{1}^{T} \\[0.5em] b_{2}^{T} \\[0.5em] \vdots \\[0.5em] b_{m}^{T} \end{pmatrix}.\]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-9a8fbfd0595b93996b06a247bca305a7_l3.png)
Geometrically,
represents
points in a
-dimensional space.
| Example 1: Consider the |
|
|
| The matrix can be interpreted as the collection of two column vectors: |
|
|
| Geometrically, |
| Alternatively, we can interpret |
|
|
| where |
|
|
| Geometrically, |
See also:
9.4. Sparse Matrices
In many applications, one has to deal with very large matrices that are sparse, that is, they have many zeros. It often makes sense to use a sparse storage convention to represent the matrix.
One of the most common formats involves only listing the non-zero elements, and their associated locations
in the matrix.
![Rendered by QuickLaTeX.com \[A = \begin{pmatrix} 3 & 4.5 \\ 2 & 1.2 \\-0.1 & 8.2 \end{pmatrix}.\]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-c164fc0a5b6fe3fd33330b8f8977de0e_l3.png)
![Rendered by QuickLaTeX.com \[a_{1}=\begin{pmatrix} 3\\ 2\\-0.1\end{pmatrix},\quad \quad a_{2}=\begin{pmatrix} 4.5\\ 1.2\\8.2\end{pmatrix}.\]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-041b0ece8bfb0eab0991a090e2bb48db_l3.png)
![Rendered by QuickLaTeX.com \[A = \begin{pmatrix} b_{1}^{T}\\[0.5em]b_{2}^{T}\\[0.5em]b_{3}^{T} \end{pmatrix}.\]](https://pressbooks.pub/app/uploads/quicklatex/quicklatex.com-d8b635c7df8112e07f4d5762dc70bcd2_l3.png)