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+4<9 solve the inequality
Nata [24]

Answer:

A < 5

Step-by-step explanation:

Move 4 to other side to isolate for x

A < 9-4

A < 5

6 0
3 years ago
Harold has $20.00 to spend. He decided to buy a shirt for $15.95 and spend the rest on packs of gum. If each pack of gum costs $
KIM [24]

Answer:

2 or less packs

Step-by-step explanation:

15.99 + 1.99g < 20.00  where g is the number of packs of gum

Subtract 15.99 from each side

15.99 + 1.99g - 15.99 < 20.00-15.99

1.99g < 4.01

Divide by 1.99

1.99g/1.99 < 4.01/1.99

g < 2.015075377

Harold must buy whole packs so g =2 or less

3 0
4 years ago
Read 2 more answers
Please help me thank you you if u do have a good day.
Harlamova29_29 [7]

Answer:

C

Step-by-step explanation:

Its straight and a straight line like that means your staying there for a long period of time.

3 0
3 years ago
How do I solve this
Sergio [31]

Answer:

9(c^7)

Step-by-step explanation:

\frac{ 9c^{3} }{c^{-4} }=\\9c^{3} * c^{4}=\\9c^{7}

c^-4 is equal to 1/(c^4), so 1/(c^(-4)) is c^4.

6 0
3 years ago
Plzz answer quick! Plzzzz
avanturin [10]

Answer:

heat the air

Step-by-step explanation:

Lightning is just a high-intensity amount of electricity. Picture zapping something with electricity: it doesn't get cold, it gets hot.

That's because when a current is passed through something, it has more energy, so the molecules start to vibrate faster and move around much faster than they were before, which causes friction and a buildup of heat.

8 0
3 years ago
Read 2 more answers
Other questions:
  • -(18n+6)−(6n+1)&gt;2 .
    14·1 answer
  • 4 students spent 12$ on a school lunch.At this rate,find the amount 10 students would spend on the same school lunch..
    13·2 answers
  • Let: p:x&lt; -3
    7·1 answer
  • Hillary has to drive 225 miles in four and a half hours. What should her average speed be in order to arrive on time? 56 mph 45
    15·2 answers
  • There are 5 pencils, 3 erasers and some rulers on a table.
    13·1 answer
  • Suzannah made 7 bows. How many feet of ribbon did she use?
    13·1 answer
  • Someone helppp!!!!!!
    12·1 answer
  • How many library patrons are younger than 30
    7·1 answer
  • In square ABCD, AC = 6x + 10, and BD = 10x + 2. What is the length of AC?
    8·2 answers
  • Please help fast !!!!!!!!!
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!