Solveeit Logo

Question

Question: If \(f:A\to B\) is a constant function which is onto then \(B\) is (a) a singleton set (b) a nul...

If f:ABf:A\to B is a constant function which is onto then BB is
(a) a singleton set
(b) a null set
(c) an infinite set
(d) a finite set

Explanation

Solution

To solve this problem, let us first understand what a function is, what a constant function is and what is the condition for a function to be onto.

Complete step-by-step answer :
A function is a process or a relation that associates each element xx of a set XX to a single element yy of another set YY . Here XX is domain and YY is co-domain of the function. The domain of a function is the set of possible inputs for the function. For example , the domain of f(x)=x2f\left( x \right)={{x}^{2}} is all real numbers, and the domain of g(x)=1xg\left( x \right)=\dfrac{1}{x} is all real numbers except for x=0x=0 . Also, the co-domain of a function is the set into which all of the output of the function is constrained to fall. We can understand this by taking the example of f(x)=x2f\left( x \right)={{x}^{2}} .

We can see that the domain of the function f(x)=x2f\left( x \right)={{x}^{2}} is the set \left\\{ 1,2,3,4,5 \right\\} . Co-domain of the function f(x)=x2f\left( x \right)={{x}^{2}} is the set \left\\{ 1,4,9,16,25,17,23,19 \right\\} . Here, we also have a range. So, let us know about range. A range is the set of all ff images of all the elements of domain.
According to the function f(x)=x2f\left( x \right)={{x}^{2}} , the set \left\\{ 1,4,9,16,25 \right\\} is the range of the function f(x)=x2f\left( x \right)={{x}^{2}} .
Now, let us know about onto function. A function ff from a set XX to a set YY is onto, if for every element yy in the co-domain YY of ff , there is at least one element xx in the domain XX of ff such that f(x)=yf\left( x \right)=y . We can also show it as

Here, we can see that each element of XX has a fimagef-image in YY . We can also say that if a function is onto then the range set will be equal to the co-domain set.
Now, let us solve the given problem .
It is given that f:ABf:A\to B is a constant function which is onto.
f:ABf:A\to B is a constant function means for each element in AA there is some fimagef-image in BB .
Also, f:ABf:A\to B is onto which means f(A)=Bf\left( A \right)=B i.e. , range set is equal to domain set . Therefore we conclude that BB has only one element.
Thus, BB is a singleton set.
Hence the correct option is (a).

Note : Alternate shortcut:
f(x)f\left( x \right) is a constant function \Rightarrow Range of f(x)f\left( x \right) is a singleton set.
For ffto be an onto function, Co-domain BB should be equal to range.
B\therefore B should be a singleton set.