In mathematics, an alternating series is an infinite series of the form
with an > 0 for alln. The signs of the general terms alternate between positive and negative. Like any series, an alternating series converges if and only if the associated sequence of partial sums converges.