Onto (Surjective) Function

A function f: X → Y is said to be an onto function if every element of Y is an image of some element of set X under f, i.e for every y ∈ Y there exists an element x in X such that f(x) = y.

Properties:

  • The range of functions should be equal to the codomain.
  • Every element of B is the image of some element of A.

Condition to be onto function: The range of function should be equal to the codomain.

As we see in the above two images, the range is equal to the codomain means that every element of the codomain is mapped with the element of the domain, as we know that elements that are mapped in the codomain are known as the range. So these are examples of the Onto function.

Read More about Onto Functions.

Examples of Onto Functions

Some of the most common examples of onto functions are:

  • f(x) = x (Identity function)
  • g(x) = ex (Exponential function)
  • h(x) = sin(x) (Sine function within a limited domain, e.g., h : R→[−1,1])
  • k(x) = cos(x) (Cosine function within a limited domain, e.g., k : [0,π]→[−1,1])
  • m(x) = x3 (Cubic function)

Types of Functions

Functions are defined as the relations which give a particular output for a particular input value. A function has a domain and codomain (range). f(x) usually denotes a function where x is the input of the function. In general, a function is written as y = f(x).

Table of Content

  • What is a Function?
  • Types of Functions in Maths
  • One to One (Injective) function
  • Many to One function
  • Onto (Surjective) Function
  • Into Function
  • Summary: Types of Functions

Similar Reads

What is a Function?

A function is a relation between two sets set A and set B. Such that every element of set A has an image in set B and no element in set A has more than one image in set B....

Types of Functions in Maths

An example of a simple function is f(x) = x3. In this function, f(x) takes the value of “x” and then cubes it to find the value of the function. For example, if the value of x is taken to be 2, then the function gives 8 as output i.e. f(2) = 8....

One to One (Injective) function

A function f: X → Y is said to be a one-to-one function if the images of distinct elements of X under f are distinct. Thus, f is one to one if f(x1) = f(x2)...

Many to One Function

If the function is not one to one function, then it should be many to one function means every element of the domain has more than one image at codomain after mapping....

Onto (Surjective) Function

A function f: X → Y is said to be an onto function if every element of Y is an image of some element of set X under f, i.e for every y ∈ Y there exists an element x in X such that f(x) = y....

Into Function

A function f: X → Y is said to be an into a function if there exists at least one element or more than one element in Y, which does not have any pre-images in X, which simply means that every element of the codomain are not mapped with elements of the domain....

Summary: Types of Functions

All types can be summarized in the following table:...

Solved Examples on Types of Function

Example 1: Check whether the function f(x) = 2x + 3, is one-to-one or not if Domain = {1, 2, 1/2} and Codomain = {5, 7, 4}...

FAQs on Types of Function

What is domain and codomain of a function?...