- 22,169
- 3,328
reenmachine said:So if ##1=\{u,y\}## and ##2=\{z,x\}## , then
$$\bigcup A = 1\cup 2 = \{u,y,z,x\} ?$$
Yes.
reenmachine said:So if ##1=\{u,y\}## and ##2=\{z,x\}## , then
$$\bigcup A = 1\cup 2 = \{u,y,z,x\} ?$$
Fredrik said:x and y are the unique real numbers such that z=(x,y). {x} is the singleton set with x as its only element. I'm not sure where you would like to put an ##a## instead of ##x##.
We want to prove that every element of ##\mathbb R\times [0,1]## is an element of ##\bigcup_{a\in\mathbb R}\left(\{a\}\times[0,1]\right)##. So we start by saying "Let ##z\in\mathbb R\times[0,1]## be arbitrary", and set out to prove that z is an element of the set on the right-hand side.
We define x and y by z=(x,y). Since ##z\in\mathbb R\times[0,1]##, this ensures that ##x\in\mathbb R## and ##y\in[0,1]##. The three statements ##z=(x,y)##, ##x\in\mathbb R## and ##y\in[0,1]##, together imply that ##z\in\{x\}\times[0,1]##. Since ##x\in\mathbb R## and ##y\in[0,1]##, this result implies that ##z\in\bigcup_{a\in\mathbb R}\left(\{a\}\times[0,1]\right)##.
Another way of saying that last bit: Since x is a real number and z is an element of ##\{x\}\times[0,1]##, z is an element of one of the infinitely many sets ##\{a\}\times[0,1]## with ##a\in\mathbb R##, and by definition of "union", that implies that z is an element of the union of those sets.
Yes, but you could use a more common definition of 1 and 2:reenmachine said:So if ##1=\{u,y\}## and ##2=\{z,x\}## , then
$$\bigcup A = 1\cup 2 = \{u,y,z,x\} ?$$
They always can be. That's what we mean by "everything in mathematics is a set".reenmachine said:Basically it's just not good to reach the level where you can't split sets into elements.
I don't understand what you're saying, but since we know that the cartesian product of any two sets is a set, we can write $$\mathbb R\times[0,1]=\{(x,y) : x\in\mathbb R,\ y\in[0,1]\}.$$ If you read the right-hand side the way you've been taught, you should understand what the members of ##\mathbb R\times[0,1]## are.reenmachine said:Just a last thing I'm wondering about , when we say ##R × [0,1]## it's definitely not ALL elements of ##R## as the ##\{x\}## here right? ##R## means any elements of ##R## but not all of them at the same time correct?
This would gives us an ordered pair like ##(allrealnumbers , 1)##.
Fredrik said:Yes, but you could use a more common definition of 1 and 2:
0=∅
1={0}
2={0,1}
$$\bigcup U\{1,2\}=\{0\}\cup\{0,1\}=\{0\}=1.$$ Of course, this isn't anything you'd ever want to do either.
Fredrik said:I don't understand what you're saying, but since we know that the cartesian product of any two sets is a set, we can write $$\mathbb R\times[0,1]=\{(x,y) : x\in\mathbb R,\ y\in[0,1]\}.$$ If you read the right-hand side the way you've been taught, you should understand what the members of ##\mathbb R\times[0,1]## are.
I'm heading out to get some food. Gone for an hour at least.
Fredrik said:Yes, but you could use a more common definition of 1 and 2:
0=∅
1={0}
2={0,1}
$$\bigcup U\{1,2\}=\{0\}\cup\{0,1\}=\{0\}=1.$$ Of course, this isn't anything you'd ever want to do either.
Fredrik said:Lol, now I confused unions with intersections. Obviously, ##\{0\}\cup\{0,1\}=\{0,1\}##.
Fredrik said:$$\bigcup \{1,2\}=\{0\}\cup\{0,1\}=\{0,1\}=2.$$
Fredrik said:It just looks weird because of the definitions of 1 and 2. What we're doing is just a special case of the following: For all sets x and y, we have
$$\bigcup\{\{x\},\{x,y\}\}=\{x\}\cup\{x,y\}=\{x,y\}.$$ And this result doesn't look weird at all. But we can make it look weird by choosing to introduce a notation like ##a=\{x\},\ b=\{x,y\}##, which turns the above into
$$\bigcup\{a,b\}=a\cup b=b.$$ This last equality holds for all sets a and b such that ##a\subseteq b##, not just when there exist sets x,y such that ##a=\{x\},\ b=\{x,y\}##.
Yes. Note however that the equality is almost always written as ##a\cup b=b##. The notation ##\bigcup S## for the union of the elements of some set S is only useful when we don't want to think of a notation for the elements of S.reenmachine said:So ##\bigcup\{a,b\}=b \leftrightarrow a \subseteq b## ?
Fredrik said:Yes. Note however that the equality is almost always written as ##a\cup b=b##. The notation ##\bigcup S## for the union of the elements of some set S is only useful when we don't want to think of a notation for the elements of S.
Fredrik said:Definition 1
A set ##f\subseteq X\times Y## is said to be a function from X into Y, if
(a) For all ##x\in X##, there's a ##y\in Y## such that ##(x,y)\in f##.
(b) For all ##x,x' \in X## and all ##y\in Y##, if ##(x,y)\in f## and ##(x',y)\in f##, then ##x=x'##.
X is said to be the domain of f. Y is said to be a codomain of f. f is also called the graph of f. So the function and its graph is the same thing.
Definition 2
A triple ##f=(X,Y,G)## such that ##G\subseteq X\times Y## is said to be a function from X into Y, if
(a) For all ##x\in X##, there's a ##y\in Y## such that ##(x,y)\in G##.
(b) For all ##x,x' \in X## and all ##y\in Y##, if ##(x,y)\in G## and ##(x',y)\in G##, then ##x=x'##.
X is said to be the domain of f. Y is said to be the codomain of f. G is said to be the graph of f.
It's just another variable. I chose to use x and x' for elements of X, and y for elements of Y.reenmachine said:I don't recall what ##x'## means in the (b) part of the first definition.
No reason. We could write down a "definition 3" that says ##f=(G,X,Y)## instead of ##f=(X,Y,G)##. This definition would be yet another way to make the idea of "a rule that associates exactly one element of Y with each element of X" mathematically precise. This "definition 3", would be technically different from both definitions 1 and 2, but it would be for all practical purposes equivalent to definition 2, since it (unlike definition 1) ensures that each function has a unique codomain.reenmachine said:Why is the ##G## placed after ##X,Y## in ##f=(X,Y,G)## ?
CompuChip said:x' is just a variable, just like x and y. We could also have called it u, or a, or ##\lambda##. However, in the definition we use two pairs, with the same entry y in the second slot, and by convention for one of them the first entry is called x. For symmetry / aesthetic reasons we prefer x' - after all it is very much "like" x.
For example, the following are all equivalent statements:
(1) "For all x, y, u and v, if (x, y) = (u, v) then x = u and y = v"
(2) "For all x, y, ##\xi## and ##\eta##, if (x, y) = ##(\xi, \eta)## then ##x = \xi## and ##y = \eta##"
(3) "For all x, y, x' and y', if (x, y) = (x', y') then x = x' and y = y'"
(4) "For all x1, y1, x2 and y2, if (x1, y1) = (x2, y2) then x1 = x2 and y1 = y2"
Most people prefer (3) or (4) to indicate that the variables have a similar function in the statement (and to keep other letters free for other purposes). (3) is mostly used if you have two or three "similar" variables - I could introduce another variable x'' - whereas (4) is more common for many, an unspecified number - as in x1, x2, ..., xn - or an infinite number -as in x1, x2, ...
For your section question: it's just a matter of definition. You could put them in any order, although this one is the one that (intuitively, to me) makes the most sense.
Fredrik said:It's just another variable. I chose to use x and x' for elements of X, and y for elements of Y.
When I write "for all ##x,x'\in X##,...", it means "for all x in X, and for all x' in X,..."
No reason. We could write down a "definition 3" that says ##f=(G,X,Y)## instead of ##f=(X,Y,G)##. This definition would be yet another way to make the idea of "a rule that associates exactly one element of Y with each element of X" mathematically precise. This "definition 3", would be technically different from both definitions 1 and 2, but it would be for all practical purposes equivalent to definition 2, since it (unlike definition 1) ensures that each function has a unique codomain.
We also don't need to include X in the triple to accomplish that, because if we know G, we know X too. So we could write down a "definition 4" that says ##f=(Y,G)## and a "definition 5" that says ##f=(G,Y)##.
It's not uncommon that there are lots of ways to make the same idea mathematically precise.
I forgot that you used ' for complement. I use ##^c## myself, i.e. ##A^c## denotes the complement of ##A##.reenmachine said:I see , the reason I got confused was probably that I was reading about relations and sets at the same time and sometimes you have ##R'## or ##A'## so the ##'## had a specific meaning in those cases.
I don't know what that would mean, but G is what definition 1 calls a "function from X into Y". By definition 2, it's the triple (X,Y,G) that's called a "function from X into Y". G is then called "the graph" of that function, i.e. the graph of (X,Y,G).reenmachine said:Is ##f = (X,Y,G)## something like function from ##X## to ##Y## to ##G## ?
Neither of them is. The elements of ##X\times Y## are ordered pairs (x,y) with ##x\in X## and ##y\in Y##.reenmachine said:BTW , just as a refresher again , in ##X × Y## , are both ##X## and ##Y## subsets of ##X × Y##?
I don't follow you here. The symbol ##\times## denotes the cartesian product of two sets. It's also used to denote the product of real numbers, or the "cross product" of elements of ##\mathbb R^3##. (Never mind if you don't know what that is).reenmachine said:...there's a difference between using the symbol ##×## to describe a cartesian product and a function is that right?
Fredrik said:I forgot that you used ' for complement. I use ##^c## myself, i.e. ##A^c## denotes the complement of ##A##.
I don't know what that would mean, but G is what definition 1 calls a "function from X into Y". By definition 2, it's the triple (X,Y,G) that's called a "function from X into Y". G is then called "the graph" of that function, i.e. the graph of (X,Y,G).
Neither of them is. The elements of ##X\times Y## are ordered pairs (x,y) with ##x\in X## and ##y\in Y##.
Edit: You need to pick up the habit of trying to answer these questions yourself when they come up. You know that for X to be a subset of X×Y, every element of X must be an element of X×Y. So take an arbitrary element of X and ask yourself, is it an element of X×Y? If you just use the definition of "cartesian product" here, you will see that it's not.
One of the best reasons to learn how to prove these things is that you won't ever remember all the simple results, but once you have reached a certain level, you can prove them in less time than it will take to look them up. Then you will never have to wonder if (for example) ##f^{-1}(A\cap B)=f^{-1}(A)\cap f^{-1}(B)##. You can just take 2 minutes off to find out.
I don't follow you here. The symbol ##\times## denotes the cartesian product of two sets. It's also used to denote the product of real numbers, or the "cross product" of elements of ##\mathbb R^3##. (Never mind if you don't know what that is).
If you had picked larger sets, the question wouldn't have made sense, since you didn't specify a function. But since you picked singleton sets, there's exactly one function from X into Y. Let's denote it by f. We have f(1)=2, and therefore ##G=\{(1,f(1))\}=\{(1,2)\}##. This happens to be equal to ##X\times Y## because of your choice of X and Y.reenmachine said:Is there any exemple suppose using ##X=\{1\}## and ##Y=\{2\}##?
What is ##G##? Is it ##G: X \rightarrow Y## or ##G(1) = 2##?
Fredrik said:If you had picked larger sets, the question wouldn't have made sense, since you didn't specify a function. But since you picked singleton sets, there's exactly one function from X into Y. Let's denote it by f. We have f(1)=2, and therefore ##G=\{(1,f(1))\}=\{(1,2)\}##. This happens to be equal to ##X\times Y## because of your choice of X and Y.
The general formula is ##G=\left\{(x,f(x)):x\in X\right\}##. This is a subset of ##X\times Y##.
ArcanaNoir said:The union over AxB is the same as what you wrote for AxB.
micromass said:Not true. The union here is
\bigcup A\times B = (1,2)\cup (1,3)\cup (2,2)\cup (2,3)
The right-hand side is well-defined since everything is a set. But it is not something you will encounter much in mathematics. It's well-defined, but not something you really want to do.
reenmachine said:So does ##(1,2)\cup (1,3)\cup (2,2)\cup (2,3) = \{1,2,3\}## ?