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
A grocery store buys items and then applies a markup of 70%. What is the retail price of item that originally costs $10?
True [87]

Answer:

$17

Step-by-step explanation:

since your finding retail price u need to do 10×.7 and that would be 7 then and the 7 to 10

7 0
3 years ago
Read 2 more answers
Give the most precise selection
Art [367]

Answer:

I think square

Cause it is having 4 sides and in ur question the were 4 vertuces so i think its a square

8 0
3 years ago
Read 2 more answers
Nate has 6 3/5 of fabric. He uses 3 1/2 yards of fabric to make a pillow. How much fabric dose he left
NNADVOKAT [17]

Answer:

3 and 1/2  minus 2/3  minus 1/3 =

7/2 minus 2/3 minus 1/3 =

21/6 minus 4/6 minus 2/6 =

17/6 - 2/6 =

15/6 =    5/2 = 2 and 1/2

Optionally, you can think of it this way:

He used 2/3 yards for the pillow and 1/3 yard for the scarf.

So he used 1 yard

3 and 1/2 minus 1 = 2 and 1/2 = 5/2

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Find the area of this rectangle <br> 13cm 8cm
castortr0y [4]

Answer:

104 cm squared

Step-by-step explanation:

none.

8 0
3 years ago
PLEASE HELP im fr crying i hate this how is this so hard for me ill give barnily
seraphim [82]

Answer:

50

Step-by-step explanation:

to find the next number you times by -2.5

-16/5 = -3.2

-3.2 x -2.5 = 8

8 x -2.5 = -20

-20 x -2.5 = 50

hope this helps x

brainliest plzz?

3 0
2 years ago
Other questions:
  • Graph the linear eguation x-4y=8
    9·1 answer
  • What is the perpendicular for x+4y= -2
    13·1 answer
  • Can someone help me out pls
    5·1 answer
  • If you get this you can have 32 points!!!! just please help no wrong answers please.Last Question please help :) &lt;3 Thank you
    10·1 answer
  • Skipper has $350 in his bank account. He needs at least $1200 to buy more dog bones. If he saves $25 a week, how many weeks unti
    6·1 answer
  • Gavin has 16 blue marbles and 8 white ones. If he wants to place them in identical groups
    9·1 answer
  • What is the missing constant term in the perfect square that starts with x2 – 12x ?
    15·1 answer
  • Which function is not a linear function?
    8·1 answer
  • Elsa earns 46 dollars each week working part-time at a bookstore. She earns one additional dollar for each book that she
    13·1 answer
  • Suppose you drop a tennis ball from a height of 15 feet.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!