Loading…
Partition a large matrix into smaller pieces and carry out the familiar operations block by block.
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.
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:
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.
Definition 3.6.1
(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 3.6.2
(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.
Theorem 3.6.3
(Addition and transpose respect compatible block partitions)
Let .
Transpose exchanges block rows with block columns and transposes each block.
Theorem 3.6.4
(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.
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.
Worked example 3.6.5
(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 3.6.6
(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 3.6.7
(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 3.6.8
(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
Concept lensAlgebraic
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 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.
Quick check
(Why do two block matrices need the same partition before you add them block by block?)
Answer using the phrase "corresponding blocks."
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.
Quick check
(Find the size of when the four factors have sizes , , , and , respectively.)
Check each product before checking whether they can be added.
Both products have size : their inner dimensions are and , respectively. They can therefore be added, and the upper-right output block has size .
Quick check
(Explain why block multiplication is still ordinary matrix multiplication in disguise.)
Use the words "same rule" somewhere in your answer.
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.
Quick check
(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.
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.
Quick check
(Compute the upper-right block of a product from the given blocks.)
Let
Find and state its size.
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.
All matrices and scalar parameters are real. Matrix dimensions are positive integers; denotes the zero matrix of the compatible size. Transpose means ordinary transpose, not conjugate transpose.
Exercise 3.6.9
(Prove the column-vector linear-combination identity and its general block-product form, using matrix equality or another valid method.)
CoreProof
Let be positive integers, with column vectors and real scalars
Set
Prove
Remark and generalization. Let be positive integers and let
Form the horizontal block row and the vertical block column
Prove the general identity
Compare one coordinate in the vector identity. For the general identity, split the inner summation at the boundaries between consecutive blocks.
Compare every vector coordinate
For , the multiplication rule gives
Both sides are column vectors. Equality at every coordinate proves the first identity.
Identify each block inside the full matrices
Define the cumulative block widths
Then has size and has size . For , and each block ,
Split the product entry into block sums
Key step
The intervals from to partition the inner index set. Substitute on each interval:
Because: The inner dimensions of each pair agree.
Conclude both identities
Every has size , so their sum is defined. The entry calculation holds for every , proving the general formula. The vector formula is its special case with , , , and the one-entry matrix whose entry is .
Exercise 3.6.10
(Prove the product formula for a horizontal partition of the right factor, and prove the analogous formula for a vertical partition of the left factor.)
CoreProof
Work over the real numbers, with all dimensions and the number of blocks positive integers. For the horizontal partition, let
Set
Using the multiplication definition or another valid method, prove
Remark and analogous result. For this statement, instead let
Set
Prove
Track where a local column of appears in . For the analogous result, track where a local row of appears in .
Locate the columns of each right-hand block
Let
Then has size . Local column of is column of , so
Compare the horizontal product entry by entry
Key step
For each , and ,
Both candidate matrices have size , and these positions exhaust their entries. Hence
Because: The block boundary changes the column index but not the inner summation.
Compare the vertical product entry by entry
For the analogous partition, let
Then has size . Local row of is row of . For and ,
Conclude the vertical identity and both partition rules
Each has size , so the vertical stack has the same size as . The preceding entries cover every row and column, proving
Thus multiplication preserves each of the stated horizontal and vertical partitions.
Exercise 3.6.11
(Prove that vertically stacking two corresponding pairs of row-equivalent matrices preserves row equivalence.)
CoreProof
Work over the real numbers, with positive integers. Let
Here denotes row equivalence. Suppose
Prove
First perform the operations for the top block. Then shift the row indices in the operations for the bottom block by the height of the top block.
Choose finite sequences for the two blocks
By the hypotheses, choose finite row-operation sequences carrying to and to . Either sequence may be empty. A row scaling uses a nonzero scalar, and a row replacement uses distinct source and target rows.
Perform the top-block sequence
Key step
Apply the sequence for only to the first rows of the stacked matrix. A swap or replacement uses only those row indices, and a scaling changes only its selected top row. Each operation is legal and leaves the bottom rows unchanged. Therefore
Because: Each vertical block occupies a disjoint set of complete rows.
Shift the bottom indices and concatenate the sequences
In the sequence for , replace every row index by :
Distinct indices stay distinct, and scaling factors remain nonzero. The resulting operations act only on the bottom rows and leave the top block fixed, so
Concatenating the two finite sequences gives a valid sequence on matrices of size , including when one or both sequences are empty. Hence
Exercise 3.6.12
((a) Prove the common-sequence criterion for row equivalence of horizontal block matrices. (b) Give and justify a counterexample when only separate row equivalences of the blocks are assumed.)
Synthesis
Work over the real numbers. Let be positive integers and let
Choose an integer with (so ), defining a split after the first columns, and write
Here are the first columns and are the last columns; thus
(a) Prove that if and only if there is one common finite sequence of row operations taking to and simultaneously taking to .
(b) Under the same partition hypotheses, give a counterexample to the assertion that and imply . Justify all the equivalence and nonequivalence claims. Here denotes row equivalence.
Every row operation acts on the whole row. For (b), try a one-row matrix whose two blocks require different scaling factors.
Check one row operation on both blocks
For matrices with the same number of rows and a legal row operation ,
A swap exchanges the same two entire rows in both blocks. Scaling multiplies the selected row in both blocks by the same nonzero scalar. Replacement adds the same multiple of a distinct source row to the target row in both blocks. This proves the identity for all three operation types.
Prove the forward direction in (a)
Key step
Suppose a finite sequence carries to . Induct on the number of operations performed. At zero operations, the blocks are . If the current whole matrix is the concatenation of its two current blocks, the preceding identity shows that the next operation transforms both blocks by that same operation. Thus the final blocks are under the original common sequence. This includes an empty sequence.
Because: The two blocks have the same row indices, so each operation restricts to both blocks.
Prove the reverse direction in (a)
Suppose one common finite sequence takes to and to . Apply it to the whole matrix . Every operation is legal on the same rows. By the one-operation identity and induction, the final matrix is the horizontal concatenation of the two final blocks, which is . Hence , proving the reverse direction.
Construct the separate block equivalences for (b)
Take
The first blocks are identical:
They are row-equivalent by the empty sequence. The second blocks are
The row operation takes to , so they too are row-equivalent.
Rule out a whole-matrix sequence and conclude
There is only one row, so there are no two distinct rows available for replacement or a nontrivial swap. Any finite sequence can only scale the row by an overall nonzero scalar , producing
For this row to equal , its first entry would force and its second would force , a contradiction. Therefore
Thus the common-sequence criterion in (a) holds, while the assertion in (b) is false: separate sequences do not suffice.
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.