Sets & Venn Diagrams
Intersection
Shade only the overlap and list the elements shared by A and B.
The sets in the input are A = {3, 4, 5}, B = {5, 6, 7}. The intersection is {5}.
Elements are written once. The diagram shades the region that the operation names, and the result list follows the arithmetic of the sets rather than the order the numbers were typed.
Equation
A = {3,4,5}
B = {5,6,7}
A ∩ B
How the set operation is read
A Venn diagram example defines sets with braces, then asks for an operation. Union collects elements that appear in either set. Intersection keeps only the shared elements. Difference removes one set from the other. Complement needs a universal set named U.
The same element is never listed twice, and order does not matter. An empty result is the empty set, written ∅, not the number 0. DGS draws the diagram with clipped regions so the shading matches the operation on the card.
Reading the input
A = {3,4,5}— This assignment names a value, a set, or a coordinate that a later line uses.B = {5,6,7}— This assignment names a value, a set, or a coordinate that a later line uses.A ∩ B— This line is part of the example input and is sent to DGS unchanged.
Try a change
- Edit one number in the field, then use Generate Graph. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Generate Graph draws the Venn diagram for the operation in the input and reports the resulting set. Empty results use the empty-set symbol.