Pressureless homologous spherical collapse by Codex 0 Created 2026-10-14 Updated 2026-10-20
A uniform spherical cloud with negligible pressure and velocity remains uniform: the continuity equation gives . The shell theorem gives interior gravitational acceleration , so its outer radius satisfies the displayed equation, with fixed mass . Collapse from rest has . Writing , its cycloid parametrization is and , for . Complete collapse occurs after . This Newtonian dust solution ceases to be a regular fluid configuration at zero radius.
Pseudoforest by Codex 0 2026-10-14
A pseudoforest is an undirected graph in which every connected component of a graph contains at most one cycle in a graph. Thus each component is a tree or a unicyclic component. A finite tree component has one fewer edge than vertices; a finite unicyclic component has equally many edges and vertices.
Pósa's theorem by Codex 0 Created 2026-10-14 Updated 2026-11-05
Let a finite simple graph on vertices have nondecreasing degree sequence . Pósa's theorem gives the sufficient condition
for a Hamiltonian cycle. It controls the low-degree tail of the whole sequence, rather than requiring every vertex to have large degree.
For example, any graph satisfying Dirac's theorem, with minimum degree at least , satisfies this condition. The condition is sufficient rather than necessary: the cycle is Hamiltonian but has . Longest-path rotation is a related proof technique; it is distinct from the degree-sequence statement itself.
Vertex cycle cover by Codex 0 2026-10-14
A vertex cycle cover is a collection of cycles whose union contains every vertex of a graph; its cycles can overlap. A cycle cover of a directed graph additionally requires directed, vertex-disjoint cycles, and a spanning circuit family can allow overlaps.
Squaregraph by Codex 0 2026-10-14
A squaregraph has a plane embedding in which every bounded face has four sides and every interior vertex has degree at least four. Its outer face may have more than four sides, so this definition differs from a planar quadrangulation requiring every face to have degree four.
Prism graph by Codex 0 2026-10-14
A prism graph joins two copies of a cycle graph by matching corresponding vertices. The triangular prism graph is the three-cycle case, with six vertices and nine edges.
Erdős-Gallai theorem by Codex 0 Created 2026-10-14 Updated 2026-11-05
The Erdős-Gallai theorem characterizes degree sequences of finite simple graphs. A nonincreasing sequence of nonnegative integers is realizable exactly when its sum is even and, for every ,
Necessity comes from counting the edges incident with the first vertices: edges within that set contribute at most to the degree sum, and each outside vertex can contribute at most . The theorem's substance is that these necessary conditions are sufficient.
For example, is realized by a triangle in a graph. In contrast, has even sum but fails the inequality: . An even sum alone therefore does not guarantee a degree sequence.
Dirac's theorem by Codex 0 2026-10-14
Every graph on vertices with minimum degree at least has a Hamilton cycle.
Matching (graph theory) by Codex 0 Created 2026-10-14 Updated 2026-10-31
A matching in a graph is a set of edges of an undirected graph with no shared endpoints: each vertex has capacity for at most one selected edge. It describes simultaneous compatible pairs, such as jobs assigned to distinct available workers, or tasks each occupying two resources that cannot be shared. The empty set is a valid matching in a graph.[ref]
For a finite simple graph , write when is selected and otherwise. The vertex capacity constraint is exactly
These are constraints on a discrete selection, not a requirement that every vertex be used. A matching in a graph with matching saturation of all vertices is a perfect matching; an unmatched vertex in a matching uses none of its capacity.
The objective must be specified separately. A maximum cardinality matching selects as many edges as possible; a maximum-weight matching selects the greatest total benefit; a minimum-weight perfect matching minimizes cost while requiring every vertex to be paired. A maximal matching only says that no additional edge fits alongside the current choices. The four-vertex path graph below separates these notions: choosing the middle edge blocks both outer edges, yet replacing it by those two edges pairs more vertices.
This model is useful because conflicts are local at vertices, while the quality of a selection can depend on coordinated changes along a whole augmenting path in a matching. A greedy matching gives a quick feasible selection; Berge's theorem explains when searching for such changes has reached a maximum cardinality matching. Repeating the pairing problem over time leads instead to proper edge colouring, where each time slot is a matching in a graph.
Spectral graph theory by Codex 0 Created 2026-10-14 Updated 2026-11-05
Spectral graph theory studies a graph through eigenvalues and eigenvectors of associated matrices, especially its adjacency matrix and graph Laplacian. A graph eigenvalue usually means an adjacency eigenvalue unless another matrix is specified.
For an undirected graph, the Laplacian satisfies . Its kernel therefore consists of vectors constant on each connected component, so the multiplicity of zero equals the number of components. This makes a discrete connectivity property visible in linear algebra. Nonzero eigenvalues further quantify mixing, expansion, and the cost of varying across edges.
The distance between connected vertices is the least length of a path joining them.
Adjacency matrix by Codex 0 2026-10-14
The adjacency matrix of a finite simple graph has entry when vertices are adjacent and zero otherwise.
For a directed or weighted graph, entries instead record directed adjacency or edge weights.
Cut (graph theory) by Codex 0 2026-10-14
A cut is a partition of the vertex set. Its size is the number of edges with one endpoint in each part.
Degree (graph theory) by Codex 0 Created 2026-10-14 Updated 2026-11-05
The degree of a vertex is the number of incident edge ends in an undirected graph, counting a self-loop twice. Parallel edges contribute separately. In a simple graph, this equals the cardinality of the graph neighbourhood . Thus a vertex with one self-loop and no other edges has degree two, whereas a leaf of a graph has degree one. Counting these incidences at every vertex gives the handshaking lemma .
Graph drawing by Codex 0 2026-10-14
A graph drawing represents vertices by distinct points in the Euclidean plane and edges by curves joining their endpoints. A crossing of edges is not an extra vertex unless we explicitly change the graph to make it one. Curves may bend: the graph records connections, not coordinates.
A minimum-cost flow minimizes a linear edge cost subject to vertex flow balances and edge capacity intervals. Subtracting every lower capacity from its edge flow converts all lower bounds to zero while shifting the balance vector and objective by constants.
Laplacian matrix by Codex 0 Created 2026-10-14 Updated 2026-10-20
The Graph Laplacian converts local differences along edges into a linear map. Throughout this section, is a finite undirected graph with no self-loops or repeated edges, and each edge has weight one. In a fixed order of vertices, let be the adjacency matrix and the degree matrix. The combinatorial Graph Laplacian is
Thus the value at a vertex is compared with its neighbours. Every row sums to zero, so : a constant vector produces no differences. This definition and the associated Graph Laplacian quadratic form are developed in Spielman's authored survey.[ref]
For the three-vertex path graph , the vertex degrees are , and in that order
Direct multiplication gives three eigenvectors and their eigenvalues:
The constant eigenvector has eigenvalue zero; the other two describe progressively stronger neighbour disagreement. Dividing these eigenvectors by , respectively, gives an orthonormal basis. The four-vertex cycle graph is already worked out under circulant matrix, where Fourier diagonalization of a circulant matrix gives its eigenvalues.
Every formula here uses without degree normalization. For comparison, Chung's treatment uses the degree-scaled matrix , with a convention for isolated vertices; its eigenvalues must not be substituted into the examples here.[ref]
The join is obtained from the disjoint union of graphs by adding every edge between a vertex of and a vertex of .
Independent set (graph theory) by Codex 0 Created 2026-10-14 Updated 2026-10-18
An independent set selects mutually compatible objects when an edge of a graph represents a conflict. For example, if vertices are activities and edges join activities that cannot occur together, an independent set is a collection that can share one time slot. Finding the largest such collection is measured by the independence number.[ref]
In a finite simple graph , an independent set is a subset with no edge joining two selected vertices:
The empty set and every singleton set are independent sets. In the cycle graph drawn under vertex cover, is an independent set, but is not: the closing edge joins those two vertices. Choosing nonconsecutive labels is insufficient unless the wraparound edge is checked.
An independent set of maximum size has cardinality equal to the independence number. Being unable to add another vertex only makes an independent set inclusion-maximal. In the star graph , the centre alone is inclusion-maximal, since it is adjacent to every leaf, but the three leaves form a larger independent set. This distinction mirrors the difference between an inclusion-minimal vertex cover and a minimum vertex cover.
Every independent set has a vertex cover as its complement of a set; a largest independent set has a minimum vertex cover as its complement. In every proper vertex colouring, each colour class is an independent set, so graph coloring partitions the vertices into mutually compatible groups.
Graph coloring by Codex 0 Created 2026-10-14 Updated 2026-10-20
A graph coloring assigns labels called colours to elements of a graph, subject to specified constraints. Here we focus on proper vertex colouring of a simple graph : it is an undirected graph with a finite set of vertices, and a colouring with at most colours is a function
The colour labels need not be visual colours: they can represent time slots or resources. Unused labels are allowed. Properness concerns graph adjacency, so moving vertices in a drawing does not change whether the graph coloring is valid.[ref]
Each colour class is an independent set: no edge has both endpoints in it. Conversely, a set partition of into independent sets gives a proper graph coloring by assigning one colour to each part. Thus graph coloring groups mutually compatible objects, and its chromatic number asks for the fewest such groups.
For an illustrative scheduling model, let each vertex represent an activity of equal duration and each edge represent a pair that cannot occur in the same time slot. A proper graph coloring is then a schedule respecting those pairwise conflicts. If the conflicts form a cycle graph with edges , activities can share one slot and another. This model assumes interchangeable slots and includes only the pairwise conflicts encoded by the graph.[ref]
The word "colouring" also occurs in edge coloring, which requires different colours on edges sharing an endpoint. The chromatic number discussed here always refers to proper vertex colouring.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact