Difference of n-th Powers
This identity factors for any positive integer and always contains the factor . It generalises the difference of squares and of cubes, is used to factor polynomials, to prove divisibility results and to derive the geometric series sum.
LaTeX
a^n-b^n=(a-b)\left(a^{n-1}+a^{n-2}b+\cdots+ab^{n-2}+b^{n-1}\right)Variables
- any numbers or expressions
- positive integer exponent
Example
Factor using the identity.
- Take .
- .
- .
Answer: .