Dual number¶
An element a+b epsilon of a two-dimensional commutative algebra with nonzero nilpotent epsilon satisfying epsilon squared equals zero.
Core Idea¶
Dual numbers encode first-order infinitesimals: evaluating a differentiable expression at x+epsilon carries the function value in the real part and its derivative in the epsilon coefficient. Arithmetic expands bilinearly and discards every second-order epsilon term; elementary functions extend by first-order Taylor rules, propagating derivatives exactly through composed operations. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.
Scope of Application¶
Dual number belongs to algebra and automatic differentiation and is useful where the analyst can specify the typed algebra and automatic differentiation carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, then evaluate the coefficient field or ring, basis one and epsilon, relation epsilon squared equals zero, addition and multiplication, equality, invertibility, function-extension rule, and distinction from complex and split-complex numbers are explicit. The scope is broad within that domain but bounded by the need for the coefficient field or ring, basis one and epsilon, relation epsilon squared equals zero, addition and multiplication, equality, invertibility, function-extension rule, and distinction from complex and split-complex numbers are explicit.
Clarity¶
The abstraction clarifies a crowded vocabulary by making the coefficient field or ring, basis one and epsilon, relation epsilon squared equals zero, addition and multiplication, equality, invertibility, function-extension rule, and distinction from complex and split-complex numbers are explicit the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test.
Manages Complexity¶
Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Dual number. Dual number compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.
Abstract Reasoning¶
- Identify the carrier. State what the elements, states, objects, or observations are: the typed algebra and automatic differentiation carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets. Reject examples whose alleged carrier belongs to a different problem. 2. Lock the constitutive rule. Express the coefficient field or ring, basis one and epsilon, relation epsilon squared equals zero, addition and multiplication, equality, invertibility, function-extension rule, and distinction from complex and split-complex numbers are explicit independently of one notation or implementation.
Knowledge Transfer¶
Knowledge transfers strongly among subfields of algebra and automatic differentiation because they reuse the typed algebra and automatic differentiation carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, Arithmetic expands bilinearly and discards every second-order epsilon term; elementary functions extend by first-order Taylor rules, propagating derivatives exactly through composed operations., and type the carrier, state every parameter and convention in the definition, test that the coefficient field or ring, basis one and epsilon, relation epsilon squared equals zero, addition and multiplication, equality, invertibility, function-extension rule, and distinction from complex and split-complex numbers are explicit, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.
Relationships to Other Abstractions¶
Current abstraction Dual number Domain-specific
Parents (1) — more general patterns this builds on
-
Dual number is a kind of Transformation Prime
The proposed strict upward parent is
prime:transformation.
Hierarchy path (1) — routes to 1 parentless root
- Dual number → Transformation → Function (Mapping)
Neighborhood in Abstraction Space¶
Dual number sits in a crowded region of the domain-specific corpus (18th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.
Family — Series, Limits & Asymptotics (18 abstractions)
Nearest neighbors
- Auxiliary function — 0.92
- Antiderivative — 0.92
- Quadratic function — 0.91
- Total algebra — 0.91
- Formal power series — 0.91
Computed from structural-signature embeddings · 2026-09-08