ONTO FUNCTION

Subscribe to our â–ļī¸ YouTube channel đŸ”´ for the latest videos, updates, and tips.

A function f : A -> B is said to be an onto function if every element in B has a pre-image in A. That is, a function f is onto if for each b âˆŠ B, there is at least one element a âˆŠ A, such that f(a) = b.

This  is same as saying that B is the range of f. An onto function is also called a surjective function. In the above figure, f is an onto function

Example 1 :

Check whether the following function is onto.

f : N → N defined by f(n) = n + 2

Solution :

Domain and co-domains are containing a set of all natural numbers.       

If x = 1, then f(1)  =  1 + 2  =  3.

If x = 2, then f(2)  =  2 + 2  =  4.

From this we come to know that every elements of codomain except 1 and 2 are having pre image with.

In order to prove the given function as onto, we must satisfy the condition.

Co-domain of the function = range 

Since the given question does not satisfy the above condition, it is not onto.

Example 2 :

Check whether the following function is onto.

f : R → R defined by f(n) = n2

Solution :

Domain = All real numbers.

Co-domain = All real numbers.

Since negative numbers and non perfect squares are not having preimage. It is not onto function.

Example 3 :

Check whether the following function are one-to-one.

f : R - {0} → R defined by f(x) = 1/x

Solution :

Domain = all real numbers except 0.

Co-domain = All real numbers including zero.

In co-domain all real numbers are having pre-image. But zero is not having preimage, it is not onto.

Example 4 :

f : [−2, 2] → B is given by f(x) = 2x3, then find B so that f is onto.

Solution :

Here domain is [-2, 2] and range is B.

f(-2) = 2(-2)3

= 2(-8)

= -16

f(2) = 2(2)3

= 2(8)

= 16

B is [-16, 16].

If f : R → R is defined by

f(x) = 2x − 3

prove that f is a bijection and find its inverse.

When the function is one to one and onto, that can be considered as bijection.

To prove the given function as one to one, let us assume

f(x) = f(y)

2x - 3 = 2y - 3

2x = 2y

x = y

So, it is one to one function.

To prove the function is onto, we have to prove the codomain and range are equal.

Then let x = (y + 3)/2

Then f(x) = 2[(y + 3)/2] - 3

= y + 3 - 3

= y

f(x) = y

Then it is onto function.

Finding inverse function :

Let y = 2x - 3

Solve for x,

y + 3 = 2x

x = (y + 3)/2

Replace x by f-1(x) and y by x.

f-1(x) = (x + 3)/2

Example 5 :

State whether the following relations are functions or not. If it is a function check for one-to- oneness and ontoness. If it is not a function, state why?

(i) If A = {a, b, c} and f = {(a, c),(b, c),(c, b)}; (f : A → A).

(ii) If X = {x, y, z} and f = {(x, y),(x, z),(z, x)}; (f : X → X).

Solution :

i)

f = {(a, c), (b, c), (c, b)}

Here the out put c is having more than one preimage, then it is not a one to function. In codomain the output a does not has any preimage, then it is not onto function.

ii)  

f = {(x, y), (x, z), (z, x)

Here the input x is associated with more than one output, then it is not a function.

Example 6 :

If f : R → R is defined by f(x) = 3x − 5, prove that f is a bijection and find its inverse.

Solution :

Proving the function f(x) is one to one :

f(x) = f(y)

3x - 5 = 3y - 5

3x = 3y

x = y

Proving the function f(x) is onto :

To prove codomain and range are equal, 

Let x = (y + 5)/3

f(x) = 3[(y + 5)/3] - 5

= y + 5 - 5

f(x) = y

Then it is onto function.

Finding inverse :

Let y = 3x - 5

y + 5 = 3x

x = (1/3)(y + 5)

f-1(x) = (1/3)(x + 5)

Example 7 :

The function f : [0, 2Ī€] → [−1, 1] defined by f(x) = sin x is

(1) one-to-one        (2) onto

(3) bijection           (4) cannot be defined

Solution :

f(x) = sin x

Solving trigonometric function, for one out put we have have more than one inputs.

For example,

1/2 = sin x

x = sin-1(1/2)

initial value, x = ΀/6

x = nĪ€ Âą (-1)n Îą

When n = 1

x = 1Ī€ Âą (-1)1 (Ī€/6)

= 1Ī€ - 1(Ī€/6)

x = 5Ī€/6

For  x = Ī€/6 and 5Ī€/6, we get the value 1/2.

 So, it is not one to one function

It is onto function.

Example 8 :

If the function f : [−3, 3] → S defined by f(x) = xis onto, then S is 

(1) [−9, 9]       (2) R     (3) [−3, 3]      (4) [0, 9]

Solution :

f(x) = x2

f(-3) = (-3)2

= 9

f(0) = 02

= 0

f(1) = 12

= 1

f(2) = 22

= 4

f(3) = 32

= 9

So, option (4) is the correct answer.

Subscribe to our â–ļī¸ YouTube channel đŸ”´ for the latest videos, updates, and tips.

Kindly mail your feedback to v4formath@gmail.com

We always appreciate your feedback.

About Us  |  Contact Us  |  Privacy Policy

ŠAll rights reserved. onlinemath4all.com

onlinemath4all_official_badge1.png

Recent Articles

  1. Digital SAT Math Questions and Answers

    Mar 10, 26 05:53 PM

    digitalsatmath52.png
    Digital SAT Math Questions and Answers

    Read More

  2. Digital SAT Math Problems and Solutions (Part - 50)

    Mar 06, 26 07:48 PM

    digitalsatmath44.png
    Digital SAT Math Problems and Solutions (Part - 50)

    Read More

  3. Digital SAT Math Problems and Solutions (Part - 49)

    Mar 06, 26 06:47 PM

    digitalsatmath183.png
    Digital SAT Math Problems and Solutions (Part - 49)

    Read More