Ta có a + b = 3
=> (a + b)2 = 9
=> a2 + 2ab + b2 = 9
=> a2 + b2 = 5 (ab = 2)
Khi a2 + b2 = 5 => a2 - 2ab + b2 = 1
=> (a - b)2 = 1
=> a - b = \(\pm1\)
Đặt A \(\frac{1}{a^3}-\frac{1}{b^3}=\frac{b^3-a^3}{\left(a.b\right)^3}=\frac{\left(b-a\right)\left(b^2+ab+a^2\right)}{\left(ab\right)^3}=-\frac{\left(a-b\right)\left(a^2+ab+b^2\right)}{\left(ab\right)^3}\)
Với a - b = 1 ; ab = 2 ; a2 + b2 = 5 ta có A = \(-\frac{1.\left(5+2\right)}{2^3}=-\frac{7}{8}\)
Với a - b = - 1 ; ab = 2 ; a2 + b2 = 5 ta có A = \(-\frac{\left(-1\right).\left(5+2\right)}{2^3}=\frac{7}{8}\)
Ta có: \(\hept{\begin{cases}a+b=3\\ab=2\end{cases}}\Leftrightarrow\hept{\begin{cases}\left(a+b\right)^2=9\\ab=2\end{cases}\Leftrightarrow}\hept{\begin{cases}a^2+2ab+b^2=9\\ab=2\end{cases}}\Leftrightarrow\hept{\begin{cases}a^2+b^2=5\\ab=2\end{cases}}\)
Khi đó: \(\frac{1}{a^3}-\frac{1}{b^3}=\frac{b^3-a^3}{a^3b^3}=\frac{\left(b-a\right)\left(a^2+ab+b^2\right)}{8}=\frac{7\left(b-a\right)}{8}\)
Ta có: \(a+b=3\Rightarrow a=3-b\) thay vào: \(\left(3-b\right)b=2\)
\(\Leftrightarrow b^2-3b+2=0\Leftrightarrow\left(b-1\right)\left(b-2\right)=0\Leftrightarrow\orbr{\begin{cases}b=1\Rightarrow a=2\\b=2\Rightarrow a=1\end{cases}}\)
Nếu \(\hept{\begin{cases}a=2\\b=1\end{cases}\Rightarrow}\frac{1}{a^3}-\frac{1}{b^3}=-\frac{7}{8}\)
Nếu \(\hept{\begin{cases}a=1\\b=2\end{cases}}\Rightarrow\frac{1}{a^3}-\frac{1}{b^3}=\frac{7}{8}\)