Jump to content

Matrix addition: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Removing my contributions (David Cruise)
Line 1: Line 1:
In [[mathematics]], '''matrix addition''' is the operation of adding two [[matrix (mathematics)|matrices]] by adding the corresponding entries together. However, there are two other operations which could also be considered as a kind of [[addition]] for matrices.
In [[mathematics]], '''matrix addition''' is the operation of adding two [[matrix (mathematics)|matrices]] by adding the corresponding entries together.


==Entrywise sum==
==Entrywise sum==
Line 80: Line 80:
\end{bmatrix}.
\end{bmatrix}.
</math>
</math>

==Alternative matrix addition==

Some statisticians use an alternative matrix addition, which is defined analogous to [[matrix multiplication]]. It can be used for concise expression of several key theorems of statistical theory and theory of probability. To add two matrices ''A'' and ''B'' and store the results in a matrix ''C''
:<math>C = A + B </math>
the number of columns in matrix ''A'' must equal the number of rows in matrix ''B'', in other words, the matrices must be conformable to matrix addition. The resulting matrix ''C'' will have the number of rows of the first matrix and the number of columns of the second matrix. For example, if matrix ''A'' is a 2&times;3 matrix and matrix ''B'' is a 3&times;2 matrix, the resulting matrix will be a 2&times;2 matrix. The schematic representation of matrix addition is shown below

:<math>
\begin{bmatrix}
a & b & c \\
d & e & f
\end{bmatrix}
+
\begin{bmatrix}
g & h \\
i & j \\
k & l
\end{bmatrix}
=
\begin{bmatrix}
(a+g)+(b+i)+(c+k) & (a+h)+(b+j)+(c+l) \\
(d+g)+(e+i)+(f+k) & (d+h)+(e+j)+(f+l)
\end{bmatrix}
</math>

For instance,

:<math>
\begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6
\end{bmatrix}
+
\begin{bmatrix}
7 & 8 \\
9 & 10 \\
11 & 12
\end{bmatrix}
=
\begin{bmatrix}
33 & 36 \\
42 & 45
\end{bmatrix}
</math>

Note that the first matrix is a 2x3 matrix and the second matrix is a 3x2 matrix, the resulting matrix is a 2x2 matrix.

Suppose that you would like to compute the most likely outcome of the throws of two dice. Thus,


:<math>

\begin{bmatrix}
1 \\
2 \\
3 \\
4 \\
5 \\
6
\end{bmatrix}
+
\begin{bmatrix}
1 & 2 & 3 & 4 & 5 & 6
\end{bmatrix}
=
\begin{bmatrix}
2 & 3 & 4 & 5 & 6 & 7\\
3 & 4 & 5 & 6 & 7 & 8\\
4 & 5 & 6 & 7 & 8 & 9\\
5 & 6 & 7 & 8 & 9 & 10\\
6 & 7 & 8 & 9 & 10 & 11\\
7 & 8 & 9 & 10 & 11 & 12\\
\end{bmatrix}
</math>

The addition of matrices is especially useful for the visualization of higher [[transcendental function]]s in three [[dimension]]s, as shown below:

[[Image:Supermatrix_5.jpg|none]]

==References==
* Krus, D.J., & Ceuvorst, R. W. (1979) Dominance, information, and hierarchical scaling of variance space. ''Applied Psychological Measurement,'' 3, 515-527.

* Krus, D.J., & Wilkinson, S.M. (1986) Matrix differencing as a concise expression of variance. ''Educational and Psychological Measurement,'' 46, 179-183. [http://www.visualstatistics.net/Scaling/Matrix%20Differencing/Matrix%20Differencing.asp (Request reprint).]
* Krus, D.J. (2002) Imaging higher transcendental functions in 3-Dimensions. ''Journal of Visual Statistics'' 1, 6-9.[http://www.visualstatistics.net/Statistics/matrixHigherTranscendentals/HTF%20within%20Matrix%20Algebra%20Framework.htm (Request reprint).]


==See also==
==See also==
*[[matrix subtraction]]
*[[matrix subtraction]]
*[[supermatrix]]


==External links==
==External links==
* [http://www.easycalculation.com/matrix/matrix-addition.php Online matrix addition calculator]
* [http://www.easycalculation.com/matrix/matrix-addition.php Online matrix addition calculator]
* [http://www.visualstatistics.net/Visual%20Statistics%20Multimedia/matrix_algebra_operation.htm Introduction to Matrix Algebra]

* [http://www.visualstatistics.net/PPP%20Matrix%20Algebra/Animated%20Matrix%20Algebra.htm Matrix Algebra Operations on Matrices]


[[Category:Linear algebra]]
[[Category:Linear algebra]]

Revision as of 04:56, 22 July 2006

In mathematics, matrix addition is the operation of adding two matrices by adding the corresponding entries together.

Entrywise sum

The usual matrix addition is defined for two matrices of 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

Direct sum

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

For instance,

Note 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:

See also