\(P=\left(1+\frac{b}{a}\right)\left(1+\frac{a}{c}\right)\left(1+\frac{c}{b}\right)=\frac{a+b}{a}.\frac{a+c}{c}.\frac{b+c}{b}\)
Ta có: \(\frac{a+b-c}{c}=\frac{b+c-a}{a}=\frac{c+a-b}{b}=\frac{a+b}{c}-1=\frac{b+c}{a}-1=\frac{c+a}{b}-1\)
\(\Rightarrow\frac{a+b}{c}=\frac{b+c}{a}=\frac{c+a}{b}=\frac{a+b+b+c+c+a}{c+a+b}=\frac{2\left(a+b+c\right)}{a+b+c}\)
TH1: \(a+b+c=0\)\(\Rightarrow\hept{\begin{cases}a+b=-c\\b+c=-a\\c+a=-b\end{cases}}\)
\(\Rightarrow P=\frac{-c}{a}.\frac{-b}{c}.\frac{-a}{b}=\frac{\left(-a\right).\left(-b\right).\left(-c\right)}{a.b.c}=-1\)
TH2: \(a+b+c\ne0\)\(\Rightarrow\frac{a+b}{c}=\frac{b+c}{a}=\frac{c+a}{b}=2\)
\(\Rightarrow\hept{\begin{cases}a+b=2c\\b+c=2a\\c+a=2b\end{cases}}\)\(\Rightarrow P=\frac{2c}{a}.\frac{2b}{c}.\frac{2a}{b}=\frac{8abc}{abc}=8\)
Vậy \(P=-1\)hoặc \(P=8\)