Introduction to set theory
Learn to describe which values belong to a set, then use that description to count and select. Try the questions as you go.
Sets of points
A point on a plane needs two coordinates. In $(x,y)$, x is the horizontal coordinate and y is the vertical coordinate; their order matters. The notation $\mathbb R^2$ names all pairs of real coordinates. A set in this domain can describe an entire area.
Choose points with nonnegative coordinates whose sum is at most 4. The first two conditions keep points on or above the horizontal axis and on or to the right of the vertical axis. The last condition limits how far they can extend together.
$$D=\{(x,y)\in\mathbb R^2:x\ge0,\ y\ge0,\ x+y\le4\}$$
The commas mean “and”: a point must satisfy all three conditions.
Test a point instead of guessing from the picture
- For $(1,2)$, both coordinates are nonnegative and $1+2=3\le4$. The point belongs to $D$.
- For $(3,2)$, the coordinate checks pass, but $3+2=5>4$. One failed condition excludes the point.
- For $(2,2)$, the sum is exactly 4. The symbol $\le$ includes this boundary point. Replacing it with $<$ would exclude the point and the entire slanted edge.
A solid boundary conventionally marks inclusion; a dashed boundary marks exclusion. Always check all conditions at a corner: a point on one included edge can still fail another condition. If we instead used $\mathbb Z^2$ as the domain, only integer-coordinate dots in this triangle would remain. As on the number line, the domain determines whether we have a filled region or separated points.