Functional Dependencies
- An attribute is functionally dependent if its value is determined by
another attribute.
- That is, if we know the value of one (or several) data items, then we can find
the value of another (or several).
- Functional dependencies are expressed as X
Y,
where X is the determinant and Y is the functionally dependent
attribute.
- That is, X
Y
means "if I know the value of X, then I can look up the value of
Y" (in a table or somewhere).
- If A
(B,C)
then A
B
and A
C.
- If (A,B)
C,
then it is not necessarily true that A
C
and B
C.
- If X
Y
and Y
X,
then X and Y are in a 1-1 relationship.
- Bottom line: X
Y
is like a mathematical function Y=f(X) since for each value of X there must
be a unique value of Y, e.g. y=x+x.