a: ĐKXĐ: x<>m
=>TXĐ: D=R\{m}
\(y=\dfrac{mx-2m-3}{x-m}\)
=>\(y'=\dfrac{\left(mx-2m-3\right)'\cdot\left(x-m\right)-\left(mx-2m-3\right)\left(x-m\right)'}{\left(x-m\right)^2}\)
\(=\dfrac{m\left(x-m\right)-\left(mx-2m-3\right)}{\left(x-m\right)^2}\)
\(=\dfrac{mx-m^2-mx+2m+3}{\left(x-m\right)^2}=\dfrac{-m^2+2m+3}{\left(x-m\right)^2}\)
Để hàm số đồng biến trên từng khoảng xác định thì \(y'>0\forall x\in TXĐ\)
=>\(\dfrac{-m^2+2m+3}{\left(x-m\right)^2}>0\)
=>\(-m^2+2m+3>0\)
=>\(m^2-2m-3< 0\)
=>(m-3)(m+1)<0
TH1: \(\left\{{}\begin{matrix}m-3>0\\m+1< 0\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}m>3\\m< -1\end{matrix}\right.\)
=>\(m\in\varnothing\)
TH2: \(\left\{{}\begin{matrix}m-3< 0\\m+1>0\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}m>-1\\m< 3\end{matrix}\right.\)
=>-1<m<3
b: TXĐ: D=R\{m}
\(y=\dfrac{mx-4}{x-m}\)
=>\(y'=\dfrac{\left(mx-4\right)'\left(x-m\right)-\left(mx-4\right)\left(x-m\right)'}{\left(x-m\right)^2}\)
\(=\dfrac{m\left(x-m\right)-\left(mx-4\right)}{\left(x-m\right)^2}\)
\(=\dfrac{mx-m^2-mx+4}{\left(x-m\right)^2}=\dfrac{-m^2+4}{\left(x-m\right)^2}\)
Để hàm số đồng biến trên từng khoảng xác định thì \(\dfrac{-m^2+4}{\left(x-m\right)^2}>0\)
=>\(-m^2+4>0\)
=>\(-m^2>-4\)
=>\(m^2< 4\)
=>-2<m<2