GATE / CS ARCHIVE

GATE CSE 1998 / QUESTION 10(b)

Repeated powers of a cycle relation

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 1998 paper

GATE 1998, Q10(b) Descriptive
Report issue

Sets, Relations & Functions

Question 10(b), GATE 1998: R consists of directed cycles a→b→c→a and d→e→f→g→h→d. Find the smallest integers m<n with R^m=R^n.
Question 10(b), GATE 1998: R consists of directed cycles a→b→c→a and d→e→f→g→h→d. Find the smallest integers m<n with R^m=R^n.
Question 10(b), GATE 1998: R consists of directed cycles a→b→c→a and d→e→f→g→h→d. Find the smallest integers m<n with R^m=R^n.
Tap to enlarge
Answer & solution

Answer: For positive powers: m=1,n=16. If R^0 is allowed: m=0,n=15. (no official key was published)

Each vertex has exactly one outgoing edge, so R is a permutation: a 3-cycle and a disjoint 5-cycle. Rt sends each vertex t positions forward around its component, because composition corresponds to a path of length t.

On the 3-cycle, Rm and Rn agree exactly when n−m is divisible by 3. On the 5-cycle, they agree exactly when n−m is divisible by 5. Both requirements hold precisely when 15=lcm(3,5) divides n−m. Necessity follows by inspecting even one vertex in each component; sufficiency follows because a multiple of a cycle's length returns every vertex to its starting position.

Thus R15 is the identity relation on the eight vertices, and R16=R. If powers are numbered from 1, the smallest first exponent is m=1 and the smallest later matching exponent is n=16. If the standard zeroth power R0=I is permitted, the earliest pair is instead (0,15). The printed wording says “integers” without explicitly restricting them to positive powers, so both conventions must be disclosed.

If one extends this permutation relation to negative powers and allows all integers, there is no smallest pair: (m,m+15) works for arbitrarily negative m. Ordinary relation-power questions use nonnegative or positive exponents.

It is incorrect to use 3+5=8 as the period: both components must return simultaneously, which requires a common multiple rather than a sum. Neither cycle contains a self-loop, and there are no cross-component edges; adding either would change the relation being analyzed.

Original paper, page 6