Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Differences Between onto and into Functions

Differences Between onto and into Functions

In this article we will cover what are onto and into functions, formulas of onto and into functions, differences of onto and into functions. An onto function will have at least one pre-image in the domain for each element in the codomain. There will be at least one element in the codomain in an into function that does not have a domain pre-image.

Table of Content
  •  

Onto Function is another name for Surjective function. When determining the inverse of a function, the concept of onto function is critical. To determine whether a function is onto, we need to know information about both sets involved. A type of function in which at least one element of the co-domain does not have a pre-image in the domain. Assume there are two sets, A (domain) and B (domain) (codomain)

An onto function is one whose image is the same as its codomain. An onto function’s range and codomain are also equal. An into function’s range will be a subset of the codomain. The range, however, will not be equal to the codomain. An into function’s elements are typically represented as an ordered pair of the form (input, output).

What are onto and into functions

Onto functions

An onto function is one whose image is the same as its codomain. An onto function’s range and codomain are also equal. When every y codomain has at least one pre-image x domain, we can say that function is onto.

An onto function is a function f from set A to set B that exists for each B and has at least one an A such that f(a) = b. Because they are all mapped to some element of A, none of the elements are left out in the onto function. 

Consider the following example:

A = {a1,a2,a3 } and B = {b1,b2 } then f : A→B.

into functions

An into function is a type of function that establishes a binary relationship between two sets such that each element of the first set (domain) is associated with exactly one element of the second set (codomain), and at least one element of the codomain is not associated with any element in the domain.

There will be one or more elements in set B that do not have a pre-image in set A for a function f: A →B to be an into function. In other words, not all elements of the codomain will be mapped to domain elements in an into function. As a result, an into function’s range will be a subset of the codomain, but the range and codomain will never be equal.

Example: Sets P = {1, 2, 3} and Q = {7, 8, 9, 10} are defined by the function f = (1, 7), (2, 9), (3, 8). Because element 10 of set Q lacks a pre-image in set P, this function is an into function.

Formulas of onto and into functions

Onto functions

There is a formula for calculating the number of onto functions that can be transferred from one set to another. We must ensure that all of the elements of B are used in the function from A to B.

If A has m elements and B has n elements, then using the formula, the total number of onto functions can be calculated.

nm–(n c 1)n-1m+(n C 2)(n-2m)……-1n-1(nC n-1)1m

It is important to note that this formula will only work if m ≥ n. However, if m < n, the number of onto functions will be 0 because it is impossible to use all of the elements of B.

Into functions

Total number of into function ={nPm   , n≥m and 0, n<m

Differences of onto and into functions

Onto functions

Into functions

 

Every element in the codomain will have at least one pre-image in the domain in an onto function. It is also referred to as subjective mapping.

 

There will be at least one element in the codomain in an into function that does not have a domain pre-image.

The following is an arrow diagram for an onto function:

The following is an arrow diagram for an into function:

 

An onto function’s range and codomain are both equal.

 

An into function’s range will be a subset of the codomain. The range, however, will not be equal to the codomain. 

 

Example:A = {1, 2, 3, 4}, B = {a, b, c} and f = {(1, b), (2, a), (3, c), (4, c)}

 

Example: X = {a, b, c}, Y ={1, 2, 3, 4} and f = {(a, 1), (b, 2), (c, 3)}

Conclusion

In this article we conclude that the distinction between the Into and Onto functions Each element of the output set y should be connected to the input set for Onto functions. For Into functions, on the other hand, there must be at least one element in the output set y that is not connected to the input set. A onto function has the same domain and range. After we have substituted the domain, the range of a function is the complete set of all possible resulting values of the dependent variable (y, usually). In layman’s terms, the range is the set of y-values that result from substituting all possible x-values.

faq

Frequently asked questions

Get answers to the most common queries related to the IIT JEE Examination Preparation.

What Does Into Function Mean in Math?

The binary relation between two sets where at least one element of the codomain is not mapped to an element of the d...Read full

What is the Into Function Domain?

The domain of a function is the entire set of values of an independent quantity or the input of an into function....Read full

What is the difference between Onto and Into Function?

An onto function maps all elements of the codomain to one or more elements of the domain. There will be at least one...Read full

How can you tell if a function is on?

If the assignment rule is in the form of a computation, then we must solve the equation ...Read full

What is the difference between a one-to-one and an onto function?

Functions 1-1 and Onto When no element o...Read full

The binary relation between two sets where at least one element of the codomain is not mapped to an element of the domain is referred to as an into function.

The domain of a function is the entire set of values of an independent quantity or the input of an into function.

An onto function maps all elements of the codomain to one or more elements of the domain. There will be at least one element in the codomain that is not mapped to any element in the domain in an into function.

If the assignment rule is in the form of a computation, then we must solve the equation y=f(x) for x. If we can always express x in terms of y and the resulting x-value is in the domain, we can say that the function is onto.

Functions 1-1 and Onto When no element of B is the image of more than one element in A and all elements in B are used, a function f from A (the domain) to B (the range) is BOTH one-to-one and onto. Bijective functions are those that are both one-to-one and onto.

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Mathematics
Zero Vector

A zero vector is defined as a line segment coincident with its beginning and ending points. Primary Keyword: Zero Vector

ZERO MATRIX

In this article, we will discuss about the zero matrix and it’s properties.

YARDS TO FEET

In this article we will discuss the conversion of yards into feet and feets to yard.

XVI Roman Numeral

In this article we are going to discuss XVI Roman Numerals and its origin.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY