Open Set Calculator

Enter a topology, pick a subset, get answers. Check openness, closedness, and neighborhood properties instantly. Download CSV or PDF summaries for classes and teams.

Calculator

Comma-separated elements. Whitespace is ignored.
Separate sets with ; or new lines.
Use braces or plain commas. Empty is βˆ….
Used for union, intersection, and differences.
Checks whether x is in the interior of A.

Formula used

  • A is open ⇔ A ∈ 𝒯
  • A is closed ⇔ U \ A is open
  • Int(A) = ⋃{ O ∈ 𝒯 : O βŠ† A }
  • Cl(A) = U \ Int(U \ A)
  • Bd(A) = Cl(A) \ Int(A)
Finite-input note
This tool treats your inputs as finite sets. Topology validation checks pairwise unions and intersections across the sets you entered.

How to use this calculator

  1. Type the elements of U separated by commas.
  2. Enter the topology 𝒯 as a list of sets, separated by semicolons.
  3. Provide a subset A. Add B if you want set operations.
  4. Optionally enter a point x to test interior membership.
  5. Press Submit to display results above the form.
  6. Use Download CSV or Download PDF to export the results table.

Example data table

Set size overview
Bars show element counts for key derived sets from your input.
Universe U Topology 𝒯 Subset A Interior Int(A) Closure Cl(A)
{a, b, c, d} βˆ…, {a}, {a, b}, {a, b, c, d} {a, b} {a, b} {a, b, c, d}
{1, 2, 3} βˆ…, {1}, {1, 2}, {1, 2, 3} {2} βˆ… {1, 2, 3}
Tip: Write sets with braces like {a, b}. Use βˆ… for the empty set.

Professional notes and data

Finite topology inputs and reliability

This calculator is designed for finite universes, where every set can be listed explicitly. With |U| = n, the power set has 2^n subsets, but a topology is usually much smaller. Many classroom examples use n = 3 or n = 4, where 2^n equals 8 or 16, making manual checking possible but slow.

Topology axiom checks on your list

For the sets you enter, the tool validates three essentials: presence of βˆ… and U, closure under unions, and closure under intersections. On finite inputs, pairwise checks provide a practical consistency test. If your topology has m listed open sets, the pairwise scan touches up to mΒ² combinations.

Core outputs and what they quantify

The key derived sets are interior, closure, and boundary. Interior reports the largest open part of A, closure reports all points that cannot be separated from A using open sets, and boundary measures the β€œedge” as Cl(A) \ Int(A). The Plotly chart summarizes their element counts instantly.

Operational data for set operations

When you provide an optional B, the tool computes A βˆͺ B, A ∩ B, A \ B, and symmetric difference A β–³ B. Each result is reduced to unique elements and sorted, ensuring consistent output for exports and comparisons across runs.

Exports for reporting and auditing

CSV export captures the results table as key–value rows for spreadsheets and notebooks. PDF export packages the same table into a clean page for sharing. In typical coursework reviews, a single PDF summary can replace multiple screenshots and reduces transcription errors from manual copying.

Recommended input sizes and performance

For best responsiveness in a browser, keep |U| under 30 and the listed topology size m under 150. That still supports thousands of union/intersection comparisons while remaining usable on laptops. If you need larger experiments, split the study into smaller universes and compare summaries using the CSV exports.


FAQs

What does β€œA is open” mean here?

It means your subset A appears in the topology list 𝒯 exactly. If A is not listed, it is treated as not open in that topology.

Why can A be closed even if it is not open?

A is closed when its complement U\A is open. In many topologies, only a few sets are open, so complements can determine closedness.

How is the interior computed?

Interior is the union of every open set O in 𝒯 that is contained in A. The result is the largest open subset you can guarantee inside A.

How is closure computed?

Closure is computed as U \ Int(U \ A). This definition avoids neighborhood searches and works well for finite inputs where complements and unions are explicit.

What does the boundary represent?

Boundary equals Cl(A) \ Int(A). These elements are neither safely inside A nor safely outside A, based on the open sets you provided.

Why might the topology checker warn me?

Warnings appear when βˆ… or U is missing, or when a pairwise union/intersection of your listed open sets is not listed. That indicates your input list is not a valid topology.

Related Calculators

implicit differentiation calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.