150px|thumb|right|class=skin-invert-image|Euler diagram showing A is a [[subset of B (denoted A \subseteq B) and, conversely, B is a superset of A (denoted B \supseteq A)]]
A subset is a collection of items where every item in it also belongs to a larger collection. Understanding subsets matters because it's a fundamental way to organize and compare groups of things, showing how smaller collections fit inside bigger ones.
AI-generated from the Wikipedia summary — may contain errors.
150px|thumb|right|class=skin-invert-image|Euler diagram showing A is a [[subset of B (denoted A \subseteq B) and, conversely, B is a superset of A (denoted B \supseteq A)]]
In mathematics, a set A is a subset of a set B if and only if all elements of A are also elements of B; B is then a superset of A. It is possible for A and B to be equal; if they are unequal, then A is a proper subset of B. The relationship of one set being a subset of another is called inclusion (or sometimes containment). A is a subset of B may also be expressed as B includes (or contains) A or A is included (or contained) in B. A '''k-subset' is a subset with k elements.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).