a) \(3x-\left(x-5\right)=19\)
\(\Rightarrow3x-x+5=19\)
\(\Rightarrow2x+5=19\)
\(\Rightarrow2x=19-5\)
\(\Rightarrow2x=14\)
\(\Rightarrow x=14\div2\)
\(\Rightarrow x=7\)
Vậy \(x=7\)thì thỏa mãn đề bài.
b) \(x\left|x\right|+2012=2012\left|x\right|+x\)
\(\Rightarrow2012-x=2012\left|x\right|-x\left|x\right|\)
\(\Rightarrow2012-x=\left(2012-x\right)\left|x\right|\)
\(\Rightarrow\left|x\right|=\left(2012-x\right)\div\left(2012-x\right)\)
\(\Rightarrow\left|x\right|=1\)
\(\Rightarrow x=\pm1\)
Vậy \(x=\pm1\)thì thỏa mãn đề bài.