Addition and Scalar Multiplication of Matrices
Introduction to Matrices
A matrix is a rectangular array of numbers. The plural form of matrix is matrices. You have encountered matrices before in the context of augmented matrices and coefficient matrices associate with linear systems.
Consider the matrix
The dimension of a matrix is defined as \(m\times n\) where \(m\) is the number of rows and \(n\) is the number of columns. The above matrix is a \(3\times 4\) matrix because there are three rows and four columns.
A column vector in \(\RR ^n\) is an \(n\times 1\) matrix. A row vector in \(\RR ^n\) is a \(1\times n\) matrix.
The individual entries in the matrix are identified according to their position. The \(( i, j)\)-entry of a matrix is the entry in the \(i^{th}\) row and \(j^{th}\) column. For example, in matrix \(M\) above, \(8\) is called the \((2,3)\)-entry because it is in the second row and the third column.
We denote the entry in the \(i^{th}\) row and the \(j^{th}\) column of matrix \(A\) by \(a_{ij}\), and write \(A\) in terms of its entries as
.
Occasionally it will be convenient to talk about columns and rows of a matrix \(A\) as vectors. We will use the following notation:
A matrix is called a square matrix if it has the same number of rows and columns. If \(B=\begin{bmatrix}b_{ij}\end{bmatrix}\) is an \(n \times n\) square matrix, the entries of the form \(b_{ii}\) are said to lie on the main diagonal. For example, if
then the main diagonal consists of entries \(b_{11}=1\), \(b_{22}=5\) and \(b_{33}=9\).
There are various operations which are done on matrices of appropriate sizes. Matrices can be added to and subtracted from other matrices, multiplied by a scalar, and multiplied by other matrices. We will never divide a matrix by another matrix, but we will see later how multiplication by a matrix inverse (if an inverse exists) plays a similar role to division.
In doing arithmetic with matrices, we often define the action by what happens in terms of the entries (or components) of the matrices. Before looking at these operations in depth, consider a few general definitions.
Addition of Matrices
Given two matrices of the same dimensions, we can add them together by adding their corresponding entries.
Going forward, whenever we write \(A+B\) it will be assumed that the two matrices are of equal size and addition is possible.
We will prove Properties (a) and (d). The remaining properties are left as exercises.
Proof of Property (a): The \((i,j)\)-entry of \(A+B\) is given by
The \((i,j)\)-entry of \(B+A\) is given by
Since \(a_{ij}+b_{ij}=b_{ij}+a_{ij}\), for all \(i\), \(j\), we conclude that \(A+B=B+A\).
Proof of Property (d): Let \(-A\) be defined by
You will recognize the zero matrix of Theorem 6(c) as the zero matrix of Definition 1.
Scalar Multiplication of Matrices
When a matrix is multiplied by a scalar, the new matrix is obtained by multiplying every entry of the original matrix by the given scalar.
- (a)
- Distributive Law over Matrix Addition \begin{equation*} k \left ( A+B\right ) =k A+ kB \end{equation*}
- (b)
- Distributive Law over Scalar Addition \begin{equation*} \left ( k +p \right ) A= k A+p A \end{equation*}
- (c)
- Associative Law for Scalar Multiplication \begin{equation*} k \left ( p A\right ) = \left ( k p \right ) A \end{equation*}
- (d)
- Multiplication by \(1\) \begin{equation*} 1A=A \end{equation*}
The proof of this theorem is similar to the proof of Theorem 6 and is left as an exercise.
Practice Problems
Text Source
The text in this section is an adaptation of Section 2.1 of Ken Kuttler’s A First Course in Linear Algebra. (CC-BY)
Ken Kuttler, A First Course in Linear Algebra, Lyryx 2017, Open Edition, p. 53-58.