Skip to content

Fourth Normal Form

A relational schema is in 4NF when every nontrivial multivalued dependency that holds on it has a superkey as its determinant.

Version
v1 · 2026-10-03 · History
Domain-specific #
13241
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Database Theory → Computer Science & Software Engineering
Aliases
4NF

Core Idea

A relational schema is in fourth normal form (4NF) when every nontrivial multivalued dependency \(X\twoheadrightarrow Y\) that holds on it has \(X\) as a superkey. The test catches redundant independent multivalued associations that functional-dependency normal forms can miss. Fagin proved 4NF is strictly stronger than BCNF and that schemata can be decomposed into 4NF without information loss.

How would you explain it like I'm…

Keep Separate Lists Separate

Say a friend can play soccer and piano, and speaks English and Spanish, and these two lists have nothing to do with each other. If you write them in one big chart, you have to write every mix: soccer-English, soccer-Spanish, piano-English, piano-Spanish. That is a lot of repeating and easy to mess up. Fourth Normal Form is a rule that says to keep two separate short lists instead, but only when the lists really are separate.

Don't Mix Independent Lists

Databases store information in tables. Sometimes one thing, like an employee, has several skills and several languages, and the skills and languages don't depend on each other. If you put them in one table, you must list every skill paired with every language, which repeats a lot and makes mistakes easy when you update. Fourth Normal Form is a rule that stops this: it says such independent lists should be split into their own tables, like Employee–Skill and Employee–Language. But you only split them if they really are independent; if a language goes with a particular skill, splitting would invent fake pairs.

Multivalued-Dependency Normal Form

Fourth Normal Form (4NF) is a rule for designing database tables, called relations. It deals with 'multivalued dependencies': X →→ Y means that, for each value of X, the set of Y values is independent of the other attributes. 4NF requires that for every nontrivial multivalued dependency, X must be a superkey, meaning X alone identifies a whole row. It is stricter than Boyce–Codd normal form, which only handles ordinary functional dependencies. For example, if an employee's skills and languages vary independently, a combined table must contain every skill–language combination, causing repetition and update problems; splitting it into two tables fixes that without losing information. The example is motivation, though, not the definition, and if the facts aren't truly independent, splitting can create false combinations.

 

Fourth normal form (4NF) is a condition on a relational schema together with the dependencies holding on it: for every nontrivial multivalued dependency X ↠ Y, the determinant X must be a superkey. An MVD is nontrivial when Y is not a subset of X and X ∪ Y does not cover all attributes of the relation. A superkey functionally determines the entire tuple. Because MVDs generalize FDs (every FD implies an MVD), Fagin's formulation makes 4NF strictly stronger than BCNF. The classic motivation: if an employee's skills and languages vary independently, an Employee–Skill–Language relation must contain the full cross product of skills and languages per employee, producing redundancy and update anomalies. Decomposing into Employee–Skill and Employee–Language is then lossless. The decomposition is only justified if the MVD actually holds; if language depends on skill or on some joint fact, splitting and rejoining can generate spurious tuples.

Scope of Application

In Fagin's original T(EMPLOYEE, CHILD, SALARY, YEAR), Gauss's two children Gwendolyn and Greta are each paired with the salary-history facts ($40K, 1975) and ($50K, 1976). The history is repeated, but SALARY and YEAR remain a single paired fact. T has no nontrivial FDs and is in BCNF; EMPLOYEE ↠ CHILD is a nontrivial MVD with non-superkey determinant, so it is not 4NF. The two projections T1(EMPLOYEE, CHILD) and T2(EMPLOYEE, SALARY, YEAR) give two rows apiece for Gauss and join to the same four source combinations. An Employee–Skill–Language analogy works only if skills and languages likewise vary independently for every intended state.

Clarity

At fixed \(X\), an MVD says relevant \(Y\) choices can recombine with the remaining attributes. A dependency is trivial if \(Y\subseteq X\) or \(X\cup Y\) covers the entire schema. If teacher and textbook are actually paired for each course, splitting them into independent course lists would invent false combinations.

Manages Complexity

4NF turns “this table repeats combinations” into a precise superkey-and-MVD test. The formal condition itself has no universal intrinsic two-sided tradeoff: costs of query performance or cross-table constraint enforcement arise in a particular implementation, not in the truth of the 4NF predicate. A table sample cannot establish its underlying MVD by appearance alone.

Abstract Reasoning

Declare schema semantics and keys, establish all true MVDs, discard trivial ones, and test each determinant for superkey status. For a violation, decompose only if the MVD justifies a lossless join; check other constraints separately.

Knowledge Transfer

The criterion works across relational domains, but the truth of a multivalued dependency depends on each domain's facts. Its portable skeleton is a universal determinant-adequacy test; its exact tuple-swap, superkey and lossless-join machinery make it a domain-specific relational identity, not a generic prime for reducing repetition. Formal 4NF implies BCNF and the condition-level 3NF predicate, but the full live Third Normal Form body also describes violation-driven decomposition, which a 4NF schema need not undergo. With no live BCNF intermediate and no suitable strict parent, this entry is a missing-intermediate-gated unparented root.

Relationships to Other Abstractions

Local relationship map for Fourth Normal FormParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Fourth Normal FormDOMAINDomain-specific abstraction: Essential Tuple Normal Form — is a kind ofEssential TupleNormal FormDOMAIN

Current abstraction Fourth Normal Form Domain-specific

Foundational — no parent edges in the catalog.

Children (1) — abstractions linked here by typed relations

  • Essential Tuple Normal Form Domain-specific is a kind of Fourth Normal Form

    An ETNF schema satisfies the 4NF dependency condition, but a 4NF schema need not be ETNF.

Neighborhood in Abstraction Space

Fourth Normal Form sits in a sparse region of the domain-specific corpus (88th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Recursive Construction Schemes (8 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14