Matrix addition

Matrix addition

In mathematics, matrix addition is the operation of adding two matrices by adding the corresponding entries together. However, there are other operations which could also be considered as a kind of addition for matrices, the direct sum and the Kronecker sum.

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. AB 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 (denoted by ⊕). Note the Kroneker sum is also denoted ⊕, the context should make the usage clear. 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, the 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}.

Kronecker sum

The Kronecker sum is different from the direct sum but is also denoted by ⊕. It is defined using the Kronecker product ⊗ and normal matrix addition. If A is n-by-n, B is m-by-m and \mathbf{I}_k denotes the k-by-k identity matrix then the Kronecker sum is defined by:

 \mathbf{A} \oplus \mathbf{B} = \mathbf{A} \otimes \mathbf{I}_m + \mathbf{I}_n \otimes \mathbf{B}.

See also

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • matrix addition — noun the addition of matrices • Hypernyms: ↑matrix operation …   Useful english dictionary

  • Matrix (mathematics) — Specific elements of a matrix are often denoted by a variable with two subscripts. For instance, a2,1 represents the element at the second row and first column of a matrix A. In mathematics, a matrix (plural matrices, or less commonly matrixes)… …   Wikipedia

  • Matrix multiplication — In mathematics, matrix multiplication is a binary operation that takes a pair of matrices, and produces another matrix. If A is an n by m matrix and B is an m by p matrix, the result AB of their multiplication is an n by p matrix defined only if… …   Wikipedia

  • Matrix (Mathematik) — Schema für eine allgemeine m×n Matrix In der Mathematik versteht man unter einer Matrix (Plural: Matrizen) eine rechteckige Anordnung (Tabelle) von Elementen bzw. mathematischen Objekten, mit denen man in bestimmter Weise rechnen kann (z. B …   Deutsch Wikipedia

  • Matrix ring — In abstract algebra, a matrix ring is any collection of matrices forming a ring under matrix addition and matrix multiplication. The set of n×n matrices with entries from another ring is a matrix ring, as well as some subsets of infinite matrices …   Wikipedia

  • Matrix differential equation — A differential equation is a mathematical equation for an unknown function of one or several variables that relates the values of the function itself and of its derivatives of various orders. A matrix differential equation is one containing more… …   Wikipedia

  • Matrix group — In mathematics, a matrix group is a group G consisting of invertible matrices over some field K, usually fixed in advance, with operations of matrix multiplication and inversion. More generally, one can consider n × n matrices over a commutative… …   Wikipedia

  • matrix operation — noun a mathematical operation involving matrices • Hypernyms: ↑mathematical process, ↑mathematical operation, ↑operation • Hyponyms: ↑matrix addition, ↑matrix multiplication, ↑matrix inversion, ↑ …   Useful english dictionary

  • Matrix decoder — is an audio technology where a finite number of discrete audio channels (e.g., 2) are decoded into a larger number of channels on play back (e.g., 5). The channels are generally, but not always, arranged for transmission or recording by an… …   Wikipedia

  • Matrix Business Technologies — Matrix Telecom, Inc Type Private company Industry Telecommunications, Internet Service Provider Founded 1990 …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”