Có; \(2a^2+2b^2=5ab\)
\(\Leftrightarrow\left(2a^2-4ab\right)+\left(2b^2-ab\right)=0\)
\(\Leftrightarrow2a\left(a-2b\right)+b\left(2b-a\right)=0\)
\(\Leftrightarrow\left(a-2b\right)\left(2a-b\right)=0\)
\(\Leftrightarrow\left[\begin{array}{nghiempt}a-2b=0\\2a-b=0\end{array}\right.\)\(\Leftrightarrow\left[\begin{array}{nghiempt}a=2b\left(loai\right)\\2a=b\left(tm\right)\end{array}\right.\)
Với: \(2a=b\), ta có: \(P=\frac{a+2a}{a-2a}=\frac{3a}{-a}=-3\)