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
How many inches longer is a hercules beetle than a ladybug
Mila [183]

Answer:

A Hercules Beetle is 6.97 inches larger than A ladybug

Step-by-step explanation:

A hercules beetle is 7 inches long while a ladybug is about 0.03 cm long when subtracting these two you will get a grand total of 6.97.

6 0
2 years ago
Will give brainliest to correct answer.
Kobotan [32]
Note that c is the hypotenuse of the blue triangle, and that the Pyth. Thm. states that (length of one leg)^2 + (length of the other leg)^2 = (hyp)^2.

Therefore, (hyp)^2 = c^2 = [2sqrt(x^2+3x)]^2 + 3^2, or
                                        = 4(x^2+3x) + 9, or
                                        = 4x^2 + 12x + 9  = (2x+3)^2
Taking the sqrt of both sides, c = plus or minus (2x+3).  Eliminate -(2x+3) because the middle term of the square of this would be negative, in conflict with the given +12x.

c=2x+3 is the correct answer.

8 0
3 years ago
-2(3x-4)=4(5x-11) Solve for x
sveta [45]

-2(3x-4)=4(5x-11)

-6x+8=20x-44

8+44=26x

26x=52

x=52/26

your answer will be x=2

6 0
3 years ago
Read 2 more answers
Answer? .............................
kumpel [21]

ANSWER TO QUESTION ONE IS   5  

5x2+5=15  

5-4=1

15x1=15

QUESTION 2

X = 20

IDK 3 :(

7 0
3 years ago
The owner of a bike shop sells unicycles and bicycles and keeps inventory by counting seats and wheels. One day, she counts 15 s
poizon [28]
Im going to guess its either b or c.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Can somebody help and explain this plzz
    6·1 answer
  • Using the following two points, find the slope: ( -1, 5 ) and ( 2, -3 ).
    5·1 answer
  • Emily and Hunter tracked the average temperature in their city for the past 8 days. They recorded their temperature findings in
    15·1 answer
  • A 15 foot ladder is leaning against a wall. if the foot of the ladder is sliding away from the wall at a rate of 10 ft/sec, at w
    13·1 answer
  • Need help with geometry.
    15·1 answer
  • What are the measures of angles B and C
    15·1 answer
  • Help me plz I don’t understand step by step explanation will help
    11·1 answer
  • What is x and y value
    15·1 answer
  • Which number represents the probability of an event that is very likely to occur?
    12·1 answer
  • Does the point (8,0) lie on the line represented by 3x + 2y = 16?<br> O True<br> False
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!