In lexical semantics, opposites are words lying in an inherently incompatible binary relationship, like the opposite pairs big : small, long : short, and precede : follow. The notion of incompatibility here refers to the fact that one word in an opposite pair entails that it is not the other pair member. For example, something that is long entails that it is not short. It is referred to as a 'binary' relationship because there are two members in a set of opposites. The relationship between opposites is known as opposition. A member of a pair of opposites can generally be determined by the question What is the opposite of X ?
The term antonym (and the related antonymy) is commonly taken to be synonymous with opposite, but antonym also has other more restricted meanings. Graded (or gradable) antonyms are word pairs whose meanings are opposite and which lie on a continuous spectrum (hot, cold). Complementary antonyms are word pairs whose meanings are opposite but whose meanings do not lie on a continuous spectrum (push, pull). Relational antonyms are word pairs where opposite makes sense only in the context of the relationship between the two meanings (teacher, pupil). These more restricted meanings may not apply in all scholarly contexts, with Lyons (1968, 1977) defining antonym to mean gradable antonyms, and Crystal (2003) warns that antonymy and antonym should be regarded with care.
Opposites are simultaneously different and similar in meaning. Typically, they differ in only one dimension of meaning, but are similar in most other respects, including similarity in grammar and positions of semantic abnormality. Additionally, not all words have an opposite. Some words are non-opposable. For example, animal or plant species have no binary opposites (other than possible gender opposites such as lion/lioness, etc.); the word platypus therefore has no word that stands in opposition to it (hence the unanswerability of What is the opposite of platypus?).
Other words are opposable but have an accidental gap in a given language's lexicon. For example, the word devout lacks a lexical opposite, but it is fairly easy to conceptualize a parameter of devoutness where devout lies at the positive pole with a missing member at the negative pole. Opposites of such words can nevertheless sometimes be formed with the prefixes un- or non-, with varying degrees of naturalness. For example, the word undevout appears in Webster's dictionary of 1828, while the pattern of non-person could conceivably be extended to non-platypus. Conversely, some words appear to be a prefixed form of an opposite, but the opposite term does not exist, such as inept, which appears to be in- + *ept; such a word is known as an unpaired word.