\(\frac{1}{a}+\frac{1}{b}+\frac{1}{c}=0\Rightarrow\frac{ab+bc+ac}{abc}=0\)
\(\Rightarrow ab+bc+ac=0\Rightarrow\hept{\begin{cases}ab=-ac-bc\\bc=-ab-ac\\ac=-ab-bc\end{cases}}\)
\(a^2+2bc=a^2+bc+bc=a^2+bc-ab-ac=a\left(a-b\right)-c\left(a-b\right)=\left(a-b\right)\left(a-c\right)\)
Tương tự: \(b^2+2ac=\left(b-c\right)\left(b-a\right)\)
\(c^2+2ab=\left(a-c\right)\left(b-c\right)\)
\(B=\frac{bc+1}{\left(a-b\right)\left(a-c\right)}+\frac{ca+1}{\left(b-a\right)\left(b-c\right)}+\frac{ab+1}{\left(a-c\right)\left(b-c\right)}\)
\(=\frac{bc+1}{\left(a-b\right)\left(a-c\right)}-\frac{ca+1}{\left(a-b\right)\left(b-c\right)}+\frac{ab+1}{\left(a-c\right)\left(b-c\right)}\)
\(=\frac{\left(bc+1\right)\left(b-c\right)-\left(ca+1\right)\left(a-c\right)+\left(ab+1\right)\left(a-b\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(\left(bc+1\right)\left(b-c\right)-\left(ca+1\right)\left(a-c\right)+\left(ab+1\right)\left(a-b\right)\)
\(=\left(bc+1\right)\left(b-c\right)-\left(ca+1\right)\left(a-b\right)-\left(ca+1\right)\left(b-c\right)+\left(ab+1\right)\left(a-b\right)\)
\(=\left(b-c\right)\left(bc+1-ca-1\right)+\left(a-b\right)\left(ab+1-ca-1\right)\)
\(=\left(b-c\right)\left(bc-ca\right)+\left(a-b\right)\left(ab-ca\right)\)
\(=\left(b-c\right)c\left(b-a\right)+\left(a-b\right)a\left(b-c\right)\)
\(=\left(a-b\right)\left(b-c\right)\left(a-c\right)\)
Vậy B = 1