Generating function Created 2026-10-07 Updated 2026-10-14
A generating function packages a sequence into a series so that operations on objects become operations on their encodings. An ordinary generating function uses the power series ; in counting problems, the coefficient records the number of objects of size . The variable initially marks size: it need not be assigned a numerical value. Coefficient extraction writes this recovery as . One compact expression can therefore answer infinitely many counting questions, while explaining how their answers fit together.
Start with two contributions: choose from and from , with exactly one option at each allowed value. Their individual ordinary generating functions are the polynomials and . To count ordered pairs by total , multiply:The coefficients count the ways to obtain totals zero through three. For total two, the possibilities are and ; the two corresponding monomials both contribute . There are six ordered pairs altogether, agreeing with .
If the first contribution has two distinguishable choices when , replace by . Its product with becomes . The coefficients now carry multiplicities as well as possible totals; the exponent still records cost. This lets the same construction handle several actions with identical costs without losing their separate identities.
In general, the Cauchy product givesFor each split of the total size, the rule of product counts the choices of the two components; summing over those splits counts all possibilities. This requires each combined object to have a unique decomposition into the two components. The same idea works for costs, lengths, or other additive measures, not just the number of pieces. See MIT 18.310, generating functions, sections 1–2.
Now cover a board of length with tiles of lengths one and two, without gaps or overlaps. Let count these tilings. There is exactly one empty tiling, so , and . Removing the first tile leaves a board shorter by one or two, giving the recurrence relationThese are the Fibonacci numbers shifted by one index: under the convention , . Keeping the empty tiling is essential to both the counting rule and the resulting ordinary generating function.
Length-one and length-two tiles give five coverings of a length-four board and the Fibonacci recurrence
. Details. For , the empty board or a first tile followed by a remaining tiling givesEquivalently, : each factor chooses one tile, and counts pieces while the exponent of records total length. The same ordinary generating function counts ordered histories of two repeatable actions costing one and two units. Histories and differ despite having the same total cost. MIT's notes use dots and dashes with these costs, including the empty message. [ref]
These identities hold in formal power series algebra: each requested coefficient uses only finitely many contributions. The repeated-choice expansion is legitimate because has zero constant term; a zero-cost repeatable action would allow infinitely many histories of the same size. Numerical evaluation separately requires a convergent series. Here the radius of convergence is , the reciprocal of the golden ratio. At , the rational function equals , but the counting series diverges: that value cannot represent its sum.
Other generating functions change the encoding: an exponential generating function divides by factorials, while a Dirichlet series uses . A counting generating function also differs from a probability generating function, whose coefficients must be nonnegative and sum to one.
Gram-Schmidt process Created 2026-09-24 Updated 2026-10-14
The Gram-Schmidt process turns a finite ordered family of linearly independent vectors in an inner product space over the real numbers into an orthonormal basis of their linear span. It keeps every successive linear span, so the first new vectors describe exactly the same directions as the first inputs. Its idea is geometric: remove the orthogonal projection onto directions already found, then divide the remaining vector by its norm. This makes a complicated basis easier to use without changing the vector subspace it describes.[ref]
Start with and . At step , use the previously obtained orthonormal set to defineThe sum is the orthogonal projection onto a finite-dimensional subspace , and is the orthogonal projection residual. Linear independence ensures : otherwise would already be a linear combination of earlier inputs. If the input family is linearly dependent, use only the retained orthonormal vectors in the sum and omit an input whenever its remainder is the zero vector; do not divide by zero. The retained outputs still form an orthonormal basis of the original linear span, but their number can be smaller than .
For a short verification, orthonormality makes every earlier inner product vanish:Also is minus a linear combination of earlier vectors, while is plus that same linear combination. These two inclusions, followed by division by a nonzero norm, giveThe argument also works in an inner product space over the complex numbers with the existing inner product convention, linear in the first argument: the coefficients remain . With the convention linear in the second argument, write instead.
For a first picture, take and in with the ordinary dot product. ThenSubtracting the diagonal component leaves an orthogonal direction; dividing by its norm makes its length one. If the second input were instead, its orthogonal projection would be the entire input and , revealing linear dependence.
Gram-Schmidt orthogonalization in : input vectors, subtraction of an orthogonal projection, and an orthonormal basis
. Details. For a full three-dimensional calculation, use the ordinary dot product and the input vectorsThe first two steps giveAt the third step, the inner products are and . ConsequentlyThe three numerator vectors have pairwise dot products and squared Euclidean norms . Thus the displayed outputs are indeed an orthonormal basis, and the three nonzero remainders also confirm linear independence of the inputs. Keeping the removed coefficients produces the QR decomposition below.
An immediate reward is a reusable orthogonal projection: once an orthonormal basis of a vector subspace is known, any vector hasFor the linear span of just the first two inputs in the three-dimensional example, gives . Its orthogonal projection residual is , visibly in the missing orthogonal direction. This is the geometry behind the linear least-squares problem.
The formulas above describe exact arithmetic. With floating-point arithmetic, subtracting an orthogonal projection nearly equal to the input can leave a small remainder; dividing by its small norm can magnify existing roundoff error. The Classical Gram-Schmidt and Modified Gram-Schmidt arrangements agree in exact arithmetic but can give different rounded results. Exact linear dependence and a small computed remainder therefore require different judgments in a numerical implementation.[ref]
https://nhigham.com/wp-content/uploads/2023/10/high95m.pdf. Higham, The Test Matrix Toolbox for Matlab, §8, p. 22
For a fixed formal pseudodifferential operator and a monic differential operator , cyclicity of the Adler trace gives with and . The function is affine in the variable coefficients; its variational derivative with respect to is .
Hermitian operator Created 2026-09-24 Updated 2026-10-14
A bounded operator on a real or complex Hilbert space is Hermitian, or self-adjoint, when . Equivalently,Its directional values are real, since this identity makes equal its complex conjugate. Reality allows either sign; a positive operator additionally requires nonnegative values in every direction.
Self-adjoint directional values may change sign, touch zero, or stay strictly positive
. Details. The diagram compares Hermitian quadratic forms along paths of unit vectors. The Hermitian matrix takes the values and on the standard basis vectors; takes the values and ; andsatisfies and . These eigenvectors form an orthonormal basis, and every has . Thus is a positive operator, with eigenvalues and operator norm .
Three conditions describe different geometry. A Hermitian operator satisfies ; a normal operator satisfies ; a unitary operator satisfies , where is the identity operator. Every Hermitian operator and every unitary operator is a normal operator. Concrete matrices separate the conditions:
- The Hermitian matrix above is a normal operator and a positive operator, but not a unitary matrix, because .
- is a unitary matrix and normal matrix, but not a Hermitian matrix, since .
- is a normal matrix, but neither a Hermitian matrix nor a unitary matrix: its first standard basis vector doubles in norm.
- is not a normal matrix, since and .
The spectrum of a bounded Hermitian operator is real. In finite dimension, the spectral theorem supplies an orthonormal basis of eigenvectors, turning its action into independent real scalings. This makes the geometry easy to interpret: each eigenvalue records a signed response along an orthogonal direction. An arbitrary bounded Hermitian operator in infinite dimension need not have any eigenvectors; the general spectral theorem uses a projection-valued measure. MIT's lecture 21 develops the real spectrum and the orthogonality of eigenspaces.[ref]
https://ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/345c4a5141559a4069aeb3105acd8ef3_MIT18_102s21_lec21.pdf. Rodriguez, notes by Andrew Lin, MIT 18.102, lecture 21, Theorems 223 and 227, 2021
A historical connection is the study of forms with conjugate variables. In his 1901 account of Charles Hermite's work, Camille Jordan describes these forms and emphasizes their role in reducing forms with real or complex coefficients. In today's notation, is the diagonal value of a Hermitian form; the conjugate variables make a real-valued expression possible even with complex coefficients.[ref]
https://www.numdam.org/item/JMPA_1901_5_7__91_0.pdf. Jordan, Notice sur M. Ch. Hermite, Journal de mathématiques pures et appliquées 7, pp. 92 and 95, 1901
For a densely defined operator outside this bounded setting, the displayed pairing identity alone defines a symmetric operator. A self-adjoint operator must also have the same operator domain as its adjoint operator.
Hilbert space Created 2026-09-24 Updated 2026-10-14
A Hilbert space is a real or complex inner product space that is complete in the norm . Completeness means that every Cauchy sequence has a limit in the space: if its terms become arbitrarily close in this norm, they converge to an allowed vector. The inner product supplies lengths and orthogonality; completeness ensures that limiting approximation procedures do not leave the space.
Finite-dimensional Euclidean spaces are examples, but the same geometry also works for sequences and functions. In the l2 sequence space,In the L2 space on with Lebesgue measure,These formulas use the convention linear in the first argument. Elements of the L2 space are equivalence classes of square-integrable functions agreeing almost everywhere, so zero distance really identifies the same element. A vector can therefore be a whole function, and its squared length can measure an integrated squared error.
For example, approximating by is a nearest-point problem in this Hilbert space. The allowed approximations form the linear span of , and the orthogonal projection is the constant . Its residual is orthogonal to both allowed directions because its integral and its inner product with vanish. The geometry therefore identifies the best approximation without searching through every pair of coefficients.
This is useful whenever a complicated vector must be represented by a tractable collection of directions. Fourier series approximate functions with orthogonal oscillations; the Parseval identity relates the sum of squared coefficients to the squared norm. Least-squares solutions approximate attainable data using a linear operator. The Hilbert projection theorem explains why a nearest element exists and is unique for a nonempty closed convex set. Distinct application settings share the same geometry of useful components and orthogonal residuals. Casey Rodriguez's MIT lectures develop these connections between Hilbert spaces, Fourier series, and nearest-point problems.[ref]
https://ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/pages/lecture-notes-and-readings/. Rodriguez, MIT 18.102, lectures 14–17, 2021
A historical mathematical setting is David Hilbert's Grundzüge einer allgemeinen Theorie der linearen Integralgleichungen (1912). Its preface states that it reprints six communications published during 1904–1910 on linear integral equations. This provides a concrete source for the integral-equation setting associated with the name, while the abstract definition above incorporates later developments.[ref]
https://archive.org/details/grundzugeallg00hilbrich. Hilbert, Grundzüge einer allgemeinen Theorie der linearen Integralgleichungen, 1912, preface
History of Vieta's formulas 2026-10-18
François Viète studied the connection between positive roots of a polynomial and the coefficients of the powers of the unknown. His 1591 presentation of algebraic notation used letters for both known and unknown quantities, with consonants for known quantities and vowels for unknown quantities. That move makes it possible to express a relation for whole families of polynomials, rather than only a numerical instance. His historical setting concerned positive roots and expressions satisfying dimensional homogeneity; the modern splitting field formulation above is a broader statement.[ref]
François Viète by John Joseph O'Connor and Edmund Frederick Robertson. MacTutor, François Viète: paragraphs on the 1591 algebraic notation, known and unknown quantities, and positive roots and coefficients
Horner's method 2026-10-14
Horner's method evaluates a polynomial by nested multiplication, requiring one multiplication and one addition per degree after initialization.
For , start with and compute for . The final value is . Equivalently,This reorganization reuses intermediate results, avoiding separate computation of every power. A dense degree- polynomial takes multiplications and coefficient additions after reading its leading coefficient; special zero coefficients may permit further simplifications.
For our cubic, the coefficient list in descending order is . The zero is important: it occupies the missing term's position. At , the accumulated values areAt , the same operations give , confirming .
The same nested arithmetic evaluates a polynomial and produces the coefficients for division by a linear factor
. Details. The intermediate values do more than evaluate. They are the coefficients of the polynomial quotient in polynomial division by , with the final value as the polynomial remainder. At , the first three values give , soAt , they give , so . This links an efficient numerical calculation with the exact factor theorem.
William George Horner's 1819 paper concerns solving numerical equations by successive approximation. The Royal Society archive records the manuscript and its reading on 1 July 1819; it provides a historical reference for the method's name. [ref]
// Target: geometry-and-topology.bigb
Inner product Created 2026-09-24 Updated 2026-10-14
An inner product assigns a scalar to two vectors and supplies their lengths and orthogonality. Using the convention linear in the first argument, it satisfiesThe resulting norm is . Over the real numbers, conjugation has no effect and the form is symmetric and bilinear. Over the complex numbers, it is sesquilinear; the convention linear in the second argument is also common, so formulas for coefficients must match the stated convention.
The Euclidean example is . For real and this gives , while and . If , then : perpendicularity becomes an algebraic equation. The Cauchy-Schwarz inequality gives , and in a real inner product space it makes the angle formula meaningful for nonzero vectors.
Different inner products express different measurements. The weighted example on gives , so its unit-length vectors lie on an ellipse. For functions, an integral such as supplies the geometry of the L2 space. This lets orthogonal projection and least-squares solutions apply to curves as well as coordinate lists.
Integer-coefficient polynomial approximation 2026-10-14
The uniform approximation closure of the integer-coefficient polynomials on consists precisely of the continuous functions taking integer values at both endpoints. Necessity follows because evaluations at zero and one are integers and convergent integer sequences are eventually constant. For sufficiency, the rounded Bernstein polynomial has integer monomial coefficients and differs uniformly by a vanishing amount from the Bernstein polynomial, which converges uniformly to the target.
Every occurs as the radius of convergence of a power series all of whose coefficients are positive integers. For , use the ceiling function to choose . ThenFor , the comparison test for series with a geometric series proves absolute convergence. For , the bound violates the fact that terms of a convergent series tend to zero. Hence the radius of convergence is exactly .
For , use : at every the ratio of successive term absolute values is , eventually exceeding two. The factorial coefficients therefore give divergence away from zero.
A power series with every coefficient a positive integer cannot have radius of convergence greater than one: makes convergence impossible at . If zero coefficients are allowed and only finitely many are nonzero, a polynomial instead has infinite radius of convergence.
Integer partition Created 2026-09-28 Updated 2026-10-14
An integer partition of a nonnegative integer is a multiset of positive integers whose sum is : repetitions matter, but the order of the summands does not. Equivalently, write its parts in decreasing order, allowing equality:The notation says that is an integer partition of . The partition count counts all integer partitions of , with any number of parts. Zero has one empty integer partition, so . The partition of an integer article develops the same objects in representation theory of the symmetric group.[ref]
Enumerative Combinatorics, Volume 1 (second-edition draft) by Richard Stanley. section 1.7, definitions of partitions and diagrams
Computed example. The seven integer partitions of five are exactlyThus . Sorting each list of positive summands into decreasing order prevents repetitions in this enumeration. Grouping by largest part verifies completeness: largest parts contribute respectively possibilities. For largest part , the remaining is either or ; for largest part , the remaining uses only and , giving or .
All seven integer partitions of five, drawn as Ferrers diagrams: each row has as many dots as its part
. Details. An integer partition keeps sizes without named positions. The compositions of an integer and are different tuples, but sorting either gives the same integer partition . A weak composition of an integer also retains its empty first position; dropping its zero and sorting gives that same integer partition. Conversely, a set partition records which distinct elements belong to each block. For example, the set partitions and differ even though both have the same integer partition of block sizes.
The Ferrers diagram makes an integer partition into a shape. For , the column lengths are : exchanging rows and columns gives its conjugate partition . Exchanging again recovers , so this operation is a bijection. In particular, the three integer partitions of five with at most two parts are , , and ; their conjugate partitions , , and are precisely the three with largest part at most two. This visible symmetry explains the equal counts for these two restrictions. The square-cell version is the existing Young diagram.
Counting by a generating function. An integer partition is determined by its multiplicities , the number of parts equal to . Its size condition is . Consequently its ordinary generating function isProof outline. Choose the term from the th geometric series. The product contributes exactly when those multiplicities describe an integer partition of , once for each such integer partition. As a formal power series, each coefficient is determined by finitely many factors: factors with contribute only their constant term to the coefficient of . For , multiplication through gives up to degree five, independently recovering . Restricting the factors gives the generating function for partitions with bounded parts. This is useful because restrictions on summands become choices of factors, while conjugate partitions turn restrictions on numbers of rows into restrictions on row lengths.[ref]
Enumerative Combinatorics, Volume 1 (second-edition draft) by Richard Stanley. section 1.8, conjugation and partition generating functions
Krivine rounding scheme 2026-10-06
For a bipartite elliptope matrix , put and apply within the two diagonal blocks and across them. Matching absolute power series coefficients give a positive semidefinite matrix by coefficient-dominated entrywise positivity, while gives unit diagonal. Gaussian hyperplane rounding then turns each cross-block correlation coefficient into because . The zero diagonal blocks of the bipartite objective eliminate every other contribution.
Leading Taylor term Created 2026-09-24 Updated 2026-10-14
Suppose an analytic function near is not identically zero there. Its Taylor series has a first nonzero coefficient , andThe term is its leading Taylor term. Dividing by gives a limit of as , so this term determines the leading local magnitude and angular behaviour. The remainder uses big O notation; it is smaller by one power near the centre.
For a real-valued analytic function of a real variable, an even integer gives the same nearby sign on both sides of , while an odd integer gives opposite signs. For example, has leading Taylor term and is positive on both sides of zero sufficiently nearby; has leading Taylor term and changes sign there. The finite factor stays positive for . The ordinary constant term is the leading one when .
Take the polynomial on with unit weight. Using the four Legendre polynomials above, direct integration givesFor example, : the omitted odd terms have zero integral. Dividing by gives . Substituting all four coefficients proves the exact identity
The successive orthogonal projections onto degrees at most are thereforeHere is the squared L2 norm, without division by the interval length. Each row retains the previous Legendre polynomial coefficients and appends one new term. The ordinary power coefficients can change: adding changes the constant from to , and adding changes the linear coefficient from to . Independence belongs to the chosen orthogonal polynomial coordinates.
Nested Legendre least-squares projections of a cubic and the exact squared residual contributed by each omitted mode
. Details. The full squared L2 norm is , equal to . The residual budgets are the omitted terms:For a direct check independent of summing the budgets, , and integrating its square gives . This residual is orthogonal to , exactly the conditions for the best quadratic least-squares solution. An orthogonal projection need not be a polynomial interpolant: for example, while . The approximation allocates error across the interval according to the chosen weighted inner product.
Lenard-Magri recursion 2026-10-14
Start from a Casimir function of the first Poisson structure. Whenever possible, choose whose first Hamiltonian vector field is minus the second Hamiltonian vector field of . A sequence extending indefinitely is the coefficient sequence of a formal Casimir function for the Poisson pencil. Its functions pairwise commute for both Poisson brackets. Existence at each stage is an additional solvability requirement; compatibility alone does not guarantee it.
Linear combination Created 2026-09-24 Updated 2026-10-14
Let be a vector space over a specified field , and let . A linear combination is a finite sumThe coefficients are scalars from that same field; each term uses scalar multiplication, and the terms are joined by vector addition. For coefficients in the real numbers, negative values reverse arrows and fractional values scale them by fractional amounts. The collection of attainable vectors is the linear span. The column picture in Strang's MIT notes interprets solving a linear system as choosing coefficients to reach a target vector.[ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/6913aa2f37dada8fdda334168b30339b_MIT18_06SCF11_Ses1.1sum.pdf. MIT 18.06SC, Strang lecture summary 1, pp. 2–3: the column picture
For a concrete calculation over the real numbers, takeThen . More generally, solving and givesEvery vector in the Euclidean plane is therefore a linear combination of , so their linear span is all of . The target has coefficients ; the target has coefficients , since . The displayed formula also makes the coefficients unique. Consequently is an ordered basis, with coordinate vector .
The payoff is a reusable language for synthesis: linear combinations build vectors from chosen ingredients, linear span decides which targets are reachable, and linear independence decides whether the coefficients are unique. The ingredients can also be polynomials or functions, as long as they belong to a vector space over the specified field.
Linear dependence Created 2026-09-24 Updated 2026-10-14
A finite family of vectors in a vector space over a specified field is linearly dependent if it has a nontrivial linear relation: with and at least one coefficient nonzero. One can then solve for a vector whose coefficient is nonzero as a linear combination of the others; removing that entry preserves the linear span. Repeated vectors in a list give linear dependence: for example has the linear relation . A list keeps both entries even though the set has only one element. Strang's notes illustrate redundant columns by expressing one as the sum of two others.[ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/0bbc30e3f1d7933ea07a2d2e9ab050d9_MIT18_06SCF11_Ses1.9sum.pdf. MIT 18.06SC, Strang lecture summary 9, pp. 2–3: dependent columns
Keep and , and add . The three vectors still have linear span , but nowThe two coefficient triples and differ by the nontrivial linear relation . In fact all linear combination representations of this target areTo check both completeness and correctness, use . Linear independence of forces and , giving exactly the displayed family. Redundancy therefore preserves attainable targets while allowing their coefficients to move. For solving a linear system, these alternatives matter; for assigning unique coordinate vectors, one instead chooses a basis.
The following example shows why linear independence depends on the scalar field.
Linear differential equation Created 2026-09-24 Updated 2026-10-20
A scalar linear differential equation of order has the formHere the coefficients and the forcing term are prescribed functions of the independent variable . A classical solution of a differential equation is an -times differentiable function satisfying the identity at every point of its interval. The unknown function and its derivatives enter to the first power, without products between them or coefficients depending on . Equivalently, the differential operator is a linear map: for constant scalars ,The forcing term may be zero, giving a homogeneous linear differential equation, or nonzero, giving an inhomogeneous linear differential equation. Linearity of does not mean that every function graph of a solution of a differential equation is a straight line.
To use the usual order- initial value problem theory on an interval , assume that throughout and that all and are continuous functions there. Dividing by normalizes the highest derivative; specifying at then selects one solution of a differential equation throughout . A zero of needs separate analysis: one cannot divide through it and retain these conclusions. The first-order normalization appears in OpenStax's definition and standard form of linear equations; the corresponding system theorem is in MIT's existence and uniqueness notes for linear systems.
The coefficients need not be linear functions of . For example, is a linear differential equation on , although is quadratic. Its solution of a differential equation with initial condition is : its derivative is , so substitution gives , and . The zero of the highest coefficient at explains the domain restriction. In contrast, , and are nonlinear ordinary differential equations because of their dependence on the unknown function. Variable coefficients and nonlinear ordinary differential equations are different issues; see MIT's definitions and examples of first-order linear equations.
The practical benefit of linearity is that it separates the effect of the initial condition from the effect of the forcing term. Once one particular solution satisfies , every solution of a differential equation isHere is the kernel of a linear map, consisting of solutions of a differential equation to the associated homogeneous linear differential equation. Indeed, , and conversely . Thus the family for a fixed forcing term is an affine space obtained by translating . If is not identically zero, the zero function is absent, so this family is not a vector space under the usual operations on functions. This short argument explains why a general solution is a particular solution plus a homogeneous solution.
Linear independence Created 2026-09-24 Updated 2026-10-14
In a vector space over a specified field , a finite family of vectors is linearly independent when, for coefficients ,Here the left-hand zero is the zero vector, while the right-hand zeros belong to the field . Thus linear independence excludes every nontrivial linear relation. For an infinite family, require this condition for every finite subfamily.[ref]
https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/0bbc30e3f1d7933ea07a2d2e9ab050d9_MIT18_06SCF11_Ses1.9sum.pdf. MIT 18.06SC, Strang lecture summary 9, p. 1: linear independence
For and over the real numbers, the linear relation gives and . Adding and subtracting yields , hence . This verifies linear independence directly and explains why the linear combination giving has exactly the coefficients .
A linearly independent family cannot contain the zero vector: a coefficient of on that entry and on every other entry would be a nontrivial linear relation. The empty family is linearly independent, because its empty sum is the zero vector and there are no coefficients that could be nonzero. Linear independence identifies a collection without redundant vectors; combined with a spanning set, it gives a basis. The uniqueness of linear combination coefficients makes its representations unambiguous.
Consider the vectors in the complex numbers, where is the imaginary unit. With scalar field , a linear relation has . Taking its real part and imaginary part gives , so the pair is linearly independent. Every complex number also has coefficients in the real numbers, so form a basis and the dimension of a vector space is two.
With scalar field , the same pair is linearly dependent, sinceuses the nonzero coefficients from the complex numbers. The single vector is now a basis, because for every complex number , giving dimension of a vector space one. For example : the second representation uses a coefficient unavailable over the real numbers. Specifying the field is part of the definition of linear independence.








