Examples of Additive-Only and Multiplicative-Only Functions
At a glance
- 1. Separate the properties
Additivity means preserving sums; multiplicativity means preserving products. Neither condition alone implies the other.
- 2. Check a multiplicative example
For f(x) = x², compare f(xy) with f(x)f(y), then test whether sums are preserved.
- 3. Build an additive example
A Hamel-basis construction gives an additive map on the reals that is neither real-linear nor multiplicative.
A function can preserve products without preserving sums, or preserve sums without preserving products. These are different properties: additivity means , while multiplicativity means . Neither condition by itself says that a function is linear.
Here are examples in both directions. One caveat matters: an additive function from to that is not real-linear cannot be an ordinary continuous function. A genuinely nonlinear example in that setting requires a Hamel basis.
Multiplicative but not additive: squaring
Define by . For all real ,
so is multiplicative. But it does not preserve sums. For example,
Thus is multiplicative but not additive. It is also nonlinear as a map of real vector spaces: it fails the scalar rule . For instance, , whereas .
The absolute-value function is another example: satisfies , but while .
Additive but not multiplicative: a Hamel-basis example
For an additive map that is not real-linear, use a Hamel basis of over . A Hamel basis is a set of real numbers such that every real number has a unique expression as a finite rational linear combination of basis elements. Its existence uses the axiom of choice.
Choose a basis containing and . Define on the basis by
- ;
- for every other basis element .
Extend the definition to every real number by rational linearity. In other words, if with rational and basis elements , set .
This construction makes additive. If and have finite rational-coordinate expansions in the basis, the coordinates of are their coordinate-wise sums, so .
It is not multiplicative. Taking gives
It is not real-linear either: , but . This is a genuine additive-but-not-multiplicative nonlinear map over , but it is highly discontinuous and cannot be described by a familiar elementary formula.
Why simple additive examples can be misleading
A tempting example is . It is additive, and it is not multiplicative, since but . However, is still a linear map over : it satisfies both additivity and real scalar homogeneity. So it works if you only need a function with one property but not the other; it does not work if “nonlinear” means “not a linear transformation.”
There is also a short complex-valued example if linearity is judged over . Set for . It is additive, but not multiplicative: while . It is not complex-linear, although it is linear when is treated as a vector space over .
Common mistakes
- Confusing multiplicativity with scalar homogeneity. Multiplicativity concerns products of two inputs, . Linearity’s scalar rule is ; these are not the same condition.
- Calling every additive nonmultiplicative map nonlinear. A map such as is additive and nonmultiplicative, but it is still real-linear.
- Assuming an additive real function has an ordinary formula. If an additive is continuous (or satisfies other regularity conditions such as measurability), then for some constant . The discontinuous Hamel-basis construction avoids those regularity conditions.
- Leaving the scalar field unstated. A map can be linear over but not over , as the example shows.
When choosing an example, state the domain, codomain, and what “nonlinear” means. For a simple multiplicative-only function, use . For an additive-only function that is genuinely nonlinear over , use the Hamel-basis construction and mention its nonconstructive nature.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.