1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
iris [78.8K]
3 years ago
15

20. Give an example of a function from N to N that is a) one-to-one but not onto. b) onto but not one-to-one. c) both onto and o

ne-to-one (but different from the identity function). d) neither one-to-one nor onto.
Mathematics
1 answer:
Oduvanchick [21]3 years ago
8 0

Answer:

Step-by-step explanation:

a) To provide an example of a function N → N that is one-to-one but not onto.

Suppose f:N\to N  to be f(n)=n^2

Then; \text{a function } \ f: A \to B\  \text{is one-to-one if and only if } f(a) = f(b) \implies a = b \ for \ a, b  \ \epsilon \ A.

\text{a function } \ f: A \to B\  \text{is onto if and only if  for every element } b  \ \epsilon \ B  \\ \text{there exist an element a}  \ \epsilon\  A \ such \  that f(a) = b}

Now, assuming a \ \Big {\varepsilon}  \ N \&  \ b  \ \epsilon  \ N;

Then f(a) = f(b)

a^2 =  b^2 \\ \\ a = b

The above function is said to be one-to-one

\text{it is equally understandable that not every natural number is the square of a natural number}e.g

2 is not a perfect square, hence, it is not regarded as the image of any natural no.

As such, f is not onto.

We can thereby conclude that the function  f(n) = n^2 is one-to-one but not onto

b)

Suppose f: N \to N be

f(n) = [n/2] \\ \\  For \ n =1, f(1) = [1/2] = [0.5] = 1 \\ \\ For \ n=2 , f(2) = [2/2] = [1] = 1

It implies that the function is not one-to-one since there exist different natural no. having the same image.

So, for n \epsilon N , there exists an image of 2n in N

i.e.

f(2n) = [2n/2] = [n] = n

Hence, the function is onto

We thereby conclude that the function f(n) = [n/2] \text{ is onto but not one-to-one}

c)

let f: N\to N be  f(n) = \left \{ {{n+1, \ if \ n \ is \ even } \atop n-1 , \ if \ n \ is \ odd} \right.

So, if n, m is odd:

Then:

f(n) = f(m) \\ \\ n-1 = m-1 \\ \\ n = m

Likewise, if n, m is even:

Then;

f(n) = f(m) \\ \\ n+1 = m+ 1  \\ \\ n = m

The function is then said to be one-to-one.

However, For n \epsilon N and is odd, there exists an image of n - 1that is even;

f(n - 1) = n -1 + 1 =n

For n \epsilon N and is even, there exists an image of n + 1that is odd;

f(n - 1) = n +1 - 1 = n

where(; implies such that)

Hence, this function is said to be onto.

We can therefore conclude that the function f(n) = \left \{ {{n+1, \ if \ n \ is \ even } \atop n-1 , \ if \ n \ is \ odd} \right. is both onto and one-to-one.

d)

Here, to provide an example where the f:N \to N is neither one-to-one nor onto.

SO;

Let f : N \to N is defined to be f(n)=0

Then, since every integer has the same image as zero(0), the function is not one-to-one.

Similarly, the function is not onto since every positive integer is not an image of any natural number.

We, therefore conclude that, the function f(n)=0 is neither one-to-one nor onto.

You might be interested in
If Dorie devotes the same number of hours to studying for these three classes each week, what is the total number of hours Kathl
expeople1 [14]

Answer:

The answer is 17.2 hours

Step-by-step explanation: Because first you add all hours together (which is 86/15) then multiple it by 3 (week) which is 86/5 = 17.2 hours

4 0
2 years ago
A small home speaker produces 0.200 ~\text{W}0.200 W of acoustical power. (This is achieved, for example, by a 10-Watt speaker o
Anika [276]

Answer:

i dont speak english

Step-by-step explanation:

4 0
3 years ago
the inn has ten rooms. 1/2 of the rooms are reserved for friday. the rest are vacant. If 2 more rooms are reserved for friday, w
Ganezh [65]
7 total rooms will be occupied on Friday.
7 0
3 years ago
Read 2 more answers
Which equation shows how to use equivalent fractions to evaluate 4/5-2/3
Alecsey [184]
B

Equivalent fractions are made when you multiply both the top (numerator) and the bottom (denominator) of the fraction by the same number. The only choice that is correct here is B.
8 0
3 years ago
Six times a number is greater than 20 more than that number. What are the possible values of that number?
jek_recluse [69]
6n>20+n
6n-n>20
5n>20
n>4
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which strategies can be used to solve this problem?
    8·1 answer
  • The solution set of n2 − 14n = -45 is {<br> }.<br> (Separate the solutions with a comma)
    11·2 answers
  • there are 3 second grade classes at the sunshine school one has 22students and another has 20 students if there are 63 students
    5·2 answers
  • mr dela cruz uses 18 yards of cloth for making 5 pants how many pants will he make for 72 yards of cloth​
    15·1 answer
  • The area of a triangle is 32 in.² the height of the triangle is 8 inches find the base of a triangle
    13·1 answer
  • If a and b are parallel and c and d are parallel, which pair of angles are congruent?
    8·1 answer
  • Two numbers, x and y, have a sum of 8 and a difference of -14.
    6·1 answer
  • Given 3 + 7 + 11 + 15 + ... find S20
    8·1 answer
  • Imfaoo
    9·2 answers
  • Drag the sliders.<br> Which slider creates scale copies of the shape?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!