reenmachine said:
In the example above , the f in ''f(x) = x^2 + 1'' means that for element x , f squares it and add 1 to it?
Yes.
reenmachine said:
What do they mean by ''f(x) = the mother of x''?
For example if x=Joffrey, then f(x)=Cersei, and if x=Arya, then f(x)=Catelyn. We have f(Joffrey)=Cersei, and f(Arya)=f(Sansa)=f(Bran)=Catelyn. Obviously they're just trying to help you develop an intuition about functions at this point. This isn't even real mathematics. The reason why this illustrates the idea of a function pretty well is that it's easy to understand that every person has exactly one biological mother.
reenmachine said:
Suppose A = {1,2} and B = {3,4,5} , what would a function following the bolded condition look like?
A function f from A into B can be defined e.g. by specifying f(1)=3, f(2)=5. This f can also be defined by ##f=\left\{\langle 1,3\rangle,\langle 2,5\rangle\right\}##. However, if you e.g. define ##g=\left\{\langle 1,3\rangle,\langle 1,5\rangle,\langle 2,5\rangle\right\}##, then g fails to satisfy condition 1, and is therefore not a function. It fails because the set g contains two ordered pairs that have the same first component but different second components. (This is like one person having two biological mothers). Note that the statement ##\langle x,y\rangle\in g## is also written as ##g(x)=y##. So if g contains <1,3> and <1,5>, then things get weird, because it would imply that g(1)=3 and g(1)=5.
reenmachine said:
Let's take for example {<1,3>,<2,3>} , how am I suppose to write or express it? <1,3> & <2,3> ∈ F? How am I formulating something to include both the F symbol (for function) and the ordered pairs?
If you want to say that ##F=\left\{\langle 1,3\rangle,\langle 2,3\rangle\right\}##, you can do it by saying that ##F(1)=3## and ##F(2)=3##.
reenmachine said:
Now let's take {<1,3>,<2,4>} , again from the universe A × B , the relation < wouldn't be a function because 3 and 4 aren't the same element in the range?
Do you mean that in this example, you denote {<1,3>,<2,4>} by <? In that case, < is definitely a function. The fact that 3 and 4 aren't the same only means that < isn't a
constant function.
I said that symbols like < are often used for binary relations, but they're almost never used for functions, so this notation looks odd here. It gets especially weird if we rewrite ##\langle 1,3\rangle\in <## as ##<(1)=3##. This is a good time to denote the relation by a letter.
reenmachine said:
About the 2nd condition , why do domF have to be = to A for the relation from A × B to be a function?
...
Basically my question is why the 2nd condition exist?
Because we
want to define something that associates exactly one element of B with each element of A, and if dom F is a proper subset of A, then there's an element of A that doesn't get associated with an element of B (a person that doesn't have a biological mother).