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
What is the midpoint of the segment shown below (3,7) (2,-1)
disa [49]

Answer:

( \frac{5}{2}, 3)

Step-by-step explanation:

Look at the image down below!! (ノ◕ヮ◕)ノ*:・゚✧

6 0
3 years ago
pls help me I will give u 100 points and mark u brainliest if u can answer this 1,2,3 questions plz help
USPshnik [31]

Answer:

Question 1: 2nd option

Question 2: 3rd option

Question 3: 4th option

8 0
3 years ago
Read 2 more answers
A freezer can be bought on hire purchase by making a desposiy of 15% of the cash price which is $2975 the interest which is 20%
Liono4ka [1.6K]

Answer: See explanation

Step-by-step explanation:

a. The deposit

= 15% × $2975

= 15/100 × $2975

= 0.15 × $2975

= $446.25

b. The hire purchase price

Outstanding balance = $2975 - $446.25 = $2528.75

20% of outstanding balance

= 20% × $2528.75

= 0.2 × $2528.75

= $505.75

Hire purchase price

= $2975 + $505.75

= $3480.75

c. The difference the hire purchase price and cash price

= $3480.75 - $2975

= $505.75

d. The difference as a percentage of the cash price.

= ($505.75 / $2975) × 100

= 0.17 × 100

= 17%

5 0
3 years ago
The Blue Ridge Parkway is 469 miles long. The parkway is a road that runs through 29 Virginia and North Carolina counties. Jenny
DedPeter [7]

Answer:

281/2/5 miles

Step-by-step explanation:

469/5 = 93.8

93.8x3 = 281.4

            = 281/2/5 miles

Please mark as Brainliest, thank you!

8 0
3 years ago
What unit rate is 420 miles in 7 hours?
STatiana [176]

420 miles in 7 hours

420/7

60 miles per hour

5 0
3 years ago
Read 2 more answers
Other questions:
  • Negative 15=negative 0.2x
    13·1 answer
  • Math help please! Thanks so much!
    6·1 answer
  • A bicycle wheel has a radius of 13 inches.
    10·1 answer
  • Money Flow The proceeds from the sale of a building will yield a uniform continuous flow of $10,000 a year for 10 years. Find th
    13·1 answer
  • A container of oregano is 17 pounds heavier than a container of peppercorns. Their total weight is 253 pounds. The peppercorns w
    5·1 answer
  • Lourdes has 3times as much money than ella. Together they have $32 . How much money does Lourdes have ?
    14·1 answer
  • An amusement park reports that the probability of a visitor riding its largest roller coaster is 30 percent, the probability of
    11·2 answers
  • Resolve into factors. px + qx + py + qy (algebra). ​
    8·2 answers
  • Could someone possibly help me with this
    13·1 answer
  • What is the equation of the line that passes through the point<br> (6,7) and has a slope of o?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!