addingdoubling
Addingdoubling is a term used in mathematics and computer science to describe a two-step affine transformation in which a value is first increased by a fixed amount and then doubled. In this convention, addingdoubling with parameter a is defined on a number x as addingdoubling_a(x) = 2(x + a) = 2x + 2a. A related variant, doubling followed by addition, is sometimes called add-doubling and is defined as DA_a(x) = (2x) + a = 2x + a. Different sources may use alternate notations such as AD_a or DoublingAdd(a).
Properties and interpretation: Addingdoubling is an affine map with slope 2. Repeated application yields f^n(x) = 2^n
Notational variants and special cases: If a = 0, both forms reduce to the doubling map x ↦
Applications and usage: Addingdoubling appears in puzzle design, basic algorithm examples, and teaching contexts to illustrate
See also: affine transformation, linear function, doubling map, function composition.
---