Matrix addition

Algebra ->  Algebra  -> Matrices-and-determiminant -> Matrix addition      Log On

Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!
Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!

   

Matrix addition

Jump to: navigation, search

In mathematics, matrix addition is the operation of adding two matrices by adding the corresponding entries together. However, there is another operation which could also be considered as a kind of addition for matrices.

Contents

[ Entrywise sum

The usual matrix addition is defined for two matrices of the same dimensions. The sum of two m-by-n matrices A and B, denoted by A + B, is again an m-by-n matrix computed by adding corresponding elements. For example:


  \begin{bmatrix}
    1 & 3 \\
    1 & 0 \\
    1 & 2
  \end{bmatrix}
+
  \begin{bmatrix}
    0 & 0 \\
    7 & 5 \\
    2 & 1
  \end{bmatrix}
=
  \begin{bmatrix}
    1+0 & 3+0 \\
    1+7 & 0+5 \\
    1+2 & 2+1
  \end{bmatrix}
=
  \begin{bmatrix}
    1 & 3 \\
    8 & 5 \\
    3 & 3
  \end{bmatrix}

We can also subtract one matrix from another, as long as they have the same dimensions. A - B is computed by subtracting corresponding elements of A and B, and has the same dimensions as A and B. For example:


  \begin{bmatrix}
    1 & 3 \\
    1 & 0 \\    1 & 2
  \end{bmatrix}
-
  \begin{bmatrix}
    0 & 0 \\
    7 & 5 \\
    2 & 1
  \end{bmatrix}
=
  \begin{bmatrix}
    1-0 & 3-0 \\
    1-7 & 0-5 \\
    1-2 & 2-1
  \end{bmatrix}
=
  \begin{bmatrix}
    1 & 3 \\
    -6 & -5 \\
    -1 & 1
  \end{bmatrix}

[ Direct sum

Another operation, which is used less often, is the direct sum. The direct sum of any pair of matrices A of size m × n and B of size p × q is a matrix of size (m + p) × (n + q) defined as


  A \oplus B =
  \begin{bmatrix} A & 0 \\ 0 & B \end{bmatrix} =
  \begin{bmatrix}
     a_{11} & \cdots & a_{1n} &      0 & \cdots &      0 \\
     \vdots & \cdots & \vdots & \vdots & \cdots & \vdots \\
    a_{m 1} & \cdots & a_{mn} &      0 & \cdots &      0 \\
          0 & \cdots &      0 & b_{11} & \cdots &  b_{1q} \\
     \vdots & \cdots & \vdots & \vdots & \cdots & \vdots \\
          0 & \cdots &      0 & b_{p1} & \cdots &  b_{pq} 
  \end{bmatrix}

For instance,


  \begin{bmatrix}
    1 & 3 & 2 \\
    2 & 3 & 1
  \end{bmatrix}
\oplus
  \begin{bmatrix}
    1 & 6 \\
    0 & 1
  \end{bmatrix}
=
  \begin{bmatrix}
    1 & 3 & 2 & 0 & 0 \\
    2 & 3 & 1 & 0 & 0 \\
    0 & 0 & 0 & 1 & 6 \\
    0 & 0 & 0 & 0 & 1
  \end{bmatrix}

The direct sum of matrices is a special type of block matrix, in particular the direct sum of square matrices is a block diagonal matrix.

The adjacency matrix of the union of disjoint graphs or multigraphs is the direct sum of their adjacency matrices. Any element in the direct sum of two vector spaces of matrices can be represented as a direct sum of two matrices.

In general, thee direct sum of n matrices is:


\bigoplus_{i=1}^{n} A_{i} = \mbox{diag}( A_1, A_2, A_3, \ldots, A_n)= 
\begin{bmatrix}
      \begin{matrix} A_1  & \\ & A_2 \end{matrix} & 0 \\
      0 & \begin{matrix} \ddots  & \\ & A_n \end{matrix}
\end{bmatrix}.

[ See also

[ External links

Source: this wikipedia article, under CC-BY-SA.

Tutors Answer Your Questions about Matrices-and-determiminant (FREE)


Older solutions: 1..45, 46..90, 91..135, 136..180, 181..225, 226..270, 271..315, 316..360, 361..405, 406..450, 451..495, 496..540, 541..585, 586..630, 631..675, 676..720, 721..765, 766..810, 811..855, 856..900, 901..945, 946..990, 991..1035