1

assume there is a function like $f:A→B$ which is injective, why it means $\left|A\right|\le\left|B\right|$ or in another way why a function like $g:B→A$ stands for $\left|B\right|\le\left|A\right|$

my problem has been clearly explained here: assume a set like $A=[1,2,3,4]$ and $B=[1,2,3]$ and for $f:A→B$ we have $f=[(1,1)(2,2),(3,3)]$ and $f$ is still injective but $\left|A\right|=4$ and $\left|B\right|=3$ and in this case $\left|B\right|\le\left|A\right|$...

  • What has this question to do with induction? – nonuser Jul 12 '19 at 17:06
  • I think this maybe a common confusion: if you write you have a function $;f:A\to B;$ , it is implicitly assumed you can define $;f;$ on all the elements of $;A;$ , not only some...otherwise almost everything would be injective. – DonAntonio Jul 12 '19 at 17:09

3 Answers3

0

In your example $f$ is not a vell defined function since $4$ is out of it domain, so it can not be injective since is not a function.

But you can make it a function as soon as you say $f(4)$ is something in $\{1,2,3\}$. But then it is not injective.


In general if $|B|<|A|$ then two different $a,b$ in $A$ must have the same picture, so $f$ can not be injective.

nonuser
  • 90,026
  • is it necessary for a function to be well-defined? –  Jul 12 '19 at 17:23
  • If it is not well defined then it is not a function. Every element from it domain has to have exactly one picture, not 0 or more than 1, just 1! – nonuser Jul 12 '19 at 17:25
0

A function $f:A\rightarrow B$ is a relation $f\subseteq A\times B$ such that for each $a\in A$ there is exactly one $f(a)\in B$, i.e., $f=\{(a,f(a))\mid a\in A\}$.

Let $A,B$ be finite sets. Then the definition of $f$ shows that $|A|\leq |B|$.

Wuestenfux
  • 20,964
  • if we give all the elements in $A×B$ to $f$ , then can $f=A×B$? –  Jul 12 '19 at 18:38
  • iff $|B|=1$ otherwhise you will have elements $(a,b_1),(a,b_2)$ and clearly, this is not a function – L F Jul 12 '19 at 20:35
0

In old books you can find a difference between function and aplication.

  • A function $f\colon A\to B$ has as domain a subset of $A$.
  • An application $f\colon A \to B$ has as domain all $A$

for people, in general , those means the same.

If you want to speak strictly, the intuition behind injectivity is:

You can find a "copy" of the domain of $f\colon A \to B$ in the set $B$

L F
  • 3,644