๐Ÿงฎ Brain Teaser

The Weierstrass M-Test Is Tight: A Conditionally Convergent Series of Functions

Consider the series f(x)=โˆ‘n=1โˆž(โˆ’1)nnsinโก(nx),xโˆˆR.f(x) = \sum_{n=1}^{\infty} \frac{(-1)^n}{n} \sin(nx), \quad x \in \mathbb{R}.

(a) Show that for each fixed xโˆˆ(0,2ฯ€)x \in (0, 2\pi), the series converges.

(b) Show that the convergence is not uniform on (0,2ฯ€)(0, 2\pi).

(Hint for (b): Think about what happens near x=0x = 0.)

uniform convergenceFourier seriesDirichlet testpointwise convergencesawtooth function

Answer: Conditionally Convergent Series of Functions: Pointwise but Not Uniform

Key Idea / Intuition

The series converges pointwise by the Dirichlet test: the partial sums of sinโก(nx)\sin(nx) are bounded (they satisfy a telescoping geometric sum estimate) and 1/nโ†˜01/n \searrow 0. But uniform convergence fails because near x=0x = 0 the terms sinโก(nx)/n\sin(nx)/n don't die uniformly โ€” you can always find an xx small enough that the partial sums are large. In short: pointwise convergence can hold everywhere while uniform convergence fails because the "trouble spot" chases xโ†’0x \to 0.


Formal Proof / Solution

Part (a): Pointwise Convergence

Fix xโˆˆ(0,2ฯ€)x \in (0, 2\pi). We apply the Dirichlet test for series: if bn=1/nโ†˜0b_n = 1/n \searrow 0 and the partial sums AN(x)=โˆ‘n=1N(โˆ’1)nsinโก(nx)A_N(x) = \sum_{n=1}^N (-1)^n \sin(nx) are bounded in NN, then the series converges.

We bound the partial sums using the identity โˆ‘n=1N(โˆ’1)nsinโก(nx)=Imโ€‰โฃ(โˆ‘n=1N(โˆ’eix)n)=Imโ€‰โฃ(โˆ’eix(1โˆ’(โˆ’eix)N)1+eix).\sum_{n=1}^N (-1)^n \sin(nx) = \text{Im}\!\left(\sum_{n=1}^N (-e^{ix})^n\right) = \text{Im}\!\left(\frac{-e^{ix}(1-(-e^{ix})^N)}{1+e^{ix}}\right).

Since xโˆˆ(0,2ฯ€)x \in (0, 2\pi), we have eixโ‰ โˆ’1e^{ix} \neq -1, so โˆฃ1+eixโˆฃ=2โˆฃcosโก(x/2)โˆฃ>0|1 + e^{ix}| = 2|\cos(x/2)| > 0. Therefore โˆฃAN(x)โˆฃโ‰ค2โˆฃ1+eixโˆฃ=1โˆฃcosโก(x/2)โˆฃ<โˆž.|A_N(x)| \leq \frac{2}{|1 + e^{ix}|} = \frac{1}{|\cos(x/2)|} < \infty.

This bound is finite for each fixed xโˆˆ(0,2ฯ€)x \in (0, 2\pi), so by the Dirichlet test, the series converges pointwise. โœ“\checkmark


Part (b): Convergence Is Not Uniform

Suppose for contradiction the convergence were uniform on (0,2ฯ€)(0, 2\pi). Then the partial sums SN(x)=โˆ‘n=1N(โˆ’1)nnsinโก(nx)S_N(x) = \sum_{n=1}^{N} \frac{(-1)^n}{n}\sin(nx) satisfy supโกxโˆˆ(0,2ฯ€)โˆฃf(x)โˆ’SN(x)โˆฃโ†’0\sup_{x \in (0,2\pi)} |f(x) - S_N(x)| \to 0.

In particular, the tail RN(x)=f(x)โˆ’SN(x)R_N(x) = f(x) - S_N(x) would go to zero uniformly, so in particular SN(x)S_N(x) would be uniformly Cauchy, meaning

supโกxโˆˆ(0,2ฯ€)โˆฃโˆ‘n=N+1M(โˆ’1)nnsinโก(nx)โˆฃโ†’0asย Nโ†’โˆž.\sup_{x \in (0,2\pi)} \left|\sum_{n=N+1}^{M} \frac{(-1)^n}{n}\sin(nx)\right| \to 0 \quad \text{as } N \to \infty.

Now consider the single term remainder: take M=N+1M = N+1, so we need supโกxโˆˆ(0,2ฯ€)โˆฃ(โˆ’1)N+1N+1sinโก((N+1)x)โˆฃ=1N+1supโกxโˆฃsinโก((N+1)x)โˆฃ=1N+1โ†’0.\sup_{x \in (0,2\pi)} \left|\frac{(-1)^{N+1}}{N+1}\sin((N+1)x)\right| = \frac{1}{N+1}\sup_{x} |\sin((N+1)x)| = \frac{1}{N+1} \to 0.

This part is fine. The real issue is more subtle โ€” let us use a necessary condition for uniform convergence.

Key test: If โˆ‘fn\sum f_n converges uniformly on (0,2ฯ€)(0,2\pi), then supโกxโˆฃfn(x)โˆฃโ†’0\sup_x |f_n(x)| \to 0. Here fn(x)=(โˆ’1)nnsinโก(nx)f_n(x) = \frac{(-1)^n}{n}\sin(nx), and supโกxโˆˆ(0,2ฯ€)โˆฃsinโก(nx)nโˆฃ=1nโ†’0.\sup_{x \in (0,2\pi)} \left|\frac{\sin(nx)}{n}\right| = \frac{1}{n} \to 0. This is consistent, so this test does not immediately give a contradiction. We need a sharper argument.

Better approach โ€” look at SNS_N near x=0x = 0.

It is a classical fact (Fourier series of a sawtooth) that the series โˆ‘n=1โˆž(โˆ’1)n+1nsinโก(nx)\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n}\sin(nx) represents x/2x/2 on (โˆ’ฯ€,ฯ€)(-\pi, \pi). Rearranging signs,

โˆ‘n=1โˆž(โˆ’1)nnsinโก(nx)=โˆ’x2,xโˆˆ(0,2ฯ€).\sum_{n=1}^{\infty} \frac{(-1)^n}{n}\sin(nx) = -\frac{x}{2}, \quad x \in (0, 2\pi).

So f(x)=โˆ’x/2f(x) = -x/2, which is continuous on (0,2ฯ€)(0,2\pi) but has a jump discontinuity at 00 and 2ฯ€2\pi.

Now, each partial sum SN(x)S_N(x) is a finite sum of continuous functions, hence continuous and bounded on [0,2ฯ€][0, 2\pi] with SN(0)=0S_N(0) = 0 for all NN.

If SNโ†’f=โˆ’x/2S_N \to f = -x/2 uniformly on (0,2ฯ€)(0, 2\pi), then ff would extend to a continuous function on [0,2ฯ€][0, 2\pi] (as the uniform limit of continuous functions). But f(x)=โˆ’x/2โ†’0f(x) = -x/2 \to 0 as xโ†’0+x \to 0^+ while we also have SN(0)=0S_N(0) = 0 for all NN. So far no contradiction.

The actual non-uniformity is near x=2ฯ€x = 2\pi: As xโ†’2ฯ€โˆ’x \to 2\pi^-, f(x)=โˆ’x/2โ†’โˆ’ฯ€f(x) = -x/2 \to -\pi, but SN(2ฯ€)=0S_N(2\pi) = 0 for all NN (since sinโก(2ฯ€n)=0\sin(2\pi n) = 0). So

supโกxโˆˆ(0,2ฯ€)โˆฃf(x)โˆ’SN(x)โˆฃโ‰ฅlimโกxโ†’2ฯ€โˆ’โˆฃโˆ’x/2โˆ’SN(x)โˆฃ=โˆฃโˆ’ฯ€โˆ’0โˆฃ=ฯ€.\sup_{x \in (0, 2\pi)} |f(x) - S_N(x)| \geq \lim_{x \to 2\pi^-} |{-x/2} - S_N(x)| = |-\pi - 0| = \pi.

This shows supโกโˆฃfโˆ’SNโˆฃโ‰ฅฯ€>0\sup |f - S_N| \geq \pi > 0 for all NN, so convergence is not uniform. โ– \blacksquare


Summary

| | What holds | |---|---| | Pointwise convergence on (0,2ฯ€)(0,2\pi) | โœ“ (Dirichlet test) | | Uniform convergence on (0,2ฯ€)(0,2\pi) | โœ— (limit function has a boundary jump) |

The moral: the Weierstrass M-test is sufficient but not necessary for uniform convergence. Conditional convergence (via Dirichlet) gives pointwise results, but the boundary behavior can destroy uniformity.