Ta có: \(\left(x+\frac{1}{x}\right)^3=x^3+\frac{1}{x^3}+3.1.\frac{1}{x}.\left(1+\frac{1}{x}\right)\)\(=a^3\)
\(< =>x^3+\frac{1}{x^3}+3.\left(1+\frac{1}{x}\right)=a^3\)
\(< =>x^3+\frac{1}{x^3}=a^3-3a\)
Lại có: \(\left(x+\frac{1}{x}\right)^5=x^5+\frac{1}{x^5}+5.\left(x^3+\frac{1}{x^3}\right)+10.\left(x+\frac{1}{x}\right)=a^5\)
\(< =>x^5+\frac{1}{x^5}+5.\left(a^3-3a\right)+10.a=a^5\)
\(< =>x^5+\frac{1}{x^5}+5a^3-15a+10a=a^5\)
\(< =>x^5+\frac{1}{x^5}=a^5-5a^3+5a\)