QlarIITy

MathematicsJEE Main 2020 · 3 SeptemberInteger

Let SS be the set of all integer solutions (x,y,z)(x, y, z) of the system of equations
x−2y+5z=0x - 2y + 5z = 0
−2x+4y+z=0-2x + 4y + z = 0
−7x+14y+9z=0-7x + 14y + 9z = 0such that 15≤x2+y2+z2≤15015 \leq x^2 + y^2 + z^2 \leq 150. Then, the number of elements in the set SS 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. A homogeneous system with zero determinant has a line of solutions, the multiples of one triple.

Concept refresher. A homogeneous system MX=OMX = O with a square matrix MM has a non-zero solution exactly when

∣M∣=0|M| = 0

Picture the situation. The left sides of the first two equations are nearly proportional in xx and yy, so a combination removes both. The system then leaves a line of solutions through the origin. Integer points on that line are counted between two spheres.

Approach. Solve the system, describe the integer solutions with one integer, and count the allowed values.

  1. Step 1: The solutions

    Twice the first equation plus the second gives 11z=011z = 0, so z=0z = 0 and then x=2yx = 2y. The third equation becomes −14y+14y=0-14y + 14y = 0, which always holds. So the solutions are (2t,t,0)(2t, t, 0), with integer tt for integer solutions.

  2. Step 2: The range

    Here x2+y2+z2=5t2x^2 + y^2 + z^2 = 5t^2, so the condition is 15≤5t2≤15015 \leq 5t^2 \leq 150, that is 3≤t2≤303 \leq t^2 \leq 30. This holds for t=±2t = \pm 2, ±3\pm 3, ±4\pm 4 and ±5\pm 5.

  3. Step 3: The count

    Each of these eight values of tt gives a different solution, so the set has 8 elements.

Answer. 8

Sanity check. The extreme cases: t=2t = 2 gives 5t2=205t^2 = 20 and t=5t = 5 gives 125, both inside the range, while t=1t = 1 gives 5 and t=6t = 6 gives 180, both outside.

Common wrong answers

  • 4: Counting only positive values of tt gives 4; each negative value gives another solution.

Key takeaway

The trap. Negative multiples are different solutions with the same sum of squares.

How toppers think. They reduce the condition to a range for the square of one integer.

Remember. (x,y,z)=t(2,1,0)(x, y, z) = t(2, 1, 0)

More on System of Linear Equations