\(ab-ac+bc=c^2-1\)
\(ab-ac+bc-c^2=-1\)
\(a\left(b-c\right)+c\left(b-c\right)=-1\)
\(\Leftrightarrow\left(a+c\right)\left(b-c\right)=-1\)
=> a + c = 1 thì b - c = - 1; a + c = - 1 thì b - c = 1 => a + c và b - c đối nhau
\(\Rightarrow a+c=-\left(b-c\right)\)
\(a+c=-b+c\)
\(\Rightarrow a=-b\)
\(\Rightarrow B=\frac{a}{b}=-1\)