QlarIITy

MathematicsJEE Main 2021 · 27 AugustInteger

Let the equationx2+y2+px+(1−p)y+5=0x^2 + y^2 + px + (1 - p)y + 5 = 0represent circles of varying radius r∈(0,5]r \in (0, 5]. Then the number of elements in the setS={q:q=p2 and q is an integer}S = \{q : q = p^2 \text{ and } q \text{ is an integer}\}is ______

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 range for the radius becomes a double inequality for the constants of the circle.

Concept refresher. The circle x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0 has the centre (−g,−f)(-g, -f) and the radius

r=g2+f2−cr = \sqrt{g^2 + f^2 - c}

Picture the situation. By the refresher

r2=p24+(1−p)24−5=2p2−2p−194\begin{aligned} r^2 &= \dfrac{p^2}{4} + \dfrac{(1 - p)^2}{4} - 5 \\[4pt] &= \dfrac{2p^2 - 2p - 19}{4} \end{aligned}

and 0<r≤50 < r \leq 5 means 0<r2≤250 < r^2 \leq 25.

A number line for p with two bars: one from about −7.23 (included) to about −2.62 (excluded), and one from about 3.62 (excluded) to about 8.23 (included).

Approach. Solve the two inequalities for p, then find the range of its square.

  1. Step 1: The values of p

    The condition 2p2−2p−19>02p^2 - 2p - 19 > 0 holds outside the roots 1±392\dfrac{1 \pm \sqrt{39}}{2}, about −2.62-2.62 and 3.623.62. The condition 2p2−2p−119≤02p^2 - 2p - 119 \leq 0 holds between the roots 1±2392\dfrac{1 \pm \sqrt{239}}{2}, about −7.23-7.23 and 8.238.23.

  2. Step 2: The squares

    For −7.23≤p<−2.62-7.23 \leq p < -2.62 the square p2p^2 runs over (6.88,52.27](6.88, 52.27], and for 3.62<p≤8.233.62 < p \leq 8.23 it runs over (13.12,67.73](13.12, 67.73]. Together p2p^2 covers (6.88,67.73](6.88, 67.73].

  3. Step 3: The count

    The integers in this range are 7, 8, ..., 67, which are 67−7+1=6167 - 7 + 1 = 61 numbers.

Answer. 61

Sanity check. The value q=7q = 7 comes from p=−7p = -\sqrt{7}, about −2.65-2.65, which is inside the first interval, and q=67q = 67 from p=67p = \sqrt{67}, about 8.19, inside the second.

Common wrong answers

  • 54: Using only the positive interval gives p2p^2 in (13.12,67.73](13.12, 67.73], the integers 14 to 67, which are 54.

Key takeaway

The trap. Negative values of the parameter give smaller squares that the positive ones miss.

How toppers think. They take the union of the two ranges of the square before counting.

Remember. r2=2p2−2p−194r^2 = \dfrac{2p^2 - 2p - 19}{4}

More on Standard & General Equations