A large matrix can contain a simple structure that is hard to see entry by entry. Its first few columns may describe one group of variables, its remaining columns another group, and its rows may come from several families of equations. A block partition records those groupings without changing any entry of the matrix.
Block notation is therefore a change of viewpoint, not a new kind of matrix. Every valid block calculation must still be justified by ordinary entrywise addition or ordinary row-by-column multiplication. The advantage is that a well-chosen partition exposes the bookkeeping before the arithmetic becomes large.
Choose cuts that expose structure
Suppose a linear model has one set of input variables of size and a second set of size , while its outputs come in groups of sizes and . A matrix representing the model naturally separates into four blocks. The block in position records how input group contributes to output group .
This viewpoint is useful only when the cuts carry mathematical information. Typical choices isolate coefficient groups, identity or zero submatrices, repeated patterns, or successive stages of a linear transformation. An arbitrary grid is legal, but it may not simplify anything.
Three questions govern every block calculation:
- What are the row heights and column widths of the displayed blocks?
- Does the proposed operation make sense for the whole matrices?
- If a block formula is used, do all of its block products and block sums have the required dimensions?
Keeping the second and third questions separate prevents a common error. Two matrices of the same outer size can always be added entry by entry, even when they are displayed with different cuts. What fails is only the attempt to pair their currently displayed blocks directly.
Record the sizes of the blocks
Definition
Block partition
Let . Choose positive integers
Cut the rows into consecutive groups of heights and the columns into consecutive groups of widths . Then
The submatrix is the block in block row and block column . Within one block row every block has the same number of rows, and within one block column every block has the same number of columns.
The displayed block grid is extra notation attached to the underlying matrix. Erasing every cut recovers the same matrix. Adding a cut gives a refinement of the partition; erasing a cut gives a coarsening. If two partitions of the same outer rectangle differ, placing every cut from both partitions into one grid produces a common refinement.
Definition
Compatible partitions for a product
Let
The partitions are compatible for multiplication when there are positive integers , , and such that
Thus the column widths of agree, group by group, with the row heights of . The number and positions of the inner cuts must agree; the outer row partition of and outer column partition of may be completely different.
Scalar multiplication needs no compatibility with another matrix: multiplying by a scalar simply multiplies every displayed block by that scalar.
Different block rows need not have equal heights, and different block columns need not have equal widths. Blocks need not be square, and a matrix need not have the same number of block rows and block columns. What matters is consistency along each full strip: one block-row height is shared across that row of blocks, and one block-column width is shared down that column of blocks. Writing these compositions beside a problem is often more reliable than judging compatibility from a drawn grid alone.
When block operations are valid
Theorem
Addition and transpose respect compatible block partitions
Let .
- The ordinary sum is defined whenever the outer dimensions agree, regardless of how and are currently displayed.
- If both matrices use the same row composition and column composition , then
- If their displayed partitions differ, one may erase the cuts, repartition both matrices in the same way, or use the common refinement formed by the union of all row and column cut positions. Blockwise addition is then valid in that shared grid.
- If with , then the block in position of the transpose satisfies
Transpose exchanges block rows with block columns and transposes each block.
Theorem
Block multiplication theorem
Suppose
and
Then the ordinary product exists and has the block partition
For every fixed , each product has size , so the terms in the sum really can be added. Consequently .
For a block grid the theorem reads
The formula resembles multiplication of two numerical matrices, but that resemblance is not permission to ignore sizes or order. Matrix block products generally do not commute, and every summand must have the same shape.
Why grouping entries preserves the rules
Proof
Why the block formulas are ordinary matrix formulas
For addition, fix any entry position . The corresponding entry of is . A shared block grid merely groups these entrywise sums into rectangles, so in block position the rectangle is exactly . If the original cuts differ, their union still divides the same rows and columns into consecutive groups, which proves that a common refinement always permits direct block pairing.
For transpose, the entry in row , column moves to row , column . Therefore the rectangle formerly in block position moves to position , with its own rows and columns exchanged. This gives and changes its size from to .
For multiplication, fix a row belonging to block row of and a column belonging to block column of . The ordinary dot product sums over every one of the shared inner coordinates. Split that single sum into the consecutive inner groups of sizes . The contribution from inner group is precisely the corresponding entry of . Adding the group contributions gives
Thus block multiplication does not introduce a new rule; it groups the terms of the usual row-by-column rule without omitting or duplicating any term.
The sequence below follows the same logic from partition choice to the assembled product.
See how cuts create block matrices, why blockwise addition needs the same partition, and how compatible block products reproduce the ordinary multiplication rule.
Partition first
Horizontal and vertical cuts divide one matrix into rectangular blocks A_ij. If A_ij has m_i rows and p_j columns, the block labels carry size information.
Same cuts for addition
Blockwise addition requires the same partition, so every A_ij has a corresponding B_ij of the same size.
Scalar reaches every block
Scalar multiplication preserves the partition: cA is the block matrix whose blocks are cA_ij.
2 x 2 block product
For compatible 2 x 2 block partitions, the top-left block of AB is C_11=A_11B_11+A_12B_21, exactly mirroring ordinary matrix multiplication.
Compatibility check
The formula works only if each A_ikB_kj is defined. If A_ik is m_i x p_k and B_kj is p_k x n_j, their product has size m_i x n_j.
Column-block bridge
When B is partitioned into columns, AB=[Ab_1,Ab_2,...,Ab_r]. This is the same bookkeeping idea used later to organize several right-hand sides.
A block matrix is ordinary matrix algebra viewed at a larger scale. The partition must be fixed first, addition needs matching cuts, and multiplication is valid only when every block product in the formula is an ordinary defined matrix product.
From compatible shapes to a block product
Worked example
Read the symbolic 2 × 2 rule with dimensions
Let the row heights of be , its column widths be , and the column widths of be . Then, for example,
Hence both and have size , and the upper-right block is
This is the dimension check hidden inside the familiar symbolic formula. The same audit must succeed for every output block.
Worked example
Different displayed cuts do not prevent ordinary addition
Consider
Suppose is displayed with row split and column split , while is displayed with row split and column split . Their current blocks cannot be paired: the upper-left block of is , whereas the upper-left block of is .
Nevertheless both underlying matrices are , so ordinary addition is defined:
To recover a blockwise calculation, use all cut positions from both displays. The common row composition is , and the common column composition is . Every resulting small block of now has a corresponding block of the same size in . The obstruction concerned the notation, not the matrix sum.
Worked example
Transpose with unequal rectangular blocks
Partition a matrix using row composition and column composition :
Thus the four blocks have sizes , , , and . Transposing gives
The new row composition is and the new column composition is . In particular, the original upper-right block becomes the lower-left block after transposition. No equality of block heights and widths is required; the dimensions are exchanged.
Worked example
A complete numerical block product
Use row compositions , inner composition , and column compositions :
Here is , is , is , and is . The four output blocks are
For instance,
Assembling the blocks gives the ordinary product
A dimension audit before multiplying blocks
Concept lensAlgebraic
Inner cuts group the same coordinates
Before carrying out arithmetic for an output block , write the shapes:
Do this for every inner index . The repeated size first proves that each product exists. The unchanged outer sizes and then prove that the products can be added. Finally, the block-row heights of the answer sum to the number of rows of , while its block-column widths sum to the number of columns of .
For any proposed symbolic sum of matrix products, perform two checks: each product must exist, and all products being added must have the same output shape. In a genuine compatible block grid, the theorem's fixed and make the second check automatic once the block shapes have been recorded. If a loose collection of submatrices does not share those block-row heights and block-column widths, it is not a valid grid to which the theorem applies.
For a concrete partition choice, let be and be . Suppose the columns of are grouped as , but the rows of as . Ordinary multiplication is defined; direct multiplication of those displayed blocks is not. The first proposed block product would have inner sizes and , and the second would have inner sizes and .
Keep both cut positions and refine the shared inner coordinates into groups of sizes . Write the resulting blocks as
Now are , is ; are , and is . Therefore , a sum of three matrices. Refining the cuts repaired the block calculation without changing any matrix entry. The shared inner groups specify which coordinates contribute together; they are part of the justification for the formula.
Common mistakes
Common mistake
Confusing the matrix sum with a particular block display
Different displayed cuts do not make undefined when and have the same outer dimensions. They only prevent direct pairing of the current blocks. Erase the cuts, repartition both matrices alike, or take a common refinement.
Common mistake
Checking only the whole matrices
The fact that an matrix can multiply an matrix does not validate an arbitrary pair of block displays. The inner block boundaries must also agree. If they do not, repartition before applying a block formula.
Common mistake
Multiplying corresponding positions instead of block row by block column
The block is a sum over the inner index ; it is not merely . Read a complete block row of against a complete block column of , in the given order.
Common mistake
Treating block products as commutative
Even when both and happen to exist, they need not be equal. The order in the block multiplication theorem is inherited from ordinary matrix multiplication and may not be reversed.
A checklist for block calculations
- A block partition is specified by row compositions and column compositions; every block in a block row has a common height, and every block in a block column has a common width.
- Equal outer dimensions are enough for ordinary matrix addition. Matching displayed partitions are required only for direct block-by-block pairing. Different partitions can be replaced by a common refinement.
- Transpose swaps the block grid and transposes each block: .
- If and , then has size .
- Block multiplication is ordinary row-by-column multiplication with its inner sum grouped into consecutive coordinate ranges. A dimension audit should precede the arithmetic.
Exercises
Checkpoint
Why do two block matrices need the same partition before you add them block by block?
Answer using the phrase "corresponding blocks."
Solution · Answer
Direct block-by-block addition needs the same partition because each block in one display must have a corresponding block of the same size in the other. This requirement concerns the chosen displays; the underlying matrices can still be added entry by entry whenever their outer dimensions agree.
Checkpoint
Find the size of when the four factors have sizes , , , and , respectively.
Check each product before checking whether they can be added.
Solution · Answer
Both products have size : their inner dimensions are and , respectively. They can therefore be added, and the upper-right output block has size .
Checkpoint
Explain why block multiplication is still ordinary matrix multiplication in disguise.
Use the words "same rule" somewhere in your answer.
Solution · Guided solution
Block multiplication uses the same rule as ordinary multiplication. It groups the inner coordinates of each ordinary row-column dot product according to the chosen cuts; no term is added, removed, or reordered.
Checkpoint
Two matrices have row partitions and , and both have column partition . Find the coarsest common row refinement that permits direct block addition.
Mark both row-cut positions within the same four-row array.
Solution · Guided solution
Retain the cuts after rows and . The common row partition is ; the column partition stays . Both matrices now have corresponding blocks of equal size, without changing any entry.
Checkpoint
Compute the upper-right block of a product from the given blocks.
Let
Find and state its size.
Solution · Guided solution
The first product has shape ; the second has shape , so they can be added. Numerically,
Therefore
a block. Writing the two shape calculations first explains why the numerical addition is legitimate.
Related notes
Review 3.2 Matrix multiplication, identity matrices, and linear systems if the ordinary multiplication pattern is still shaky.
For the next chapter, continue to 4.1 Homogeneous systems and null space. Later, 5.1 Invertible matrices connects matrix structure to reversibility.