Matrix addition

From Wikipedia, the free encyclopedia

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

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}

Another operation, which is used less often, is the direct sum. We can form the direct sum of any pair of matrices A and B. say of size m × n and p × q, respectively. The direct sum is a matrix of size (m + p) × (n + q) matrix 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}

Note that the direct sum of two square matrices could represent the adjacency matrix of a graph or multigraph with one component for each direct addend.

Note also that any element in the direct sum of two vector spaces of matrices could be represented as a direct sum of two matrices.

In general, we can write the direct sum of n matrices as:

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

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.