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]
2 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]2 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
Find the slope of the line that passes through the pair of points. ​(negative 44.29−44.29​,4.84.8​) and ​(5.295.29​,3.53.5​)
Damm [24]
1.7602899999999995x + 49.138y = 182.23671592000002

6 0
3 years ago
Select the correct answer.
blsea [12.9K]

Answer: as the sample size is approximately large, the margin of the error is 0.15

Step-by-step explanation:

4 0
2 years ago
Read 2 more answers
Answer the questions below about the quadratic function
Luden [163]

Answer:

839393

Step-by-step explanation:


6 0
2 years ago
If anybody willing to help me with my geometry work that’s done by 6pm please contact me by my number 9014132287
My name is Ann [436]
Do not listen to those bots
4 0
2 years ago
Which dimensions can create more than one triangle? A. Three angles measuring 75°,45°, and 60°. B. 3 sides measuring 7, 10, 12?
NeTakaya

This is vague.  Any dimensions that make a triangle can make more than one, just draw another right next to it.  What's really being asked is which dimensions can make more than one non-congruent triangle.

<span>A. Three angles measuring 75°,45°, and 60°.

That's three angles, and 75+45+60 = 180, so it's a legit triangle. The angles don't determine the sides, so we have whole family of similar triangles with these dimensions.  TRUE

<span>B. 3 sides measuring 7, 10, 12?

</span>Three sides determine the triangles size and shape uniquely; FALSE

<em>C. Three angles measuring 40</em></span><span><em>°</em></span><em>, 50°</em><span><em>, and 60°? </em>

40+50+60=150, no such triangle exists.  FALSE

<em>D. 3 sides measuring 3,4,and 5</em>

Again, three sides uniquely determine a triangle's size and shape;  FALSE


</span>
7 0
2 years ago
Read 2 more answers
Other questions:
  • MAKE SURE TO INCLUDE ALL WORK AND MAKE SURE IT MAKES SENSE
    13·1 answer
  • A container of milk will hold 3,000 milliliter. What is the amount in liters?
    8·2 answers
  • Carson throws a ball upward into the air the height of the ball is determined by h(t)= -16t^2 +60t+ 5.5. what is the height in f
    14·1 answer
  • A university has ten dormitories for students. All of the dormitories have students of similar ages and offer the same convenien
    6·1 answer
  • Write prime factorizations of the number 18.
    7·1 answer
  • What is 2/4 in simplest form
    13·2 answers
  • Can you help me please for number 8
    13·1 answer
  • Jose rents a bike for $4 plus
    8·2 answers
  • A Salt Marsh Harvest Mouse ran a 360 centimeter straight course race in 9 seconds. How fast did it run?
    5·2 answers
  • A bus travles with a constant speed of 48 miles per hour how long will it take to travel 60 miles?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!