Column rank Created 2026-10-14 Updated 2026-10-18
The column rank of a matrix is the dimension of its image of a linear map, equivalently the dimension of the linear span of its columns. Multiplication on the left by an invertible matrix preserves all column linear relations, and elementary column operations preserve their linear span. In row echelon form the pivot columns form a basis of the column space. Its dimension equals the number of nonzero rows, and hence the row rank.
Linear regression model 2026-10-25
A statistical model specifying a response as a linear combination of known regressor columns and an error. Common assumptions are and , although a normal distribution is an additional assumption, not part of the displayed equation alone. Full column rank of the design matrix makes the coefficients identifiable. Statistical association does not by itself give a causal effect.
Write for the dual space. Define . For fixed , this is a linear functional on ; evaluation is also linear in , so is a linear map. If , extend to a basis and take its first coordinate linear functional ; then . Thus is injective. A dual basis has the same number of elements as the original basis, so . The rank-nullity theorem now makes an linear isomorphism.
The annihilator of a vector subspace of a linear subspace isExtend a basis of to a basis of , with dual basis . A linear functional belongs to exactly when its first coordinates in this dual basis vanish. Hence has basis , provingThe dual map is ; here this is the algebraic dual map, denoted in the source. If , then . Consequently . Moreover,because coordinate linear functionals separate vectors. This proves , including the requested second inclusion. Taking dimensions givesThe first inclusion has equal dimensions on both sides, soFor a matrix representing , the matrix of in the corresponding dual bases is : its entry is . Thus the column rank of is the row rank of , while the column rank of is . Applying the established equality to these two linear maps proves row rank equals column rank over every field.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 41 1 Solution Created 2026-10-03 Updated 2026-10-14
Minimizing the residual sum of squares gives the least-squares normal equations . Since the design matrix has full column rank, has a matrix inverse, soThe sampling distribution follows because a linear transformation of a multivariate normal distribution is again a multivariate normal distribution. Its expectation is , and its covariance matrix is .
The hat matrix is . It is the orthogonal projection matrix onto the column space of : , and . Thus the regression residuals are , withThis is fitted-residual orthogonality. The vectors are jointly normal, so independence of uncorrelated jointly normal variables strengthens both zero-covariance statements to independence.
For the quadratic linear regression, the columns of the design matrix are . The replicated design givesFor , the variance of a fitted regression mean is , henceWriting , this is the quadratic . Its derivative vanishes at ; it decreases before that point and increases afterwards. Therefore the maximum is at , and the minimum is at .
At , and the expected yield is . The unbiased residual variance estimate is . By Cochran's theorem, independently of , giving the Student t confidence intervalThe interval estimates the expected yield, so it uses the variance of a fitted regression mean without an additional future-observation error term. The supplied summary determines the half-width but does not give a numerical value of .
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 10G i Solution Created 2026-09-24 Updated 2026-10-14
The row rank of a matrix is the dimension of the linear span of its row vectors. Its column rank is the dimension of the linear span of its column vectors, equivalently the dimension of the image of the corresponding linear map. The equality of row rank and column rank states that these two numbers are equal for every matrix. Their common value is the rank of a matrix.
Past exam of the mathematics course of the University of Cambridge 2008 ib Paper 1 9E Solution Created 2026-09-24 Updated 2026-10-14
The row rank of is the dimension of the span of its rows in ; its column rank is the dimension of the span of its columns in . Elementary row operations replace rows by invertible linear combinations, so preserve their span. They also preserve every column relation: if and only if for an invertible elementary matrix . Reduce to row echelon form , with nonzero rows. These rows are independent because their leading entries occur in distinct, successively later columns. The pivot columns are independent by their triangular pivot submatrix, while every column lies in the -dimensional coordinate space supported on the nonzero rows. Thus both ranks of , and hence both ranks of , equal . Row rank equals column rank.
Elementary column operations replace columns by invertible linear combinations and preserve their span. Equivalently, right multiplication by an invertible elementary matrix preserves row relations, since if and only if . Therefore either elementary row operations or elementary column operations preserve the matrix rank, and any finite sequence gives .
For the block matrices, put . The explicit invertible multiplicationsfollow by first subtracting times the lower block row from the upper one and then subtracting the first block column times from the second. Changing the sign of the upper block row gives . These operations preserve matrix rank, proving that the two specified block matrices have equal rank. Their off-diagonal form gives , since the two image components occupy independent coordinate blocks.
Choose independent columns of and independent columns of . Select the corresponding columns from the first block column of and from the second. In a linear relation among these selected columns, the upper coordinate block forces every coefficient of the first selection to vanish; the lower block then forces every coefficient of the second to vanish. Consequently . Combining this with the equality of block ranks proves the Frobenius rank inequality:
For any matrix and compatible invertible matrix , the linear map maps onto : a linear combination of rows of is sent to the same linear combination of rows of . Its inverse function is , so these row spaces have equal dimensions. Hence right matrix multiplication by also preserves row rank.
If , ii now givesThis proves the required matrix similarity invariant without needing to assume equality of row rank and column rank.
Minimize the residual sum of squaresSetting its three partial derivatives to zero gives the normal equationsThese equations characterize the linear least squares minimizers, since is a convex quadratic. A unique coefficient vector additionally requires full column rank of the design matrix.
The columns are linearly independent. A linear combination of them with coefficients is exactly . Part (a) shows that this vanishes only when all three coefficients vanish, which is the definition of column independence. Hence has column rank three.
Row echelon form Created 2026-10-14 Updated 2026-10-18
A matrix over a field is in row echelon form when all zero rows follow the nonzero rows, each nonzero row's first nonzero entry lies strictly to the right of the preceding row's first nonzero entry, and all entries below each such leading entry vanish. These leading entries are its pivot elements. They need not be one, and entries above them need not vanish.[ref]
Row Reduction. Interactive Linear Algebra by Dan Margalit and others; §1.2.2, Echelon Forms: three echelon conditions and definition of a pivot
The staircase turns a linear system into a sequence of simpler equations. For example,is in row echelon form, with pivot columns 1 and 2. Its second equation determines once is chosen; its first then determines by back substitution. It is not in reduced row echelon form, because the second pivot column contains a nonzero entry above its pivot element. Neither being square nor having a nonzero entry in every row is required.
Elementary row operations bring every matrix to row echelon form: choose a nonzero entry in the leftmost available nonzero column, interchange rows, clear entries below it, and repeat on the remaining rows and later columns. Skip columns with no remaining nonzero entry. Clearing above each pivot element and scaling it to one completes reduced row echelon form.[ref]
Row Reduction. Interactive Linear Algebra by Dan Margalit and others; §1.2.3, The Row Reduction Algorithm, forward steps and Last Step
The nonzero rows of an row echelon form are linearly independent: in a vanishing linear combination, inspecting the first pivot column forces the first coefficient to be zero, then the next forces the second, and so on. They give a basis of the original row space. The number of pivot elements is both the row rank and the column rank. To recover a basis of the original column space, select the corresponding original pivot columns; the reduced column vectors generally belong to a different column space.
Here the arithmetic is exact in the specified field. For floating-point arithmetic, deciding whether a computed entry counts as zero requires a numerical criterion; see Tiny-pivot roundoff in Gaussian elimination and condition number. An exact row echelon form classification alone does not settle numerical stability.
Row rank Created 2026-10-14 Updated 2026-10-18
The row rank of a matrix is the dimension of the vector space spanned by its rows. Elementary row operations preserve this row space; multiplication on the right by an invertible matrix preserves all linear relations among the rows.
To see why row rank equals column rank, write a reduced row echelon form as , where is a product of elementary matrices and is an invertible matrix. Reversibility of the row operations gives equal row spaces for and . Also if and only if , so the columns have exactly the same linear relations. If has nonzero rows, its pivot columns are the first standard basis vectors of and span its column space. Its nonzero rows are linearly independent, since their matrix entries in the pivot positions form an identity matrix. Both dimensions therefore equal , and both counts transfer back to .