Direct sum of matrices

From testwiki
Jump to navigation Jump to search

Template:Short description

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]Template:Sfn

𝐀⊕𝐁=[𝐀00𝐁]=[a11⋯a1n0⋯0⋮⋱⋮⋮⋱⋮am1⋯amn0⋯00⋯0b11⋯b1q⋮⋱⋮⋮⋱⋮0⋯0bp1⋯bpq]

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:Template:Sfn

⨁i=1n𝐀i=diag⁡(𝐀1,𝐀2,𝐀3,…,𝐀n)=[𝐀10⋯00𝐀2⋯0⋮⋮⋱⋮00⋯𝐀n]

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

See also

Notes

Template:Reflist

References