Union set calculator

Union set calculator calculator can be used for finding the union of two sets, which includes all elements from both sets without duplicates.

Input Parameters

Calculation Results

Union Result

Union set will be displayed here

Calculation Formula

Union(A, B) = {x | x ∈ A or x ∈ B}

Where:
- A is the first set
- B is the second set
- Union(A, B) contains all elements that are in A, in B, or in both

Union set calculator Calculator Usage Guide

Learn how to use the Union set calculator calculator and its working principles

How to use the Union Set Calculator

  1. Enter the elements of the first set in the "Set 1" field, separated by commas. For example: 1, 2, 3, 4
  2. Enter the elements of the second set in the "Set 2" field, also separated by commas. For example: 3, 4, 5, 6
  3. Click the "Calculate" button to find the union of the two sets
  4. The result will display all unique elements that appear in either set

Understanding Union of Sets

The union of two sets A and B, denoted as A ∪ B, is the set of all elements that are in A, in B, or in both. It contains no duplicates.

Example:

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

Set B = {3, 4, 5, 6}

Union(A, B) = {1, 2, 3, 4, 5, 6}

Notes

  • Enter elements in any order - the calculator will sort them alphabetically in the result
  • The calculator is case-insensitive (e.g., "A" and "a" will be treated as the same element)
  • Empty sets will result in an empty union set