Problems - Normalization
Problems Given: Relation: R(A, B, C, D, E) Functional Dependencies: A → B A → C BC → D D → E i. Identify the candidate key(s). ii.Determine whether R is in 1NF, 2NF, and 3NF. Give reasons for each. iii. If R is not in 3NF, decompose it into 3NF relations. (i) Find Candidate Key(s) Step 1: Find closure of A Compute A + A^+ A + : A → B, C ⇒ {A, B, C} BC → D ⇒ {A, B, C, D} D → E ⇒ {A, B, C, D, E} 👉 A + = { A , B , C , D , E } A^+ = \{A, B, C, D, E\} A + = { A , B , C , D , E } ✅ Conclusion: A determines all attributes So, A is a candidate key Check others (brief): No smaller subset exists So only one candidate key ✅ Answer: Candidate Key = {A} (ii) Normal Forms ✅ 1NF (First Normal Form) Assumes atomic attributes (given in question) ✔ R is in 1NF ✅ 2NF (Second Normal Form) Rule: No partial dependency on candidate key 👉 Candidate key = A (single attribute) Partial dependency happens only with composite keys Here ke...