Ta có: \(\frac{ab}{a+b}=\frac{bc}{b+c}=\frac{ac}{a+c}.\)
\(\Rightarrow\frac{a+b}{ab}=\frac{b+c}{bc}=\frac{a+c}{ac}\)
\(\Rightarrow\frac{1}{b}+\frac{1}{a}=\frac{1}{c}+\frac{1}{b}=\frac{1}{a}+\frac{1}{c}\)
\(\Rightarrow\frac{1}{a}=\frac{1}{b}=\frac{1}{c}.\)
\(\Rightarrow a=b=c\)
Khi đó: \(P=\frac{ab^2+bc^2+ac^2}{a^3+b^3+c^3}=1.\)
Vậy \(P=1.\)
Chúc bạn học tốt!