calendarBack
Quant

/

Algebra

/

Functions
ALL MODULES

CAT 2025 Lesson : Functions - Relations & Functions

bookmarked
Relations and Functions simply define or establish a relationship between two variables. In this chapter, we will provide an overview of relations, functions, the different ways in which we can look at functions and the different approaches we could use in answering them.

1. Relations

Relations define relationships between two sets of data.

A relation is a set comprising of ordered pairs. A set of my friends and their ages (in years) – {(Meera, 21), (Ashish, 19), (Mohan, 23), (Divya, 19)} – is a relation. Here, we understand that the age of Meera is 21 years, Ashish is 19 years and so on.

In the above relation, the two variables are name and age. Most exam questions, however, both the variables will be numbers. Therefore, going forward we will only use variables which hold numerical values.

Relation:
y=x+5y = x + 5

Here,
x\bm{x} is called the independent variable or the input.
And,
y\bm{y} is called the dependent variable or output.

The below table shows the outputs (
yy-values) we get for certain inputs (xx-values) in the relation y=x+5y = x + 5.

Input (x) 8-8 5-5 00 2.52.5 100100
Output (y) 3-3 00 55 7.57.5 105105

Relations are classified into 4 types that are listed below. These names suggest the inputs-to-outputs relationship. For instance, Many-to-One relations are those where many inputs may have one output.

1.1 Types of Relations

One-to-One Relationship: 11 input has only 11 output and vice-versa.

y=x+1y = x + 1 is a relation where for every possible value of xx, there is exactly one value of yy and vice-versa.

Many-to-One Relationship: Many inputs could have the same output. However, 11 input will result in only 11 output.

y=x2y = x^2. In this relations, x=2x = 2 and x=2x = -2, result in y=4y = 4. So, many (more than one) values in xx could result in one yy-value.

One-to-Many Relationship: 11 input could result in many outputs. However, 11 output could be a result of only 11 input.

In
y=xy = \sqrt{x} for x0x \le 0, every value of xx will have two yy-values. x=4x = 4 results in y=+2,2y = +2, -2.

Many-to-Many Relationship: Many inputs could have many outputs and vice versa.

x2+y2=1x^2 + y^2 = 1 is the equation of a circle with a radius of 1 unit.


2. Functions

A function is a relationship, where every input has exactly one output. Therefore, not all relations are functions. Functions exist only for One-to-One and Many-to-One relationships.

Examples of functions are
f(x)=3x+2, g(x)=5x2+4x+2, h(x)=5x4f(x) = 3x + 2, \space g(x) = 5x^2 + 4x +2, \space h(x) = |5x – 4|,

i(x)=ex, j(x)=log(x+5)i(x) = e^x, \space j(x) = log(x + 5) where x>5x > -5 and k(x)=2x+1x2k(x) = \dfrac{2x + 1}{x - 2} where x2x \ne 2

Let's take the function
f(x)=3x+2f(x) = 3x + 2.
For this function, the input is
x\bm{x}, while the output is f(x)\bm{f(x)} or 3x+2\bm{3x + 2}.
For an input of
x=3,f(x)=11x = 3, f(x) = 11. Note that the output can also be represented as f(3)=11f(3) = 11.

Loading...Loading Video....