Why is x^i undefined?