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]

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.
In general, the direct sum of n matrices is:

where the zeros are actually blocks of zeros (i.e., zero matrices).
This page is based on this
Wikipedia article Text is available under the
CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.