$$f(x)=\begin{cases} \frac{2x^2-3x+1}{2x-1} &, x<\frac{1}{2}\\ Ax+B &, x=\frac{1}{2}\\ 2B &, x>\frac{1}{2}\end{cases}$$ Determine constants $A$ and $B$ such that $f(x)$ is continuous for all values of $x$. Show your work using the conditions of continuity.
So the 1st function can be factored into $(x-1), x \lt 1/2$
And $f(1/2) = Ax+B$
But I can't quite find the value of $A$ and $B$. I found many examples related to this but nothing could help me out. If you guys could help me out in any way that would be great.
SOLUTION:
Analyzing left continuity at $\frac{1}{2}$, using L'Hopital's Rule:
$$Ax+B=\frac{4*\frac{1}{2}-3}{2}$$ $$\frac{A}{2}+B=\frac{-1}{2}$$
Lets check the right continuity:
$$\frac{A}{2}=B$$
From the two equations, we obtain $B=\frac{-1}{4}$ and $A=\frac{-1}{2}$