recategorized by
846 views
2 votes
2 votes

If $f:\{a,b\}^{\ast}\rightarrow \{a,b\}^{\ast }$ be given by $f(n)=ax$ for every value of $n\in \{a,b\}$, then $f$ is

  1. one to one not onto
  2. one to one and onto
  3. not one to one and not onto
  4. not one to one and onto
recategorized by

1 Answer

2 votes
2 votes
Considering x belongs to {a,b}*. Domain is {a,b,aa,ab,ba,bb,...} and range is also {a,b,aa,ab,ba,bb,...} . Suppose x1 and x2 are different elements in domain which map to the same element in range then f(x1)=f(x2)

implies a*x1=a*x2

implies x1=x2. This means x1 and x2 are same i.e. no two elements in domain will map to the same element in range. So f is one-one.

Now, a function is said to be onto if every element in range set has a pre image in domain set(no element in range set should be left out)

Here,f is not onto because for element b in range, there is no pre-image in domain.

So answer should be A
edited by
Answer:

Related questions

1 votes
1 votes
0 answers
1
admin asked Mar 31, 2020
454 views
If $\Delta f(x)= f(x+h)-f(x)$, then a constant $k,\Delta k$$1$$0$$f(k)-f(0)$$f(x+k)-f(x)$
1 votes
1 votes
1 answer
2
admin asked Apr 2, 2020
456 views
Evaluate the sum $S=1+1+\dfrac{3}{2^{2}}+\dfrac{3}{2^{3}}+\dfrac{5}{2^{4}}+\dots$$1$$2$$3$$4$
0 votes
0 votes
5 answers
4
admin asked Apr 2, 2020
2,460 views
In propositional logic, which of the following is equivalent to $p \rightarrow q$?$\sim p\rightarrow q$$ \sim p \vee q$$ \sim p \vee \sim q$$p\rightarrow \sim q$