I have tried to reach out to my instructor with no luck and I really want to understand this process, but no matter how much I read the material I cannot seem to make this fit in my little brain. Can someone please help me with the following questions?
A-->BCD
BC-->DE
B-->D
D-->A
a. Compute B+.
I believe that this one is as follows. Does this seem to be correct?
B+ denotes closure of B.
B --> D
B+ = {BD}
D --> A
B+ = {ABD}
A --> BCD
B+ = {ABCD}
BC --> DE
B+ = {ABCDE}
All the attributes of the relation can be found by B. So, B is the primary key of the relation.
b. Prove (using Armstrong’s axioms) that AF is a superkey.
I do not understand what to do with F, because it does not show up in the above relationships.
c. Compute a canonical cover for the above set of functional dependencies F; give each step of your derivation with an explanation.
d. Give a 3NF decomposition of r based on the canonical cover.
Part C: canonical cover
Remove D from BC->DE
A->BCD, BC->E, B->D, D->A
Remove D from A->BCD
A->BC, BC->E, B->D, D->A
Decompose A->BC
A->B, A->C, BC->E, B->D, D->A
Remove C from BC->E
? : B->D->A->C => B->C => B->BC->E => B->E ? : B+:: B->BD->ABD->ABCD->ABCDE (E is an element of B+) A->B, A->C, B->E, B->D, D->A