Sep 21, 2024
y = f(x) (e.g., y = x² + 2x + 1), then y is functionally dependent on x.x allows us to determine the value of y, then y is functionally dependent on x.In a table with attributes Roll Number and Name:
Roll Number is known, Name can be determined, thus Name is functionally dependent on Roll Number.Table Example:
| Employee ID | First Name | Last Name |
|---|---|---|
| 1 | Ria | Singh |
| 1 | Rahul | Kumar |
Employee ID does not uniquely determine First Name because multiple names correspond to the same ID.x and y, if x determines y, then for any two records with the same value of x, the corresponding values of y must be the same.Employee ID, check whether values of First Name and Last Name are consistent for the same ID.Y is a subset of X, then X determines Y.X determines Y, then X, Z determines Y, Z for any Z.X determines Y and Y determines Z, then X determines Z.X determines Y and X determines Z, then X determines Y, Z.X determines Y, Z, then X determines Y and X determines Z.X determines Y is trivial if Y is a subset of X. Example: Employee ID determines Employee ID.X determines Y is non-trivial if Y is not a subset of X. Example: Employee Name determining Employee ID needs to be verified by checking the data table.