Lời giải:
Ta có: \(y=x^3+(m-1)x^2+3x-2\)
\(\Rightarrow y'=3x^2+2(m-1)x+3\)
Theo định lý về dấu của tam thức bậc 2, để hàm số đồng biến trên R thì \(y'=3x^2+2(m-1)x+3\geq 0, \forall x\in\mathbb{R}\)
\(\Leftrightarrow \Delta'=(m-1)^2-9\leq 0\)
\(\Leftrightarrow -3\leq m-1\leq 3\Leftrightarrow -2\leq m\leq 4\)