Homogeneous linear system 2026-10-14
A linear system is homogeneous when its forcing is zero. Its solution set is the kernel of a linear map, a vector subspace. If has a particular solution , all its solutions are : subtracting the particular solution leaves a homogeneous linear system. The rank-nullity theorem gives the dimension of this freedom.
Matrix rank Created 2026-09-24 Updated 2026-10-18
The matrix rank of an matrix over a field is the dimension of its column space, equivalently the dimension of its row space. It counts linearly independent column directions, with . Counting nonzero matrix entries gives a different quantity: an all-ones matrix can have arbitrarily many nonzero matrix entries and still have matrix rank one.[ref]
The Rank Theorem. Interactive Linear Algebra, §2.9, Definition: rank is column-space dimension; the row-space equality is proved below
Consider the following matrix over the real numbers, with columns written as vectors:The vectors are linearly independent: requires both and , so . The third column adds no new direction to their linear span, hence despite all nine matrix entries being nonzero. The second row likewise repeats twice the first row.
The column space is a plane through the origin:Every output has second coordinate twice its first coordinate. Conversely, any vector equals , so this condition describes the entire plane, not just part of it. For example, is attainable, whereas lies outside the plane.
Elementary row operations expose the same count algebraically. Apply and , interchange the last two rows, multiply the second row by , and subtract twice the second row from the first. The resulting reduced row echelon form isThere are two pivot columns, so the matrix rank is two. The corresponding original columns form a basis of the original column space. The pivot columns of itself span the different plane with third coordinate zero: row operations preserve column linear relations, but generally move the column space.[ref]
Row Reduction. Interactive Linear Algebra, §1.2.2, Echelon Forms; §1.2.3, definitions of pivot position and pivot column
Solving the homogeneous linear system gives and . Taking the free variable givesThe kernel is the input direction that trades one unit of each of the first two columns for one unit of the third. This trade leaves the output unchanged. The rank-nullity theorem expresses the general balance: for an matrix of matrix rank , the nullity is . The column space describes reachable outputs; the kernel describes invisible changes to inputs.[ref]
The Rank Theorem. Interactive Linear Algebra, §2.9, Rank Theorem: rank plus nullity equals the number of columns
For the attainable output , one solution is . Every solution lies in the affine solution space of a linear equationIndeed, and . Conversely, subtracting from any solution gives a vector in the kernel, so this describes every solution. For , the same row operations on the augmented matrix expose : the second requirement demands where twice the first requires .
Two pivot columns, one kernel direction, and the same row operations distinguishing attainable from impossible
. Details. In general, a linear system is solvable exactly when appending leaves the matrix rank unchanged:Appending a vector outside the column space adds an independent direction. When a solution exists, every solution is , because . Thus one count predicts both how many output directions are reachable and, through the rank-nullity theorem, how many independent input directions remain free.[ref]
Solution Sets. Interactive Linear Algebra, §2.4.2, Key Observation and its proof; §2.4.3, Solution Sets and Column Spans
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 31 3 Solution 2026-10-14
A reduction must encode primal solutions and infeasibility or unboundedness information; merely declaring a known optimum or subtracting an unknown optimum from the objective function is not a construction. The following homogeneous self-dual embedding of a linear program works without assuming the input problem has an optimum.
First remove linearly dependent equality rows by Gaussian elimination. If an eliminated row has an inconsistent right-hand side, the original problem is already certified infeasible. Return the one-variable special-form program with , , and retain that certificate; no original mathematical optimization remains. Otherwise the remaining matrix has full row rank; write it as again. Put andUse nonnegative variables and , with a temporary unrestricted multiplier . Impose the homogeneous linear systemAll coefficients are computable from the input. The temporary free multiplier can be eliminated without introducing cancelling positive/negative variables. DefineReplace the second equation by , and substitute in the other equations. Because has full row rank, is equivalent to these conditions. For no remaining equality rows, simply omit and its empty equations.
Let and . Collect these substituted equations into , impose , and let select the coordinate . The resulting Karmarkar standard form isThe next two parts prove its known positive starting point and zero optimal value. Notice that normalization is legitimate for any nonzero nonnegative embedding vector because all the equations are homogeneous; it does not require a prior bound on the original optimizer.
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 1 7B a Solution Created 2026-09-24 Updated 2026-10-14
Expanding the characteristic polynomial givesThus the eigenvalues are . Solving the corresponding homogeneous linear systems givesEvery nonzero vector in the displayed eigenspace is an eigenvector. Direct multiplication verifies the three eigenvalue equations. The distinct eigenvalues imply these eigenvectors are linearly independent and form a basis of .
A system of linear equations is solvable exactly when . If is one solution, thenso its solution set is , a translate of the kernel of a linear map.
For , the matrix is an invertible matrix, andEvery is in the image of a linear map and has exactly one preimage. For , its first two columns span the image of a linear map, while the corresponding homogeneous linear system gives the kernel of a linear map:The prescribed satisfies the displayed condition precisely when . If , it lies outside the image of a linear map and there is no solution. If , it lies in the image of a linear map, and the nonzero kernel of a linear map supplies infinitely many solutions.
No. Take and . The homogeneous linear system then has only the solution . Homogeneity ensures existence, but infinitely many solutions would additionally require a nonzero kernel.
The homogeneous linear system has coefficient matrixNonzero solutions exist exactly when its determinant vanishes. Expanding along the first row givesThus or . The first equation always gives . For , the second then gives ; the third imposes the same relation. For , the second gives , again consistent with the third. Therefore the nonzero solutions areFor every other , the matrix is invertible and only the zero solution exists.
Collecting the coefficients gives the coefficient matrixA square homogeneous linear system has a nonzero solution precisely when its matrix is a singular matrix. Expanding the determinant down the first column,Hence the necessary and sufficient condition is or or . A zero determinant gives a nontrivial kernel of a linear map; otherwise multiplication by the matrix inverse would force the zero solution.
The coefficient matrix has determinant , so it is an invertible matrix. Its homogeneous linear system therefore has only the zero solution:One can also subtract the first equation from the second to get , then subtract the first from the third to get , giving and finally . Thus there are no nonzero solutions.
Move the right-hand side to the left. The resulting homogeneous linear system has coefficient matrixA nonzero solution exists exactly when its determinant vanishes:Here the upper-left entry of the original matrix is , as verified in the original PDF; that entry is corrupted in the local OCR.
No: the only solution is the zero vector. Subtract the fourth row equation from the first to get . Subtract the third from the fourth to get . With , any row then gives . Thus this homogeneous linear system has trivial null space.
Consider the linear map represented by the rectangular matrixTo compute its kernel, solve the homogeneous linear system , . Taking gives , , soThus represents a null direction of a linear map: decreasing the first input by two, increasing the second by one, and decreasing the third by one changes neither output. Solving the homogeneous linear system is the concrete computation behind a kernel; the column space instead decides which outputs are attainable.[ref]
Lecture 6: Column space and nullspace. Gilbert Strang, Lecture 6: Column space and nullspace, opening lecture description: the distinct roles of Ax=0 and Ax=b
Now prescribe the nonzero output . The linear system becomes , . Again take :Direct substitution gives , and . Conversely, the two linear equations force exactly this form, so no solutions have been omitted. This fiber is an affine subspace of dimension one in the three-dimensional input vector space. It is parallel to the kernel, but does not pass through the origin. For instance, and both give , while their difference gives zero. Adding and gives output , which is another way to see that this nonzero-output fiber is not a vector subspace.
Three-dimensional inputs along one null direction give the same two-dimensional output
. The blue straight line is the kernel in the actual three-dimensional input vector space. The orange solution straight line is its translation by . Three marked inputs map to the single orange output in the two-dimensional output vector space; the blue kernel maps to zero. Finite plotted segments represent infinite straight lines. Details.The first and third columns of are and , a basis of the output vector space. Hence has matrix rank two and reaches every output. The rank-nullity theorem predicts nullity before we solve any linear system. It provides a useful completeness check: one nonzero kernel vector already forms a basis here, so a second independent null direction of a linear map would signal a calculation error. In general, matrix rank for an matrix leaves independent kernel directions, rather than .[ref]
The Rank Theorem. Margalit and Rabinoff, Interactive Linear Algebra, §2.9, Rank Theorem: column count equals rank plus nullity


