Affine hull 2026-10-14
The smallest affine subspace containing a nonempty set . For any chosen , the displayed formula proves existence and minimality: every containing affine subspace must contain all the indicated differences in its direction space. Equivalently it consists of finite affine combinations with . Its dimension can be smaller than the dimension of an affine hyperplane in which the set has been embedded.
Convex feasible region for a resource budget 2026-10-14
Consider a stipulated continuous-allocation problem. Amounts of two activities use units of a common resource, with budget six. The feasible regionis a triangle with extreme points , and . It is the intersection of three closed half-spaces, hence a closed convex set. The general intersection argument is short: a line segment between two points in every constraint set belongs to every constraint set, so it belongs to their intersection.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §2.2.1, p. 27: half-spaces; §2.3.1, p. 36: intersections preserve convexity
For an original numerical check, take and . Their resource totals are and . Every convex combination is nonnegative and has resource totalIn particular the midpoint is , using units. This verifies the full line segment, rather than just a plotted sample of it.
This is useful whenever divisible quantities share linear limits: the feasible choices remain compatible under averaging. A new linear equation also preserves this property, because averaging two identical constraint values gives the same value. The affine subspace and closed half-space viewpoints explain this without requiring a separate argument for every budget.
Convex set Created 2026-09-24 Updated 2026-10-24
A convex set permits every intermediate mixture of two of its points. If two choices meet its constraints, continuously averaging them also meets those constraints. This geometric property makes many feasible regions easier to explore: there is no forbidden gap along a straight move between feasible choices.
Formally, a subset of a real vector space is convex whenThe parameter traverses the entire line segment, including both endpoints. The definition does not require a closed subset, a bounded set, or a nonempty interior. The empty set, the whole vector space, and every affine subspace are convex; an open unit disk and a closed unit disk are both convex.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §2.1.4, pp. 23–25: convex sets and finite convex combinations
The triangle inequality verifies the disk example directly: if , then . For the open disk, the last inequality is strict. The unit circle fails the same test: and belong to it, but their midpoint does not. A curved route along the unit circle connects the endpoints, so being path-connected is weaker than being a convex set.
The distinction between a convex set and a convex function matters. The former concerns where one may choose a point; the latter concerns how a value changes along line segments. Convex optimization combines both: averaging preserves feasibility, and a convex function obeys an upper bound by the corresponding average of endpoint values. A convex set alone does not make an arbitrary objective a convex function or eliminate its inferior local minima.
Hyperplane density increment for cap sets 2026-10-06
If a cap set has subset density and , some affine subspace of codimension one has relative subset density at least . The zero-sum count and the Parseval identity on a finite group give a nonzero finite abelian Fourier coefficient of magnitude at least . The three slice densities are , where is this finite abelian Fourier coefficient and a primitive cube root of unity; one slice has increment at least . Translation preserves the zero-sum condition because the characteristic is three.
Kalman rank criterion 2026-10-14
For a finite-dimensional continuous-time linear time-invariant system on , with constant matrices over the real numbers, no state constraints, and every piecewise continuous function allowed as a control input without an amplitude bound, controllability in any fixed is equivalent to the controllability matrix having rank of a matrix . The same equivalence holds with all square-integrable functions as inputs. A stronger useful statement iswhere is a matrix exponential and is the column space. Thus a rank of a matrix leaves only an -dimensional affine subspace reachable at that time. [ref]
The Kalman rank criterion allows arbitrarily large commands as shrinks. It does not assert controllability with bounded control inputs, nor test a general nonlinear dynamical system just by counting its inputs. For the double integrator, and give two independent directions, despite there being only one control input.
A least-squares solution minimizes over the source Hilbert space. It exists exactly when , and then the solutions form a closed affine subspace with direction .
Nearest least-squares solution Created 2026-10-05 Updated 2026-10-06
The orthogonal projection of a prescribed point onto the affine subspace of least-squares solutions is unique. It retains 's null space component and chooses the determined component from the Moore–Penrose inverse of an operator.
Nullity of a linear map 2026-10-14
The nullity of a linear map is , the dimension of its kernel. It counts independent input directions that can change without changing the output. For a finite-dimensional vector space , the rank-nullity theorem givesFor an matrix of matrix rank , this is , using the number of columns, not the number of rows. This dimension identity is [ref]
Linear Algebra Done Right by Sheldon Axler (4th edition). Sheldon Axler, Linear Algebra Done Right, fourth edition, §3B, theorem 3.21
.The nullity answers a practical question about a linear system: once one input is known to produce the requested output, how much freedom remains? If , its fiber of a function over isIndeed, exactly when . Thus every nonempty fiber is an affine subspace of dimension , with the same direction space as the kernel. The kernel itself is the fiber over zero. Outputs outside the image of a linear map have empty fibers; the nullity does not guarantee existence, and we assign no solution-space dimension to an empty fiber here.
Nullity one gives parallel solution lines for
. Each colored input straight line is the fiber over the corresponding output . The blue line through the origin is the kernel. The orange inputs and give the same output; their difference belongs to the kernel. The output lies outside the image of a linear map and has no input. Exact toy geometry, not measured data. Details.In the diagram, has matrix , matrix rank one and nullity one. Its kernel has basis , and the full solution of is . One free scalar moves the solution along a straight line; the output is impossible.
The existing three-input example instead has rank two and nullity one. Its image of a linear map is all of , andEvery output has a solution straight line. In contrast, has rank one and nullity two, with kernel basis . Its reachable output has the solution affine subspacea plane, while with has no solution. These two linear maps have the same input and output dimensions but different freedom and reachability. Computing the kernel separates what an output determines from what an extra constraint would have to fix. For either example, a basis of the kernel gives one independent free scalar per basis vector, which is why nullity measures freedom rather than the number of solutions.
Past exam of the mathematical methods I course of the University of Oxford 2015 10 a ii Solution 2026-10-25
The affine subspace is . If are linearly independent, their linear span is all of , so is the whole plane. If they are proportional, is the line through in direction . This line passes through the origin exactly when . Because is nonzero, the set cannot be a single point.
Past exam of the mathematical methods I course of the University of Oxford 2015 10 a i Solution 2026-10-25
Past exam of the mathematical methods I course of the University of Oxford 2021 8 b Solution 2026-10-25
The set is the kernel of the linear map . It contains zero, and linearity gives whenever , proving closure under linear combinations. If , it is a plane through the origin; if , it is all of . An arbitrary plane need not be a vector subspace: for example omits the zero vector. An affine subspace and a vector subspace are not interchangeable.
Past exam of the mathematics course of the University of Cambridge 2012 ia Paper 1 6A Solution Created 2026-09-24 Updated 2026-10-07
The system of linear equations is consistent precisely when belongs to the column space of . If is one solution, all solutions form the affine subspacebecause subtracting two solutions produces a vector in the kernel, and adding any kernel vector preserves the equation. Therefore the necessary and sufficient cases are:
- No solution: , equivalently is outside the column space.
- Exactly one solution: , equivalently ; then for every .
- Infinitely many solutions: . The rank-nullity theorem gives a nonzero kernel vector , and gives distinct solutions for all real .
For the matrix equation, each column of solves the same system of linear equations with the corresponding column of . Thus a unique exists if and only if is invertible, and then . Necessity does not depend on : if is singular and one exists, put any nonzero kernel vector in one column of a matrix and zeros in its other columns. Then and every is another solution.
For the specified data, . If denotes row of and row of , row elimination yields , , and . HenceMultiplying gives the prescribed , which both checks the arithmetic and confirms the unique answer.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 111 1 Solution Created 2026-10-03 Updated 2026-10-06
A sufficient absolute constant is . The proof is a density increment argument for a cap set over the finite field .
First work in , write , and let be the indicator function of a cap set of subset density . All expectations below are uniform. In characteristic three, a solution of having two equal entries has all three equal. Consequently the normalized linear configuration count isSet and use Fourier analysis on a finite abelian group withThe orthogonality of roots of unity and the Parseval identity on a finite group giveIf , then for a cap set andThus some nonzero finite abelian Fourier coefficient has magnitude at least .
For this , let be the subset density of on the affine subspace , for . These three affine subspaces have equal cardinality, andAmong three directions separated by , one makes an angle at most with any given complex number. Hence . Restricting to that hyperplane gives the hyperplane density increment for cap setsTranslate the affine subspace to its underlying vector space. This preserves the cap set property: translating a triple by changes its sum by . The same argument can therefore be iterated.
For completeness, the density increment iteration gives an explicit uniform bound. If , the hypothesis is impossible. Suppose and a cap set has . For every integer , its remaining dimension is at least , and its current subset density is at least . ThusThe last inequality holds at and remains true as increases: the successive ratio of is for . At each step, as long as the subset density remains at most one,After steps this would implya contradiction. The endpoint already contradicts the cap set property in positive dimension. This proves the claimed existence of three distinct points and the Meshulam bound for cap sets.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 208 4 c Solution Created 2026-10-03 Updated 2026-10-06
Use the spectral theorem for real symmetric matrices to write , with orthogonal and , . Set and generateThen . The characteristic function iswhich identifies the multivariate normal distribution . Equivalently, every linear combination is normal, with the required mean and variance. A Cholesky decomposition can be used for a positive-definite matrix. The spectral construction also works for singular , producing a degenerate Gaussian distribution on an affine subspace; in that case there need not be a density on all of .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 326 1 1 a Solution Created 2026-10-03 Updated 2026-10-05
Use the Hilbert space interpretation of a linear inverse problem, with a bounded linear operator . A least-squares solution minimizes over . A minimum-norm least-squares solution additionally has the smallest -norm among all least-squares solutions. When the equation is consistent this is the smallest-norm exact solution.
The least-squares solutions form a nonempty closed affine subspace precisely whenThe closest point theorem in a Hilbert space then gives a unique nearest point to zero, hence a unique minimum-norm least-squares solution. Equivalently, it is the unique least-squares solution in . If is closed, this exists for every datum; a nonclosed operator range can leave some data without any least-squares solution.
For example, on the l2 sequence space, take and . The equation would require for every , which is not square summable. However, setting the first coordinates of to one and the rest to zero givesThus the least-squares infimum is zero but is not attained, and no minimum-norm least-squares solution exists for these data.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 326 1 1 b Solution Created 2026-10-03 Updated 2026-10-05
The map is a bounded linear operator, so the inverse image of the closed singleton is closed. That inverse image is also a convex set: if , every convex combination has the same image.
The identity givesConsequently such a exists exactly when is the sum of an element of and one of its orthogonal complement. ThusThese are precisely the least-squares solutions. Indeed, if and , then for every the Pythagorean identity givesConversely, differentiating the squared residual along any real direction forces , hence the normal equation for a linear inverse problem. For any , the difference of two solutions of the normal equation for a linear inverse problem lies in , since . Thereforea closed affine subspace; the empty case is closed and convex as well.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 326 1 1 d Solution Created 2026-10-03 Updated 2026-10-05
Write . Every least-squares solution is for some , while . Decompose using orthogonal projections. Then the Pythagorean identity givesThe first term is independent of , and the second vanishes at exactly one point. Hence the unique nearest least-squares solution isGeometrically this is the orthogonal projection of onto the closed affine subspace of least-squares solutions.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 29J a Solution Created 2026-09-24 Updated 2026-09-29
The Gaussian likelihood is proportional toso maximum likelihood estimation is equivalent to ordinary least squares. If and has rank , then is invertible and the normal equations giveIf , then and . A least-squares minimizer always exists, but it is not unique: by rank-deficient ordinary least squares, the complete set isan affine subspace of dimension . Thus there are uncountably infinitely many likelihood maximizers. In the generic full-row-rank case their dimension is .
The homogeneous linear system has solution set , a vector subspace. If it contains only the zero vector, no two different solutions of the full system can exist: their difference would be a nonzero homogeneous solution.
A particular solution to the full system exists exactly when belongs to the image of a linear map . If it exists, every solution isIndeed, subtracting from gives , and conversely adding a kernel vector preserves the right-hand side. Thus there are no solutions, one solution if the kernel is trivial, or infinitely many solutions if it is nontrivial. The last solution set is an affine subspace of dimension , determined by the rank-nullity theorem. For a square nonsingular matrix there is one solution for every right-hand side.
Plane Created 2026-09-24 Updated 2026-10-18
A plane is a two-dimensional affine subspace: a point together with every linear combination of two linearly independent direction vectors ,In three-dimensional Euclidean space, a Cartesian equation of a plane fixes one linear equation , with a nonzero normal vector . The two free directions are orthogonal to . A plane extends indefinitely; a rectangular patch in a drawing marks only part of it, and does not define an edge of the plane.
For example, the plane contains . The vectors and are linearly independent and satisfy . Hence its points are exactly : substitution gives for every real , and every solution has , .
The description separates position from direction. A translation of the plane changes and possibly , while retaining its parallel directions. A plane through the origin is a linear subspace; the displayed example is not, since the zero vector fails its linear equation. This distinction matters when applying orthogonal projection: subtract an anchor point before projecting onto the direction linear subspace.
Historically, Euclid's Euclid's Elements by Euclid, Book I Definition 7, describes a plane surface through the straight lines lying on it. David E. Joyce's accompanying guide notes that this older use can include a bounded square or circular figure. That usage differs from the whole unbounded affine subspace used here.[ref]
Book I, Definition 7. Euclid's Elements, Book I Definition 7 and David Joyce's Guide: plane surfaces and bounded figures


