在数学里,若两个集合没有共同的元素,称为不交(disjoint)。例如
和
为不交集(disjoint sets)。
两个互不相交的集合(disjoint sets)。
从定义说,两个集合
和
为不交,若其交集为空集,即[1]
![{\displaystyle A\cap B=\varnothing }](https://wikimedia.org/api/rest_v1/media/math/render/svg/1325e582d7bc7ad1e30dfef4ee67747895af068e)
此一定义可推广至集族上。若然一个集族里的任意两个相异集合均为不交,则称之为两两不交。
形式上,设
为索引集,且对
内的任一元素
,设
为一集合。然后
为两两不交,当对任何于
内的
和
且
,有
![{\displaystyle A_{i}\cap A_{j}=\varnothing }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a970bc33f4f140ab7fe3e0bee5435f86ec0cf4a6)
举例来说,
便为两两不交。若
为两两不交,则
中各集合的交集为空集:
![{\displaystyle \bigcap _{i\in I}A_{i}=\varnothing }](https://wikimedia.org/api/rest_v1/media/math/render/svg/560a797e11bcc20dda45e6ccface16482383cce8)
相反则不必为真:
内各集合的交集为空集,但非两两不交。事实上,其内的集合甚至没有两个是不交集。
集合划分
是由一群两两不交的非空集合
组成的集族。
![{\displaystyle \bigcup _{i\in I}A_{i}=X}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c6f68c17c0e863316ab5f782e046f1e47bc5d398)