GATE / CS ARCHIVE

GATE CSE 2026 SET 2 / QUESTION 42

Deriving the union rule for functional dependencies

Database Management Systems · Functional Dependencies & Keys · Full GATE CSE 2026 Set 2 paper

GATE 2026 Set 2, Q42 2 marks · MCQ
Report issue

Functional Dependencies & Keys

Question 42, GATE 2026: Armstrong rules are reflexivity (Y⊆X implies X→Y), augmentation (X→Y implies XZ→YZ), and transitivity. To derive union, X→Y and X→Z imply X→YZ, which listed rule set is necessary and sufficient? A all three; B reflexivity+augmentation; C transitivity; D augmentation+transitivity.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Givens and goal

Armstrong rules are reflexivity (Y⊆X implies X→Y), augmentation (X→Y implies XZ→YZ), and transitivity. To derive union, X→Y and X→Z imply X→YZ, which listed rule set is necessary and sufficient? A all three; B reflexivity+augmentation; C transitivity; D augmentation+transitivity.

Approach

Construct a proof that does not use reflexivity, then rule out the smaller listed alternatives.

Step-by-step solution

1. Augment the premise X→Y with X. Because attribute-set union is idempotent, XX=X; this gives X→XY.
2. Augment the premise X→Z with Y. This gives XY→ZY, which is XY→YZ because attribute-set union is commutative.
3. Apply transitivity to X→XY and XY→YZ to obtain X→YZ. Thus augmentation and transitivity suffice, with no application of reflexivity.
4. Transitivity alone cannot generally introduce a new combined right-hand-side set. For singleton distinct attributes X={x},Y={y},Z={z}, the two premises x→y and x→z provide no chain yielding x→yz.
5. Reflexivity and augmentation without transitivity also do not generally combine two premises. Starting from x→y, augmentation by z yields xz→yz, not x→yz; starting from x→z and adding y yields xy→yz. Removing the added left-side attribute requires a further inference not available in those two rules.
6. The minimal listed combination for the general derivation is D. This necessity concerns the rule schema for arbitrary attribute sets, not special cases where Y or Z is already contained in another set.

Original paper, page 29 · Answer key