Difference Between Relations and Functions
Difference Between Relations and Functions
REGISTER NOW
Relations and functions are both closely related to each other. One needs to have a clear
knowledge to understand the concept of relations and functions to be able to differentiate
them. In this article, we are going to distinguish between relations and functions.
Two or more sets can be related to each other by any means known as Relation.
Let us consider an example of two sets A and set B having m elements and n
elements, respectively., we can easily have a relation with any ordered pair which
shows a relation between the two sets A and B.
A function can have the same range mapped as that of in relation, such that a set of
inputs is related with exactly one output.
Let us consider an example. Set A and Set B are related in a manner that all the elements
of Set A are related to exactly one element of Set B or many elements of the given set A
are related to one element of given Set B. Thus, this type of relation is known as a
function.
We see that a given function cannot have one to many relation between the set A and set
B.
What is a Relation?
Relation in Mathematics can be defined as a connection between the elements of
two or more sets, the sets must be non-empty.
https://www.vedantu.com/maths/difference-between-relations-and-functions 1/10
2/14/22, 11:47 PM Difference Between Relations and Functions
For example, let us say that we have two sets, then if there is a connection between
the elements of two or more non-empty sets, the only relation is established between
the elements.
5. Reflexive Relation – If every element of set A maps for itself, then set A is known
as a reflexive relation. For every a ∈ A, (a, a) ∈ R. If the set A={1,2,3}, then the
relation {(1,1),(2,2),(3,3)} is a reflexive relation.
https://www.vedantu.com/maths/difference-between-relations-and-functions 2/10
2/14/22, 11:47 PM Difference Between Relations and Functions
A function is a relation that says that there should be only one output for each input.
In simpler words, we can say that it is a special kind of relation or a set of ordered
pairs that follow a rule that every value of x should be associated with only one value
of y. This is known as a function.
Types of Functions-
In terms of relations, the types of functions can be defined as:
1. One-to-one Function:
Example:
In the above example, we see that a single element can map only one element.
2. Many-to-one Function:
A many-to-one function is one that maps two or more elements of A to the same
element of set B.
Here, in this example, we see that a single element can map one or more elements.
3. Onto Function:
A function for which every element of set B there is pre-image in set A is known as
onto function.
In this example, we see that each and every element of B is used and this denotes the onto
function.
https://www.vedantu.com/maths/difference-between-relations-and-functions 3/10
2/14/22, 11:47 PM Difference Between Relations and Functions
The function f matches with each element of A with a discrete element of B and
every element of B has a pre-image in A.
In this example that denotes the bijective function, each element maps only one element
and all of the elements of Y are mapped, thus satisfying our condition.
2. Identity Function – An identity function, also known as an identity relation, identity map,
or identity transformation, is a function that returns the same result as its input every time.
That is, if f is identity, then f(X) = X holds true for every X. We can write a constant function
as f(x) =x.
5. Linear Functions – An equation with a variable, its derivative, plus a few additional
functions is known as a linear differential equation. A linear differential equation's typical
form is dy/dx + Py = Q, which includes the variable y and its derivatives. We can write a
linear function as f(x ) = mx+c.
Relations Functions
We can say that every relation is We can say that every function in
not a function. Mathematics is a relation.
The above table shows the difference between relations and functions in Mathematics.
1. Roster Form – Roster form is basically a representation of a set which lists down all of
the elements present in the set and are separated by commas and enclosed within braces.
2. Set-Builder Form – A shorthand method is used to write sets and is often used for sets
with an infinite number of elements. It is used with different types of numbers, such as
integers, real numbers, and so on. The set-builder form is also used to express sets with
an interval or an equation.
3. By Arrow Diagram – In the by arrow diagram method, the relation between sets is
denoted by drawing arrows from the first components to the second components of all the
pairs which belong to the relation.
Questions to be solved:
Question 1) What is the sum of two functions given below:
Answer),
(f+g)(x) = 2x+3+4x+4
=6x+7
Let's Chat!
1. What is the difference between functions and relations in maths and Is every
https://www.vedantu.com/maths/difference-between-relations-and-functions 5/10
2/14/22, 11:47 PM Difference Between Relations and Functions
relation a function?
A relation is defined as a set of inputs and outputs, and a function is defined as a relation that has one output
for each input.
For every finite sequence of objects which are known as the arguments, a function associates a unique value.
In fact, every function is basically a relation. However, not every relation can be known as a function.
Comment
Post Comment
Let's Chat!
https://www.vedantu.com/maths/difference-between-relations-and-functions 6/10
2/14/22, 11:47 PM Difference Between Relations and Functions
Let's Chat!
https://www.vedantu.com/maths/difference-between-relations-and-functions 7/10
2/14/22, 11:47 PM Difference Between Relations and Functions
Sign up & gain instant access to 200,000+ FREE PDFs, solved questions, Quizzes
and Puzzles!
Name
Mobile Number
Grade
Target
Let's Chat!
https://www.vedantu.com/maths/difference-between-relations-and-functions 8/10
2/14/22, 11:47 PM Difference Between Relations and Functions
Proceed
Question Papers
Previous Year Question Paper
CBSE Previous Year Question Paper for Class 10
CBSE Previous Year Question Paper for Class 12
Sample Paper
CBSE Class 12 Sample Papers
CBSE Class 10 Sample Papers
ICSE Class 10 Sample Papers
Maths
Physics
Chemistry
Biology
Practice Questions
https://www.vedantu.com/maths/difference-between-relations-and-functions 9/10
2/14/22, 11:47 PM Difference Between Relations and Functions
IIT JEE
NEET
AIIMS
KVPY
KCET
COMEDK
BITSAT
VITEEE
OLYMPIAD
STATE BOARDS
Quick Links
JEE Crash Course
NCERT Books
CBSE Board
CBSE Syllabus
ICSE Board
Free Study Materials
Question & Answers
Revision Notes
Important Questions
Worksheets
Child Safety
Terms and Conditions
Privacy Policy
Toll Free:
1800-120-456-456
Mobile:
+91 988-660-2456
(Mon-Sun: 9am - 11pm IST)
Questions? Chat with us
Let's Chat!
https://www.vedantu.com/maths/difference-between-relations-and-functions 10/10