The Principle of Compositionality
The principle of compositionality explains how we understand sentences we've never encountered before. It states that the meaning of any complex expression comes from the meanings of its parts and the rules used to combine them. This principle is foundational in semantics because it accounts for a striking feature of human language: with a finite vocabulary and a set of grammatical rules, speakers can produce and understand an infinite number of novel sentences.
That said, compositionality has real limits. Idioms, context-dependent meanings, and pragmatic factors like irony all show that meaning doesn't always reduce neatly to parts plus rules.
Principle of Compositionality in Semantics
The principle has two components working together:
- The meanings of the parts (individual words and phrases)
- The rules of combination (the grammatical structure that specifies how those parts fit together)
Both are necessary. Knowing what every word means isn't enough if you don't know the structure, and knowing the structure isn't enough if you don't know the words. Together, they give you a systematic, predictable way to determine the meaning of any well-formed expression.
This is sometimes called Frege's Principle, after the philosopher and logician Gottlob Frege, who is most closely associated with the idea.

Meaning Determination in Complex Expressions
Complex expressions are built from smaller constituents: words (nouns, verbs, adjectives, determiners) and phrases (noun phrases, verb phrases, prepositional phrases). The meaning of the whole expression is derived by combining the meanings of these parts according to the grammatical rules governing their combination.
Take the sentence "The red car is fast." Compositionality says its meaning is determined by:
- The meanings of the individual words: "the," "red," "car," "is," "fast"
- The syntactic structure: "red" modifies "car" (forming the noun phrase "the red car"), and "is fast" serves as the predicate
Change any part and the meaning changes predictably. Swap "red" for "blue" and you get a different car. Swap "fast" for "slow" and you get a different property. The structure stays the same, but the meaning shifts because a constituent changed.

Compositionality and Infinite Expressions
One of the most powerful consequences of compositionality is productivity: a finite vocabulary plus recursive grammatical rules yields an infinite number of meaningful sentences. Consider how the same few words produce different meanings depending on arrangement:
- "The cat chased the mouse" vs. "The mouse chased the cat" — same words, different meanings, because the grammatical roles (subject vs. object) have swapped.
- "The cat chased the mouse that chased the cat" — recursion lets you embed one clause inside another, extending the sentence indefinitely.
Word order within phrases matters too:
- "The old man's boat" — a boat belonging to an old man
- "The man's old boat" — a boat that is old, belonging to a man
In both cases, the same words appear, but the syntactic structure assigns "old" to different nouns, changing the meaning. This is compositionality at work: structure isn't just decoration, it's part of what determines meaning.
Limitations of Compositional Meaning
Not all meaning in natural language is compositional. There are several well-known exceptions:
- Idiomatic expressions: The phrase "kick the bucket" means "to die," but you can't get that meaning by combining "kick," "the," and "bucket" in the usual way. The meaning of the whole idiom is not a function of its parts. Other examples include "spill the beans" (reveal a secret) and "break a leg" (good luck).
- Lexical ambiguity: A single word can have multiple unrelated meanings, and context determines which one applies. "Bank" could refer to a financial institution or the edge of a river. Compositionality alone doesn't resolve this; you need context.
- Pragmatic meaning: Irony, sarcasm, and conversational implicature all produce meanings that go beyond what compositionality predicts. If someone says "What lovely weather" during a thunderstorm, the compositional meaning (a compliment about the weather) is the opposite of what the speaker actually communicates. These interpretations depend on shared knowledge between speakers and the situation of utterance, which falls under pragmatics rather than compositional semantics.
These limitations don't invalidate the principle. Instead, they mark the boundary where compositional semantics hands off to other areas of linguistic theory, particularly pragmatics (which you'll encounter throughout this course) and the lexicon.