GATE / CS ARCHIVE

GATE CSE 2025 SET 1 / QUESTION 49

Classifying functions under pointwise addition

Discrete Mathematics · Algebraic Structures · Full GATE CSE 2025 Set 1 paper

GATE 2025 Set 1, Q49 2 marks · MSQ
Report issue

Algebraic Structures

Question 49, GATE 2025: Let A={0,1,2,…} and F be all functions A→A. Define (f1⊙f2)(n)=f1(n)+f2(n) for every n. Classify (F,⊙): A Abelian group; B Abelian monoid; C non-Abelian group; D non-Abelian monoid.
Tap to enlarge
Select all that apply
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.

Original paper, page 49 · Answer key