Sets, Functions, Complex Numbers and Quadratics in Depth

Two of the first units of the JEE Main mathematics syllabus are taught in this course at the level of definitions. The lines the syllabus names and that were left out are the power set, De Morgan’s laws, composition of functions, the greatest-integer and modulus functions, the Argand diagram as a place to work, and the symmetric functions of the roots of a quadratic. This chapter teaches them, with each result checked by computation.
Overview

1. Power Sets, De Morgan’s Laws and Counting Relations

1 min read · 1 part

The power set P(A) is the set of all subsets of A, including the empty set and A itself, so a set with n elements has 2ⁿ subsets (a set of five elements has 32). De Morgan’s laws say (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′: the complement of a union is the intersection of the complements, and the other way round. The counting rule for two sets is n(A ∪ B) = n(A) + n(B) − n(A ∩ B). Relations and functions are counted the same way, by choices. If A has m elements and B has n, there are 2^(mn) relations from A to B (every subset of A × B), nᵐ functions from A to B, n(n − 1)…(n − m + 1) one-one functions (when n ≥ m), and the number of onto functions from a 3-set to a 2-set is 2³ − 2 = 6.

⚠️ A subset count that includes the extremes
The number of subsets is 2ⁿ, but the number of proper subsets is 2ⁿ − 1 and of non-empty proper subsets 2ⁿ − 2. The word in the question decides which. In the same way a function needs every element of A to have exactly one image, so the count is nᵐ (not mⁿ): each of the m inputs chooses one of n outputs.

The power set P(A) is the set of all subsets of A, including the empty set and A itself, so a set with n elements has 2ⁿ subsets (a set of five elements has 32). De Morgan’s laws say (A ∪…

2. Composition, Inverse and the Special Functions

2 min read · 2 parts

The composition (f∘g)(x) = f(g(x)) applies g first. It is not commutative: for f(x) = 2x + 1 and g(x) = x², f∘g is 2x² + 1 and g∘f is (2x + 1)² = 4x² + 4x + 1. A function has an inverse exactly when it is bijective (one-one and onto). To find it, write y = f(x), solve for x, and swap: the inverse of 2x + 1 is (x − 1)/2. For two bijections, (f∘g)⁻¹ = g⁻¹∘f⁻¹, the order reverses like taking off shoes and socks. The graph of f⁻¹ is the mirror image of the graph of f in the line y = x.

Two special functions carry a lot of questions. The greatest-integer function [x] is the largest integer not greater than x, so [2.7] = 2 and [−2.5] = −3, not −2. The fractional part is {x} = x − [x], always in [0, 1), so {−2.5} = 0.5. For a non-integer x, [x] + [−x] = −1; for an integer it is 0. An equation such as [x]² − 5[x] + 6 = 0 factors as ([x] − 2)([x] − 3) = 0, so [x] = 2 or 3, and the solution is every x in [2, 4). The modulus function |x| equals x for x ≥ 0 and −x for x < 0, its graph is a V with the vertex at the origin, and |x| = a (a > 0) gives x = ±a, while |x| < a means −a < x < a.

Finding an inverse: f(x) = 2x + 1
  1. Write y = f(x)y = 2x + 1
  2. Solve for x
  3. Swap x and yf⁻¹(x) = (x − 1)/2
Only a bijective function has an inverse.
Solving [x]² − 5[x] + 6 = 0
  1. Factor in [x]([x] − 2)([x] − 3) = 0
  2. Values of [x][x] = 2 or 3
  3. Every x with that integer partx in [2, 4)

The composition (f∘g)(x) = f(g(x)) applies g first. It is not commutative: for f(x) = 2x + 1 and g(x) = x², f∘g is 2x² + 1 and g∘f is (2x + 1)² = 4x² + 4x + 1. A function has an inverse…

3. Complex Numbers on the Argand Diagram

1 min read · 1 part

A complex number z = a + ib is the point (a, b) of the Argand plane. Its modulus is |z| = √(a² + b²), its argument is the angle θ with the positive real axis, and the polar form is z = r(cos θ + i sin θ) = re^(iθ). Multiplying by e^(iθ) rotates a point by θ about the origin, and |z₁z₂| = |z₁||z₂| while arg(z₁z₂) = arg z₁ + arg z₂. The triangle inequality is |z₁ + z₂| ≤ |z₁| + |z₂|, with equality when the two numbers have the same argument. The conjugate z̄ is the mirror image in the real axis, and z z̄ = |z|².

Loci in the Argand plane
ConditionLocusExample
|z − a| = rCircle, centre a, radius r|z − 2| = 3: centre (2, 0), radius 3
|z − a| = |z − b|Perpendicular bisector of the segment ab|z − 1| = |z + i|: the line x + y = 0
|z − a| + |z − b| = k > |a − b|Ellipse with foci a and b|z − 1| + |z + 1| = 4
arg(z − a) = θRay from a at angle θarg z = π/4: ray y = x, x > 0

A complex number z = a + ib is the point (a, b) of the Argand plane. Its modulus is |z| = √(a² + b²), its argument is the angle θ with the positive real axis, and the polar form is z =…

4. Symmetric Functions of the Roots

1 min read · 1 part

For ax² + bx + c = 0 with roots α and β, the sum is α + β = −b/a and the product is αβ = c/a. Every symmetric expression is built from these two. The standard ones are α² + β² = (α + β)² − 2αβ, α³ + β³ = (α + β)³ − 3αβ(α + β) and |α − β| = √(b² − 4ac) / |a|. For x² − 5x + 6 = 0 (roots 2 and 3) they give 13, 35 and 1. To form an equation whose roots are related to α and β, find the new sum and product: the roots α + 1 and β + 1 have sum 7 and product 12, so the equation is x² − 7x + 12 = 0, which indeed has roots 3 and 4.

🧠 Common root of two quadratics
If x² + px + q = 0 and x² + p′x + q′ = 0 share a root, subtract them to get (p − p′)x + (q − q′) = 0, so the common root is x = (q′ − q)/(p − p′); substitute it back into either equation. A quadratic with real coefficients has complex roots in conjugate pairs, so a common non-real root means both equations are identical in all roots.

For ax² + bx + c = 0 with roots α and β, the sum is α + β = −b/a and the product is αβ = c/a. Every symmetric expression is built from these two. The standard ones are α² + β² = (α + β)² −…

Symmetric Functions of Roots: a Table Worked on One Quadratic

1 min read · 3 parts
Expressions in α and β for ax² + bx + c = 0, tested on x² − 5x + 6
ExpressionGeneral valueFor x² − 5x + 6 (roots 2, 3)
α + β−b/a5
αβc/a6
α² + β²(b² − 2ac)/a²25 − 12 = 13
α³ + β³(−b³ + 3abc)/a³125 − 90 = 35
(α − β)²(b² − 4ac)/a²1
1/α + 1/β−b/c5/6
⚠️ Build the new quadratic from the sum and product, not from the roots
To form the equation whose roots are α² and β², compute the new sum α² + β² = 13 and the new product (αβ)² = 36 and write x² − 13x + 36 = 0, which indeed has roots 4 and 9. The same approach handles reciprocals, shifts such as α + 1, β + 1, and negatives, and avoids solving the original equation, which matters when the roots are irrational or complex.
Equation with roots α², β² from x² − 5x + 6 = 0
  1. New sumα² + β² = 13
  2. New product(αβ)² = 36
  3. Write x² − (sum)x + productx² − 13x + 36 = 0, roots 4 and 9

Key takeaways

  • A set of n elements has 2ⁿ subsets; relations from an m-set to an n-set number 2^(mn), functions nᵐ.
  • Composition is not commutative and (f∘g)⁻¹ = g⁻¹∘f⁻¹; only a bijection has an inverse.
  • [−2.5] = −3 and {−2.5} = 0.5; [x] + [−x] = −1 for a non-integer.
  • |z − a| = r is a circle and |z − a| = |z − b| is a perpendicular bisector; multiplication by e^(iθ) rotates by θ.
  • α² + β² = (α + β)² − 2αβ and |α − β| = √D / |a|; build new equations from the new sum and product.
  • α² + β² = (α + β)² − 2αβ and α³ + β³ = (α + β)³ − 3αβ(α + β); build derived quadratics from the new sum and product.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. The number of subsets of a set with 5 elements is:

    1. 32
    2. 25
    3. 31
    4. 10
    Show answer

    Answer: A — 32

    Each element is either in or out, so 2⁵ = 32 subsets. 31 counts only the proper subsets, and 25 is 5².
  2. The number of relations from a set with 3 elements to a set with 2 elements is:

    1. 64
    2. 8
    3. 9
    4. 6
    Show answer

    Answer: A — 64

    A relation is a subset of A × B, which has 6 elements, so there are 2⁶ = 64 relations. 8 is the number of functions (2³) and 9 is 3².
  3. If f(x) = 2x + 1 and g(x) = x², then (f∘g)(x) is:

    1. 2x² + 1
    2. (2x + 1)²
    3. 2x³ + 1
    4. x² + 2x + 1
    Show answer

    Answer: A — 2x² + 1

    (f∘g)(x) = f(g(x)) = 2x² + 1. Option B is g(f(x)), the composition in the other order.
Show the other 21 questions
  1. The value of [−2.5] + {−2.5}, where [ ] is the greatest-integer and { } the fractional part, is:

    1. −2.5
    2. −2
    3. −3.5
    4. −3
    Show answer

    Answer: A — −2.5

    [x] + {x} = x always, so the sum is −2.5. Directly, [−2.5] = −3 and {−2.5} = −2.5 − (−3) = 0.5, and −3 + 0.5 = −2.5.
  2. The solution set of [x]² − 5[x] + 6 = 0 is:

    1. [2, 4)
    2. {2, 3}
    3. [2, 3]
    4. (2, 4)
    Show answer

    Answer: A — [2, 4)

    [x] = 2 gives x in [2, 3) and [x] = 3 gives x in [3, 4), which together are [2, 4). The set {2, 3} forgets the fractional values, and the interval is closed at 2 and open at 4.
  3. The locus of z with |z − 1| = |z + i| is:

    1. The line x + y = 0
    2. A circle
    3. The line x − y = 0
    4. A parabola
    Show answer

    Answer: A — The line x + y = 0

    It is the perpendicular bisector of the points 1 = (1, 0) and −i = (0, −1). Squaring, (x − 1)² + y² = x² + (y + 1)² gives −2x − 2y = 0.
  4. Multiplying a complex number by e^(iπ/2) = i does what to its point?

    1. Rotates it by 90° about the origin
    2. Reflects it in the real axis
    3. Doubles its distance from the origin
    4. Shifts it up by 1
    Show answer

    Answer: A — Rotates it by 90° about the origin

    |i| = 1 so the length is unchanged and arg i = 90° so the point turns by 90°. Reflection in the real axis is conjugation, not multiplication by i.
  5. If α and β are the roots of x² − 5x + 6 = 0, then α³ + β³ equals:

    1. 35
    2. 13
    3. 125
    4. 19
    Show answer

    Answer: A — 35

    α³ + β³ = (α + β)³ − 3αβ(α + β) = 125 − 3·6·5 = 35, which agrees with 2³ + 3³ = 8 + 27. 13 is α² + β².
  6. The quadratic whose roots are each one more than the roots of x² − 5x + 6 = 0 is:

    1. x² − 7x + 12 = 0
    2. x² − 3x + 2 = 0
    3. x² − 7x + 6 = 0
    4. x² − 5x + 12 = 0
    Show answer

    Answer: A — x² − 7x + 12 = 0

    New sum = 5 + 2 = 7 and new product = (α + 1)(β + 1) = αβ + (α + β) + 1 = 12, so x² − 7x + 12 = 0, with roots 3 and 4. The product is not left at 6.
  7. If α and β are the roots of x² − 5x + 6 = 0, the quadratic with roots α² and β² is:

    1. x² − 13x + 36 = 0
    2. x² − 25x + 36 = 0
    3. x² − 13x + 6 = 0
    4. x² − 5x + 36 = 0
    Show answer

    Answer: A — x² − 13x + 36 = 0

    The new sum is 13 and the new product is (αβ)² = 36. The option with 25 squares the sum instead of using (α + β)² − 2αβ.
  8. If α + β = 5 and αβ = 6, then α³ + β³ equals:

    1. 35
    2. 125
    3. 65
    4. 90
    Show answer

    Answer: A — 35

    α³ + β³ = (α + β)³ − 3αβ(α + β) = 125 − 90 = 35. The value 125 forgets the correction term.
  9. If n(A) = 20, n(B) = 15 and n(A ∩ B) = 5, then n(A ∪ B) is:

    1. 30
    2. 35
    3. 40
    4. 25
    Show answer

    Answer: A — 30

    n(A ∪ B) = n(A) + n(B) − n(A ∩ B) = 20 + 15 − 5 = 30. 35 is the plain sum, which counts the 5 common elements twice.
  10. The value of [−3.2], where [x] denotes the greatest integer not exceeding x, is:

    1. −4
    2. −3
    3. 3
    4. −3.2
    Show answer

    Answer: A — −4

    The greatest integer ≤ −3.2 is −4 (on the number line −4 lies to the left of −3.2). Answering −3 truncates the decimal part, which is correct for positive numbers but not for negative ones.
  11. The modulus of the complex number z = −3i is:

    1. 3
    2. −3
    3. 9
    4. 0
    Show answer

    Answer: A — 3

    |z| = √(0² + (−3)²) = 3; a modulus is never negative, which rules out −3. 9 is |z|².
  12. The sum of the roots of the quadratic x² + 3x + 2 = 0 is:

    1. −3
    2. 3
    3. 2
    4. −2
    Show answer

    Answer: A — −3

    Sum = −b/a = −3 (the roots are −1 and −2). 3 drops the sign, and 2 is the product c/a.
  13. In a group of 100 people, 60 like tea, 50 like coffee and 30 like both. The number who like neither is:

    1. 20
    2. 10
    3. 30
    4. 0
    Show answer

    Answer: A — 20

    n(T ∪ C) = 60 + 50 − 30 = 80, so neither = 100 − 80 = 20. Forgetting to subtract the overlap gives 110 people liking something, an impossibility with a group of 100.
  14. The range of the function f(x) = x² − 4x + 5 for real x is:

    1. [1, ∞)
    2. [5, ∞)
    3. (−∞, 1]
    4. ℝ
    Show answer

    Answer: A — [1, ∞)

    Complete the square: f(x) = (x − 2)² + 1 ≥ 1, with equality at x = 2, so the range is [1, ∞). 5 is f(0), the y-intercept rather than the minimum.
  15. For f(x) = (2x + 1)/(x − 1), the value of f⁻¹(3) is:

    1. 4
    2. 7/2
    3. 1/2
    4. −4
    Show answer

    Answer: A — 4

    Solve y = (2x + 1)/(x − 1): y(x − 1) = 2x + 1, so x(y − 2) = y + 1 and f⁻¹(y) = (y + 1)/(y − 2); f⁻¹(3) = 4 (check: f(4) = 9/3 = 3). The value 7/2 = 3.5 would come from applying f instead of f⁻¹ at 3.
  16. The modulus of the complex number (3 + 4i)/(1 − 2i) is:

    1. √5
    2. 5
    3. 1
    4. 1/√5
    Show answer

    Answer: A — √5

    |z₁/z₂| = |z₁|/|z₂| = 5/√5 = √5. The answer 5 forgets to divide by |1 − 2i| = √5, and 1/√5 inverts the ratio.
  17. If one root of x² − 9x + k = 0 is twice the other, then k equals:

    1. 18
    2. 9
    3. 27
    4. 20
    Show answer

    Answer: A — 18

    Let the roots be α and 2α: 3α = 9, so α = 3 and the roots are 3 and 6, giving k = 18. 27 would be 3 × 9, using the sum for the product.
  18. If ω is a non-real cube root of unity, then (1 + ω)³ equals:

    1. −1
    2. 1
    3. 0
    4. ω
    Show answer

    Answer: A — −1

    Since 1 + ω + ω² = 0, 1 + ω = −ω², so (1 + ω)³ = −ω⁶ = −1. The answer 1 loses the sign from the cube of −1.
  19. P: The fractional part {x} always lies in [0, 1). Q: [x] ≤ x for every real x. R: The range of the greatest-integer function [x] is ℝ. S: |z₁ + z₂| ≤ |z₁| + |z₂|. Which are correct?

    1. P, Q and S
    2. P, Q and R
    3. Q and S only
    4. P and R only
    Show answer

    Answer: A — P, Q and S

    P, Q and S (the triangle inequality) are correct. R is false: [x] takes only integer values, so its range is ℤ, not ℝ.
  20. The number of real solutions of the equation x² − 5|x| + 6 = 0 is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 4

    With |x| = t ≥ 0 the equation is t² − 5t + 6 = 0, so t = 2 or 3, and each positive value of |x| gives two real x: x = ±2 and ±3, four solutions in all. Answering 2 solves only the x ≥ 0 case.
  21. If |z − 4/z| = 2, the greatest possible value of |z| is:

    1. 1 + √5
    2. 2
    3. √5
    4. 3
    Show answer

    Answer: A — 1 + √5

    Use |z| − 4/|z| ≤ |z − 4/z| = 2 (triangle inequality), so |z|² − 2|z| − 4 ≤ 0 and |z| ≤ 1 + √5, attained when z is real and positive. The value √5 comes from solving |z|² = 5 by mistake, and 3 is an unproven round number.