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
To make 1 1/2 dozen muffins, a recipe uses 3 1/2 cups of flour. How many cups of flour are needed for every dozen muffins made?
ch4aika [34]
Ratio and proportion

convert to inproper fracton first

1 and 1/2=1+1/2=2/2+1/2=3/2

3 and 1/2=3+1/2=6/2+1/2=7/2


3/2dozen=7/2cups
times 2 both sides
3dozen=7cups
divide by 3 both sides
1dozen=7/3cups=2 and 1/3 cup
5 0
4 years ago
Read 2 more answers
5y + 2 + 6 + 2y 5y + 2(y + 3) + 2 combining like terms 6y − y + 2y + 10 − 4 + 2 Commutative Property Distributive Property arrow
Paraphin [41]

Answer:

Distributive Property

Step-by-step explanation:

5y + 2 + 6 + 2y

= 5y + 2(y + 3) + 2 This is the distributive property of multiplication w.r.t. addition

= 6y − y + 2y + 10 − 4 + 2

The distributive property of multiplication with respect to addition  is the one  which separates each term by using multiplication and then addition.

So we see that 2 is multiplied with y and 3 and then added with the like terms. If there was a minus sign the property would be distributive over subtraction.

4 0
3 years ago
1) Factor the polynomial using the GCE.<br> 2x2 + 6x
yarga [219]

Answer:

2x(x+3)

Step-by-step explanation:

2x^{2} +6x

2x(x+3)

4 0
4 years ago
Read 2 more answers
I need more hleppppp
marissa [1.9K]

Answer:

C, 40%

Step-by-step explanation:

0.15 + 0.25 is 0.4 and in percentage that is 40%

8 0
3 years ago
Read 2 more answers
Scott and Ariel want to make as much as snack mix as possible, but no more than 25 cups of mix. I they can use only full cups of
photoshop1234 [79]

Answer:

hello your question has some missing parts attached below is the missing information

answer : Scott will make 5 snack mix without going over

Step-by-step explanation:

Given that:

Scott makes a snack  mix with ; 2 cups of Almonds and 3 cups of raisins

=  5cups per snacks mix

Ariel makes a snack mix with : 3 cups of almonds and 5 cups of sunflower seeds = 8 cups per snack mix

<u>Now back to your question above</u>

Given that : No more than 25  full cups is required to make a snack mix

For Scott

= 25 / 5 = 5 snack mix ( No make overs )

For Ariel

= 25 / 8 = 3.125 snack mix ( there is a makeover of 0.125 )

Hence it can be said that Scott will make the most mix without going over

8 0
3 years ago
Other questions:
  • What is (0.64) • (0.81)?
    12·2 answers
  • What is the base area of a cube prisim 5mm
    13·1 answer
  • CAN SOMEONE PLEASE HELP ME???
    8·2 answers
  • Plz show work ☺ and plz explain
    14·2 answers
  • Please answer quickly I need the help
    7·1 answer
  • The blue figure is a translation image of the black figure. write a rule to describe the translation
    15·1 answer
  • Help me out please???
    12·1 answer
  • Dave and ryan share some money in the ratio 7 : 4 . dave got $28, how much did ryan get?
    11·2 answers
  • Roberto works in a home appliance store she is paid $195 per week and 3% on all sales over $1000 during one year her average wee
    5·1 answer
  • Jenny is studying the growth of a particular type of plant. She is testing the effects of three growth factors: lighting, age, a
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!