Search for probability and statistics terms on Statlect
StatLect

Matrix addition

by , PhD

This lecture introduces matrix addition, one of the basic algebraic operations that can be performed on matrices.

Table of Contents

Definition

Two matrices can be added together if and only if they have the same dimension. Their sum is obtained by summing each element of one matrix to the corresponding element of the other matrix.

The following is a formal definition.

Definition Let A and $B$ be two $L	imes K$ matrices. Their sum $A+B$ is another $L	imes K$ matrix such that its $left( l,k
ight) $-th element is equal to the sum of the $left( l,k
ight) $-th element of A and the $left( l,k
ight) $-th element of $B$, for all k and $l$ satisfying $1leq kleq K $ and $1leq lleq L$.

The following example shows how matrix addition is performed.

Example Let A and $B$ be two $3	imes 2$ matrices[eq1]Their sum is[eq2]

Remember that column vectors and row vectors are also matrices. As a consequence, they can be summed in the same way, as shown by the following example.

Example Let A and $B$ be two $3	imes 1$ column vectors[eq3]Their sum is[eq4]

Properties of matrix addition

Matrix addition enjoys properties that are similar to those enjoyed by the more familiar addition of real numbers.

Proposition (commutative property) Matrix addition is commutative, that is,[eq5]for any matrices A and $B$ such that the above additions are meaningfully defined.

Proof

This is an immediate consequence of the fact that the commutative property applies to sums of scalars, and therefore to the element-by-element sums that are performed when carrying out matrix addition.

Proposition (associative property) Matrix addition is associative, that is,[eq6]for any matrices A, $B$ and $C$ such that the above additions are meaningfully defined.

Proof

This is an immediate consequence of the fact that the associative property applies to sums of scalars, and therefore to the element-by-element sums that are performed when carrying out matrix addition.

Solved exercises

Below you can find some exercises with explained solutions.

Exercise 1

Let A and $B$ be $3	imes 3$ matrices defined by[eq7]Find their sum.

Solution

In order to compute the sum of A and $B$, we need to sum each element of $A $ with the corresponding element of $B$:[eq8]

Exercise 2

Let A be the following $3	imes 2$ matrix:[eq9]Define the $2	imes 3$ matrix $B$ as follows:[eq10]Compute[eq11]where $B^{	op }$ is the transpose of $B$.

Solution

The transpose $B^{	op }$ is a matrix such that its columns are equal to the rows of $B$:[eq12]Now, since A and $B^{	op }$ have the same dimension, we can compute their sum:[eq13]

Exercise 3

Let A be a $2	imes 2$ matrix defined by[eq14]Show that the sum of A and its transpose is a symmetric matrix.

Solution

The transpose of A is[eq15]The sum of A and $A^{	op }$ is[eq16]

Finally, $A+A^{	op }$ is symmetric if it is equal to its transpose. The latter is[eq17]Thus, the assertion is true.

How to cite

Please cite as:

Taboga, Marco (2021). "Matrix addition", Lectures on matrix algebra. https://www.statlect.com/matrix-algebra/matrix-addition.

The books

Most of the learning materials found on this website are now available in a traditional textbook format.