Skip to content
Official PYQ · 2017

GATE CS 2017 Set 1 Q16 — Normal Forms

Explain with AI

The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}R\left \{V,W,X,Y,Z \right \}:

  • V→WV \rightarrow W
  • VW→XVW \rightarrow X
  • Y→VXY \rightarrow VX
  • Y→ZY \rightarrow Z

Which of the following is irreducible equivalent for this set of functional dependencies?

Choose one option
View worked solution

Answer: A

To find the irreducible equivalent (also known as the minimal cover or canonical cover) of the given set of functional dependencies (FDs), we follow a systematic three-step process:

Step 1: Decompose the Right-Hand Side (RHS)

Split all FDs so that each has only a single attribute on the right-hand side:

  1. V→WV \rightarrow W
  2. VW→XVW \rightarrow X
  3. Y→VY \rightarrow V
  4. Y→XY \rightarrow X
  5. Y→ZY \rightarrow Z

Step 2: Remove Extraneous Attributes from Left-Hand Side (LHS)

Consider the dependency VW→XVW \rightarrow X with multiple attributes on the LHS:

  • To check if WW is extraneous, we compute the attribute closure of VV under the current set of FDs: V+={V,W}V^+ = \{V, W\} Since W∈V+W \in V^+, the attribute WW is redundant on the LHS of VW→XVW \rightarrow X.
  • Thus, we can simplify VW→XVW \rightarrow X to V→XV \rightarrow X.

Our updated set of FDs is now:

  1. V→WV \rightarrow W
  2. V→XV \rightarrow X
  3. Y→VY \rightarrow V
  4. Y→XY \rightarrow X
  5. Y→ZY \rightarrow Z

Step 3: Remove Redundant Functional Dependencies

We test each FD to see if it can be derived from the remaining FDs:

  • Test Y→XY \rightarrow X:
    Compute the closure of YY using all FDs except Y→XY \rightarrow X: Y+={Y}→Y→V{Y,V}→V→X,V→W{Y,V,W,X}Y^+ = \{Y\} \xrightarrow{Y \rightarrow V} \{Y, V\} \xrightarrow{V \rightarrow X, V \rightarrow W} \{Y, V, W, X\} Since X∈Y+X \in Y^+, the dependency Y→XY \rightarrow X is redundant and can be safely removed.
  • Testing the remaining FDs (V→WV \rightarrow W, V→XV \rightarrow X, Y→VY \rightarrow V, and Y→ZY \rightarrow Z) shows that none of them are redundant.

The final irreducible set of functional dependencies is:

  • V→WV \rightarrow W
  • V→XV \rightarrow X
  • Y→VY \rightarrow V
  • Y→ZY \rightarrow Z

This matches Option A.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Normal Forms questions