Question: Simple(?) algebra

This may be a frequently asked question but I could not find

it in MaplePrime's archives.

 

The expression

z := (x^(a+1) - x^a)/(x-1);

(x^(a+1)-x^a)/(x-1)

should simplify to x^a. I don't know how to do that in Maple 2017.

I have tried all sorts of commands and assumption but none

worked.  For instance:

simplify(z) assuming x>1, a::posint;

(x^(a+1)-x^a)/(x-1)

What's the trick?

Please Wait...