QlarIITy

MathematicsJEE Main 2023 · 10 AprilInteger

The number of elements in the set{n∈Z:∣n2−10n+19∣<6}\{n \in \mathbb{Z} : |n^2 - 10n + 19| < 6\}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 modulus inequality with a quadratic is handled by completing the square.

Concept refresher. The inequality ∣u∣<k|u| < k with k>0k > 0 is the same as

−k<u<k-k < u < k

Picture the situation. The quadratic n2−10n+19n^2 - 10n + 19 equals (n−5)2−6(n - 5)^2 - 6. So the condition is ∣(n−5)2−6∣<6|(n - 5)^2 - 6| < 6, which says that (n−5)2(n - 5)^2 is within 6 of the number 6. The integers nn are then found from the possible values of the square.

Approach. Complete the square, turn the modulus inequality into a range, and list the integers.

  1. Step 1: The range

    Since n2−10n+19=(n−5)2−6n^2 - 10n + 19 = (n - 5)^2 - 6, the condition is −6<(n−5)2−6<6-6 < (n - 5)^2 - 6 < 6, that is 0<(n−5)2<120 < (n - 5)^2 < 12.

  2. Step 2: The integers

    The square is 1, 4 or 9, so n−5n - 5 is ±1\pm 1, ±2\pm 2 or ±3\pm 3. That gives the 6 integers 2, 3, 4, 6, 7 and 8.

Answer. 6

Sanity check. For n=5n = 5 the expression is −6-6, whose modulus is 6, not less than 6; for n=9n = 9 it is 10, which is too large.

Common wrong answers

  • 7: Including n=5n = 5, where the modulus equals 6, gives 7; the inequality is strict.

Key takeaway

The trap. A strict inequality excludes the value where equality holds.

How toppers think. They count the values of the shifted variable in pairs of opposite sign.

Remember. 0<(n−5)2<120 < (n - 5)^2 < 12

More on Set Operations & Venn Diagrams