retagged by
299 views
1 votes
1 votes

Consider the following set of FDs on a relation $R(ABCDE)$:

$F1 = \{ A \rightarrow B, \ AB \rightarrow C, \ D \rightarrow AC, \ D \rightarrow E \}$
$F2 = \{ A \rightarrow BC, \ D \rightarrow AE \}$

Which of the following is TRUE regarding $F1$ and $F2$?

  1. $F2$ covers $F1$, but $F1$ doesn’t cover $F2$.
  2. $F1$ covers $F2$, but $F2$ doesn’t cover $F1$.
  3. $F1$ is equivalent to $F2$.
  4. $F1$ is not equivalent to $F2$.
retagged by

1 Answer

Best answer
1 votes
1 votes
F1 covers F2 means all the FD's of F2 can be determined by F1

FD's are :

F1 = { A --> B, AB --> C, D --> AC, D--> E }
F2 = { A --> BC, D --> AE }

Considering F1 covers F2:

FD of  F2 A->B is directly determined in F1 by A->B

FD of F2 A->C is Determined in F1 by  AB->C where in AB B is redundant attribute as A->B so we can say A->C

FD of F2 D->A is determined in F1 by D->A

FD of F2 D->E is determined in F1 by D->E

therefore F1 covers F2--------------------------------(1)

Now considering F2 covers F1:

FD of  F1 A->B is directly determined in F2 by A->B

FD of F1 AB->C is determined in F2 by  A->B and A->C therefore AB->C

FD of F1 D->A is determined in F2 by D->A

FD of F1 D->C is determined in F2 by D->A and A->C therefore D->C

FD of F1 D->E is determined in F2 by D->E

therefore F2 covers F1--------------------------(2)

From (1) and (2) F1 is equivalent to F2
selected by
Answer:

Related questions

3 votes
3 votes
1 answer
2
3 votes
3 votes
1 answer
3
Bikram asked Aug 26, 2017
666 views
Decompose the following table into BCNF:$R(ABCD)$$A \rightarrow C$$C \rightarrow A$$AB \rightarrow D$The result is:(AC) (ABD)(AC) (CBD)(AB)(BAD)Both (A) & (B)
1 votes
1 votes
2 answers
4
Bikram asked Aug 26, 2017
331 views
The relation R (ABCDE) with FD set $\{AB \rightarrow CDE, \ A \rightarrow C, \ C \rightarrow D\}$ is in which of the following normal forms? 1NF but not in 2NF in both 2...