Theo BĐT cosi ta có:
\(3a+5b\ge2\sqrt{3a\cdot5b}\)
\(\Leftrightarrow3a+5b\ge2\sqrt{15ab}\)
\(\Leftrightarrow12\ge2\sqrt{15ab}\)
\(\Leftrightarrow\sqrt{15ab}\le\dfrac{12}{2}\)
\(\Leftrightarrow\sqrt{15ab}\le6\)
\(\Leftrightarrow15ab\le36\)
\(\Leftrightarrow ab\le\dfrac{36}{15}\)
\(\Leftrightarrow ab\le\dfrac{12}{5}\)
\(\Rightarrow P\le\dfrac{12}{5}\)
Vậy: \(P_{max}=\dfrac{12}{5}\)