Đặt \(\hept{\begin{cases}x^2+3x-4=a\\3x^2+7x+4=b\end{cases}\Rightarrow4x^2+10x=a+b}\)
\(\left(x^2+3x-4\right)^3+\left(3x^2+7x+4\right)^3=\left(4x^2+10x\right)^3\)
\(\Rightarrow a^3+b^3=\left(a+b\right)^3\)
\(\Rightarrow a^3+b^3=a^3+b^3+3ab\left(a+b\right)\)
\(\Rightarrow3ab\left(a+b\right)=0\)
Nếu \(a=0\Rightarrow x^2+3x-4=0\Rightarrow x\left(x+4\right)-\left(x+4\right)=0\Rightarrow\left(x+4\right)\left(x-1\right)=0\Rightarrow\orbr{\begin{cases}x=-4\\x=1\end{cases}}\)
Nếu \(b=0\Rightarrow3x^2+7x+4=0\Rightarrow3x\left(x+1\right)+4\left(x+1\right)=0\Rightarrow\left(x+1\right)\left(3x+4\right)=0\Rightarrow\orbr{\begin{cases}x=-1\\x=-\frac{4}{3}\end{cases}}\)
Nếu \(a+b=0\Rightarrow4x^2+10x=0\Rightarrow2x\left(2x+5\right)=0\Rightarrow\orbr{\begin{cases}x=0\\x=-\frac{5}{2}\end{cases}}\)