Given the following relation instance.
Which of the following functional dependencies are satisfied by the instance?
View worked solution
Answer: B
A functional dependency is satisfied by a relation instance if and only if for any two tuples and in the relation, implies . If all values of the determinant attribute are unique in the instance, then is trivially satisfied.
Let's evaluate the given relation instance:
Let's check the functional dependencies in Option B:
- Checking :
The values of the composite attribute for each row are:
- Row 1:
- Row 2:
- Row 3:
- Row 4:
Since all pairs are unique, is satisfied.
- Checking :
The values of are and . Since all values of are unique, is trivially satisfied.
Thus, both and are satisfied by the relation instance.
Why other options are incorrect:
- Option A: is violated because maps to both (Row 1) and (Row 4).
- Option C: is violated because maps to both (Row 1) and (Row 2).
- Option D: is violated because maps to both (Row 2) and (Row 3).
Free practice · Your answers on this page are not saved.
