Let and let be its uniform limit. Choose a finite with for all . The partial sums of the multiplied series are , and
For any , uniform convergence supplies making for all and . The displayed estimate then gives an error less than . Thus
Under the stated piecewise smooth hypotheses, the Dirichlet convergence theorem for Fourier series gives the average of the two one-sided limits of the corresponding periodic extension. The even extension is continuous at both endpoints, so the Fourier cosine series converges to
The odd extension agrees with on , but its left and right limits are at zero and at the join . Therefore the Fourier sine series converges to
Indeed every partial sum of the Fourier sine series is already zero at both endpoints. The endpoint values agree with only when the corresponding boundary values vanish.
First, the Fourier coefficients of the Fourier cosine series decay as , whereas those of the Fourier sine series are of order . In particular, the absolute convergence bound for the Fourier cosine series gives a uniform tail estimate
Thus its tail is absolutely controlled using fewer Fourier harmonics. The Fourier sine series does not have an absolutely summable sequence of Fourier coefficients.
Second, the even extension is continuous, so its Fourier cosine series converges uniformly on the closed interval and approximates the nonzero endpoint limits correctly. The odd periodic extension has jumps, producing the Gibbs phenomenon in its Fourier sine series near zero and . Every Fourier sine series partial sum is zero at both endpoints, so by approaching from inside one obtains
Hence the Fourier sine series approximation cannot converge uniformly even on the whole open interval, despite pointwise convergence at each interior point. The Fourier cosine series approximation has faster coefficient decay and avoids the persistent errors near the endpoints.
Set and . The required integrals follow from
Consequently the Fourier coefficients are
Thus the Fourier cosine series is
and its sum is everywhere on . The Fourier sine series is
and its sum is on and zero at the two endpoints. The open and filled circles in the sketches distinguish these endpoint limits from the actual values of the sum.
Figure 1.
The sums and finite partial sums of the Fourier cosine series and Fourier sine series for
. The upper panels show the exact sums on . The lower panels compare twelve-term partial sums with the exponential function: the Fourier sine series has zero endpoints and oscillations near its periodic extension's jumps. Details.
Take . It vanishes at both endpoints. Its odd periodic extension is continuously differentiable across the joins, whereas its even extension has corners because and are nonzero.
Two integrations by parts, with , give
The Fourier coefficients are therefore
The Fourier sine series has a uniform absolute tail , and each of its partial sums satisfies both zero boundary values exactly. The Fourier cosine series has an absolute tail bound ; at its omitted even-index Fourier coefficients have the same sign and yield an error of order . This verifies a strictly faster uniform error bound for the sine approximation in this example.
A real or complex sequence is a Cauchy sequence if
For , the complex modulus gives
Thus the same works for both coordinate Cauchy sequences. Conversely, if both real coordinate Cauchy sequences converge to and , then . This proves the needed completeness for complex numbers from the assumed completeness of the real numbers.
Now suppose converges. Its real partial sums form a Cauchy sequence. Given , sufficiently late tails therefore satisfy . For , the triangle inequality yields
The complex partial sums are a Cauchy sequence, hence converge by the coordinate argument. Therefore absolute convergence implies convergence for a complex series.
A series converges if its partial sums have a finite limit of a sequence as ; its sum is then . It has absolute convergence if the series converges, where is the absolute value of the term.
Assume first that the original nonnegative series converges to . Its partial sums increase to . Write for the partial sums of the rearrangement of a series. Since is an injection, the indices are distinct, so
Thus is an increasing bounded sequence, and the bounded monotone sequence theorem gives .
For any fixed , surjectivity of gives
For , nonnegativity implies . Taking limits of sequences first in and then in gives . Hence .
Conversely, is a bijection, and the original series is the rearrangement of a series of defined by . The same argument proves its convergence whenever converges. Both series converge together, and their sums are equal.
Start with all of and , namely , whose sum is . For in order, append copies of the triple
This uses all occurrences of and all occurrences of , exactly once. Together with the initial terms, every original occurrence is used, establishing a rearrangement of a series. Its beginning is
Each triple has sum zero. At its intermediate terms the partial sum is at most above . This bound tends to zero, so the whole series, rather than just the subsequence of sums at completed triples, has sum .
Place the single term in first. For in order, append copies of the pair
This uses all of and all of exactly once, so it is an explicit rearrangement of a series. Its beginning is
Every completed pair leaves the partial sum at . Within a level- pair the partial sum differs from by at most . As this tends to zero, proving that the rearranged series has sum .
In level , each group is
and there are such groups. The partial sums at completed groups are therefore zero. Inside a group of level , the only other partial sums are and . Every level contains finitely many terms, so the level containing the th term tends to infinity with . Thus all partial sums lie between zero and a bound tending to zero. By the squeeze theorem, the series has sum .
For the next two parts, label the positive occurrences of size by and the negative occurrences of size by . There are exactly occurrences in and in . Occurrences with equal value retain separate labels, so checking their counts verifies a bijection of terms.
A series converges when its partial sums have a finite limit of a sequence.
The comparison test says that if eventually and converges, then converges. Indeed, the partial sums of the nonnegative terms are increasing, and are bounded above by a fixed initial contribution plus the sum of the comparison series. The bounded monotone sequence theorem proves their convergence. Finite initial terms do not affect convergence. Applying this result to also proves absolute convergence whenever eventually with .
Using the usual piecewise smooth interpretation of the derivative hypothesis, Dirichlet's theorem on Fourier series gives the average of the two one-sided limits of the appropriate periodic extension. The even extension is continuous at and at the identified endpoints , so the Fourier cosine series converges to
For the odd extension, the one-sided limits at zero are and , while at the periodic one-sided limits are and . Hence the Fourier sine series converges to
At an endpoint this equals precisely when is zero there. One can also see the zero endpoint values directly: every partial sum consists of sines that vanish at both endpoints.
The Fourier cosine series converges to the continuous even -periodic extension. If represents modulo , its value is
It has value zero at , rises linearly with distance from these points until height , and then stays flat until the next descending ramp. Thus the sketch on has minima at , and plateaux centred at the odd multiples of . Its large partial sums round the corners and closely follow the whole graph.
The Fourier sine series converges, away from the odd multiples of , to the odd -periodic extension
At every odd multiple of its value is zero, the midpoint of the jump from to . At even multiples of it passes continuously through zero. Thus on every interval it has a negative plateau, a rising linear segment through , and a positive plateau. The jump size is .
Figure 1.
Periodic limits and 60-term Fourier partial sums
. Details.
The blue curves are the partial sums through . The open endpoint circles and filled zero dots in the lower panel distinguish the one-sided limits from the value of the Fourier sine series at each jump. Near these jumps the partial sums exhibit the Gibbs phenomenon: the oscillations become concentrated in narrower regions as the number of terms grows, while their limiting overshoot remains about times the jump, here about .
A series is a convergent series if its partial sums have a finite limit as . The number is the sum of the series. Explicitly, for every there is an integer such that whenever . The condition alone is insufficient: the harmonic series has terms tending to zero but diverges.
Add the supplied five-term partial sum to each side of the tail inequality. Since and ,
Numerically this is approximately .
A convergent series has partial sums tending to a finite limit . Explicitly, for every there is an integer such that whenever . The convergence of the individual terms to zero is necessary but is not sufficient for convergence of the series.
For , strict decrease gives , while for it gives . Integrating over these unit intervals proves
Summing the rectangle bounds gives
The partial sums and the improper integral are nondecreasing. These bounds show that one is bounded exactly when the other is bounded, proving the integral test for convergence. In the convergent case, sum the same interval inequalities for to obtain
For , the antiderivative is , which grows without bound, so the first series diverges. For , the antiderivative is , whose tail integral is finite, so the second series converges, with
Both functions are positive and strictly decreasing on , as required.
With the standard real normalization, the Fourier series of a period- function is
where
For the partial sum , Fourier orthogonality eliminates all cross terms. The constant term contributes , while every squared sine or cosine integrates to , giving
For a square-integrable function, completeness of the trigonometric orthogonal basis in the Hilbert space makes in norm. Passing to the limit proves Parseval's identity:
Square integrability is the needed hypothesis here; periodicity alone is not an integrability or convergence condition.