Question
Question: Let f be the subset of \(Q\times Q\) defined by \(f=\left[ \left( ab,a+b \right):a,b\in Q \right]\)....
Let f be the subset of Q×Q defined by f=[(ab,a+b):a,b∈Q]. Is f a function from Q to Q? Justify your answer.
Solution
The set Q is a set of all the rational numbers. For checking whether the given subset is a function or not, we need to use the definition of a function. A function is a relation which gives a unique output for a given input. So we have to choose two rational numbers, one for a and the other for b, and check whether for the input ab the output a+b is unique or not. If it gives a unique output for all the values of a given input, then it will be a function.
Complete step by step solution:
According to the definition of the set f=[(ab,a+b):a,b∈Q], the input is the product of two rational numbers a and b, while the output is the sum of the two numbers.
We know that a function is a relation which gives a unique output for a given input.
Let us pick two rational numbers 2 and 3 so that a=2 and b=3. The input is
⇒ab=2×3⇒ab=6
And the output is
⇒a+b=2+3⇒a+b=5
So for the input 6, the set f is giving the output of 5.
Now, let a=1 and b=6. The input in this case is
⇒ab=1×6⇒ab=6
And the output is
⇒a+b=1+6⇒a+b=7
This time, for the input 6, the set is giving the output of 7.
So we see that for the same input of 6, the set f is giving two different outputs of 5 and 7.
Since for a function the output must be unique for a given input, the given set f is contradicting this definition.
Hence, the set f is not a function.
Note: We must choose the second pair of the values for a and b such that the output a+b changes but the input ab remains the same. Our attempt must not be to prove that the given set is a function, but to prove that it is not a function. This is because if we wish to prove the given set f a function, hundreds of examples would come to our mind. But trying to prove the given set f not a function is not that easy.