a) A = \(\frac{a}{\left(a-b\right)\left(a-c\right)}+\frac{b}{\left(b-a\right)\left(b-c\right)}+\frac{c}{\left(c-a\right)\left(c-b\right)}\)
=> A = \(\frac{a}{\left(a-b\right)\left(a-c\right)}-\frac{b}{\left(a-b\right)\left(b-c\right)}+\frac{c}{\left(a-c\right)\left(b-c\right)}\)
=> A = \(\frac{a\left(b-c\right)}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}-\frac{b\left(a-c\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}+\frac{c\left(a-b\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
=> A + \(\frac{ab-ac-ab+bc+ac-bc}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}=0\)
\(B=\frac{a^2}{\left(a-b\right)\left(a-c\right)}+\frac{b^2}{\left(b-a\right)\left(b-c\right)}+\frac{c^2}{\left(c-a\right)\left(c-b\right)}\)
\(=\frac{a^2\left(b-c\right)}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}+\frac{b^2\left(c-a\right)}{\left(b-a\right)\left(b-c\right)\left(c-a\right)}\)
\(+\frac{c^2\left(a-b\right)}{\left(c-a\right)\left(c-b\right)\left(a-b\right)}\)
\(=\frac{a^2\left(b-c\right)}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}+\frac{b^2\left(c-a\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(+\frac{c^2\left(a-b\right)}{\left(a-c\right)\left(b-c\right)\left(a-b\right)}\)
\(=\frac{a^2\left(b-c\right)+b^2\left(c-a\right)+c^2\left(a-b\right)}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}\)
\(=\frac{\left(a-b\right)\left(a-c\right)\left(b-c\right)}{\left(a-b\right)\left(a-c\right)\left(b-c\right)}=1\)