Question

5c. Consider the relation R(ABCDE) with the set of functional dependencies F={BE→D, DE→A, AD→C, B→E}. Using...

5c. Consider the relation R(ABCDE) with the set of functional dependencies F={BE→D, DE→A, AD→C, B→E}.

Using decomposition, find a lossless, dependency preserving, BCNF set of relations for R, if such exists. Be sure to identify the projections of the functional dependencies onto the resulting relations at each stage of the decomposition.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:

The R.H.S of the functional dependencies contains the attributes A, C, D, and E. Hence the candidate key must contain the attribute B.

If we take the closure of B or (B)+ we get:-

(B)+ = {BE} [ as B->E]

or,

(B)+ = {BDE} [ as BE->D]

or,

(B)+ = {ABDE} [ as DE->A]

or,

(B)+ = {ABCDE} [ as AD->C]

As (B)+ contains all the attributes in its closure so, it is a candidate key.

As B is a single attribute candidate key and every candidate key must include it so, it is the only candidate key.

This relation is in 2NF and not in 3NF because there are non-prime attributes that are transitively dependent on the candidate ke

Add a comment
Know the answer?
Add Answer to:
5c. Consider the relation R(ABCDE) with the set of functional dependencies F={BE→D, DE→A, AD→C, B→E}. Using...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT