Question
Question: Let a function \(f:N\to N;f(x)=2x\) for all \(x\in N\). Show that f is one-one and into function....
Let a function f:N→N;f(x)=2x for all x∈N. Show that f is one-one and into function.
Solution
Hint: To prove that the given function is one-one, assume two elements x1 and x2 in the set of the domain of the given function and show that, if f(x1)=f(x2) then, x1=x2. To prove that the given function is into, show that the set of f(x), that is co-domain, contains such elements which do not have a pre-image in the set of ‘x’ or domain.
Complete step-by-step solution -
It is given that function is defined for all natural numbers and over all natural numbers. Therefore, both domain and co-domain of the given function consists of the set of all natural numbers.
First let us prove that the function is one-one.
Assume two elements x1 and x2 in the set of the domain of the given function. Therefore,
f(x1)=f(x2)
Substituting, x1 and x2 in the function, we get,