Block Matrix - Direct Sum

For any arbitrary matrices A (of size m × n) and B (of size p × q), we have the direct sum of A and B, denoted by A B and defined as

 \mathbf{A} \oplus \mathbf{B} = \begin{bmatrix} a_{11} & \cdots & a_{1n} & 0 & \cdots & 0 \\ \vdots & \cdots & \vdots & \vdots & \cdots & \vdots \\ a_{m 1} & \cdots & a_{mn} & 0 & \cdots & 0 \\ 0 & \cdots & 0 & b_{11} & \cdots & b_{1q} \\ \vdots & \cdots & \vdots & \vdots & \cdots & \vdots \\ 0 & \cdots & 0 & b_{p1} & \cdots & b_{pq} \end{bmatrix}.

For instance,

 \begin{bmatrix} 1 & 3 & 2 \\ 2 & 3 & 1 \end{bmatrix}
\oplus \begin{bmatrix} 1 & 6 \\ 0 & 1 \end{bmatrix}
= \begin{bmatrix} 1 & 3 & 2 & 0 & 0 \\ 2 & 3 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 6 \\ 0 & 0 & 0 & 0 & 1 \end{bmatrix}.

This operation generalizes naturally to arbitrary dimensioned arrays (provided that A and B have the same number of dimensions).

Note that any element in the direct sum of two vector spaces of matrices could be represented as a direct sum of two matrices.

Read more about this topic:  Block Matrix

Famous quotes containing the words direct and/or sum:

    “...I have never known a “movement” in the theater that did not work direct and serious harm. Indeed, I have sometimes felt that the very people associated with various “uplifting” activities in the theater are people who are astoundingly lacking in idealism.”
    —Minnie Maddern Fiske (1865–1932)

    “To die proudly when it is no longer possible to live proudly. Death freely chosen, death at the right time, brightly and cheerfully accomplished amid children and witnesses: then a real farewell is still possible, as the one who is taking leave is still there; also a real estimate of what one has wished, drawing the sum of one’s life—all in opposition to the wretched and revolting comedy that Christianity has made of the hour of death.”
    —Friedrich Nietzsche (1844–1900)