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.
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]
For instance,
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.