跳到主要内容
Z

集合运算计算器

计算两个集合的并集、交集、差集、对称差集,并检测子集/超集关系。重复元素会自动去除。

免费 无需注册 客户端运行 注重隐私 Updated
A ⊆ B: A ⊇ B: 是否不相交:

使用方法

  1. 1 输入集合 A 和集合 B 的元素,用逗号分隔。
  2. 2 并集、交集、差集与对称差集会立即显示出来。
  3. 3 子集、超集和不相交关系也会同步给出判断结果。

为什么使用此工具

  • 把常用的集合运算和关系判断集中在同一个界面里。
  • 自动去除重复元素。
  • 完全在浏览器本地运行。

常见问题

两个集合的并集是什么?

A ∪ B 包含所有属于 A、属于 B,或同时属于两者的元素。

两个集合的交集是什么?

A ∩ B 只包含同时属于 A 和 B 的元素。

什么是对称差集?

A △ B 包含只属于其中一个集合的元素——即属于 A 或属于 B,但不同时属于两者。

“不相交”是什么意思?

如果两个集合没有任何公共元素,即它们的交集为空集,就称它们是不相交的。

什么是 集合运算计算器?

集合运算计算器可以计算两个集合的并集、交集、差集与对称差集,同时检测子集、超集和不相交关系。

功能特性

Four set operations

Union (A ∪ B), intersection (A ∩ B), difference (A − B), and symmetric difference.

Auto de-duplication

Repeated elements are treated as a single set member, per set semantics.

Free & private

Runs on your device — nothing is uploaded.

示例

Input

A = {1, 2, 3}, B = {2, 3, 4}

Output

union = {1, 2, 3, 4} · intersection = {2, 3}

常见使用场景

  1. 1

    Compare two lists

    Find shared items (intersection) or what's unique to one list (difference).

  2. 2

    Merge & dedupe

    Combine two lists into a distinct union.

  3. 3

    Study set theory

    Verify union, intersection, and symmetric-difference results.

概要

Zerethon's set operations calculator computes the union, intersection, difference, and symmetric difference of two sets in your browser, de-duplicating elements automatically. Everything runs client-side — nothing is uploaded.

分类
数学
价格
免费
隐私
基于浏览器
注册
无需

References

隐私

除非另有说明,否则你的数据永远不会离开浏览器。集合运算计算器 完全在客户端运行 — 无需上传服务器,不记录日志,不追踪你输入的内容。

相关工具

在 Zerethon Social 上创作、分享与成长

免费注册。赚取积分,收集成就,与全球创作者建立联系。

免费试用 Zerethon