Bài 2:
Sửa đề: \(y=f\left(x\right)=\left\{{}\begin{matrix}\dfrac{2x^2+3x-5}{x-1}nếux\ne1\\2a+1nếux=1\end{matrix}\right.\)
\(\lim\limits_{x\rightarrow1}f\left(x\right)=\lim\limits_{x\rightarrow1}\dfrac{2x^2+3x-5}{x-1}\)
\(=\lim\limits_{x\rightarrow1}\dfrac{\left(2x+5\right)\left(x-1\right)}{x-1}=\lim\limits_{x\rightarrow1}2x+5=2+5=7\)
f(1)=2a+1
Để hàm số liên tục khi x=1 thì \(f\left(1\right)=\lim\limits_{x\rightarrow1}f\left(x\right)\)
=>2a+1=7
=>2a=6
=>a=3