If then the sum of all real roots of the equation , is
D
Step-by-Step Solution
This is a hidden perfect-square pattern question — you recognise it because f(x) is a product of two expressions that share the same core term (x^2+3x), differing only by a constant.
Step 1: Substitute the repeated core expression.
Let . Then .
Step 2: Turn f(x)+1 into a perfect square.
This is why the substitution works — the "+2" gap between the two factors always makes a perfect square in .
Step 3: Remove the square root.
Since is never negative, and , this equation is only satisfied when , which splits into two cases:
Step 4: Solve each case in x, and check which is actually real.
Case A: .
Discriminant — a perfect square, so real roots exist.
Case B: .
Discriminant .
Negative discriminant means no real roots — this case contributes nothing.
Step 5: Add only the real roots.
The only real roots of the whole equation are $97$ and , from Case A.
Common trap: many students add the Vieta sums of both quadratics ( and , giving ) without checking that Case B's discriminant is negative. Always verify a quadratic actually has real roots before including its roots in a sum.
Answer: (option D).