\(\left(x+2\right)^2=\left(3\left(x-2\right)\right)^2\Leftrightarrow\orbr{\begin{cases}x+2=3\left(x-2\right)\Rightarrow x=4\\x+2=-3\left(x-2\right)\Rightarrow x=1\end{cases}}\)
(x+2)^2=9(x^2 - 4x + 4)
<=> x^2+4x+4-9(x^2 - 4x +4)=0
<=>x^2 + 4x+4-9x^2 + 36x-36=0
<=>-8x^2 + 40x -32=0
<=> -8x^2+8x+32x-32=0
<=>-8x(x-1)+32(x-1)=0
<=>(x-1)*(-8x+32)=0
<=>x-1=0 hoặc -8x+32=0
<=>x=1 hoặc x=4
vậy S={1;4}
sao dại thế đang gọn rồi lại nhân toác ra để đi phân tích thành nhân tử
(x+2)^2=9(x^2-4x+4)
x^2+4x+4=9x^2-36x+36
x^2-9x^2+4x+36x+4-36=0
-8x^2+40x-32=0
-8x^2+32x+8x-32=0
-8x^2+8x+32x-32=0
-8x(x-1)+32(x-1)=0
(x-1)(32-8x)=0
8(x-1)(4-x)=0
\(\Rightarrow\orbr{\begin{cases}8\left(x-1\right)=0\\4-x=0\end{cases}\Rightarrow\orbr{\begin{cases}x=1\\x=4\end{cases}}}\)