Good job Farooq!
ray_serrano Wrote:I don’t understand how does a^b(1 - a^-1) becomes a^b-1(a - 1)...
Just for clarity, I'll add some parentheses to the question and to Farooq's explanation. It's tough to show complex exponents and fractions accurately online without superscripts and fraction formatting:
Why does [a^b]*[1 - a^(-1)] = [a^(b - 1)]*[a - 1]?
We can write a^(-1) as 1/a.
So [a^b]*[1 - a^(-1)] = [a^b]*[1 - (1/a)]
= [a^b]*[(a/a) - (1/a)]
= [a^b]*[(a-1)/a]
= [a^b]*[(1/a)*(a-1)]
= [a^b]*[(a^(-1)]*[a - 1]
When base is common (moderator note: as it is in the first two terms of this product), add the powers.
= [a^(b + (-1))]*[a - 1]
= [a^(b - 1)]*[a - 1]