Classifying functions under pointwise addition
Algebraic Structures

Answer & solution
Official answer: B
Approach: Check closure, associativity, identity, commutativity and inverses separately. The operation is pointwise addition, not function composition.
For any n, the sum of two non-negative integers is non-negative, so f1⊙f2 is again a function A→A: closure holds. Ordinary addition is associative, so evaluating either (f1⊙f2)⊙f3 or f1⊙(f2⊙f3) at n gives the same sum of three values. The identically zero function e(n)=0 acts as a two-sided identity.
Addition is commutative at every n, so the function operation is commutative. These facts make an Abelian monoid.
To be a group every function would need an inverse in F. The constant function f(n)=1 would require an inverse g(n)=−1 for all n to obtain zero. Such a g does not map A to A. Therefore inverses do not exist for all elements and the structure is not a group. Select B; A and C fail the inverse requirement, and D fails commutativity.












![Question 22, GATE 2009: A cyclic group has rows/columns a, b, c, d and multiplication rows [a, b, c, d], [b, a, d, c], [c, d, b, a], [d, c, a, b]. Which pair generates the group? A a, b; B b, c; C c, d; D d, a.](../../../assets/questions/CS-2009-Q22-1.webp)



![Question 46, GATE 2005: H consists of all real upper-triangular matrices [[a, f, e],[0, b, d],[0, 0, c]] with abc≠0. Under matrix multiplication is H: A a group; B a monoid but not a group; C a semigroup but not a monoid; D none of these?](../../../assets/questions/CS-2005-Q46-1.webp)
![Question 46, GATE 2005: H consists of all real upper-triangular matrices [[a, f, e],[0, b, d],[0, 0, c]] with abc≠0. Under matrix multiplication is H: A a group; B a monoid but not a group; C a semigroup but not a monoid; D none of these?](../../../assets/questions/CS-2005-Q46-2.webp)










































