$$y=\frac{ax+b}{x+c}$$ find a,b and c given that there are asymptotes at $x=-1$ and $y=-2$ and the curve passes through (3,0)
I know that c=1 but I dont know how to find a and b?
I thought you expressed y in partial fraction so that you end up with something like $y=Ax+B+\frac{C}{x+D}$
You're on the right track; $$\frac{ax+b}{x+c}=\frac{ax+ac-ac+b}{x+c}=a+\frac{-ac+b}{x+c}$$ As $x\to \pm \infty$, the fraction disappears and you're left with $a$. Hence $a=-2$.