Math Help - Difference of Squares

1. Difference of Squares

How do I show that $\frac{(x+\frac{1}{x})^6 - (x^6+\frac{1}{x^6}) -2}{(x+\frac{1}{x})^3+(x^3+\frac{1}{x^3})}$

equals

$(x+\frac{1}{x})^3-(x^3+\frac{1}{x^3})$

and then how that equals

$3(x+\frac{1}{x})$

Thanks!

2. Hello, RubyRed!

How do I show that: . $\frac{\left(x+\dfrac{1}{x}\right)^6 - \left(x^6+\dfrac{1}{x^6}\right) -2}{\left(x+\dfrac{1}{x}\right)^3+\left(x^3+\dfrac{ 1}{x^3}\right)} \;\;=\;\;\left(x+\frac{1}{x}\right)^3-\left(x^3+\frac{1}{x^3}\right)$

and then how that equals: . $3\left(x+\frac{1}{x}\right)$

The numerator is: . $\left(x + \frac{1}{x}\right)^6 - \left(x^6 + 2 + \frac{1}{x^6}\right) \;=\;\left(x + \frac{1}{x}\right)^6 - \left(x^3 + \frac{1}{x^3}\right)^2$

. . . . $= \;\bigg[\left(x + \frac{1}{x}\right)^3\bigg]^2 - \left[x^3 + \frac{1}{x^3}\right]^2$ . . . a difference of squares

which factors: . $\bigg[\left(x + \frac{1}{x^3}\right)^3 - \left(x^3 + \frac{1}{x^3}\right)\bigg]\cdot \bigg[\left(x + \frac{1}{x}\right)^3 + \left(x^3 + \frac{1}{x^3}\right)\bigg]$

The fraction becomes: . $\frac{ \bigg[\left(x + \frac{1}{x^3}\right)^3 - \left(x^3 + \frac{1}{x^3}\right)\bigg]\cdot \bigg[\left(x + \frac{1}{x}\right)^3 + \left(x^3 + \frac{1}{x^3}\right)\bigg] }
{\bigg[\left(x+\frac{1}{x}\right)^3 + \left(x^3 + \frac{1}{x^3}\right)\bigg]}$

. . which reduces to: . $\boxed{\left(x+\frac{1}{x}\right)^3 - \left(x^3 + \frac{1}{x^3}\right)}$

Expand the cube: . $\left(x^3 + 3x + \frac{3}{x} + \frac{1}{x^3}\right) - \left(x^3 + \frac{1}{x^3}\right)$

. . . $=\;\;x^3 + 3x + \frac{3}{x} + \frac{1}{x^3} - x^3 - \frac{1}{x^3} \;\;=\;\;3x + \frac{3}{x} \;\;=\;\;\boxed{3\left(x + \frac{1}{x}\right)}$