PYQ Vault

MHT-CET Maths · Sets, Relations and Functions

Sets, Relations and Types of Functions — One-One, Onto and the Greatest-Integer Equation

The definitions the chapter runs on: counting with sets and Cartesian products, whether a function is one-one and onto, and reading an equation in [x] as an interval.

Why this matters

10 PYQs, none HARD — the vocabulary page, and the one with the most repeated stem in the chapter: [x]² − 5[x] + 6 = 0 has been set in three sittings with the same four options every time. The rest are a subsets-of-A×B count, a double-counting argument, two trig sets that turn out equal, a one-one/onto verdict on a linear-fractional function, and an identity in f(x + 1) − f(x). None needs more than the definition, applied once.

Concept 1 of 4

Sets and Cartesian Products: Counting Subsets and Double Counting

Intuition

A×BA \times B has n(A) n(B)n(A)\,n(B) ordered pairs, and a set with mm elements has 2m2^m subsets. 'At least 33 elements' is 2m2^m minus the subsets with 00, 11 or 22 elements.

Definition

  • n(A×B)=n(A)⋅n(B)n(A \times B) = n(A)\cdot n(B); subsets of an mm-set: 2m2^m; subsets with exactly kk elements: mCk{}^mC_k.
  • n(A)=4n(A) = 4, n(B)=2n(B) = 2: A×BA \times B has 88 elements, 28=2562^8 = 256 subsets; with at least 33 elements: 256−(1+8+28)=219256 - (1 + 8 + 28) = 219.
  • Double counting: 300300 students each read 55 papers, each paper read by 6060 students. Count (student, paper) pairs both ways: 300×5=60×N300 \times 5 = 60 \times N, so N=25N = 25.
  • Equality of sets defined by conditions: P={θ:sin⁡θ−cos⁡θ=2cos⁡θ}P = \{\theta : \sin\theta - \cos\theta = \sqrt2\cos\theta\} is tan⁡θ=2+1\tan\theta = \sqrt2 + 1; Q={θ:sin⁡θ+cos⁡θ=2sin⁡θ}Q = \{\theta : \sin\theta + \cos\theta = \sqrt2\sin\theta\} is cot⁡θ=2−1\cot\theta = \sqrt2 - 1, i.e. tan⁡θ=12−1=2+1\tan\theta = \dfrac{1}{\sqrt2 - 1} = \sqrt2 + 1. Same condition, so P=QP = Q.
  • n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B) for two-set survey stems.

Counting with sets

n(A×B)=n(A) n(B)#subsets=2mn(A∪B)=n(A)+n(B)−n(A∩B)n(A \times B) = n(A)\,n(B) \qquad \#\text{subsets} = 2^m \qquad n(A \cup B) = n(A) + n(B) - n(A \cap B)
UABA − BA ∩ BB − A(A ∪ B)′ — outside both

Worked example

If n(A)=3n(A) = 3 and n(B)=2n(B) = 2, how many subsets of A×BA \times B have at least 22 elements?
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 1Sets, Relations and FunctionsMODERATE
If n(A)=4,n(B)=2n(A)=4, n(B)=2. Then the number of subsets of the set A×BA\times B each having at least 3 elements are

[Q113 · 15th May Shift 1 · 2023]

Subtracting only the empty set

'At least 33 elements' removes the subsets of size 00, 11 AND 22: 1+8+28=371 + 8 + 28 = 37. Removing only 11 gives 255255; removing 1+81 + 8 gives 247247.

Concept 2 of 4

One-One and Onto: Test Injectivity by f(x₁) = f(x₂), Surjectivity by Solving for x

Intuition

One-one: different inputs never share an output — assume f(x1)=f(x2)f(x_1) = f(x_2) and show x1=x2x_1 = x_2. Onto: every value in the codomain is hit — solve y=f(x)y = f(x) for xx and see which yy fail.

Definition

  • f(x)=2x+33x+4f(x) = \dfrac{2x + 3}{3x + 4}: cross-multiplying f(x1)=f(x2)f(x_1) = f(x_2) gives x1=x2x_1 = x_2, so one-one. Solving y=f(x)y = f(x): x=3−4y3y−2x = \dfrac{3 - 4y}{3y - 2}, defined for all y≠23y \ne \dfrac23 — onto R−{23}\mathbb{R} - \{\tfrac23\}, not onto R\mathbb{R}.
  • A linear-fractional ax+bcx+d\dfrac{ax + b}{cx + d} (ad≠bcad \ne bc) is always one-one on its domain, and misses exactly y=acy = \dfrac{a}{c}.
  • A strictly monotone function is one-one: f(x)=x3+x−1f(x) = x^3 + x - 1 has f′(x)=3x2+1>0f'(x) = 3x^2 + 1 > 0, so it is increasing and has EXACTLY ONE real root.
  • Even functions and quadratics on R\mathbb{R} are not one-one (f(−x)=f(x)f(-x) = f(x)); restricting the domain, as in f(x)=(x+1)2−1f(x) = (x+1)^2 - 1 for x≥−1x \ge -1, makes them one-one and invertible.

One-one and onto

f(x1)=f(x2)⇒x1=x2 (one-one)∀y ∃x:f(x)=y (onto)f′>0⇒one-onef(x_1) = f(x_2) \Rightarrow x_1 = x_2 \ (\text{one-one}) \qquad \forall y\ \exists x: f(x) = y \ (\text{onto}) \qquad f' > 0 \Rightarrow \text{one-one}
One-one (injective): distinct inputs → distinct outputstarget 4 unused — one-one but not ontoOnto (surjective): every output is hittwo inputs share output 3 — onto but not one-oneBijective: perfect pairing (one-one AND onto)invertible

Worked example

Is f:R−{1}→Rf : \mathbb{R} - \{1\} \to \mathbb{R}, f(x)=x+2x−1f(x) = \dfrac{x + 2}{x - 1}, one-one? Is it onto?
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 2Sets, Relations and FunctionsMODERATE
The function defined by f(x)=2x+33x+4,x≠−43f(x) =\frac{2x+ 3}{3x+ 4},x\neq -\frac{4}{3} is

[Q128 · 20 April Shift I · 2025]

Calling a linear-fractional function onto ℝ

It always misses y=acy = \dfrac{a}{c}. Option (C) 'onto for y≠23y \ne \frac23 and one-one' is the honest statement; 'only onto' and 'neither' are the traps.

Concept 3 of 4

Equations in [x]: Solve for the Integer, Then Widen to the Interval

Intuition

[x]=k[x] = k means k≤x<k+1k \le x < k + 1 — a half-open interval, closed on the left. Solve the equation for [x][x] as an ordinary unknown, then translate each integer solution into its interval and take the union.

Definition

  • [x]2−5[x]+6=0⇒([x]−2)([x]−3)=0⇒[x]=2[x]^2 - 5[x] + 6 = 0 \Rightarrow ([x] - 2)([x] - 3) = 0 \Rightarrow [x] = 2 or 33. [x]=2⇒x∈[2,3)[x] = 2 \Rightarrow x \in [2, 3); [x]=3⇒x∈[3,4)[x] = 3 \Rightarrow x \in [3, 4). Union [2,4)[2, 4).
  • 2[2x−5]−1=7⇒[2x−5]=4⇒4≤2x−5<5⇒92≤x<52[2x - 5] - 1 = 7 \Rightarrow [2x - 5] = 4 \Rightarrow 4 \le 2x - 5 < 5 \Rightarrow \dfrac92 \le x < 5.
  • Non-integer solutions for [x][x] are discarded: [x]=2.5[x] = 2.5 has no xx.
  • The left end is always included and the right end always excluded; every option list offers all four bracket combinations.

Greatest integer

[x]=k  ⟺  k≤x<k+1[x] = k \iff k \le x < k + 1
xy[x] = n on [n, n+1) · jumps up by 1 at each integer

Worked example

Solve [x]2−3[x]−4=0[x]^2 - 3[x] - 4 = 0 for xx.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 3Sets, Relations and FunctionsMODERATE
If [x]2−5[x]+6=0\lbrack x\rbrack^{2}- 5\lbrack x\rbrack + 6 = 0, where [⋅]\lbrack \cdot \rbrack denotes the greatest integer function, then

[Q114 · 26 April Shift I · 2025]

Closing the right end

[x]=3[x] = 3 stops strictly before 44: at x=4x = 4, [x]=4[x] = 4 and 16−20+6≠016 - 20 + 6 \ne 0. The answer is [2,4)[2, 4), never [2,4][2, 4].

Concept 4 of 4

Identities Like f(x + 1) − f(x) = 8x + 3: Compare Coefficients

Intuition

An identity holds for EVERY xx, so after substituting the polynomial and simplifying, the coefficients of each power of xx must match on both sides.

Definition

  • f(x)=bx2+cx+df(x) = bx^2 + cx + d: f(x+1)−f(x)=b(2x+1)+c=2bx+(b+c)f(x + 1) - f(x) = b(2x + 1) + c = 2bx + (b + c). Equal to 8x+38x + 3: 2b=82b = 8, b+c=3b + c = 3, so b=4b = 4, c=−1c = -1; dd is free.
  • A difference f(x+1)−f(x)f(x + 1) - f(x) lowers the degree by one — a quadratic's difference is linear — so the given right-hand side tells you the degree of ff.
  • The same move solves 'find ff given f(g(x))f(g(x))' on the composite page: match the shape, then the coefficients.

Comparing coefficients

f(x)=bx2+cx+d⇒f(x+1)−f(x)=2bx+(b+c)f(x) = bx^2 + cx + d \Rightarrow f(x+1) - f(x) = 2bx + (b + c)

Worked example

If f(x)=ax2+bx+1f(x) = ax^2 + bx + 1 and f(x+1)−f(x)=6x+5f(x + 1) - f(x) = 6x + 5 for all xx, find aa and bb.
Practice this conceptself-check

From the bank · past-year question

Example 4Sets, Relations and FunctionsEASY
The values of bb and cc for which the identity f(x+1)−f(x)=8x+3f(x + 1) - f(x) = 8x + 3 is satisfied, where f(x)=bx2+cx+df(x) = bx^{2}+ cx + d, are

[Q113 · 22 April Shift II · 2025]

Substituting one value of x

Putting x=0x = 0 gives one equation in two unknowns. An identity is matched coefficient by coefficient; that yields as many equations as there are unknowns.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (4)

Drill every past-year question on this subtopic

10 questions from the bank — paginated, with cart and Word-export support.

Related notes