The number of the real solutions of the equation: x∣x+3∣+∣x−1∣−2=0 is
Solutions · 1
Official solution
given x∣x+3∣+∣x−1∣−2=0.
critical points x=−3,1.
two critical points means 3 cases.
Case 1 : x\[\begin{gathered} -x(x+3)-(x-1)-2=0 \\ -{x}^{2}-3x-x+1-2=0 \\ -{x}^{2}-4x-1=0\implies {x}^{2}+4x+1=0 \\ x=\frac{-4\pm \sqrt{16-4}}{2}=\frac{-4\pm 2\sqrt{3}}{2}=-2\pm \sqrt{3} \end{gathered}\]sincexCase 2 : −3≤x≤1,∣x+3∣=x+3 and ∣x−1∣=−(x−1). equation become
x(x+3)−(x−1)−2=0.x2+3x−x+1−2=0.x2+2x−1=0.x=2−2±4+4=2−2±22=−1±2.
since −3≤x≤1 so x=−1+2,−1−2 both accepted.
Case 3 : x>1,∣x+3∣=x+3∣x−1∣=x−1
equation become
x(x+3)+x−1−2=0.x2+4x−3=0.x=2−4±16+12=2−4±27=−2±7. Checking positive solution. since x>1, so x=7−2≈0.645, so no solution.
so final solution is
x=−2−3,−1+2,−1−2.
Number of solution = 3