QCC Notes
CLASS 11 Β· MATHEMATICSJEE MAIN Γ— ADVANCEDΰ€Ήΰ€Ώΰ€‚ΰ€¦ΰ₯€
Β§ 2.4NCERT Class 11 Β· Mathematics Β· Chapter 2

Functions in Mathematics β€” Class 11 (JEE Main): Definition, Domain & Range

What is a Function? β€” Complete Theory

Take the relation idea from the previous page and impose one discipline on it. A function f from A to B, written f : A β†’ B, is a rule assigning to every element of A exactly one element of B. The assigned element is the image of a, written f(a); if f(a) = b, then a is a pre-image of b. The set A is the domain, B is the codomain, and the range is the set of images actually attained: range = {f(a) : a ∈ A} βŠ† B. The notation f(x) β€” read “f of x” β€” was introduced by Euler in the eighteenth century and remains the most productive notation in mathematics; in the exam, f(x) = xΒ² + 1 means the image of any input x is that input’s square plus one.

The definition packs two requirements that must both be checked, and each is a favourite MCQ half-truth on its own. No gaps: every element of the domain A must appear as a first component β€” a relation that ignores an element of A is not a function from A, whatever else it does. No doubles: no element of A may be assigned two different images β€” (1, 3) and (1, 5) cannot coexist. Sharing an output, by contrast, is perfectly legal: f(1) = f(2) = 4 is a function (a constant function, if it happens for every input). So every function is a relation, but the converse fails; the relation R = {(1, 1), (1, 2)} fails only the no-doubles test, while {(1, 1), (2, 2)} fails only the no-gaps test when the declared domain is {1, 2, 3}.

Counting functions is a declared extension beyond the rationalised NCERT text but a standing JEE Main favourite. To build a function from A to B, each of the n(A) domain elements independently picks one of the n(B) codomain elements as its image, so the number of functions is n(B)n(A). Compare this with relations: a 2-element set has 2⁢ = 64 relations to a 3-element set, but only 3Β² = 9 functions β€” the unique-image rule filters hard. Note the asymmetry of the exponent: functions from A to B are n(B)n(A), so swapping the sets changes the count, unlike the symmetric 2mn for relations.

Finally, meet the standard real functions you must recognise on sight, along with their domain and range. The identity f(x) = x: domain R, range R. A constant f(x) = k: domain R, range {k}. The square f(x) = xΒ²: domain R, range [0, ∞) β€” signs collapse because (βˆ’x)Β² = xΒ². The modulus f(x) = |x| = x for x β‰₯ 0 and βˆ’x for x < 0: domain R, range [0, ∞). Two domain rules govern almost every JEE Main domain question: a denominator forces the exclusion of its zeros (dom of 1/(x βˆ’ 5) is R βˆ’ {5}), and a square root forces its argument to be non-negative (dom of √(x βˆ’ 2) is [2, ∞)). For quotients of two functions the domain is (dom f ∩ dom g) minus the zeros of g. Equality of functions demands the same domain and the same rule: f(x) = x and g(x) = √(xΒ²) differ, because √(xΒ²) = |x|, which disagrees with x for every negative input.

Visualising Functions

Solved Examples on Functions (Step-by-Step)

Solved Example 1 Β· Range from a finite domain

Let f(x) = xΒ² with domain {βˆ’2, βˆ’1, 0, 1, 2, 3} and codomain Z. Find the range of f and state whether range equals codomain.

Step 1: Compute every image: f(βˆ’2) = 4, f(βˆ’1) = 1, f(0) = 0, f(1) = 1, f(2) = 4, f(3) = 9.

Step 2: Collect distinct images, since the range is a set: range = {0, 1, 4, 9}. The images 1 and 4 each arose twice β€” from x and βˆ’x β€” which is legal and expected, because squaring collapses signs.

Step 3: Compare with the codomain Z = {…, βˆ’2, βˆ’1, 0, 1, 2, …}: the range {0, 1, 4, 9} lies inside Z but misses every negative integer and every non-square, so range β‰  codomain.

ANSWER: range = {0, 1, 4, 9}, n(range) = 4; the range is a proper subset of the codomain Z, so range β‰  codomain.

Solved Example 2 Β· The two-half function check

Which of the following are functions from A = {1, 2, 3} to B = {1, 2, 3}? (i) f₁ = {(1, 1), (2, 2), (3, 3)}; (ii) fβ‚‚ = {(1, 1), (1, 2), (2, 3), (3, 3)}; (iii) f₃ = {(1, 1), (2, 2)}; (iv) fβ‚„ = {(1, 3), (2, 3), (3, 1)}. For any function found, give f(2) and a pre-image of 3.

Step 1 (f₁): every element of A appears exactly once as a first component β€” no gaps, no doubles. A function (the identity function).

Step 2 (fβ‚‚): the element 1 appears as first component of both (1, 1) and (1, 2) β€” two images. Not a function.

Step 3 (f₃): the element 3 ∈ A appears in no pair β€” a gap. Not a function from A (it would be a function from {1, 2} β€” the domain matters).

Step 4 (fβ‚„): first components 1, 2, 3 each appear exactly once β€” a function, even though both 1 and 2 share the image 3. Here f(2) = 3, and the pre-image of 3 is {1, 2} β€” pre-images can be sets with several members.

ANSWER: (i) and (iv) are functions; (ii) fails no-doubles; (iii) fails no-gaps. In (iv), f(2) = 3 and pre-image of 3 = {1, 2}.

Practice Questions on Functions (With Solutions)

PQ1 Β· Single-correct MCQ (JEE Main pattern)

Which relation from A = {1, 2, 3} to B = {2, 4, 6} is a function?
(A) {(1, 2), (2, 4)}
(B) {(1, 2), (2, 4), (3, 6), (3, 2)}
(C) {(1, 2), (2, 4), (3, 4)}
(D) {(1, 2), (1, 4), (2, 6)}

Check: (A) leaves 3 without an image β€” a gap. (B) gives 3 two images β€” a double. (D) gives 1 two images. (C) uses every element of A exactly once; sharing the image 4 between inputs 2 and 3 is legal.

ANSWER: (C) β€” no gaps, no doubles; the only relation of the four that clears both halves of the check.

PQ2 Β· Numerical value type (integer answer)

How many functions are there from a 3-element set to a 3-element set?

Check: each of the 3 domain elements independently chooses one of 3 images, giving n(B)n(A) = 3Β³ = 27 functions. The relation count for comparison would be 2⁹ = 512 β€” the unique-image rule is a strong filter.

ANSWER: 27 β€” n(B)n(A) = 3Β³. Note the direction: outputs sit at the base.

PQ3 Β· Domain MCQ (NTA style)

The domain of f(x) = √(x βˆ’ 5) is:
(A) [5, ∞)
(B) (5, ∞)
(C) R
(D) (βˆ’βˆž, 5]

Check: the square-root argument must be non-negative: x βˆ’ 5 β‰₯ 0, so x β‰₯ 5. The point x = 5 itself is legal (the argument is 0 and √0 = 0), so the interval is closed at 5 β€” option (B) commits the open-bracket leak.

ANSWER: (A) β€” [5, ∞); square roots ask for x βˆ’ 5 β‰₯ 0, and equality is allowed.

Key Takeaways

ConceptStatement to remember
Definitionf : A β†’ B assigns exactly one image to every element of A β€” no gaps, no doubles
Vocabularyf(a) is the image; range = images attained; range βŠ† codomain; pre-image of b = {a : f(a) = b}
CountingFunctions from A to B: n(B)n(A) (declared JEE extension); functions are relations, not conversely
Domain rulesBan zeros of denominators; force √(argument) β‰₯ 0; intersect all conditions
Standard graphsxΒ² and |x| both have range [0, ∞); 1/x has domain R βˆ’ {0}; vertical line meets a function’s graph at most once
Next stepCertify the chapter with the 30-question test, then carry f : A β†’ B into trigonometry

FAQs on Functions

What makes a relation a function?
Two conditions: every element of the domain set A must appear as a first component (no gaps), and no element of A may have two different images (no doubles). If either fails, the relation is not a function from A to B.
How many functions are there from A to B?
For finite sets, n(B) raised to the power n(A): each of the n(A) elements independently chooses one of the n(B) images. A 2-element set has 3 squared = 9 functions into a 3-element set. This counting formula is a JEE extension beyond the rationalised NCERT text.
Is every function a relation?
Yes. A function is a special relation that additionally satisfies the unique-image rule. The converse is false: R = {(1, 1), (1, 2)} is a perfectly valid relation but not a function, since 1 has two images.
How do I find the domain of a real function?
Exclude exactly the values that break the formula: delete points where a denominator is zero, and require every square-root argument to be non-negative. The domain of f(x) = 1/(x βˆ’ 5) is R βˆ’ {5}; of g(x) = √(x βˆ’ 2) it is [2, ∞).
Your progress

Saved on this device only β€” no account, no sign-in.