Physics Wallah

Class 12 Relations And Functions Notes for JEE by PW

Relations connect elements of sets, while functions assign exactly one output to each input. Revise domains, ranges, function types, graph transformations, periodicity, composite functions, and inverses for JEE. Physics Wallah supports JEE preparation with dedicated batches, DPPs, mock tests, PYQs, and live and recorded classes.
authorImageAnshika Agarwal17 Oct, 2026
Class 12 Relations And Functions Notes for JEE by PW

Relations and Functions can become challenging in JEE Mathematics when a question combines domain restrictions, composite functions, inverse functions, and graph transformations. Applying a formula without checking its conditions can lead to incorrect answers, particularly in questions involving logarithms, square roots, one-one functions, and periodicity. A clear understanding of the definitions and key results is essential for solving these problems accurately.

Physics Wallah supports JEE aspirants through dedicated online batches for Class 11, Class 12, and droppers. Its preparation resources include DPPs, mock and sectional tests, practice questions, and live and recorded classes to help you revise concepts, practise different question types, and strengthen your problem-solving skills.

Cartesian Product And Relations

For sets A and B, the Cartesian product A x B is the set of all ordered pairs (a, b), where a belongs to A and b belongs to B.

If |A| = m and |B| = n, then: |A x B| = mn

In general, A x B is not equal to B x A

because the order of coordinates changes. However:

|A x B| = |B x A|

A relation from A to B is any subset of A x B:

R is a subset of A x B

If |A| = m and |B| = n, the number of possible relations from A to B is:

2^(mn)

This follows because every relation is a subset of a Cartesian product containing mn ordered pairs.

Domain, Range, And Codomain

For a relation from A to B:

  • Domain: Elements of A that actually occur as first components.

  • Range: Elements of B that actually occur as second components.

  • Codomain: The complete target set B.

The range is always a subset of the codomain:

Range is a subset of Codomain

The inverse relation is obtained by reversing every ordered pair: (a, b) becomes (b, a)

Therefore, the domain and range of a relation interchange in its inverse.

Reflexive, Symmetric, And Transitive Relations

A relation R on A is reflexive if: (a, a) belongs to R for every a in A

An identity relation contains only self-pairs: I_A = {(a, a): a belongs to A}

Every identity relation is reflexive, but a reflexive relation may contain additional pairs.

A relation is symmetric if:

(a, b) belongs to R implies (b, a) belongs to R

For transitivity:

(a, b) and (b, c) belong to R implies (a, c) belongs to R

An equivalence relation must be:

  1. Reflexive

  2. Symmetric

  3. Transitive

Functions And Their Types

A function from A to B is a relation in which every element of A has exactly one image in B.

Multiple inputs may have the same output, but one input cannot have two different outputs.

  • One-One Function: Different inputs have different outputs.

  • Many-One Function: Multiple inputs may have the same output.

  • Onto Function: Range equals codomain.

  • Into Function: Range is a proper subset of codomain.

A function is bijective when it is both one-one and onto.

Function Tests

  • Horizontal-Line Test: A horizontal line cutting the graph more than once shows many-one behaviour.

  • Differentiation: If the derivative remains positive or negative throughout the domain, the function is strictly monotonic and one-one.

  • For a cubic function, differentiate and check the derivative’s discriminant:

  • D less than 0: one-one, when the derivative keeps one sign.

  • D greater than 0: many-one, when the derivative changes sign.

Operations And Domains Of Functions

For functions f and g:

  • (f + g)(x) = f(x) + g(x)

  • (f - g)(x) = f(x) - g(x)

  • (fg)(x) = f(x)g(x)

  • (f/g)(x) = f(x)/g(x)

For addition, subtraction, and multiplication, the domain is the intersection of the domains of f and g.

For division, also exclude values where: g(x) = 0

For a reciprocal: 1/f(x)

Exclude all values where f(x) equals zero.


Important Domain Conditions

  • Square root: radicand must be greater than or equal to zero.

  • Logarithm: argument must be greater than zero.

  • Logarithm base: base must be positive and not equal to one.

  • Denominator: must not be zero.

  • Quotient under a square root: numerator and denominator must have the same sign, with a non-zero denominator.

Composite Functions

For f(g(x)), f is the outer function, and g is the inner function. Replace x in f(x) with the complete expression g(x).

To determine the domain of a composite function:

  1. Start with the innermost expression.

  2. Apply its domain condition.

  3. Apply the outer function’s condition.

  4. Take the intersection of all restrictions.

For nested square roots, every radicand must be non-negative. For logarithmic compositions, every logarithmic argument must be positive.

Graph Transformations

For y = f(x):

  • y = f(x - a): shift right by a units.

  • y = f(x + a): shift left by a units.

  • y = f(x) + a: shift upward.

  • y = f(x) - a: shift downward.

  • y = f(-x): reflection in the y-axis.

  • y = -f(x): reflection in the x-axis.

For modulus graphs:

  • y = |f(x)|: reflect portions below the x-axis upward.

  • y = f(|x|): retain the right side and reflect it across the y-axis.

For a reciprocal graph y = 1/f(x), zeros of f(x) become vertical asymptote locations, and every point (a, b) becomes (a, 1/b), where b is not zero.

Periodic Functions

A function is periodic if:

f(x + T) = f(x)

where T is the least positive period.

Function

Period

Sine, cosine, secant, cosecant

2 pi

Tangent, cotangent

pi

Fractional part function

1

For f(cx + d), the new period is:

Original period / absolute value of c

Constants outside the function do not change its period. Always simplify first if the domain remains unchanged. For example:

sin^2 x + cos^2 x = 1

The resulting constant function is periodic, but its period is not defined.

For even powers of sine, cosine, secant, and cosecant, the period generally becomes pi. For odd powers, it remains 2 pi.

Functional Equations

Functional equations are often solved by substitution.

Common Methods

  • Replace x with 1 - x.

  • Replace x with 1/x.

  • Replace x with a suitable expression such as 24/x.

  • Add or subtract the resulting equations to eliminate one function term.

Important patterns include:

  • f(x + y) = f(x)f(y) suggests an exponential function.

  • Weighted-average relations suggest a linear function of the form px + q.

  • Periodic functional equations are solved by comparing arguments and finding the least positive shift that leaves the function unchanged.

Inverse Functions

An inverse exists only for a bijective function.

To find the inverse:

  1. Write y = f(x).

  2. Solve for x in terms of y.

  3. Interchange x and y.

For example:

y = 1 + ln(x + 2)

gives:

x = exp(y - 1) - 2

Therefore:

f inverse of x = exp(x - 1) - 2

The graphs of a function and its inverse are symmetric about:

y = x

Hence, to solve:

f(x) = f inverse of x

it is unnecessary to calculate the inverse. Use:

f(x) = x

For f(x) = x^2 - 3x + 4:

x^2 - 3x + 4 = x

(x - 2)^2 = 0

Therefore: x = 2

Relations and Functions is an important foundation for Class 12 Mathematics and JEE preparation. A clear understanding of Cartesian products, relation properties, function types, domain restrictions, composite functions, graph transformations, periodicity, and inverses can help you approach a wider range of questions confidently. Physics Wallah supports JEE preparation through dedicated Class 11, Class 12, and dropper batches, DPPs, mock and sectional tests, practice questions, and live and recorded lessons. Combine concept revision with regular problem-solving to identify gaps and improve accuracy.

Related Resources

FAQs

1. What Is The Difference Between A Relation And A Function?

A relation may connect one input to several outputs. A function is a special relation in which every input has exactly one output.

2. What Is The Difference Between Range And Codomain?

The codomain is the complete target set. The range contains only the output values actually obtained. The range is a subset of the codomain.

3. When Is A Function Onto?

A function is onto when its range equals its codomain. If some codomain elements are not used, the function is into.

4. When Does A Function Have An Inverse?

A function has an inverse only when it is bijective, meaning it is both one-one and onto.
Popup Close ImagePopup Open Image

Have questions about your prep?

Our experts can answer all your questions
Have questions about your prep?
Join 15 Million students on the app today!
Point IconLive & recorded classes available at ease
Point IconDashboard for progress tracking
Point IconLakhs of practice questions
Download ButtonDownload Button
Banner Image
Banner Image
Free Learning Resources
Know about Physics Wallah
Physics Wallah is an Indian edtech platform that provides accessible & comprehensive learning experiences to students from Class 6th to postgraduate level. We also provide extensive NCERT solutions, sample paper, NEET, JEE Mains, BITSAT previous year papers & more such resources to students. Physics Wallah also caters to over 3.5 million registered students and over 78 lakh+ Youtube subscribers with 4.8 rating on its app.
We Stand Out because
We provide students with intensive courses with India’s qualified & experienced faculties & mentors. PW strives to make the learning experience comprehensive and accessible for students of all sections of society. We believe in empowering every single student who couldn't dream of a good career in engineering and medical field earlier.
Our Key Focus Areas
Physics Wallah's main focus is to make the learning experience as economical as possible for all students. With our affordable courses like Lakshya, Udaan and Arjuna and many others, we have been able to provide a platform for lakhs of aspirants. From providing Chemistry, Maths, Physics formula to giving e-books of eminent authors like RD Sharma, RS Aggarwal and Lakhmir Singh, PW focuses on every single student's need for preparation.
What Makes Us Different
Physics Wallah strives to develop a comprehensive pedagogical structure for students, where they get a state-of-the-art learning experience with study material and resources. Apart from catering students preparing for JEE Mains and NEET, PW also provides study material for each state board like Uttar Pradesh, Bihar, and others

Copyright © 2026 Physicswallah Limited All rights reserved.