(Socks, Shoes, Watches, Shirts, ... ) (Index, Middle, Ring, Pinky)
(Socks, Shoes, Watches, Shirts, ... ) (Index, Middle, Ring, Pinky)
First we specify a common property among "things" (we define this word later) and then we
gather up all the "things" that have this common property.
{ }
For example, the items you wear: hat, shirt, jacket,
pants, and so on.
Notation
There is a fairly simple notation for sets. We simply list each element (or "member")
separated by a comma, and then put some curly brackets around the whole thing:
{ 3, 6, 91, ... }
element three dots means
element goes on forever (infinite)
element
("element" or "member" mean the same thing)
Notice how the first example has the "..." (three dots together).
The three dots ... are called an ellipsis, and mean "continue on".
So that means the first example continues on ... for infinity.
(OK, there isn't really an infinite amount of things you could wear, but I'm not entirely sure
about that! After an hour of thinking of different things, I'm still not sure. So let's just say it
is infinite for this example.)
So:
The first set {socks, shoes, watches, shirts, ...} we call an infinite set,
the second set {index, middle, ring, pinky} we call a finite set.
But sometimes the "..." can be used in the middle to save writing long lists:
{a, b, c, ..., x, y, z}
Numerical Sets
So what does this have to do with mathematics? When we define a set, all we have to
specify is a common characteristic. Who says we can't do so with numbers?
And the list goes on. We can come up with all different types of sets.
There can also be sets of numbers that have no common property, they are
just defined that way. For example:
Math can get amazingly complicated quite fast. Graph Theory, Abstract Algebra, Real
Analysis, Complex Analysis, Linear Algebra, Number Theory, and the list goes on. But
there is one thing that all of these share in common: Sets.
Universal Set
At the start we used the word "things" in quotes.
We call this the universal set. It's a set that contains everything. Well,
not exactly everything. Everything that is relevant to our question.
1 5
-3
3400
-5
In Number Theory the universal set is all the integers, as Number Theory
1000 15 is simply the study of integers.
1 -3.6 -5
3.33333 But in Calculus (also known as real analysis), the universal set is almost
1000
0.001 15 always the real numbers .
1 i -3+i -5
2i 3400 And in complex analysis, you guessed it, the universal set is the complex
10+3i 15 numbers.
Now you don't have to listen to the standard, you can use something like m to represent a
set without breaking any mathematical laws (watch out, you can get π years in math jail for
dividing by 0), but this notation is pretty nice and easy to follow, so why not?
Also, when we say an element a is in a set A, we use the symbol to show it.
And if something is not in a set use .
Equality
Two sets are equal if they have precisely the same members. Now, at first glance they may
not seem equal, so we may have to examine them closely!
A is the set whose members are the first four positive whole numbers
B = {4, 2, 1, 3}
Let's check. They both contain 1. They both contain 2. And 3, And 4. And we have
checked every element of both sets, so: Yes, they are equal!
A=B
A is {1, 2, 3}
B is {3, 1, 2}
B
Subsets 1 2 3 4 5
When we define a set, if we take pieces of that set, we can form
what is called a subset.
A
Subset Set
Example: the set {1, 2, 3, 4, 5}
In general:
3 is in A and 3 is also in B.
4 is in A, and 4 is in B.
That's all the elements of A, and every single one is in B, so we're done.
Yes, A is a subset of B
Note that 2 is in B, but 2 is not in A. But remember, that doesn't matter, we only look
at the elements in A.
Well, we can't check every element in these sets, because they have an infinite
number of elements. So we need to get an idea of what the elements look like in each,
and then compare them.
By pairing off members of the two sets, we can see that every member of A is also a
member of B, but not every member of B is a member of A:
So:
Proper Subsets
If we look at the defintion of subsets and let our mind wander a bit, we come to a weird
conclusion.
This doesn't seem very proper, does it? We want our subsets to be proper. So we introduce
(what else but) proper subsets.
A is a proper subset of B if and only if every element in A is also in B, and there exists at
least one element in B that is not in A.
This little piece at the end is only there to make sure that A is not a proper subset of itself.
Otherwise, a proper subset is exactly the same as a normal subset.
Example:
{1, 2, 3} is a subset of {1, 2, 3}, but is not a proper subset of {1, 2, 3}.
Example:
{1, 2, 3} is a proper subset of {1, 2, 3, 4} because the element 4 is not in the first
set.
When we talk about proper subsets, we take out the line underneath and so it becomes A
B or if we want to say the opposite, A B.
This is known as the Empty Set (or Null Set).There aren't any
elements in it. Not one. Zero.
It is represented by
Some other examples of the empty set are the set of countries south of the south pole.
So what's so weird about the empty set? Well, that part comes next.
Empty Set and Subsets
So let's go back to our definition of subsets. We have a set A. We won't define it any more
than that, it could be any set. Is the empty set a subset of A?
Going back to our definition of subsets, if every element in the empty set is also in A,
then the empty set is a subset of A. But what if we have no elements?
It takes an introduction to logic to understand this, but this statement is one that is
"vacuously" or "trivially" true.
A good way to think about it is: we can't find any elements in the empty set that aren't in A,
so it must be that all elements in the empty set are in A.
The empty set is a subset of every set, including the empty set itself.
Order
No, not the order of the elements. In sets it does not matter what order the elements
are in.
A finite set has finite order (or cardinality). An infinite set has infinite order (or cardinality).
For finite sets the order (or cardinality) is the number of elements.
For infinite sets, all we can say is that the order is infinite. Oddly enough, we can say with
sets that some infinities are larger than others, but this is a more advanced topic in sets.