All Exams Test series for 1 year @ ₹349 only
Question

In the context of schema normalization in relational DBMS, consider a set F of functional dependencies. The set of all functional dependencies implied by F is called the closure of F. To compute the closure of F, Armstrong's Axioms can be applied. Consider $X$, $Y$, and $Z$ as sets of attributes over a relational schema. The three rules of Armstrong's Axioms are described as follows.

Reflexivity: If $Y \subseteq X$, then $X \rightarrow Y$
Augmentation: If $X \rightarrow Y$, then $XZ \rightarrow YZ$ for any $Z$
Transitivity: If $X \rightarrow Y$ and $Y \rightarrow Z$, then $X \rightarrow Z$

The additional rule of Union is defined as follows.

Union: If $X \rightarrow Y$ and $X \rightarrow Z$, then $X \rightarrow YZ$

It can be proved that the additional rule of Union is also implied by the three rules of Armstrong's Axioms. Listed below are four combinations of these three rules. Which one of these combinations is both necessary and sufficient for the proof ?

The correct answer is
Augmentation and Transitivity

Armstrong's Axioms for Functional Dependencies

Armstrong's Axioms are foundational inference rules for functional dependencies (FDs) in relational database systems. The three primary axioms are Reflexivity, Augmentation, and Transitivity. The Union rule states: If $X \rightarrow Y$ and $X \rightarrow Z$, then $X \rightarrow YZ$. The question asks for the axioms necessary and sufficient to prove that the Union rule is implied by the basic three.

Proving the Union Rule

The Union rule can be proven using Augmentation and Transitivity. These two axioms provide the necessary mechanisms to derive new dependencies from existing ones, forming the basis for this proof.

Proof Steps:

  1. Given FDs: $X \rightarrow Y$ and $X \rightarrow Z$.
  2. Apply Augmentation: Using the Augmentation rule on $X \rightarrow Z$ with attribute set $Y$, we derive $XY \rightarrow YZ$.
  3. Apply Transitivity: We now have $X \rightarrow Y$ (given) and $XY \rightarrow YZ$ (derived). The Transitivity axiom ($A \rightarrow B$ and $B \rightarrow C$ implies $A \rightarrow C$) allows us to chain dependencies. By considering $X \rightarrow Y$ and $XY \rightarrow YZ$, Transitivity connects these to yield $X \rightarrow YZ$. The necessary link $X \rightarrow XY$ is implicitly handled in this derivation context.

Augmentation extends dependencies, and Transitivity chains them, making them sufficient for deriving the Union rule.

Conclusion

The combination of Augmentation and Transitivity is both necessary and sufficient for proving the Union rule.

Was this answer helpful?

Important Questions from Functional Dependency

  1. Relation R has eight attributes ABCDEFGH. Fields of R contain only atomic values.

    F = {CH → G, A → BC, B → CFH, E → A, F → EG} is a set of functional dependencies (FDs) so that F+ is exactly the set of FDs that hold for R.

    The relation R is

  2. Consider the following database table having A, B, C and D as its four attributes and four possible candidate keys (I, II, III and IV) for this table :
    ABCD
    $a_1$$b_1$$c_1$$d_1$
    $a_2$$b_3$$c_3$$d_1$
    $a_1$$b_2$$c_1$$d_2$

    I : {B} II : {B, C} III : {A, D} IV : {C, D}
    If different symbols stand for different values in the table (e.g., $d_1$ is definitely not equal to $d_2$), then which of the above could not be the candidate key for the database table ?
  3. Let $P, Q, R$ and $S$ be the attributes of a relation in a relational schema. Let $X \rightarrow Y$ indicate functional dependency in the context of a relational database, where $X, Y \subseteq \{P, Q, R, S\}$.
    Which of the following options is/are always true?
  4. Let R = ABCDE is a relational scheme with functional dependency set F = {A → B, B → C, AC → D}. The attribute closures of A and E are

  5. A relation R = {A, B, C, D, E, F,G} is given with following set of functional dependencies :

    F = {AD → E, BE → F, B → C, AF → G}

    Which of the following is a candidate key ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App