Algebra · real student question

Solve (x^2 + 4x - 12) * sqrt(x + 5) = 0 and give the sum of its roots.

Question

Solve (x2+4x12)x+5=0\left(x^{2}+4x-12\right)\sqrt{x+5}=0 and state the sum of its roots.

Step-by-step solution

  1. Set the domain first. The square root requires x+50x+5\ge 0, so x5x\ge -5. This restriction is what makes the problem more than a routine factorisation: one root of the quadratic will fall outside it.

  2. Split the product into two cases. The product vanishes when x2+4x12=0x^{2}+4x-12=0 or when x+5=0\sqrt{x+5}=0.

  3. Solve the quadratic factor. The discriminant is D=424(1)(12)=16+48=64D=4^{2}-4(1)(-12)=16+48=64, so x=4±82,x=\frac{-4\pm 8}{2}, giving x1=2x_1=2 and x2=6x_2=-6. Since 6<5-6<-5, the value x=6x=-6 is outside the domain and must be discarded; only x=2x=2 remains.

  4. Solve the radical factor. x+5=0\sqrt{x+5}=0 forces x+5=0x+5=0, so x=5x=-5, which is exactly the left endpoint of the domain and therefore admissible.

  5. Add the surviving roots. The solution set is {5,2}\{-5,2\}, so the sum is 5+2=3-5+2=-3. Checking: at x=2x=2 the quadratic factor is 4+812=04+8-12=0, and at x=5x=-5 the radical is 00, so both make the product vanish.

Answer

x{5,2},sum=3x\in\{-5,\,2\},\qquad \text{sum}=-3

Need to solve a different problem like this? Open the solver →