\(P=\dfrac{a^2}{\left(a-b\right)\left(a-c\right)}+\dfrac{b^2}{\left(b-c\right)\left(b-a\right)}+\dfrac{c^2}{\left(c-b\right)\left(c-a\right)}\)
\(=\dfrac{a^2}{\left(a-b\right)\left(a-c\right)}+\dfrac{-b^2}{\left(b-c\right)\left(a-b\right)}+\dfrac{c^2}{\left(b-c\right)\left(a-c\right)}\)
\(=\dfrac{a^2\left(b-c\right)-b^2\left(a-c\right)+c^2\left(a-b\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(=\dfrac{a^2b-a^2c-ab^2+b^2c+c^2a-bc^2}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)\(=\dfrac{ab\left(a-b\right)-c\left(a^2-b^2\right)+c^2\left(a-b\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(=\dfrac{\left(a-b\right)\left(ab-c\left(a+b\right)+c^2\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}=\dfrac{\left(a-b\right)\left[a\left(b-c\right)-c\left(b-c\right)\right]}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(=\dfrac{\left(a-b\right)\left(b-c\right)\left(a-c\right)}{\left(a-b\right)\left(b-c\right)\left(a-c\right)}\)
\(=1\)