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

Fourth normal form (4NF) is a condition on a relational schema and the dependencies that hold on it. For every nontrivial multivalued dependency \(X\twoheadrightarrow Y\), the determinant \(X\) must be a superkey. An MVD is nontrivial when \(Y\not\subseteq X\) and \(X\cup Y\) does not cover all attributes of the relation. A superkey functionally determines the whole tuple. Ronald Fagin's original formulation makes 4NF strictly stronger than Boyce–Codd normal form (BCNF), because it constrains multivalued dependencies (MVDs), not only functional dependencies (FDs).[1]

Suppose employee skills and spoken languages vary independently. In a combined Employee–Skill–Language relation, every skill–language combination for one employee must appear if the MVDs really hold. Repetition creates possible update anomalies. Splitting into Employee–Skill and Employee–Language projections then restores a lossless representation of those independent facts. But the example is a motivation, not the definition. If language depends on the skill or another joint fact, the MVD does not hold and the split may invent combinations.[1]

Structural Signature

  1. Relation schema \(R\): a declared attribute set, with semantics specifying which states are legal.
  2. MVD \(X\twoheadrightarrow Y\): at a fixed \(X\), choices of \(Y\) can be recombined with choices of the remaining attributes \(Z=R-(X\cup Y)\). Formally, suitable tuples agreeing on \(X\) can swap their \(Y\) and \(Z\) components while remaining in the relation.[1]
  3. Nontriviality: exclude cases where \(Y\subseteq X\) or \(X\cup Y=R\).
  4. Superkey test: for every remaining MVD, \(X\) functionally determines all attributes of \(R\).
  5. 4NF verdict: a single true nontrivial MVD with non-superkey \(X\) witnesses a violation.
  6. Optional repair: decompose on the violating MVD into projections \(R[X\cup Y]\) and \(R[X\cup Z]\); a true MVD licenses a lossless join of those projections.[1]

Condensed: all nontrivial MVD determinants are superkeys \(\Longleftrightarrow\) 4NF.

Sig role-phrases: declared relational schema; true tuple-swap MVD; nontriviality filter; determinant superkey test; lossless projections only under the MVD premise.

What It Is Not

  • Not merely BCNF or third normal form. Those conditions focus on FDs; a BCNF schema can still have a nontrivial MVD with a nonkey determinant.[1]
  • Not an instruction to split every table containing multiple lists. A decomposition is valid only if the claimed independence dependency actually holds.
  • Not inferred from one finite table instance. A sample may coincidentally contain all combinations; an MVD is a semantic/schema constraint over all allowed states.
  • Not a guarantee of perfect database design. A lossless split does not automatically preserve every other constraint, optimize queries or determine physical storage.
  • Not “one table per fact” as a formal test. The exact superkey and nontrivial-MVD conditions decide the class.

Scope of Application

4NF belongs to relational database design. It is especially relevant when one identifier anchors two independent sets of values: children and salary-history records in Fagin's original example, or skills and languages in a simplified employee model. Fagin's four-attribute schema T*(EMPLOYEE, CHILD, SALARY, YEAR) has no nontrivial functional dependencies and so is in BCNF, yet EMPLOYEE ↠ CHILD and EMPLOYEE ↠ {SALARY, YEAR} hold while EMPLOYEE is not a superkey. The pair {SALARY, YEAR} matters as a unit: the source expressly warns that independence of salary history from children does not license separating SALARY from YEAR. Fagin proved that relation schemata can be decomposed into 4NF components without information loss.[1]

The word independent must be grounded in business meaning. If every employee skill can coexist with every employee language and neither association constrains the other, the MVD expresses the intended states. If an employee uses one language only for one skill, a combined tuple carries a real pairing and splitting it into two marginal relations loses that correlation.

Clarity

Let \(R(E,S,L)\) record employee, skill and language. If \(E\twoheadrightarrow S\), then for a fixed employee the set of skills is independent of the language value: from tuples \((e,s_1,l_1)\) and \((e,s_2,l_2)\), the swapped combinations \((e,s_1,l_2)\) and \((e,s_2,l_1)\) must also be legal. If \(E\) is not a superkey, this nontrivial MVD violates 4NF. Projecting to \(R_1(E,S)\) and \(R_2(E,L)\) removes redundant cross combinations, and their natural join reconstructs exactly the intended relation because the MVD holds.[1]

If the swapped tuples would be false, the proposed MVD fails. The combined relation may be appropriate for the joint association; applying the decomposition anyway would create spurious rows. This is why the dependency is not a visual property of a spreadsheet alone.

Manages Complexity

4NF converts a vague “duplicate rows” complaint into a precise dependency test. It identifies redundancy caused by independent sets of facts and prescribes a lossless logical decomposition under a proved or declared semantic condition. It also separates three levels of concern: the conceptual schema, the tuples currently observed and the performance of an implementation. Confusing them can turn normalization into arbitrary fragmentation.

Abstract Reasoning

State the relation's intended meaning and candidate keys. List FDs and MVDs that hold for all valid states, not just current rows. For each MVD, check triviality; for each nontrivial one, ask whether its determinant is a superkey. If not, 4NF fails. Test a proposed decomposition by whether its join produces exactly the original relation under the actual MVD. Then check separately whether other constraints remain enforceable without joining components.[1]

The diagnostic question is: Do these two multivalued associations vary independently in the intended domain, or does their pairing itself carry information?

Knowledge Transfer

The formal test applies across relational schemas for HR, catalog and other domains because it depends on attribute groups and dependencies rather than particular column names. The dependency facts do not transfer automatically: a course's teachers and books may be independent in one institution and paired in another. Revalidate the MVD whenever the domain semantics change.

Examples

Independent employee attributes

One employee has skills \(s_1,s_2\) and languages \(l_1,l_2\), and any skill may be used with either language. The combined relation contains all four pairs; \(E\twoheadrightarrow S\) and \(E\twoheadrightarrow L\) express the independence. If \(E\) is not a superkey, the relation violates 4NF; separate projections avoid repeated combinations.[1]

Mapped back: nontrivial MVD, nonkey determinant, lossless split under independence.

Fagin's four-attribute employee case

Fagin's Table II uses T(EMPLOYEE, CHILD, SALARY, YEAR). In its Gauss rows, the children Gwendolyn and Greta are each paired with the history records ($40K, 1975) and ($50K, 1976), so the same two-year salary history is written twice. The salary amount and year travel together as one history fact; neither is being declared independently multivalued. T has no nontrivial FDs and is therefore BCNF, but EMPLOYEE ↠ CHILD is a nontrivial MVD and EMPLOYEE is not a superkey, hence T* fails 4NF. Fagin's Table III/Theorem 1 decomposes it into T1(EMPLOYEE, CHILD) and T2(EMPLOYEE, SALARY, YEAR). For Gauss those projections contain two child rows and two salary-history rows; their join produces the four original combinations, not new unsupported associations, precisely because the MVD holds.[1]

Mapped back: the four-attribute relation carries two orthogonal fact groups; the source's two-by-two Gauss rows witness repetition; BCNF passes because no proper FD determinant violates it, while 4NF fails on the nonkey MVD; the two stated projections rejoin losslessly.

Paired course assignment near miss

If each teacher of a course selects a particular textbook, Course–Teacher–Book tuples encode the pairing. Splitting into Course–Teacher and Course–Book would recombine teachers with books they did not select.

Mapped back: two apparent lists are present, but the MVD independence premise is false.

Structural Tensions

No universal intrinsic two-sided tradeoff is established by the formal 4NF criterion itself: a declared schema either satisfies the quantified MVD/superkey condition or it does not. The temptation to split a merely coincidental data pattern, or the possibility that a decomposition changes query and constraint-management costs, belongs to dependency assessment and implementation choice, not to opposed requirements inside the definition.

Structural–Framed Character

4NF sits near the formal-structural end of the structural–framed spectrum. Once a relation schema, all dependencies that hold on its legal instances, and its keys are fixed, the quantified statement “every nontrivial MVD has a superkey determinant” has a determinate truth value. It is not an evaluation that a table looks tidy. Evaluative weight enters in deciding whether a 4NF decomposition is useful for a particular workload or which redundancy to tolerate; those design judgments do not alter the definition. The construction of the dependency set, however, depends on human and institutional knowledge of the business domain: Fagin's salary and year are one historical fact, while employee children vary independently of that fact. A finite snapshot alone cannot certify that semantic rule.[1]

The term arose in 1970s relational database normalization, specifically Fagin's extension beyond FD-based BCNF. Its vocabulary travels faithfully to other relational domains when attributes, legal states, MVDs and superkeys are explicitly modeled. Applying “fourth normal form” to a generic spreadsheet with repeating values or to any decomposition into four parts would be an import of a label, not recognition of the structure. Conversely, a newly modeled relation that satisfies the same dependency criterion is 4NF whether or not its designers use the historical name. Its character: an exact relational-schema predicate whose application is formally testable but whose input dependencies must be justified by domain semantics, not inferred from visual repetition.

Structural Core vs. Domain Accent

The portable skeleton is a universal exclusion test: for each nontrivial dependency of a designated kind, its determinant must be sufficiently identifying. The domain-bound mechanism is far more specific—relations as sets of tuples, tuple-swap semantics of X ↠ Y, trivial-MVD exclusions, functional superkeys, and a lossless-join theorem for a true MVD. A nonrelational workflow with two “independent” tasks has none of these typed objects, even if splitting work reduces repetition.

The named entry fails the prime bar because the MVD/superkey quantification and relational carrier are constitutive, not illustrative accents on a substrate-neutral rule. Formal 4NF implies BCNF and the condition-level 3NF predicate. But the full live Third Normal Form body also includes 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; the formal implication alone does not license a full-identity edge. Independence and Decomposition are conceptual prime neighbors, not proven strict parents of this normal-form predicate. A future portable “dependency determinant adequacy” prime would require independent nonrelational worked instances with an equivalent test and consequence, not just an analogy to avoiding redundancy.

Independence and Decomposition are conceptual neighbors. The live Third Normal Form has a broader formal condition, but its full body also describes violation-driven decomposition and is not an approved strict parent of this 4NF identity. A current catalog scan found no live BCNF intermediate. The placement 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) — more specific cases that build on this

  • 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 (92nd 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-10-08

Not to Be Confused With

Third Normal Form and BCNF restrict functional dependencies. Fifth Normal Form concerns join dependencies beyond the MVD case. An ordinary two-column association table can be 4NF even though it contains many rows. Lossless Decomposition is a consequence of a valid split, not itself the 4NF definition.[1]

References

[1] Ronald Fagin, “Multivalued Dependencies and a New Normal Form for Relational Databases,” ACM Transactions on Database Systems 2, no. 3 (1977): 262–278, original definition, BCNF comparison, examples and lossless decomposition theorem. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j ↩k ↩l