Union and Intersection of Intervals Calculator in Interval Notation
This calculator helps you find the union and intersection of two intervals in interval notation. Interval notation is a concise way to represent sets of real numbers, and understanding how to combine intervals is essential in many mathematical and scientific applications.
What is Interval Notation?
Interval notation is a method of representing a set of real numbers that lie between two endpoints. It's commonly used in calculus, algebra, and other branches of mathematics. The basic symbols used in interval notation are:
- (a, b) - Open interval: includes all numbers greater than a and less than b
- [a, b] - Closed interval: includes all numbers greater than or equal to a and less than or equal to b
- (a, b] - Half-open interval: includes all numbers greater than a and less than or equal to b
- [a, b) - Half-open interval: includes all numbers greater than or equal to a and less than b
- (a, ∞) - Open interval extending to infinity: includes all numbers greater than a
- (-∞, b) - Open interval extending to negative infinity: includes all numbers less than b
Interval notation is particularly useful when dealing with continuous ranges of numbers, such as in function domains, solution sets, and real number analysis.
Union of Intervals
The union of two intervals combines all elements from both intervals. In interval notation, the union is represented using the ∪ symbol. The result of the union operation is the smallest interval that contains all elements from both original intervals.
Union Formula
For two intervals A and B, the union A ∪ B is the set of all elements that are in A, in B, or in both.
Examples of Union Operations
- (1, 4) ∪ (3, 6) = (1, 6)
- [2, 5] ∪ [4, 7] = [2, 7]
- (-∞, 0) ∪ (0, ∞) = (-∞, ∞)
When calculating the union of two intervals, you should consider the following rules:
- If the intervals overlap or touch, they combine into a single interval
- If there's a gap between the intervals, the union is the combination of both intervals
- If one interval is entirely contained within another, the union is the larger interval
Note: The union operation is commutative, meaning A ∪ B = B ∪ A.
Intersection of Intervals
The intersection of two intervals consists of all elements that are common to both intervals. In interval notation, the intersection is represented using the ∩ symbol. The result of the intersection operation is the set of elements that are in both original intervals.
Intersection Formula
For two intervals A and B, the intersection A ∩ B is the set of all elements that are in both A and B.
Examples of Intersection Operations
- (1, 4) ∩ (3, 6) = (3, 4)
- [2, 5] ∩ [4, 7] = [4, 5]
- (-∞, 0) ∩ (0, ∞) = ∅ (empty set)
When calculating the intersection of two intervals, you should consider the following rules:
- If the intervals overlap, the intersection is the overlapping portion
- If the intervals touch at a single point, the intersection is that point (if both intervals are closed at that point)
- If there's no overlap, the intersection is the empty set (∅)
Note: The intersection operation is commutative, meaning A ∩ B = B ∩ A.
How to Use the Calculator
Our calculator makes it easy to find the union and intersection of two intervals. Here's how to use it:
- Enter the first interval in the "First Interval" field using interval notation
- Enter the second interval in the "Second Interval" field using interval notation
- Click the "Calculate" button to see the results
- The calculator will display both the union and intersection of the intervals
For example, if you enter (1, 4) in the first field and (3, 6) in the second field, the calculator will show:
- Union: (1, 6)
- Intersection: (3, 4)
The calculator also includes a visualization of the intervals to help you better understand the results.