We want this expression to fall in one of the two cases:
So, if the exponent is zero, the base can assume any value, because everything (expect zero) to the power of zero is one.
Similarly, if the base is 1, the exponent can be any number, becuase 1 raised to any exponent is still one.
If we are looking for the "zero exponent" strategy, we simply have to impose
In this case, the expression becomes
, so we avoided the
case and we're good.
If we are looking for the "base equals one" strategy, we must impose