QlarIITy

MathematicsJEE Main 2024 · 8 AprilInteger

The number of distinct real roots of the equation ∣x+1∣∣x+3∣−4∣x+2∣+5=0|x + 1||x + 3| - 4|x + 2| + 5 = 0, 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. Moduli centred at equally spaced points combine into a function of the distance from the middle point.

Concept refresher. A product of moduli is the modulus of the product: ∣u∣∣v∣=∣uv∣|u||v| = |uv|. Since (x+1)(x+3)=(x+2)2−1(x + 1)(x + 3) = (x + 2)^2 - 1,

∣x+1∣∣x+3∣=∣(x+2)2−1∣|x + 1||x + 3| = \left|(x + 2)^2 - 1\right|

and a value y>0y > 0 of ∣x+2∣|x + 2| comes from two numbers, x=−2+yx = -2 + y and x=−2−yx = -2 - y.

Picture the situation. The points −1-1, −2-2 and −3-3 are equally spaced, so the whole left side depends only on the distance of xx from the middle point −2-2. The graph is therefore symmetric about −2-2, and every admissible distance gives two roots, one on each side.

Approach. Rewrite the equation in the single unknown y=∣x+2∣y = |x + 2|, solve it by cases, and convert the admissible values back.

  1. Step 1: One unknown

    With y=∣x+2∣y = |x + 2|, the product ∣x+1∣∣x+3∣|x + 1||x + 3| is ∣y2−1∣|y^2 - 1|, so the equation is ∣y2−1∣−4y+5=0|y^2 - 1| - 4y + 5 = 0 with y≥0y \geq 0.

  2. Step 2: The case y at least 1

    Here the equation is y2−1−4y+5=0y^2 - 1 - 4y + 5 = 0, that is (y−2)2=0(y - 2)^2 = 0, so y=2y = 2, which is at least 1.

  3. Step 3: The case y below 1

    Here the equation is 1−y2−4y+5=01 - y^2 - 4y + 5 = 0, that is y2+4y−6=0y^2 + 4y - 6 = 0, with roots −2±10-2 \pm \sqrt{10}. The positive one, about 1.161.16, is not below 1, so this case gives nothing.

  4. Step 4: Back to x

    The only value is ∣x+2∣=2|x + 2| = 2, which gives x=0x = 0 and x=−4x = -4. The equation has 2 distinct real roots.

Answer. 2

Sanity check. At x=0x = 0: 1×3−4×2+5=01 \times 3 - 4 \times 2 + 5 = 0. At x=−4x = -4: 3×1−4×2+5=03 \times 1 - 4 \times 2 + 5 = 0. Both satisfy the equation.

Common wrong answers

  • 4: Keeping y=10−2≈1.16y = \sqrt{10} - 2 \approx 1.16 from the case y<1y < 1 adds two more roots and gives 4; that value does not belong to its case.
  • 1: Taking only x=0x = 0 from ∣x+2∣=2|x + 2| = 2 gives 1; the number −4-4 is also at distance 2 from −2-2.

Key takeaway

The trap. A value found in a case must satisfy the condition that defines the case.

How toppers think. They look for a symmetry before splitting into cases, which here halves the work.

Remember. (x+1)(x+3)=(x+2)2−1(x + 1)(x + 3) = (x + 2)^2 - 1

More on Equations Reducible to Quadratics