ta có : \(P-Q=\left(a+1\right)^2+\left(b+1\right)^2+\left(c+1\right)^2+2\left(ab+ac+bc\right)-\left(a+b+c+1\right)^2\)
\(=a^2+2a+1+b^2+2b+1+c^2+2c+1+2ab+2ac+2bc-\left(a^2+b^2+c^2+1+2ab+2bc+2ca+2a+2b+2c\right)\)
\(=a^2+2a+1+b^2+2b+1+c^2+2c+1+2ab+2ac+2bc-a^2-b^2-c^2-1-2ab-2ac-2bc-2a-2b-2c\)
\(=2\) vậy \(P-Q=2\)