I am confused on how to compute the closure under a set of FDs. The actual question that I have is
Relation R{A, B, C, D, E} satisfies the following FDs: A→D AB → C E→B
Compute the closure of {A,E}+ under this set of FD. Also what is the candidate key?
Here is what I thought the answer would be but I have no idea if I am correct. I tried looking it up online, but nothing really helped me out. So hopefully someone here can help me.
A→A
A→AB
A→ABCD
A→ABCDE
A candidate key would be A.
Is this correct? Also I don't know why the formatting looks weird.... I indented 4 spaces for code....