Skip to main content

Engineering Mathematics

Algebraic Structures

Lock the axiom ladder (closure → associative → identity → inverse → commutative) and small Cayley-table checks so algebraic-structure MCQs become fast eliminations — then practise with GATE-style samples and flashcards.

~6 hrs Short but tricky MCQs 10 samples · 10 practice · 10 cards

GATE CSE algebraic structures — binary operations, semigroups, monoids, groups, abelian groups, rings, Cayley tables, sample GATE questions, flashcards, and practice drills.

Learning outcomes

  • Identify closed binary operations and decide associativity/commutativity on small sets
  • Classify magma / semigroup / monoid / group / abelian group from a definition or table
  • Find identity and inverses; prove uniqueness when they exist
  • Recall ring axioms at GATE depth and standard examples (Z, Z_n, matrices)
  • Solve GATE-style algebraic-structure MCQs with a clear axiom trail

Binary operations & closure

  • A binary operation ∗ on S is a function S×S → S. Closure means a∗b stays in S for all a,b ∈ S.
  • If the result can leave S, (S,∗) is not a binary operation on S (classic trap: (N, −), (N, ÷), (odd integers, +)).
  • Operation tables (Cayley tables) list a∗b in row a, column b — every entry must be an element of S for closure.
  • Commutative: a∗b = b∗a for all a,b (symmetric table about the diagonal). Associative: (a∗b)∗c = a∗(b∗c).
  • Associativity is expensive to verify by brute force (n³ checks); GATE often states it, asks a counter-example, or uses a known operation.
Set & operationClosed?Notes
(Z, +)YesGroup
(N, −)No3−5 ∉ N
(Odd integers, +)No1+1=2 even
(Even integers, +)YesSubgroup of (Z,+)

Worked example

Problem. Is subtraction a binary operation on Z? On N?

Solution. On Z: yes (difference of integers is an integer). On N={0,1,2,…}: no — e.g. 2−5 = −3 ∉ N.

The axiom ladder: magma → group

  • Magma (groupoid): set with a closed binary operation (no other axioms).
  • Semigroup: magma + associative.
  • Monoid: semigroup + two-sided identity e (e∗a = a∗e = a for all a).
  • Group: monoid + every element has a two-sided inverse (a∗a⁻¹ = a⁻¹∗a = e).
  • Abelian group: group + commutative operation.
  • Identity is unique if it exists; in a group each inverse is unique. Cancellation laws hold in groups.

Formulas to remember

  • Identity e: e∗a = a∗e = a
  • Inverse of a: a∗a⁻¹ = a⁻¹∗a = e
  • In a group: (a∗b)⁻¹ = b⁻¹∗a⁻¹
StructureMust haveGATE example
SemigroupAssociative(N, +); (N, ×); string concatenation
Monoid+ identity(N, +) with 0; (N, ×) with 1; (Σ*, concat) with ε
Group+ inverses(Z, +); (R\{0}, ×); (Z_n, +)
Abelian groupCommutative group(Z_n, +); (Q\{0}, ×)

Standard examples & non-examples

  • (Z, +), (Q, +), (R, +), (Z_n, + mod n) are abelian groups. (N, +) is a monoid, not a group (no additive inverses for >0).
  • (R\{0}, ×) and (Q\{0}, ×) are abelian groups. (N, ×) is a monoid with 1, not a group.
  • (M_n(R), ×) matrices: monoid with I; invertible matrices GL_n(R) form a non-abelian group for n≥2.
  • ({0,1,2}, max) and ({0,1,2}, min) are monoids (identities 0 and 2 respectively) but not groups.
  • (Z, −) is closed but not associative and has no two-sided identity behaving for all — not a group.
  • Power set under ∪ or ∩: monoids (∅ or U as identity); not groups.

Worked example

Problem. Is ({0,1,2}, max) a monoid? A group?

Solution. max is associative and closed; identity is 0 because max(0,x)=x. No inverses (max(2,y)=0 is impossible). Monoid, not group.

Reading Cayley tables

  • Closure: every cell ∈ S. Identity: the row (and column) that reproduces the header labels.
  • Inverse of a: cell in row a equal to e; check column a as well for two-sided inverse.
  • In a finite group, each row and each column is a permutation of S (Latin-square property) — duplicates in a row kill “group”.
  • Commutativity: table symmetric across the main diagonal.
  • GATE rarely forces full associativity checks on large tables; use given hints or look for obvious failures.

Worked example

Problem. In Z_4 = {0,1,2,3} under +, what is the inverse of 3?

Solution. 3+1 ≡ 0 (mod 4), so 3⁻¹ = 1. Identity is 0.

Order of an element & Z_n

  • In a group, order of a is the smallest positive integer k with a^k = e (additive: ka = e).
  • Lagrange (statement level): order of an element divides |G| for finite G — useful for eliminating options.
  • (Z_n, +) has order n; generator 1 has order n. Element k has order n/gcd(k,n).
  • (Z_n^*, ×) units modulo n form a group; for prime p, Z_p^* has order p−1.
  • Know small cyclic groups: every group of prime order is cyclic (exam fact).

Formulas to remember

  • In (Z_n, +): order of k is n / gcd(k,n)
  • |Z_p^*| = p−1 for prime p

Worked example

Problem. In (Z_6, +), order of 4?

Solution. gcd(4,6)=2 ⇒ order = 6/2 = 3. Check: 4, 2, 0 — yes, three steps to 0.

Homomorphisms (light GATE touch)

  • A group homomorphism φ: G→H satisfies φ(a∗b)=φ(a)·φ(b). It sends e_G to e_H and inverses to inverses.
  • Kernel = {g | φ(g)=e_H}. Image is a subgroup of H (statement level).
  • GATE may ask whether a given map is a homomorphism — check the functional equation on a few pairs.
  • Skip isomorphism theorems unless a specific PYQ forces them.

Rings (exam level)

  • Ring (R, +, ·): (R,+) abelian group; · associative; · distributes over + on both sides.
  • Ring with unity: multiplicative identity 1. Commutative ring: · commutative.
  • Zero ring / trivial examples aside: Z, Z_n, R[x] polynomials, M_n(R) (non-commutative for n≥2).
  • Units: elements with multiplicative inverses. In Z_n, units are classes coprime to n.
  • Field: commutative ring with unity where every nonzero element is a unit (Q, R, Z_p for prime p).
  • Do not over-invest in ideals/modules unless your PYQ set demands it.
StructureExtra beyond ringExample
Ring—(Z, +, ·); (Z_n, +, ·)
Comm. ring +1· commutative, unityZ, Z_n
FieldEvery nonzero invertibleQ, R, Z_p
Matrix ringOften non-comm ·M_2(R)

Quick decision checklist

  • Always test closure first — many options die immediately.
  • Then identity (does some e act as left and right identity for all?).
  • Then inverses (only after identity is fixed).
  • Commutativity is independent of “being a group” — groups need not be abelian.
  • Keep ready non-examples: (N,−), (N,÷), (N,+), (odd,+), (Z,−).

Exam tips

  • Write the axiom ladder on scrap paper and tick what the stem gives you.
  • Closure failures are free marks — check the codomain of the operation first.
  • Identity must work for every element, not just “looks like zero” in one row.
  • In finite Cayley tables, a repeated entry in a row ⇒ not a group.
  • (N, −) and (N, ÷) are classic non-operations/non-groups — keep them ready.
  • For Z_n additive order: order(k)=n/gcd(k,n).
Exam pattern · 10 questions

GATE sample questions & answers

10 GATE-style MCQs for Algebraic Structures with full explanations. Attempt each question before revealing the answer.

Q1 Group vs monoid non-examples

Which of the following is a group?

  • A) (N, +)
  • B) (Z, −)
  • C) (Q\{0}, ×)
  • D) (N, ×)
Show answer & explanation

Answer: C

(Q\{0}, ×) is an abelian group. (N,+) and (N,×) lack inverses; (Z,−) is not associative and not a group under subtraction.

Q2 Associativity definition

A binary operation ∗ on S is associative iff:

  • A) a∗b = b∗a for all a,b
  • B) (a∗b)∗c = a∗(b∗c) for all a,b,c
  • C) There exists e with e∗a = a
  • D) Every element has an inverse
Show answer & explanation

Answer: B

Associativity is the triple product identity. A is commutativity; C/D are identity/inverse.

Q3 Z_n order

Number of elements in the additive group Z_5 is:

  • A) 4
  • B) 5
  • C) 6
  • D) 10
Show answer & explanation

Answer: B

Z_5 = {0,1,2,3,4} under + mod 5 has 5 elements.

Q4 Additive inverse in Z_n

In (Z_7, +), the inverse of 5 is:

  • A) 1
  • B) 2
  • C) 3
  • D) 5
Show answer & explanation

Answer: B

5+2 ≡ 0 (mod 7).

Q5 Monoid not group

Which structure is a monoid but NOT a group?

  • A) (Z, +)
  • B) (R\{0}, ×)
  • C) (N, +)
  • D) (Z_5, +)
Show answer & explanation

Answer: C

(N,+) has identity 0 and is associative, but positive integers lack additive inverses in N.

Q6 Finite group table property

If (G,∗) is a finite group, which must be TRUE of its Cayley table?

  • A) The table is symmetric about the diagonal
  • B) Each element appears exactly once in each row and each column
  • C) The diagonal is all identity
  • D) The operation is max
Show answer & explanation

Answer: B

Latin-square property of finite group tables. Symmetry holds only if abelian; diagonal all e would mean a∗a=e for all a.

Q7 Element order in Z_n

Order of 4 in the group (Z_6, +) is:

  • A) 1
  • B) 2
  • C) 3
  • D) 6
Show answer & explanation

Answer: C

order = 6/gcd(4,6)=6/2=3.

Q8 Field Z_p

Which of the following is a field?

  • A) Z
  • B) Z_6
  • C) Z_5
  • D) N
Show answer & explanation

Answer: C

Z_p is a field for prime p. Z is not (2 has no inverse); Z_6 has zero divisors (2·3=0); N is not even a ring under usual −.

Q9 Ring axioms

For a ring (R,+,·), which axiom is required?

  • A) (R,·) is a group
  • B) (R,+) is an abelian group and · distributes over +
  • C) Every element has a multiplicative inverse
  • D) · is commutative
Show answer & explanation

Answer: B

Ring: abelian additive group + associative · + distributivity. Multiplicative inverses/commutativity are extra (units/field/commutative ring).

Q10 gcd monoid identity

Identity element for ({1,2,3,6}, gcd) — if it is a monoid — would be:

  • A) 1
  • B) 6
  • C) 2
  • D) No identity exists
Show answer & explanation

Answer: B

gcd(6,x)=x for x in {1,2,3,6}, so 6 acts as identity (absorbing the other way is 1 for lcm). gcd is associative/commutative on this set.

Topic drill · 10 questions

10 practice questions — Algebraic Structures

Extra page-specific practice beyond the GATE samples. Attempt all 10, then reveal answers to check your reasoning.

P1

Which operation is NOT a binary operation on N = {0,1,2,…}?

  • A) Addition
  • B) Multiplication
  • C) max
  • D) Subtraction
Show answer & explanation

Answer: D) Subtraction

a−b may be negative ∉ N. +, ×, max map N×N into N.

P2

Identity element of (Z, +) is:

  • A) 1
  • B) 0
  • C) −1
  • D) Does not exist
Show answer & explanation

Answer: B) 0

0+a = a+0 = a for all a ∈ Z.

P3

In (Z_8, +), inverse of 6 is:

  • A) 1
  • B) 2
  • C) 4
  • D) 6
Show answer & explanation

Answer: B) 2

6+2 ≡ 0 (mod 8).

P4

Which is a non-abelian group?

  • A) (Z, +)
  • B) (Z_5, +)
  • C) GL_2(R) (invertible 2×2 real matrices under ×)
  • D) (Q\{0}, ×)
Show answer & explanation

Answer: C) GL_2(R) (invertible 2×2 real matrices under ×)

Matrix multiplication is not commutative in general; the others are abelian.

P5

Number of units in Z_7 under multiplication mod 7 is:

  • A) 5
  • B) 6
  • C) 7
  • D) 4
Show answer & explanation

Answer: B) 6

Z_7 is a field ⇒ all nonzero classes 1…6 are units → 6.

P6

({0,1}, XOR) as bits is:

  • A) Not closed
  • B) A monoid but not a group
  • C) An abelian group
  • D) Only a semigroup
Show answer & explanation

Answer: C) An abelian group

XOR is associative, commutative, closed; identity 0; each bit is its own inverse. ≅ Z_2.

P7

Order of 3 in (Z_9, +) is:

  • A) 3
  • B) 9
  • C) 1
  • D) 6
Show answer & explanation

Answer: A) 3

9/gcd(3,9)=9/3=3. Indeed 3+3+3≡0 (mod 9).

P8

Which map φ: (Z,+) → (Z,+) is a group homomorphism?

  • A) φ(x)=x+1
  • B) φ(x)=2x
  • C) φ(x)=x²
  • D) φ(x)=|x|
Show answer & explanation

Answer: B) φ(x)=2x

φ(x+y)=2(x+y)=2x+2y=φ(x)+φ(y). φ(x)=x+1 fails φ(0)=1≠0; squares and abs are not additive.

P9

In a ring with unity, the additive identity 0 and multiplicative identity 1 satisfy:

  • A) 0=1 always
  • B) 0·a = 0 for all a
  • C) 1+1=0 always
  • D) Every element is a unit
Show answer & explanation

Answer: B) 0·a = 0 for all a

Absorbing property of 0 under multiplication holds in any ring. 0=1 only in the zero ring; not every ring is a field.

P10

Which statement is FALSE?

  • A) Every group is a monoid
  • B) Every monoid is a semigroup
  • C) Every semigroup is a group
  • D) Every abelian group is a group
Show answer & explanation

Answer: C) Every semigroup is a group

Semigroups need not have identity or inverses. A, B, D follow the axiom ladder.

Topic FAQs

Do I need homomorphism theorems for GATE?

Usually no. Prioritise axioms, identity/inverses, Cayley tables, and standard examples. Deep group/ring theory is out of scope for most papers.

Is every monoid a group?

No. A monoid needs inverses to become a group. (N, +) and (N, ×) are standard monoids that are not groups.

What is the difference between a ring and a field?

A field is a commutative ring with unity in which every nonzero element has a multiplicative inverse (e.g. Q, Z_p). Z is a ring that is not a field.

How do I spot the identity in a Cayley table?

Find the row that exactly copies the column headers (and verify the matching column copies the row headers). That label is e.

Quick revision · 10 cards

10 flashcards — Algebraic Structures

Hover a card to reveal the answer with a 3D flip. On touch devices, tap the card or use Show answer.

Q1 Define semigroup, monoid, and group.
Q2 What is an abelian group?
Q3 Why is (N, +) not a group?
Q4 How do you find the identity in a Cayley table?
Q5 What is the order of k in (Z_n, +)?
Q6 State the Latin-square property of a finite group table.
Q7 Give the ring axioms at GATE depth.
Q8 When is Z_n a field?
Q9 What is (a∗b)⁻¹ in a group?
Q10 Is (Z, −) a group?