The number of real solutions of the equation x|x+5|+2|x+7|-2=0 is _______. [2024]
(3)
Let f(x)=x|x+5|+2|x+7|-2 and f(x)=0
Case 1 : x≥-5
⇒x2+5x+2x+12=0
⇒x2+7x+12=0⇒x=-3 or x=-4
Case 2 : -7<x<-5
⇒-x2-5x+2x+12=0
⇒-x2-3x+12=0⇒x2+3x-12=0
⇒x=-3±572
⇒x≠-3+572 [∵ -7<x<-5]
Case 3 : x≤-7
⇒-x2-7x-16=0⇒x2+7x+16=0
No real solution
So Number of real solutions = 3