Most lost points come from three places: repeating elements in a union, treating “or” as “one or the other but not both”, and fumbling endpoints in intervals. Each one gets a fix below, along with a clean way to see it in a Venn diagram.
What do union and intersection mean in set notation?
In set-builder form, the two operations are
One clean idea explains both: the union is the smallest set that contains and together, and the intersection is the largest set that sits inside both. That gives a sanity check you can run on any answer: always holds. If your “intersection” contains something that is missing from , it is wrong. A handy picture: is a cup that holds everything, and is a cap that covers only the overlap. If the notation itself feels unfamiliar, the page on set notation covers braces, and the builder form.
Order never matters, since and . A set also ignores repeats, so is just . That second fact is why unions never list a shared element twice.
Quick check
Answer: (the empty set)
How do you find the union and intersection of two sets?
For small sets, a short routine beats guessing:
- Rewrite each set with no repeats.
- For the intersection, scan the smaller set and keep an element only if the other set also contains it.
- For the union, copy the first set, then add each element of the second set that is not already there.
- Confirm the sizes with .
Example 1. Let and . Scanning : is not in , is, is not, is, is not. So
For the union, copy and add , and :
Check: , and the union has nine elements.
Try this: List the multiples of 4 and of 6 up to 40, then write their intersection. Every element is a multiple of 12. Predict the intersection of the multiples of 6 and of 10 up to 100 before you list anything.
The pattern in that exercise is real: the intersection of multiples of and multiples of is the multiples of their least common multiple. The most common trap is the opposite mistake, writing the elements of both sets as the “intersection” when the sets share nothing. If there is no overlap, the answer is the empty set, not a merged list.
How do AND and OR connect to union and intersection?
Membership in a union is an OR statement and membership in an intersection is an AND statement. So every set identity is a logic identity wearing different symbols, and a truth table for the logical connectives can prove it row by row: the rows where and are both true correspond to the center of a Venn diagram.
An element in both sets still belongs to . For "exactly one of the two", use .
Everyday English is where the confusion starts. “Everyone in the choir and the band” usually means a union: you are naming two groups and want all their members. “Students who are in the choir and in the band” is an intersection: one condition after another, applied to the same person. A reliable test is to ask whether the word “and” joins groups of people (union) or joins requirements on one person (intersection).
How do you find the union and intersection of intervals?

Sketch both intervals on a number line first. For an intersection, take the larger left endpoint and the smaller right endpoint. If the left endpoint ends up beyond the right one, the intersection is empty. For a union, merge intervals that overlap or touch at an included point, and keep two pieces when there is a gap.
Example 2. Let and . The larger left endpoint is , from and open. The smaller right endpoint is , from and open. So
The intervals overlap, so the union is one piece running from the smallest left end (, closed) to the largest right end (, closed):
Touching intervals are the classic trap. is not , because is in neither piece. Change one bracket and it flips: . When two intervals share an endpoint on the same side, this table decides the bracket:
| Same endpoint, both intervals | Intersection | Union |
|---|---|---|
| Both closed | closed | closed |
| One open, one closed | open | closed |
| Both open | open | open |
Compound inequalities use the same logic. ” or ” is , while ” and ” has no solution at all. Infinity always gets a parenthesis, because it is not a number you can reach.
Quick check
Answer:
Why does the inclusion-exclusion formula for a union work?

Adding counts every element of the overlap twice, once from each set. Subtracting once corrects that:
Another view makes it obvious: splits into three pieces that do not overlap (only , both, only ), and and each include the middle piece.
Example 3 (working backwards). A survey of 120 students finds that 70 use app X, 65 use app Y, and everyone uses at least one. How many use both? Here , so
Check: use only X, use only Y, use both, and .
With three sets the pattern alternates signs:
The triple overlap is counted three times by the singles and removed three times by the pair terms, so it needs to be added back once. Forgetting that last term is the usual error. The same formula holds for probabilities: .
What happens with empty, disjoint and nested sets?
Sets are disjoint when , and then the formula collapses to plain addition, . Angles give a tidy example: the set of acute angles and the set of obtuse angles are disjoint, and their union is not the full interval , because the right angle at belongs to neither. The types of angles page lists the other categories.
Nested sets behave just as cleanly. If , then and . The empty set and the universal set act like identities: , , while and . Think of as the zero of union and as the one of intersection.
Nested sets also give a neat test for equality. exactly when . If the union and intersection coincide, then , and the same argument runs the other way. This is the set version of a biconditional statement: each direction holds, so the sets are equal.
What are the distributive and De Morgan laws for sets?
Unlike addition and multiplication, each operation distributes over the other:
Because and have no built-in precedence, parentheses are required whenever they are mixed. and are generally different sets.
The complement means everything in outside . De Morgan’s laws say how it passes through a bracket:
The reasoning is one sentence: not being in or means not being in and not being in . Test it with , , . Then , and .
To split a complement over a bracket, break the bar over each set and swap with .
The same flip explains why "" is equivalent to "". That is the contrapositive of “if then ”, and the page on converse, inverse and contrapositive shows why a statement and its contrapositive always agree.
Quick check
Answer:
Where do union and intersection appear in algebra?
Solving a system of equations is an intersection: the solution set is the points that satisfy the first equation and the second. Two lines in slope-intercept form, such as and , have the same slope and different intercepts, so their intersection is empty. For a system , , the 2×2 determinant decides the outcome: nonzero means exactly one intersection point, and zero means the lines are parallel (empty) or identical (the whole line).
Unions come from “or”. The equation says or , so the solution set is . The same idea sits behind every quadratic you solve with the formula; the quadratic formula practice problems show the two roots arriving as a union of two solution sets.
Domains combine both. The domain of is the intersection of and , which is , because a sum needs both pieces defined (the logarithm rules explain why inputs must be positive). By contrast, the domain of is a union, . Even arithmetic sequences use it: the terms shared by and are , a new sequence with difference , and you can sum it with the arithmetic series formula. Databases borrow the vocabulary too: SQL has UNION and INTERSECT for combining query results.
How do you check a union and intersection answer?
Run these quick tests before you trust a result:
- Size bounds: and .
- Count match: the number of listed elements in the union must equal .
- Membership test: every element of the intersection must appear in both original sets, and every element of the union must appear in at least one.
- No repeats: each element appears once, in any order.
Take the claim . The membership test kills it at once, since is not in the first set. The size bound agrees: an intersection can never have more elements than the smaller set allows, and here it should have zero.
For intervals, test sample points. Pick one number inside each piece of your answer and one outside, then substitute them into the original conditions. For as the answer in Example 2, try (in both intervals, so it belongs) and (not in , so it does not). Two or three test points catch nearly every endpoint error.
Practice problems
0 of 5 solved
- Let and . Find and .
Answer: and
Intersection: only and appear in both sets. Union: list all of , then add and from ( and are already listed). Check the count: elements. - Find .
Answer:
The larger left endpoint is , and it is open, so it stays open. The smaller right endpoint is , from the first interval, and it is closed. The overlap is . - Write as a single interval.
Answer:
The first interval stops just before , but the second starts at and includes it. No point is missing, so the pieces join. The leftmost point is (closed) and the rightmost is (open), giving . - Among 50 people, 30 own a bike, 22 own a car and 9 own both. How many own neither?
Answer:
People owning at least one: . People owning neither: . - Given , , , , , and , find .
Answer:
Add the singles: . Subtract the pair overlaps: , leaving . Add back the triple overlap: .
Common questions
What is the difference between union and intersection?
The union collects every element that is in or in or in both. The intersection keeps only the elements that are in both sets. The union is always at least as big as either set, and the intersection is never bigger than either one.
How do you find the number of elements in a union?
Add the sizes of the two sets and subtract the size of their intersection: . The subtraction removes the overlap, which was counted twice. If the sets are disjoint, the intersection is empty and you simply add.
What does it mean when the intersection of two sets is empty?
It means the sets are disjoint: they share no elements. The intersection is then written or . For example, the set of even integers and the set of odd integers have an empty intersection.
Does 'and' always mean intersection?
Not in word problems. 'Students in choir and band' can mean everyone in either group (a union), while 'students who are in choir and in band' means those in both (an intersection). In compound inequalities, 'and' means intersection and 'or' means union.
How do you write the union and intersection of intervals?
For an intersection, take the larger left endpoint and the smaller right endpoint, and return the empty set if they cross. For a union, merge intervals that overlap or touch at an included point, and keep separate pieces when there is a gap.
What are the symbols for union and intersection?
Union is (written \cup in LaTeX) and intersection is (written \cap). A capital letter U is not a valid substitute for the union symbol, since a capital U often stands for the universal set.