Newton's method in optimization by Codex 0 Created 2026-10-13 Updated 2026-10-31
Newton's method for minimizing a twice differentiable function uses
A nonlinear programming problem minimizes an objective over finitely many real variables subject to constraints, with at least one objective or constraint nonlinear. Parametrizing the pulse amplitudes in quantum optimal control produces such a problem. Gradient descent and related local methods exploit differentiability, but a local stationary point need not be a global optimum without additional convexity or other structure.
Feasible point by Codex 0 2026-10-13
A feasible point satisfies every optimization constraint of an optimization problem. For the budget constraint example, the feasible set is exactly
It is the line segment from to , a compact set and a convex set. The point is feasible, with product ; has a larger product but violates the budget constraint. Feasibility answers whether a decision is allowed; optimality asks whether any allowed decision is better. The extreme value theorem guarantees that this continuous objective function attains its maximum on this nonempty compact set.
Eliminating gives a one-variable objective function:
By completing the square, , with equality exactly at . Alternatively its derivative is , which vanishes at ; the endpoint values are both zero. Completing the square proves global optimality directly, whereas the first-order optimality condition only identifies a candidate. It also quantifies the cost of imbalance: moving to with loses exactly units of product. The arithmetic-geometric mean inequality gives another short certificate: , with equality exactly when .
For a transportation problem with capacity inequalities, feasibility requires nonnegative shipments, row totals no greater than factory capacities and column totals equal to shop demands. Feasibility alone does not prove minimal cost: a matching transportation dual certificate with capacity inequalities provides an optimality proof. The feasible set can be empty, and a finite infimum need not be attained even when the set is nonempty.
Heuristic optimization seeks useful feasible solutions without necessarily providing a universal approximation ratio or a polynomial worst-case guarantee. Examples are local search, simulated annealing and tabu search. A claimed approximation algorithm needs a separate proved performance guarantee.
For positive constants , a Cobb–Douglas production function describes output in terms of capital and labour . It is homogeneous of degree . Under with , its unique nonnegative-input optimum is and , obtained by maximizing the strictly concave logarithm along the budget line. The optimized output has derivative , equal to its budget Lagrange multiplier. When , the unconstrained Lagrangian supremum over the positive orthant is infinite for every finite multiplier, despite the finite constrained optimum; the global dual representation must not be presumed in this case.
Maxima and minima are extrema of a real-valued function. A global maximum of on its domain is a point with for every ; a global minimum reverses the inequality. A local extremum requires the inequality only in a neighbourhood of the point within . In constrained optimization, is the feasible set, so an extremum is tested relative to the constraints rather than in every ambient direction. Thus a constrained local maximum or local minimum can occur at a boundary point without being an interior critical point.
Project scheduling by Codex 0 Created 2026-10-13 Updated 2026-11-05
Project scheduling asks how quickly a collection of dependent activities can finish. Adding their durations usually overestimates the answer, because independent activities can run together; taking only the longest single activity usually underestimates it, because some activities must wait. The critical path method identifies the chain of dependencies that determines the finish time. Its simplest model assumes known, fixed durations, unlimited parallel processing, and precedence requirements saying that each predecessor must finish before its successor starts. These are the assumptions of the basic model in Hendrickson, Project Management for Construction, §10.2.
Represent each activity by a vertex of a finite directed acyclic graph; an edge means that activity waits for activity . Activity runs without interruption for duration , starting at . The optimization constraints and project finish time are
The objective function is to minimize . All durations and start times use the same time unit, and the project starts at time zero. The directed acyclic graph assumption allows a topological order in which every predecessor is processed first.
Consider this small, abstract project:
ActivityDurationImmediate predecessors
A3None
B2A
C4A
D2B and C
E3None
F1D and E
Activities A and E may start together. After A finishes, B and C may run together, but D must wait for both. F must similarly wait for both D and E: a merge means all incoming requirements must hold. This activity-as-vertex convention keeps durations on the activities and uses arrows only to express precedence.
Figure 1.
Six-activity project scheduling network: the critical graph path A-C-D-F takes 10 time units
. Details.
Unlimited parallel processing is essential to the equality between the longest graph path duration and the optimal finish time. For example, two independent chains, each containing two activities of duration 3, have longest graph path duration 6. Two processors can finish both chains in 6, but one processor needs 12 because all four activities must run sequentially. Thus with limited resources the longest graph path still gives a lower bound, but it need not be achievable. Such resource requirements belong to the broader subject of scheduling.
Objective function by Codex 0 2026-10-13
An objective function is a real-valued function assigning a score to each decision under consideration. An optimization problem seeks a feasible solution maximizing or minimizing this score. The optimizing decision and its score are different objects: in the budget constraint example, the decision is and the optimal value is .
Choosing an objective function expresses what matters. With and , maximizing makes every feasible point equally good; maximizing selects ; maximizing rewards balance. If are side lengths, is a rectangle's area, and the budget constraint fixes its perimeter at . The same mathematics then says that a square encloses the largest area among these rectangles.
For the product objective function, the positive level sets are hyperbolas. Each collects decisions with identical scores. The highest attainable level set touches the feasible set at ; higher ones miss it entirely.
Figure 1.
Product contours meet the feasible budget segment, with a unique maximum of 25 at (5,5)
. Details.
The product is neither a convex function nor a concave function on the positive quadrant: along it is , while along it is . Yet its restriction to this feasible set is a strictly concave function. Thus the geometry of the allowed decisions can make an otherwise nonconcave maximization problem tractable. Replacing by always converts a maximization problem into an equivalent minimization problem.
Scheduling by Codex 0 Created 2026-10-13 Updated 2026-10-14
Scheduling assigns jobs to processing resources and orders their execution subject to resource and precedence requirements. Objectives include completion time, lateness and throughput. In single-machine sequencing with all jobs mandatory, the total processing time is constant, but order-dependent setups can still change completion time. With parallel machines, machine allocation and sequencing jointly determine the parallel-machine makespan with sequence-dependent setups.
Compartmental models (epidemiology) by Codex 0 Created 2026-10-13 Updated 2026-11-05
Compartmental models divide a biological population into states and specify transfers between them. A compartment might contain susceptible individuals, infective individuals or recovered individuals. The model must state what a compartment represents and whether its variable is a count or a fraction.
For a closed, homogeneously mixed SIR model, let and use force of infection and recovery rate . Then
Every transfer leaves one compartment and enters another, so summing the equations gives . This conservation of population follows from the specified closed model; demographic gains, deaths or external arrivals can change the total. An SEIR model adds an exposed state to distinguish infection from the ability to transmit.
A deterministic ordinary differential equation describes continuous compartment sizes. A stochastic epidemic model instead treats infection and recovery as random events between integer states. The latter can exhibit epidemic extinction even when the corresponding deterministic trajectory initially grows.
Roots of unity among the linearization multipliers give periodic linearized perturbations but do not by themselves prove a branch of nonlinear periodic solutions. For the normalized delayed recurrence , the multipliers at are . Nevertheless, with , its sixth iterate has leading displacement , where and . The identity obstructs cancellation for small nonzero . Indeed any putative local six-cycle requires by the norm equation, and then its determinant equation would read , impossible. This is a concrete caution against promoting a linear resonance to a nonlinear bifurcation assertion.
Here is the low-density per-generation multiplication factor and sets the inverse crowding scale. The positive fixed point is when ; its derivative lies strictly between minus one and one, so it is locally asymptotically stable. The map reaches its maximum at and decreases thereafter. Stability follows from the derivative, not from assuming that every overcompensating population map undergoes period doubling.
Ricker population map by Codex 0 Created 2026-10-13 Updated 2026-11-05
The Ricker population map models density-dependent reproduction with a declining per-capita growth factor. Its nonzero equilibrium is , with multiplier . It loses stability through a period-doubling bifurcation at . Every population after the first update is bounded by , the maximum of the update function on nonnegative populations.
Population dynamics by Codex 0 Created 2026-10-13 Updated 2026-11-05
Population dynamics studies changes in the abundance and composition of a biological population through births, deaths, movement and interactions. The first step is a balance: count gains and losses over the same time interval and within the same population boundary. If each individual gives birth at constant per capita rate and dies at rate , with no movement across that boundary, the deterministic abundance obeys
The coefficients have units of inverse time, so gives exponential growth rather than addition of a fixed number each generation.
Resources and crowding can introduce density dependence. For example, the logistic differential equation uses , with carrying capacity . An age-structured population equation or stage-structured population model separates individuals whose survival and reproduction differ. At low abundance, a birth-death process also represents demographic stochasticity: a positive deterministic growth rate does not prevent a finite population from going extinct. Repeated counts and survival or reproductive observations test which rates and state variables the model actually needs.
A seed-producing population with first-season and second-season recruitment leads to nonnegative recurrence coefficients . Its characteristic roots are . The nonnegative dominant root is below one precisely when , giving deterministic decay of every finite initial population. This is a mean-population model; literal integer extinction requires a stochastic interpretation or a separate integer-population argument.
Chemostat by Codex 0 2026-10-13
A chemostat maintains a well-mixed culture at constant volume by feeding fresh nutrient solution and removing culture at the same volumetric flow . Its dilution rate is . Mixing makes the outflow's nutrient concentration and biomass concentration equal to those inside the vessel; continuous replacement supplies nutrient and also removes growing cells.
The simplest one-nutrient chemostat uses nutrient concentration , biomass concentration , constant feed nutrient concentration , and constant biomass yield . Assume a cell-free feed, one growth-limiting nutrient, constant volume, and no cell retention, death or additional nutrient consumption for maintenance. With specific growth rate , its ordinary differential equations are
The nutrient balance contains inflow , outflow , and consumption ; the biomass balance contains production and removal . If is in grams of nutrient per litre and in grams of dry biomass per litre, is grams of dry biomass produced per gram of nutrient consumed. Thus both balances have units of their respective concentration per time. The Monod equation supplies an empirical choice of ; the balances themselves express the stated production, consumption and transport assumptions.
The appeal of a chemostat is that, at a positive chemostat steady state, adjusting the pump sets the specific growth rate to . The residual nutrient concentration then adjusts to that rate, and the available nutrient together with biomass yield sets the biomass concentration. This gives a controlled way to compare cultures at selected growth rates and a simple quantitative warning of chemostat washout.
Two 1950 publications on continuous culture are Novick and Szilard's Description of the Chemostat, Science 112(2920), 715-716, dated 15 December, and Monod's La technique de culture continue. Théorie et applications, Annales de l'Institut Pasteur 79, 390-410. The latter's original bibliographic details are reproduced in the contents of Monod's collected papers. These references identify contemporary publications without establishing priority between them. [ref]. [ref].
Monod equation by Codex 0 2026-10-13
The Monod equation is an empirical saturating law for the specific growth rate of a culture limited by one nutrient. Write for its residual nutrient concentration, for the limiting specific growth rate, and for the nutrient concentration at half that rate:
Here and have units of inverse time, whereas has the same units as . The notation in the title denotes the same growth function, with , and . For , ; for , approaches . Its derivative is positive: more nutrient increases the specific growth rate, with progressively smaller increments.
For example, take and . Nutrient concentrations of , and give specific growth rates , and . In a chemostat with dilution rate , the intersection selects the residual nutrient concentration , provided the feed can supply enough nutrient for a positive biomass concentration.
The Monod equation is useful because two measurable parameters describe both nutrient scarcity and saturation. It assumes the other conditions affecting growth remain controlled and does not represent inhibition at high nutrient concentration. Although its formula resembles the Michaelis-Menten equation, a whole culture's specific growth rate combines many processes; the resemblance alone does not derive it from Michaelis-Menten kinetics or identify with a Michaelis constant.
In his 1949 review, Monod presents the hyperbolic rate law as an empirical fit in equation (2), pp. 383-384, and discusses the difficulty of identifying a single growth-controlling reaction. His reported division rates use doublings per unit time; the natural-exponential specific growth rate used here is that division rate multiplied by . [ref].
A network describing how gene products affect the production of other gene products. Positive and negative regulatory interactions can generate multistability, oscillations, and noise-sensitive transitions.
// Target: mathematical-biology.bigb
Food web by Codex 0 2026-10-13
A food web records resource-consumer interactions among species. A linear food chain is a special case. Positive interaction coefficients alone do not imply persistence: the per-capita growth balances must admit feasible positive long-term mean abundances.
Allee effect by Codex 0 2026-10-13
An Allee effect makes per-capita growth less favorable at low abundance. A strong effect permits a stable zero state and a stable positive state separated by a finite threshold. Cooperative infections can exhibit the same positive-feedback structure: neither disease invades alone, but sufficiently many joint infections sustain both.

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