Theo đề ta có: \(x:y:z=3:4:5\Rightarrow\frac{x}{3}=\frac{y}{4}=\frac{z}{5}\)
Đặt: \(\frac{x}{3}=\frac{y}{4}=\frac{z}{5}=k\left(k\inℕ^∗\right)\)
Suy ra: \(x=3k;y=4k;z=5k\) Thay vào biểu thức P ta có:
\(P=\frac{3k+8k+15k}{6k+12k+20k}+\frac{6k+12k+20k}{9k+16k+25k}+\frac{9k+16k+25k}{12k+20k+30k}\)
\(P=\frac{26k}{38k}+\frac{38k}{50k}+\frac{50k}{62k}=\frac{13}{19}+\frac{19}{25}+\frac{25}{31}=\frac{33141}{14725}\)