Direct sum of matrices

From HandWiki
Short description: Two matrices placed in the diagonal of a larger matrix


The direct sum of two matrices is the diagonal matrix where the top-left and bottom-right corners of the matrix fill the two given matrices, and where the top-right and bottom-left corners are all zeros.

Definition

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:[1][2]

𝐀𝐁=[𝐀00𝐁]=[a11a1n00am1amn0000b11b1q00bp1bpq]

For instance,

[132231][1601]=[13200231000001600001]

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:[2]

i=1n𝐀i=diag(𝐀1,𝐀2,𝐀3,,𝐀n)=[𝐀1000𝐀2000𝐀n]

where the zeros are actually blocks of zeros (i.e., zero matrices).

See also

Notes

References

  • Lipschutz, Seymour; Lipson, Marc (2017). Schaum's Outline of Linear Algebra (6 ed.). McGraw-Hill Education. ISBN 9781260011449.