7a.
\(y'=3x^2-2\left(m-1\right)x-m-3\)
Hàm nghịch biến trên \(\left(-1;0\right)\) khi và chỉ khi \(y'\le0\) ; \(\forall x\in\left(-1;0\right)\)
\(\Leftrightarrow3x^2-2\left(m-1\right)x-m-3\le0\)
\(\Leftrightarrow\left\{{}\begin{matrix}\Delta'=\left(m-1\right)^2+3\left(m+3\right)>0\\x_1\le-1< 0\le x_2\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}m^2+m+10>0\left(\text{luôn đúng}\right)\\f\left(-1\right)\le0\\f\left(0\right)\le0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}3+2\left(m-1\right)-m-3\le0\\-m-3\le0\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}m-2\le0\\-m-3\le0\end{matrix}\right.\) \(\Leftrightarrow-3\le m\le2\)
7b.
\(y'=-x^2+2\left(m-1\right)x+m+3\)
Hàm đồng biến trên \(\left(0;3\right)\) khi và chỉ khi \(y'\le0\) ; \(\forall x\in\left(0;3\right)\)
\(\Leftrightarrow-x^2+2\left(m-1\right)x+m+3\ge0\) ; \(\forall x\in\left(0;3\right)\)
\(\Leftrightarrow m\left(2x+1\right)\ge x^2+2x-3\)
\(\Leftrightarrow m\ge\dfrac{x^2+2x-3}{2x+1}\)
\(\Leftrightarrow m\ge\max\limits_{\left[0;3\right]}\dfrac{x^2+2x-3}{2x+1}\)
Xét hàm \(f\left(x\right)=\dfrac{x^2+2x-3}{2x+1}\) trên \(\left(0;3\right)\)
\(f'\left(x\right)=\dfrac{2\left(x^2+x+4\right)}{\left(2x+1\right)^2}>0\) ; \(\forall x\Rightarrow f\left(x\right)\) đồng biến
\(\Rightarrow f\left(x\right)< f\left(3\right)=\dfrac{12}{7}\)
\(\Rightarrow m\ge\dfrac{12}{7}\)