Có \(a=\dfrac{12}{b}\)
\(\Rightarrow a+b=\dfrac{12}{b}+b=7\\ \Rightarrow b^2-7b+12=0\\ \Leftrightarrow\left[{}\begin{matrix}b=3\Rightarrow a=4\\b=4\Rightarrow a=3\end{matrix}\right.\)
Với a = 4, b = 3, ta có: \(\left(a-b\right)^3=\left(4-3\right)^3=1\)
Với a = 3, b = 4, ta có: \(\left(a-b\right)^3=\left(3-4\right)^3=-1\)