QlarIITy

MathematicsJEE Main 2026 · 8 AprilInteger

The sum of squares of all the real solutions of the equationlog⁡(x+1)(2x2+5x+3)=4−log⁡(2x+3)(x2+2x+1)\begin{aligned} &\log_{(x+1)}\left(2x^2 + 5x + 3\right) \\[4pt] &= 4 - \log_{(2x+3)}\left(x^2 + 2x + 1\right) \end{aligned}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 arguments factorise into the bases, two logarithms with swapped bases become tt and 1t\frac{1}{t}, giving a quadratic in tt.

Concept refresher. For a base a>0a > 0 with a≠1a \neq 1 and arguments M,N>0M, N > 0:

log⁡a(MN)=log⁡aM+log⁡aNlog⁡a(Mk)=klog⁡aM\begin{aligned} \log_a(MN) &= \log_a M + \log_a N \\[4pt] \log_a\left(M^k\right) &= k\log_a M \end{aligned}

and swapping the base and the argument gives the reciprocal,

log⁡ba=1log⁡ab\log_b a = \frac{1}{\log_a b}

valid when a,b>0a, b > 0 and a,b≠1a, b \neq 1. Every base in an equation must satisfy these conditions, so each candidate root is tested against them at the end.

Approach. Factorise both arguments into the two bases, turn the equation into a quadratic in one logarithm, solve it, then keep only the xx that make both bases valid.

  1. Step 1: Factorise the arguments

    Each argument is built from the two bases, which is why the bases were chosen as x+1x + 1 and 2x+32x + 3:

    2x2+5x+3=(2x+3)(x+1)x2+2x+1=(x+1)2\begin{aligned} 2x^2 + 5x + 3 &= (2x + 3)(x + 1) \\[4pt] x^2 + 2x + 1 &= (x + 1)^2 \end{aligned}
  2. Step 2: Write the domain

    Both bases must be positive and different from 1, and then the arguments are positive too:

    x+1>0, x+1≠12x+3>0, 2x+3≠1\begin{aligned} x + 1 &> 0, \ x + 1 \neq 1 \\[4pt] 2x + 3 &> 0, \ 2x + 3 \neq 1 \end{aligned}

    Together these give x>−1x > -1 and x≠0x \neq 0.

  3. Step 3: Reduce to one variable

    Let t=log⁡(x+1)(2x+3)t = \log_{(x+1)}(2x + 3), so that log⁡(2x+3)(x+1)=1t\log_{(2x+3)}(x + 1) = \frac{1}{t}. The left side becomes log⁡(x+1)(2x+3)+log⁡(x+1)(x+1)=t+1\log_{(x+1)}(2x + 3) + \log_{(x+1)}(x + 1) = t + 1, and the right side becomes 4−2log⁡(2x+3)(x+1)=4−2t4 - 2\log_{(2x+3)}(x + 1) = 4 - \frac{2}{t}:

    t+1=4−2tt2−3t+2=0(t−1)(t−2)=0\begin{aligned} t + 1 &= 4 - \frac{2}{t} \\[4pt] t^2 - 3t + 2 &= 0 \\[4pt] (t - 1)(t - 2) &= 0 \end{aligned}
  4. Step 4: Solve for x and test each root

    For t=1t = 1, the bases are equal: 2x+3=x+12x + 3 = x + 1, so x=−2x = -2, which breaks x>−1x > -1. For t=2t = 2:

    2x+3=(x+1)2x2=2x=±2\begin{aligned} 2x + 3 &= (x + 1)^2 \\[4pt] x^2 &= 2 \\[4pt] x &= \pm\sqrt{2} \end{aligned}

    Here x=−2≈−1.41x = -\sqrt{2} \approx -1.41 breaks x>−1x > -1, while x=2x = \sqrt{2} satisfies every condition. The only real solution is x=2x = \sqrt{2}, so the sum of squares is

    (2)2=2\left(\sqrt{2}\right)^2 = 2

Answer. 2

Sanity check. At x=2x = \sqrt{2} the bases are 1+2≈2.411 + \sqrt{2} \approx 2.41 and 3+22=(1+2)2≈5.833 + 2\sqrt{2} = (1 + \sqrt{2})^2 \approx 5.83, so t=2t = 2; the left side is 2+1=32 + 1 = 3 and the right side is 4−1=34 - 1 = 3.

Common wrong answers

  • 4: Keeping both roots of x2=2x^2 = 2 gives (2)2+(−2)2=4(\sqrt{2})^2 + (-\sqrt{2})^2 = 4, but at x=−2x = -\sqrt{2} the base x+1≈−0.41x + 1 \approx -0.41 is negative, so that root is not allowed.
  • 6: Accepting x=−2x = -2 from t=1t = 1 together with x=2x = \sqrt{2} gives 4+2=64 + 2 = 6, but at x=−2x = -2 the base x+1=−1x + 1 = -1, where no logarithm is defined.
  • 8: Keeping all three candidates −2-2, 2\sqrt{2} and −2-\sqrt{2} gives 4+2+2=84 + 2 + 2 = 8; only x=2x = \sqrt{2} makes both bases positive and different from 1.

Key takeaway

The trap. Keeping x=−2x = -2 or x=−2x = -\sqrt{2}, which make the base x+1x + 1 negative.

How toppers think. They write the domain x>−1x > -1, x≠0x \neq 0 before solving, so the invalid roots fall away at once.

Remember. log⁡ba=1log⁡ab\log_b a = \frac{1}{\log_a b} for a,b>0a, b > 0 and a,b≠1a, b \neq 1, and every base must stay positive and different from 1.

More on Logarithms