Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

(a) Give an example of a functionfthat is injective butnnot surjective.

(b) Give an example of a functiong that is surjective but not injective.

NOTE:Z is the set of integers,Q is the set of rational numbers, and R the set of real numbers.

Short Answer

Expert verified

(a) The function isf:{(u,3u):uZ} injective but not surjective.

(b) The function isg={m              m1m+1          m0 surjective but not injective.

Step by step solution

01

Write the given data from the question.

The functionf:AB is said to be injective if the distinct element of Acan be mapped into the distinct element ofB .

The functionf:AB is said to be surjective if every element of Acane be mapped into every element B.

02

Give the example of function that is injective but not surjective.

(a)

The functionf:{(u,3u):uZ} is injective but not surjective.

Let assumedc,dZ

f(c)=f(d)3c=3dc=d

Therefore, fis injective.

We have assumed 2Zthen3u=2, or u=23Z.

Therefore, there is pointyZ for which there is nou such that f(u)=yand is not surjective.

Hence the function is f:{(u,3u):uZ}injective but not surjective.

03

Give the example of functionf that is surjective but not injective.

(b)

The functiong={m              m1m+1          m0 is surjective but not injective.

Asg(0)=1 andg(1)=g(0)=1 but01 . Therefore is not injective.

Assumed that āyZ, if y=1then it is known thatg(0)=g(1)=1 .

Ify>1 , thenm=y>1 .

Sincem=y theng(m)=g(y)=y

Ify0 thenm=y10

g(m)=g(y1)g(m)=(y1)+1g(m)=y

For anyyZ ,there existm ,g(m)=y therefore, gis surjective.

Hence the function is g={m              m1m+1          m0surjective but not injective.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free