Relations and Functions
Relations and Functions
Qu
Relations and its types concepts are one of the important topics of set theory. Sets, relations and
functions all three are interlinked topics. Sets denote the collection of ordered elements whereas relations
and functions define the operations performed on sets.
The relations define the connection between the two given sets. Also, there are types of relations stating
the connections between the sets. Hence, here we will learn about relations and their types in detail.
Table of contents:
Definition
Types
Empty Relation
Universal Relation
Identity Relation
Inverse Relation
Reflexive Relation
Symmetric Relation
Transitive Relation
Equivalence Relation
Represenation
DORelations Definition
Ap NO
A relation in mathematics defines the relationship between two different sets of information. If two sets
are considered, the relation between them will be established if there is a connection between the
elements of two or more non-empty sets.
In the morning assembly at schools, students are supposed to stand in a queue in ascending order of the
heights of all the students. This defines an ordered relation between the students and their heights.
This mapping depicts a relation from set A into set B. A relation from A to B is a subset of A x B. The
ordered pairs are (1,c),(2,n),(5,a),(7,n). For defining a relation, we use the notation where,
If there are two sets available, then to check if there is any connection between the two sets, we use
relations.
For example, an empty relation denotes none of the elements in the two sets is same.
Relations in Mathematics
In Maths, the relation is the relationship between two or more set of values.
Suppose, x and y are two sets of ordered pairs. And set x has relation with set y, then the values of set x
are called domain whereas the values of set y are called range.
Example: For ordered pairs={(1,2),(-3,4),(5,6),(-7,8),(9,2)}
The domain is = {-7,-3,1,5,9}
And range is = {2,4,6,8}
Types of Relations
There are 8 main types of relations which include:
Empty Relation
Universal Relation
Identity Relation
Inverse Relation
Reflexive Relation
Symmetric Relation
Transitive Relation
Equivalence Relation
Empty Relation
An empty relation (or void relation) is one in which there is no relation between any elements of a set. For
example, if set A = {1, 2, 3} then, one of the void relations can be R = {x, y} where, |x – y| = 8. For empty
relation,
R=φ⊂A×A
Universal Relation
A universal (or full relation) is a type of relation in which every element of a set is related to each other.
Consider set A = {a, b, c}. Now one of the universal relations will be R = {x, y} where, |x – y| ≥ 0. For
universal relation,
R=A×A
Identity Relation
In an identity relation, every element of a set is related to itself only. For example, in a set A = {a, b, c}, the
identity relation will be I = {a, a}, {b, b}, {c, c}. For identity relation,
I = {(a, a), a ∈ A}
Inverse Relation
Inverse relation is seen when a set has elements which are inverse pairs of another set. For example if set
A = {(a, b), (c, d)}, then inverse relation will be R-1 = {(b, a), (d, c)}. So, for an inverse relation,
Reflexive Relation
In a reflexive relation, every element maps to itself. For example, consider a set A = {1, 2,}. Now an
example of reflexive relation will be R = {(1, 1), (2, 2), (1, 2), (2, 1)}. The reflexive relation is given by-
(a, a) ∈ R
Symmetric Relation
In a symmetric relation, if a=b is true then b=a is also true. In other words, a relation R is symmetric only if
(b, a) ∈ R is true when (a,b) ∈ R. An example of symmetric relation will be R = {(1, 2), (2, 1)} for a set A = {1,
2}. So, for a symmetric relation,
aRb ⇒ bRa, ∀ a, b ∈ A
Transitive Relation
For transitive relation, if (x, y) ∈ R, (y, z) ∈ R, then (x, z) ∈ R. For a transitive relation,
Equivalence Relation
If a relation is reflexive, symmetric and transitive at the same time, it is known as an equivalence relation.
Video Lesson
Qu
“Relations and Functions” are the most important topics in algebra. Relations and functions – these are
the two different words having different meanings mathematically. You might get confused about their
difference. Before we go deeper, let’s understand the difference between both with a simple example.
The relation shows the relationship between INPUT and OUTPUT. Whereas, a function is a relation which
derives one OUTPUT for each given INPUT.
Note: All functions are relations, but not all relations are functions.
In this section, you will find the basics of the topic – definition of functions and relations, special
functions, different types of relations and some of the solved examples.
What is a Function?
A function is a relation which describes that there should be only one output for each input (or) we can say
that a special kind of relation (a set of ordered pairs), which follows a rule i.e., every X-value should be
associated with only one y-value is called a function.
For example:
Domain Range
-1 -3
1 3
3 9
Domain It is a collection of the first values in the ordered pair (Set of all input (x) values).
Range It is a collection of the second values in the ordered pair (Set of all output (y) values).
Example:
In the relation, {(-2, 3), {4, 5), (6, -5), (-2, 3)},
Types of Functions
In terms of relations, we can define the types of functions as:
One to one function or Injective function: A function f: P → Q is said to be one to one if for each
element of P there is a distinct element of Q.
Many to one function: A function which maps two or more elements of P to the same element of
set Q.
Onto Function or Surjective function: A function for which every element of set Q there is pre-image
in set P
One-one correspondence or Bijective function: The function f matches with each element of P with
a discrete element of Q and every element of Q has a pre-image in P.
Read here:
Constant Function
Identity Function
Linear Function
Absolute Value Function
Inverse Functions
Example: {(-2, 1), (4, 3), (7, -3)}, usually written in set notation form with curly brackets.
Relation Representation
There are other ways too to write the relation, apart from set notation such as through tables, plotting it on
XY- axis or through mapping diagram.
p
Functions are relations where each input has a particular output. This lesson covers the concepts of
functions in mathematics and the different types of functions using various examples for better
understanding.
Example:
Another definition of functions is that it is a relation “f” in which each element of set “A” is mapped with
only one element belonging to set “B”. Also in a function, there can’t be two pairs with the same first
element.
In a function, a particular input is given to get a particular output. So, A function f: A->B denotes that f is a
function from A to B, where A is a domain and B is a co-domain.
For an element, a, which belongs to A, a ∈ A, a unique element b, b ∈ B is there such that (a,b) ∈ f.
The unique element b to which f relates a, is denoted by f(a) and is called f of a, or the value of f at a, or
the image of a under f.
Vertical line test is used to determine whether a curve is a function or not. If any curve cuts a vertical line
at more than one points then the curve is not a function.
Representation of Functions
Functions are generally represented as f(x).
(i) t = 0
(ii) t = 2
Solution:
Types of Functions
There are various types of functions in mathematics which are explained below in detail. The different
function types covered here are:
Into – function
If there exists at least one element in the co-domain which is not an image of any element in the domain
then the function will be Into function.
(Q) Let A = {x : 1 < x < 1} = B be a mapping f : A B, find the nature of the given function (P). F(x) = |x|
f (x) = |1|
Hence, it is many one the Range of f(x) from [-1, 1] is [0, 1], which is not equal to the co-domain.
\(\begin{array}{l}f(x)=\left\{\begin{matrix} x^2 & ; & x\geq 0\\ -x^2 & ; & x<0 \end{matrix}\right.\end{array}
\)
For different values of Input, we have different output hence it is one – one function also it manage is
equal to its co-domain hence it is onto also.
Polynomial function
A real-valued function f : P → P defined by
\(\begin{array}{l}f(x)= a_{n}x^{n}+a_{n-1}x^{n-1}+…..+a_{1}x^{1}+a_{0}\end{array} \)
The highest power in the expression is known as the degree of the polynomial function. The different
types of polynomial functions based on the degree are:
Linear Function
All functions in the form of ax + b where a, b ∈ R & a ≠ 0 are called linear functions. The graph will be a
straight line. In other words, a linear polynomial function is a first-degree polynomial where the input needs
to be multiplied by m and added to c. It can be expressed by f(x) = mx + c.
f(1) = 2.1 + 1 = 3
f(1) = 3
\(\begin{array}{l}g(x) = \frac{1}{1/x}\end{array} \)
Solution: f(x) = x is defined for all x
But
\(\begin{array}{l}g(x) = \frac{1}{1/x}\end{array} \)
is not defined of x = 0
Hence it is identical for x ∈ R – {0}
Quadratic Function
All functions in the form of y = ax2 + bx + c where a, b, c ∈ R, a ≠ 0 will be known as Quadratic function.
The graph will be parabolic.
A Quadratic polynomial function is a second degree polynomial, and it can be expressed as;
If x = 2, f(2) = 2.22 + 2 – 1 = 9
2
For Example: y = x2
Rational Function
These are the real functions of the type
\(\begin{array}{l}\frac{f(a)}{g(a)}\end{array} \)
where f (a) and g (a) are polynomial functions of a defined in a domain, where g(a) ≠ 0.
For example f : P – {– 6} → P defined by
\(\begin{array}{l}f(a) = \frac{f(a+1)}{g(a+2)}\forall a\in P – {-6},\end{array} \)
is a rational function.
Graph type: Asymptotes (the curves touching the axes lines).
Algebraic Functions
An algebraic equation is known as a function that consists of a finite number of terms involving powers
and roots of independent variable x and fundamental operations such as addition, subtraction,
multiplication, and division.
For Example,
\(\begin{array}{l}f(x)=5x^{3}-2x^{2}+3x+6\end{array} \)
,
\(\begin{array}{l}g(x)=\frac{\sqrt{3x+4}}{(x-1)^{2}}\end{array} \)
.
Cubic Function
A cubic polynomial function is a polynomial of degree three and can be expressed as;
For example: y = x3
Domain ∈ R
Range ∈ R
Modulus Function
The real function f : P → P defined by f (a) = |a| = a when a ≥ 0. and f(a) = -a when a < 0 ∀ a ∈ P is called
the modulus function.
Domain of f = P
Range of f = P+ U {0}
Range: [0, ∞)
Signum Function
The real function f : P → P is defined by
Domain of f = P
Range of f = {1, 0, – 1}
signum (log 1) = 0
signum (x21) =1
The real function f : P → P defined by f (a) = [a], a ∈ P assumes the value of the greatest integer less than
or equal to a, is called the greatest integer function.
The greatest integer function always gives integral output. The Greatest integral value that has been taken
by the input will be the output.
[6.99] = 6
[1.2] = 2
Domain ∈ R
Range ∈ Integers
= 4.5 – 4 = 0.5
= 6.99 – 6 = 0.99
{7} = 7 – [7] = 7 –7 = 0
Example 1:
f(x) = x2sinx
f(-x) = -x2sinx
It is an odd function.
Example 2:
\(\begin{array}{l}f(x)={{x}^{2}}\end{array} \)
and
\(\begin{array}{l}f(-x)={{x}^{2}}\end{array} \)
f(x) = f(-x)
It is an even function.
Periodic Function
A function is said to be a periodic function if a positive real number T exists, such that f(u – t) = f(x) for all
x ε Domain.
For example f(x) = sin x
Composite Function
Let A, B, C be three non-empty sets
Let f: A → B & g : G → C be two functions, then gof : A → C. This function is called the composition of f
and g given gof (x) = g(f(x)).
Constant Function
The function f : P → P is defined by b = f (x) = D, a ∈ P, where D is a constant ∈ P, is a constant function.
Domain of f = P
Range of f = {D}
Graph type: A straight line which is parallel to the x-axis.
In simple words, the polynomial of 0th degree where f(x) = f(0) = a0 = c. Regardless of the input, the output
always results in a constant value. The graph for this is a horizontal line.
Identity Function
P= set of real numbers
The function f : P → P defined by b = f (a) = a for each a ∈ P is called the identity function.
Domain of f = P
Range of f = P
Graph type: A straight line passing through the origin.
Functions Video