a) \(\left|x^2+1\right|=2x^2\)
\(\Rightarrow\orbr{\begin{cases}x^2+1=2x^2\\x^2+1=-2x^2\end{cases}}\)
\(\Rightarrow\orbr{\begin{cases}x^2=1\\\text{loại}\end{cases}}\)
\(\Rightarrow x\in\left\{\pm1\right\}\)
b) \(\left|3x-1\right|+2x=\left|1-3x\right|+4\)
\(\left|3x-1\right|+2x=\left|3x-1\right|+4\)
\(2x=4\)
\(x=2\)
Vậy.....