Question: process of simplification with assumption

What is the Maple command to simplify  -x^(a)+x^n  to zero under the assumption that a=n?

I have attempted the following command

simplify(-x^(a)+x^n) assuming a=n;

However, it did not produce zero. The following command however produces zero

subs(a=n,-x^(a)+x^n);

 How to do this operation using assumptions. How to inform Maple to assume that a=n.

 

Please Wait...