An Alternating Series is a series in which the terms alternate in sign. Essentially, the terms switch between positive and negative. This type of series can be expressed with the formula \((-1)^{n+1}\cdot a_n\) or \((-1)^n\cdot a_n\), depending on whether the series starts with a positive or negative term, respectively.
In our power series example \(\sum_{n=1}^{\infty} (-1)^{n+1}\frac{x^{2n-1}}{n^2}\), the alternating sign is captured by \((-1)^{n+1}\). This ensures that the first term is positive and the sign alternates with each subsequent term, producing a series of the required pattern:
- Positive: when \(n = 1, 3, 5, \ldots\)
- Negative: when \(n = 2, 4, 6, \ldots\)
The alternating series is useful when calculating approximations or finding convergence of series.