TH1:
Nếu \(a+b+c=0\Rightarrow\hept{\begin{cases}a=-\left(b+c\right)\\b=-\left(a+c\right)\\c=-\left(a+b\right)\end{cases}}\)
Khi đó:\(P=\left(1+\frac{a}{b}\right)\left(1+\frac{b}{c}\right)\left(1+\frac{c}{a}\right)\)
\(=\left(1-\frac{b+c}{b}\right)\left(1-\frac{a+c}{c}\right)\left(1-\frac{a+b}{a}\right)\)
\(=\frac{-c}{b}\cdot\frac{-a}{c}\cdot\frac{-b}{a}\)
\(=-1\)
\(TH2:a+b+c\ne0\)
Áp dụng tính chất dãy tỉ số bằng nhau,ta có:
\(\frac{a}{b+2c}=\frac{b}{c+2a}=\frac{c}{a+2b}=\frac{a+b+c}{3\left(a+b+c\right)}=\frac{1}{3}\)
\(\Rightarrow\hept{\begin{cases}3a=b+2c\\3b=c+2a\\3c=a+2b\end{cases}}\Rightarrow3\left(a+b+c\right)=3\left(a+b+c\right)\Rightarrow a=b=c\)
Khi đó:\(P=\left(1+\frac{a}{a}\right)\left(1+\frac{a}{a}\right)\left(1+\frac{a}{a}\right)=8\)