What is the sum of infinity of the progression 1-x+x square -x cube+….?

The sum of an infinite progression can be found using the formula for the sum of an infinite geometric progression:

S = a / (1 - r)

In this case, a = 1 (the first term), and r = -x (the common ratio).

So, the sum of the infinite progression 1 - x + x^2 - x^3 + ... would be:

S = 1 / (1 + x)