Non-bipartite matching lecture notes by MIT 2026-10-24
The final paragraph states Tutte's theorem on perfect matchings in terms of the number of components of odd integer order after deleting a vertex subset. The worked perfect matching theorem for a cubic graph with at most two bridges uses this criterion directly.
An odd integer number of rows and columns forces a real skew-symmetric matrix to be a singular matrix. The determinant satisfies , so it is zero. The argument also works over any field of characteristic different from two.
Odd prime 2026-10-05
An odd prime is a prime number that is an odd integer. The only even number that is a prime number is , since every other positive even number has as a proper divisor. Thus every prime number greater than is an odd prime. There are infinitely many odd primes, by Euclid's theorem.
Human categories show robust category typicality gradients, but those gradients do not uniquely demonstrate that knowledge is stored as a single concept prototype. A concept prototype is a central or especially representative category representation. In prototype theory, new cases are judged through their similarity to that summary. This challenges a simple classical theory of concepts in which every familiar category is represented solely by equally necessary defining features. The crucial distinction is between evidence that members are psychologically unequal and evidence for the particular representation producing that inequality.
Eleanor Rosch's studies showed that category members are not interchangeable in judgments and processing. People agree that some examples are better representatives than others, and a category name can differentially prepare the processing of good and poor members. Her semantic priming experiments went beyond explicit category typicality ratings: a category-name cue preceded judgments on example pairs, and even physically identical pairs were processed differently depending on their representativeness. Convergence across ratings and performance is important because it reduces the chance that category typicality is only an artifact of being asked to rate goodness.[ref]
The family resemblance account explains what can make an example representative. In Eleanor Rosch and colleagues' work, participants listed attributes of members of natural categories. More prototypical examples tended to share many attributes with other members of their category while sharing fewer with contrasting categories. Thus an item's usefulness as a representative depends on distributions of features both within and across categories, rather than on one feature occurring in every member. Such structure can support efficient generalization from incomplete evidence. But a descriptive relation between feature overlap and category typicality is not itself an algorithm for learning or storing a concept prototype.[ref]
Family resemblances: Studies in the internal structure of categories by Eleanor Rosch and others. 1975, attribute-listing experiments and General Discussion
Artificial-category experiments make the abstraction claim more testable. In Michael I. Posner and colleagues' 1968 study, participants learned to classify distortions of dot patterns without seeing the underlying prototypes. They subsequently classified the unseen prototypes especially well relative to control patterns from the learned categories, and training variability influenced generalization to new distortions. The result is striking because direct familiarity with the test concept prototype cannot explain its advantage. A summary preserving the regularities among training examples supplies a natural explanation.[ref]
On the genesis of abstract ideas by Michael I. Posner and others. 1968, training on pattern distortions and transfer to unseen prototypes
It is not, however, a unique explanation. In exemplar theory, a new object is compared with stored examples. A central unseen item can resemble many stored examples at once and therefore receive greater summed support than a less central old item. Robert M. Nosofsky's identification–categorization experiments used multidimensional perceptual stimuli and linked classification to stored instances and selective attention to diagnostic dimensions. This provides an explicit alternative to treating every concept prototype advantage as proof of an abstract average. Theories must be distinguished by predictions across learning, transfer and individual trials, not merely by whether they can generate a category typicality effect.[ref]
Attention, similarity, and the identification-categorization relationship by Robert M. Nosofsky. 1986, perceptual identification, categorization and exemplar-based modeling
A second challenge concerns the difference between identification and membership. Sharon Lee Armstrong and colleagues applied category typicality-rating and verification-time methods to categories including mathematically well-defined ones. Even these categories produced graded judgments and processing differences: an example can seem more representative while being no more genuinely a member. All odd integers, for example, meet the same parity criterion, irrespective of their familiarity or apparent category typicality. Category typicality can therefore reflect an identification heuristic, accessible examples or feature salience rather than the full constitutive content of a concept.[ref]
What some concepts might not be by Sharon Lee Armstrong and others. 1983, Experiments I–II and discussion of well-defined categories
This observation limits, rather than abolishes, concept prototype explanations. It remains possible that many everyday categories have probabilistic feature structure while some concepts require rules or deeper knowledge. It also creates a challenge of conceptual combination: a theory should explain how familiar concepts combine into a new one, including cases where the combination's typical instances are not predicted by simply averaging the separate prototypes. If category typicality is all that a representation contains, logical and compositional inference may become difficult to explain.
Context and goals provide a further constraint. Lawrence W. Barsalou compared common taxonomic categories with goal-derived categories. Central tendency, ideals associated with a goal and frequency of encountering an item could make different contributions to category typicality; central tendency was not a sufficient general account of the goal-derived cases. A food may be a good member of a goal-defined category because it is especially suited to the goal, rather than because it is statistically average. This makes a permanently fixed, context-free central representation implausible as a complete account.[ref]
Ideals, Central Tendency, and Frequency of Instantiation as Determinants of Graded Structure in Categories by Lawrence W. Barsalou. 1985, Experiment 1 and comparison of taxonomic and goal-derived categories
The theoretical implication is a distinction among levels of explanation. Category typicality gradients and family-resemblance structure are phenomena to explain; concept prototype, exemplar, rule-based and knowledge-sensitive models propose mechanisms that can overlap in their predictions. Strong tests manipulate the distribution of training cases, diagnostic features, goals and novelty, then evaluate predicted generalization and errors while controlling familiarity and task demands. A hybrid or flexible system is plausible, but should earn its flexibility by predicting when different information will guide behavior.
The evidence decisively rejects the idea that familiar category members are psychologically equivalent; it does not establish a universal concept prototype-only architecture. Prototypes can organize efficient recognition and generalization, while instance memory, explicit criteria and goal-dependent knowledge constrain how that organization is used. Confusing graded category typicality with graded truth of membership would overstate what the experiments show.
Let be their Manhattan distance. Each joint action can reduce by at most two, so use the simultaneous rendezvous distanceThis heuristic function is nonzero whenever the robots are apart. For a transition , the triangle inequality givesApplying the ceiling function yields , and . Thus is a consistent heuristic, hence an admissible heuristic.
In the unobstructed grid this estimate is exact. Along a shortest route of length , both robots approach a middle room, taking at most steps each; when is an odd integer, the robot with the shorter route waits once. That final wait prevents a crossing from being mistaken for a meeting. With obstacles the same formula remains a relaxation heuristic, though it need not be exact.
Use Tutte's theorem on perfect matchings: a finite graph has a perfect matching if and only if, for every , the number of connected components of a graph of odd integer order in is at most .
First, the handshaking lemma gives , so is an even integer. Fix . For each connected component of a graph of odd integer order in , let count its edges to . Counting vertex degrees inside givesThus is an odd integer; it is positive because is a connected graph. If , its unique outgoing edge is a bridge. Distinct such components yield distinct bridges, so there are at most two of them. Every other such component has . ThereforeThe last inequality holds because each vertex of has vertex degree three. Furthermore,since components of even integer order do not affect parity, and is an even integer. If , this parity forces , contradicting the bound .
For , the only component is the whole connected graph, of even integer order, so . Thus every satisfies the criterion, and has a perfect matching. This proves the perfect matching theorem for a cubic graph with at most two bridges directly from Tutte's theorem on perfect matchings.
Past exam of the information theory course of the University of Oxford 2021 2 b vi Solution 2026-10-25
Assume a full-support finite distribution. The preceding structural arguments show that every internal vertex has three tree children, except possibly one tree parent at depth with two tree children. Let and count these two kinds of internal vertex. Part iv gives ; no vertex has one tree child.
A finite rooted tree with tree leaves has edges, while counting outgoing edges gives . Equating the counts yieldsFor an odd integer , the right side forces to be an even integer. Since it is at most one, . Thus no deepest pair has only two sibling codewords, and the optimal code tree is a full ternary tree. This leaf-count identity also directly proves that a full ternary tree has an odd number of tree leaves.
Again the unrestricted zero-weight version is false: is an optimal prefix code for , with odd integer , but its two deepest tree leaves form a two-sibling pair. There is no contradiction with the proof because its tree root has only two tree children, which the full-support finite distribution assumption would forbid above the deepest level.
Start with one tree leaf for each source symbol, weighted by its probability. While more than one weighted object remains, choose the three objects with least weights, create their common tree parent with weight equal to their sum, and replace the three by that tree parent. Newly created tree parents participate in subsequent choices. Each merge reduces the number of objects by two; an odd number of objects therefore reaches three and then one, never an unmergeable pair. The final object is the tree root of the code tree.
Label the three outgoing edges at each internal vertex by in any order. The digits along the root-to-leaf graph path give each symbol's codeword. Tree leaves cannot be ancestors of other tree leaves, so this is a prefix code. Ties can be resolved arbitrarily. The expected codeword length is measured in trits, and equals the sum of all merge weights, because each merge adds one digit to every codeword below it.
The structural reason for merging three is that the positive-weight, odd-leaf case has a full ternary tree. Its deepest sibling codeword triple can receive the three least weights by exchanging tree leaf labels, and contracting that triple reduces the problem by two symbols. This explains the recursive construction; a separate optimality proof is not required here.
Past exam of the information theory course of the University of Oxford 2021 3 c iii Solution 2026-10-25
Choose noise values , giving exactly the outputs . The transition matrix, in that column order, isAn input probability mass function makes outputs equiprobable, so and . Hence bit per use, as required for comparison with the four-output case.
There is a strict improvement, which can also be computed exactly. Reflection of the input labels , accompanied by output reflection , leaves mutual information unchanged. Concavity of information entropy makes mutual information a concave function of the input probability mass function for a fixed transition matrix. Averaging an input law with its reflection therefore cannot decrease it. It suffices to considerThe outputs whose labels are even integers have total mass and conditional probability mass function , with information entropy . The outputs whose labels are odd integers have mass and conditional probability mass function , with information entropy one. Splitting first by output parity using the chain rule for information entropy yieldsIts derivative is , and its second derivative is negative. The unique maximum occurs at , givingThis additional optimization explains the collision pattern: outputs identify input , outputs identify the two extreme inputs, and only output is ambiguous.
Three original additive-noise channel diagrams: increasing noise separation changes output collisions and channel capacity
. Details. Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 102 2 ii Solution Created 2026-10-03 Updated 2026-10-05
Use the classification of finite-dimensional sl2 representations. In the irreducible representation , choose , , sowith vectors beyond the endpoints interpreted as zero. The invariant form on an irreducible sl2 module isIts anti-diagonal entries are nonzero, so it is nondegenerate. Lie-invariant bilinear form invariance under follows from the sum of the two weights. For , the two potentially nonzero terms are and . For , their coefficients coincide when , and their signs are opposite. These checks prove invariance under the generators of the sl2 Lie algebra.
Interchanging multiplies the form by , givingEquivalently it is a symmetric bilinear form in odd integer dimension and an alternating bilinear form in even number dimension. The Weyl complete reducibility theorem expresses any finite-dimensional representation as a direct sum of these irreducibles. Give each summand the displayed form and make different summands orthogonal. The resulting form is invariant and nondegenerate. On a reducible representation with both parities, this orthogonal sum need not itself be symmetric or alternating; the dichotomy in the preceding part required irreducibility.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 115 3 d Solution Created 2026-10-03 Updated 2026-10-05
Use the double covering map and its deck involution, the antipodal map . The given sphere cohomology vanishes outside degrees , so only those degrees can survive as invariant classes. The degree-zero action is the identity because the sphere is connected for .
For the top degree, orient as the boundary of the unit ball. A positive tangent basis at means that has positive determinant in . Under the antipodal map every one of these vectors changes sign, so the orientation sign is . Equivalently, the sphere volume form isIts cohomology class is nonzero by the integral argument and therefore generates the one-dimensional top de Rham cohomology. Thus the top class is invariant precisely when is an odd integer. Applying the quotient result yieldsIn particular has one copy of in each of degrees zero and one. These are real cohomology groups; integral torsion is not detected by de Rham cohomology.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 129 1 Solution Created 2026-10-03 Updated 2026-10-05
Use the usual convention that a three-term arithmetic progression must be nonconstant. There is a genuine small-case defect in the printed statement: for , , and , neither conclusion can hold with . We prove the intended Roth density-increment step for every odd integer , including the small values of , rather than silently treating as covered. Counting constant arithmetic progressions would make the first alternative vacuous for every nonempty .
Suppose that has no nonconstant three-term arithmetic progression, and let be its actual density of a finite subset. Thus . Put , , and embed in the cyclic group . A congruence with is an equality over the integers, since . Thus this embedding creates no extra three-term arithmetic progressions. Since is odd, multiplication by two permutes .
Use normalized Fourier analysis on a finite abelian group, with and . For the normalized trilinear arithmetic progression count, character orthogonality givesIndeed, expanding each function in its inverse Fourier transform, averaging in forces , and averaging in then forces . The Parseval identity in this normalization is .
Let , , and , the balanced indicator function of a finite subset. Then . Only constant arithmetic progressions contribute to , whereas summing over centers counts ordered three-term arithmetic progressions in . HenceSet . Telescope by changing one factor at a time:In the Fourier transform formula for each term, bound the Fourier coefficient of by and apply the Cauchy-Schwarz inequality to the other two factors. The permutation preserves the required squared sums. Since and , this givesIf , then , so the difference in the other direction is at least . Consequently Fourier detection of a progression-free subset of an interval gives a nonzero frequency with
To turn this into a density increment, take . The Dirichlet approximation theorem, proved here by placing into equal intervals modulo one, gives such that . DefineFor , the inequalities and show thatUse a progression partition with nearly constant linear phase: every residue chain of modulo has at least points. Split each chain into blocks of consecutive chain points, merging any remainder into its last full block. This partitions into arithmetic progressions with and common difference .
On a block with first point , the linear phase satisfiesLet . Freezing the linear phase on each block introduces error at most . ThereforeThe block sums total zero. Their positive part consequently totals at least . Since all block lengths total , some block has . Its density of a finite subset is at least .
For the remaining , divide into disjoint consecutive triples and a remainder of at most two points. A three-term-arithmetic progression-free uses at most two points of each triple, so ; the largest ratio occurs at . Any singleton set from then has density of a finite subset one, which is at least . We may therefore use the explicit constantsIn the large case the constructed arithmetic progression has length at least ; in the small case its length one does too. Thus these constants prove the intended result for all odd integers .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 2 1I Solution Created 2026-09-24 Updated 2026-10-03
If the positive odd integer has prime factorizationits Jacobi symbol iswhere each factor is a Legendre symbol; by convention . Thus the symbol is zero exactly when .
The quadratic reciprocity law for the Jacobi symbol says that for coprime positive odd integers ,To prove it, write and . The quadratic reciprocity law for distinct odd primes statesMultiplying this identity over with multiplicities gives the required product of Jacobi symbols. Its sign exponent modulo two isbecause multiplication of odd integers adds the quantities modulo two. This proves the law.
For the requested value, two applications of reciprocity givesince , , and is a quadratic nonresidue modulo .
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 2 20H b Solution Created 2026-09-24 Updated 2026-09-25
The Dedekind factorization theorem says that, when a rational prime does not divide the index of an order , a factorizationof the minimal polynomial modulo gives
Let with square-free , and let be odd. The resulting splitting of rational primes in a quadratic field is:
Finally suppose and
has norm , with integers
chosen coprime. ThenIf an odd ramified, then . Reduction modulo gives
. Since is not a square modulo such a prime, . Dividing the equation's divisibility shows as well (use that square-free has -adic valuation one), contradicting coprimality. Hence no prime ramifies.
has norm , with integers
chosen coprime. ThenIf an odd ramified, then . Reduction modulo gives
. Since is not a square modulo such a prime, . Dividing the equation's divisibility shows as well (use that square-free has -adic valuation one), contradicting coprimality. Hence no prime ramifies.
The graph repeats every two units: it rises linearly from the right-hand limit at an odd integer to value one at the next even integer, then falls linearly to value zero at the next odd integer. The defined value at each odd integer is zero, while its right-hand limit is minus one.
The Dirichlet convergence theorem for Fourier series gives the midpoint of the two one-sided limits at a jump. Hence, on the requested interval, the Fourier sum differs from precisely atAt every other point it equals ; in particular it equals one at the continuous corners with even integer coordinates.
At even integers , the terms are . At odd integers they are . The largest eventual values therefore come from the subsequence at even integers, andExplicitly, every sufficiently late term is below , while infinitely many even integers give terms greater than .
The sum of two odd integers plus one is odd, so the operation is closed. Both associations of a triple give , proving associativity. Its identity element is , and the inverse element of is , also odd, since . Thus it is an abelian group.
More explicitly, shifted addition on odd integers is ordinary integer addition in different coordinates:This bijection is a group isomorphism to .
The relation is reflexive because . It is symmetric because implies . It is transitive because and imply . It is therefore an equivalence relation, namely congruence modulo an integer for modulus two. Its two equivalence classes consist of the even integers and the odd integers.
The coefficient assumptions imply a nonconstant polynomial with and a positive leading coefficient. Thus as : dividing by its leading power of leaves the positive leading coefficient plus terms tending to zero. There is some with . A polynomial is continuous, so the intermediate value theorem supplies at least one positive root of a polynomial in .
This gives neither uniqueness nor monotonicity. Multiple crossings are possible. If the degree of a polynomial is an even integer, the same leading-term argument gives as , so there is also a negative root of a polynomial. For an odd integer degree of a polynomial no negative root of a polynomial is forced; a linear polynomial with negative constant coefficient and positive slope is a counterexample.
def eaFast(n: Int): Double = {
require(n > 0)
var remaining = n
var base = 1.0 + 1.0 / n.toDouble
var result = 1.0
while (remaining > 0) {
if (remaining % 2 == 1) result *= base
base *= base
remaining /= 2
}
result
}Writing , the exact-arithmetic loop invariant is and . For an even integer exponent , replace the base by its square and the exponent by . For an odd integer exponent , first multiply the accumulator by the base and then make the same replacement. Both preserve the product. The loop variant is
remaining, which strictly decreases while positive. At exit the remaining exponent is zero, so the returned value approximates .There are iterations, squarings and one accumulator multiplication for each set bit of : between and multiplications. Thus the bound is as , or including the small case . All power variables are
Double; no unintended Int squaring occurs.

