ĐKXĐ: \(2-x>0\Rightarrow x< 2\)
\(\ln\left(x^2+7x+m\right)=\ln\left(2-x\right)\)
\(\Rightarrow x^2+7x+m=2-x\)
\(\Rightarrow x^2+8x-2=-m\) (1)
Pt có 2 nghiệm pb khi và chỉ khi (1) có 2 nghiệm nhỏ hơn 2
Xét \(f\left(x\right)=x^2+8x-2\) có \(f'\left(x\right)=2x+8=0\Rightarrow x=-4\)
\(f\left(-4\right)=-18\) ; \(f\left(2\right)=18\)
\(\Rightarrow-18< -m< 18\)
\(\Rightarrow-17\le m\le17\)
Có \(17-\left(-17\right)+1=35\) giá trị nguyên của m thỏa mãn