Closure properties of formal languages Created 2026-09-24 Updated 2026-10-14
The axioms of an abstract family of languages require particular closure properties of formal languages. A language class is closed under an operation when applying that operation to members always produces another member of the class.
Myhill-Nerode theorem Created 2026-09-24 Updated 2026-09-24
A language is regular exactly when indistinguishability by all suffixes has finitely many equivalence classes; these classes form its minimal DFA.
Pumping lemma for regular languages Created 2026-09-24 Updated 2026-09-24
For a deterministic finite automaton with states, every accepted word with has a decomposition such that , , and is accepted for every integer .
Regular language Created 2026-09-24 Updated 2026-10-14
A language is regular exactly when it is accepted by a finite automaton, or equivalently has finitely many Myhill-Nerode classes.
Nondeterministic finite automaton Created 2026-09-24 Updated 2026-10-14
A nondeterministic finite automaton allows a set of possible destinations for each automaton state and input symbol. Without the extra moves permitted in an Epsilon-NFA, replace the DFA function by , where is the power set. A word is accepted when at least one path consumes all its symbols and ends in an accepting automaton state. These choices express existential quantification, not probability: no chance of choosing a particular path is assigned. One successful path suffices even if other paths fail.
Consider a three-state NFA accepting exactly the words of binary digits ending in . Its initial automaton state loops on both and ; it also has an automaton transition , followed by . Only is accepting, and all unlisted automaton transitions are absent. Staying at skips an arbitrary beginning; leaving it guesses that the current zero starts the final two symbols.
Figure 1.
An NFA recognizing words ending in , and the possible automaton states after each symbol
. Details.
The word accepts along . The word accepts along . The word rejects: a path reaching after cannot consume the remaining zero, while the other paths end outside . Thus finding somewhere is insufficient; it must occur at the end.
To simulate the NFA deterministically, retain the set of all currently possible automaton states. The powerset construction updates by taking the union of the destinations of its members. Here only , , and are reachable, although the full power set has eight members. Reading gives , which rejects. In general, an -state NFA yields a DFA with at most automaton states. Nondeterminism can simplify a description, while the powerset construction keeps the memory finite.
The second generator checks all 511 words of up to eight binary digits against the direct test of whether their final two symbols are . Exactly 127 accept, and only the three listed sets of automaton states occur. In particular, the empty word rejects for this NFA.
Michael O. Rabin and Dana Scott's 1959 paper studied finite-state machines as recognizers with finite internal memory. Its section 5 defines NFAs through successful paths, and theorem 11 proves their equivalence to DFAs by the powerset construction. This gives a historical source for the distinction between many possible paths and greater recognition power: [ref].
Deterministic finite automaton Created 2026-09-24 Updated 2026-10-14
A deterministic finite automaton has exactly one automaton transition for every automaton state and input symbol. Formally, a DFA is a tuple : is a nonempty finite set of automaton states, a finite alphabet, a function, the initial automaton state, and the accepting automaton states. Its unique path on a word accepts if it ends in after consuming the entire input. Visiting earlier does not suffice.
For a concrete binary divisibility automaton, recognize the words whose values in the binary numeral system are divisible by three. Choose , , , and . Each automaton state names the congruence class of the integer read so far. Appending a binary digit changes its value to , so the automaton transition is
The modular arithmetic therefore needs only three automaton states, whatever the input length. The full function is , , , , , and .
Figure 1.
A three-state DFA for binary digits representing integers divisible by three, with accepted and rejected traces
. Details.
For , the successive automaton states are , so the word is accepted. For , they are , so it is rejected. Leading zeros are allowed: they leave the initial automaton state unchanged. We explicitly assign value zero to the empty word, which is accepted because the initial automaton state is accepting. This is a convention for a formal language, rather than a claim that ordinary written numerals include a blank numeral.
The generator checks every word of up to eight binary digits, comparing the final automaton state with the integer value modulo three. Each length includes all words, preserving leading zeros as distinct inputs:
Length Words checkedAccepted by the DFAValues divisible by three
0111
1211
2422
3833
41666
5321111
6642222
71284343
82568686
All 511 checks agree. They are useful for catching a reversed arrow or mistaken label, but the reason the DFA works at every length is its invariant: after reading any word of value , its automaton state is . The update preserves that statement by mathematical induction. Through the extended transition function of a deterministic finite automaton, this becomes .
Pumping lemma for context-free languages Created 2026-09-24 Updated 2026-09-24
For some , every sufficiently long in a context-free language has with , , and in the language for all .
Context-free language Created 2026-09-24 Updated 2026-09-29
A grammar is context-free when each production has one nonterminal on its left.
Formal grammar Created 2026-09-24 Updated 2026-09-24
A grammar generates the terminal words reachable from by finitely many productions.
Regular expression Created 2026-09-24 Updated 2026-10-14
Steady-state response Created 2026-09-24 Updated 2026-10-03
For a damped linear oscillator driven periodically, the steady-state response is the periodic particular solution left after homogeneous transients decay.
Normal force Created 2026-09-24 Updated 2026-10-14
A normal force is a contact force perpendicular to the constraining surface. It supplies support without being identical to gravitational weight: its magnitude depends on the other forces and the body's acceleration. For a body at rest on a horizontal scale with no other vertical forces, it equals . A freely falling body has no supporting normal force, despite its nonzero gravitational weight; this distinction defines the scale's apparent weight.
Newton's third law Created 2026-09-24 Updated 2026-10-14
In the pair-interaction model of Newtonian mechanics, two bodies exert equal and opposite forces on each other:
Both vectors are expressed in the same inertial frame at the same time. The subscripts name the agent and the recipient: acts on , and acts on . These are forces on different bodies, so they cannot cancel in the net force on either body. Newton's second law still uses all the forces on the particular body whose acceleration is sought. Identifying this third-law interaction pair does not require the bodies to be isolated: additional external forces can act at the same time.
The distinction makes Newton's third law useful both for drawing a free-body diagram and for deriving momentum conservation. A body-by-body calculation retains one member of each third-law interaction pair; a calculation for a collection containing both bodies cancels that pair in the total momentum balance. Equal interaction forces consequently coexist with nonzero, generally unequal accelerations.
Isaac Newton stated the equality and opposition of mutual actions in Law III of his 1687 Philosophiae Naturalis Principia Mathematica. The explanation distinguishes equal opposite changes of momentum from changes of velocity, which are inversely proportional to the bodies' masses when other influences are absent. Corollary III then explains why mutual interactions preserve the signed total momentum. The equations here are modern notation for that distinction. [ref]
The instantaneous body-pair equation has a scope: use it for the mechanical interactions assumed by this Newtonian mechanics model. In electromagnetism, bodies can exchange momentum with an electromagnetic field; their instantaneous mutual forces need not sum to zero. Momentum conservation then accounts for electromagnetic field momentum as well as matter, and for momentum crossing the chosen boundary. This complication occurs in classical electromagnetism, without invoking quantum mechanics.[ref]
Newton's second law Created 2026-09-24 Updated 2026-10-14
In an inertial frame, a point mass of constant mass obeys
The net force is the sum of all forces acting on that body; momentum, velocity and acceleration refer to the same reference frame. A force changes velocity, rather than sustaining it: zero net force implies constant velocity, including a nonzero one. Doubling the net force at fixed mass doubles acceleration; doubling mass at fixed net force halves it. [ref]
For example, an otherwise balanced block of mass receives a constant horizontal net force for . Its acceleration is , so its velocity changes by . Equivalently, the impulse is , and . Starting from rest, its displacement during the pulse is . After the pulse, zero net force leaves it moving at constant velocity.
Applying the law therefore requires both a specification of the net force and initial conditions. In the harmonic oscillator example, the force is , so Newton's second law becomes a differential equation for position. In an accelerating reference frame, the measured relative acceleration includes a contribution from the frame's own motion; the equation of motion in a rotating frame illustrates the extra terms required.
Constant mass is essential to the displayed form. A variable-mass system exchanging matter also exchanges momentum; its balance includes the entering or leaving matter's velocity. Simply differentiating and equating it to external force on that open body can omit this flux. The existing variable-mass system equation specifies the needed correction.
In the 1687 Principia, Newton's second law was stated in terms of change of motion proportional to impressed force, directed along that force. Its original statement is verbal; the derivative equation above is modern notation. [ref]
For every and ,
solves and decays rapidly as .
Divergence test for a planar periodic orbit Created 2026-09-24 Updated 2026-09-24
For a planar periodic orbit of period , its nontrivial Floquet multiplier is
The orbit is asymptotically stable when the integral is negative and unstable when it is positive.
Contraction mapping theorem Created 2026-09-24 Updated 2026-10-14
A contraction mapping on a nonempty complete metric space has exactly one fixed point , and the sequence converges to from every . The same constant must satisfy for all . The statement applies to metric spaces, including closed subsets of a Banach space; neither linearity nor a vector space structure is required.[ref]
The force of the result is that existence, uniqueness, and a practical approximation procedure arrive together. Repeated application produces corrections bounded by a geometric series, hence a Cauchy sequence; completeness supplies its limit. The Lipschitz continuity of makes that limit a fixed point. Two different fixed points would have their positive distance multiplied by at most while remaining unchanged, which is impossible.
Fixed-point property Created 2026-09-24 Updated 2026-10-14
Knaster-Tarski theorem Created 2026-09-24 Updated 2026-09-24
Every monotone self-map of a complete lattice has a complete lattice of fixed points. Its least fixed point is the meet of its prefixed points, and its greatest fixed point is the join of its postfixed points.
Leray-Schauder fixed point theorem Created 2026-09-24 Updated 2026-10-14
Let be a compact continuous self-map of a Banach space. If the set of solutions of for is bounded, then has a fixed point. The theorem converts a priori estimates for a homotopy of equations into existence.

There are unlisted articles, also show them or only show them.