QlarIITy

MathematicsJEE Main 2025 · 29 JanuaryInteger

Let integers a,b∈[−3,3]a, b \in [-3, 3] be such that a+b≠0a + b \neq 0. Then the number of all possible ordered pairs (a,b)(a, b), for which ∣z−az+b∣=1\left|\frac{z - a}{z + b}\right| = 1 and ∣z+1ωω2ωz+ω21ω21z+ω∣=1,z∈C\begin{vmatrix} z + 1 & \omega & \omega^2 \\ \omega & z + \omega^2 & 1 \\ \omega^2 & 1 & z + \omega \end{vmatrix} = 1, z \in \mathbb{C}, where ω\omega and ω2\omega^2 are the roots of x2+x+1=0x^2 + x + 1 = 0, is equal to ________.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. When the rows of the fixed part are proportional and its trace is zero, the determinant is a pure cube.

Concept refresher. If the rows of a matrix MM of order three are multiples of one row and its diagonal entries add to zero, then

det⁡(zI+M)=z3\det(zI + M) = z^3

The condition ∣z−a∣=∣z+b∣|z - a| = |z + b| with real aa and bb puts zz on the vertical line with real part a−b2\dfrac{a - b}{2}.

Picture the situation. The determinant has the unknown only on its diagonal, added to a fixed matrix built from cube roots of unity. That fixed matrix is very degenerate: every row is a multiple of the first. The determinant condition therefore pins the unknown to three points of the unit circle, and the modulus condition says which vertical line each must lie on.

Approach. Reduce the determinant to a cube, list the three values of the unknown, turn the modulus condition into a relation between the integers, and count.

  1. Step 1: The determinant

    Without zz, the second row (ω,ω2,1)(\omega, \omega^2, 1) is ω\omega times the first row (1,ω,ω2)(1, \omega, \omega^2), and the third is ω2\omega^2 times it. The diagonal entries 1, ω2\omega^2 and ω\omega add to zero. So the determinant is z3z^3, and z3=1z^3 = 1: zz is 1, ω\omega or ω2\omega^2.

  2. Step 2: The modulus condition

    The condition ∣z−a∣=∣z+b∣|z - a| = |z + b| says zz is equally far from aa and −b-b, so its real part is a−b2\dfrac{a - b}{2}. For z=1z = 1 this gives a−b=2a - b = 2, and for ω\omega or ω2\omega^2, with real part −12-\dfrac{1}{2}, it gives a−b=−1a - b = -1.

  3. Step 3: Count the pairs

    With a−b=2a - b = 2 the pairs in range are (−1,−3)(-1, -3), (0,−2)(0, -2), (1,−1)(1, -1), (2,0)(2, 0) and (3,1)(3, 1); the pair (1,−1)(1, -1) has a+b=0a + b = 0 and is excluded, leaving 4. With a−b=−1a - b = -1, aa runs from −3-3 to 2, giving 6 pairs, none with a+b=0a + b = 0. The total is 10.

Answer. 10

Sanity check. For a−b=−1a - b = -1 the sum a+b=2a+1a + b = 2a + 1 is odd, so it is never zero, which is why no pair is lost in that case.

Common wrong answers

  • 11: Keeping the pair (1,−1)(1, -1) gives 11; it has a+b=0a + b = 0, which the question excludes.
  • 4: Counting only z=1z = 1 gives 4; the roots ω\omega and ω2\omega^2 add the 6 pairs with a−b=−1a - b = -1.

Key takeaway

The trap. Conditions stated at the start, such as a non-zero sum, apply at the final count.

How toppers think. They look for proportional rows before expanding any determinant.

Remember. 1+ω+ω2=01 + \omega + \omega^2 = 0

More on Cube Roots of Unity