4.7.5 · D4Partial Differential Equations

Exercises — Full Fourier series — coefficients derivation

2,115 words10 min readBack to topic

Before we start, one picture that every problem leans on: the difference between an even and an odd function, because spotting symmetry (see Even and odd functions) kills half the integrals instantly.

Figure — Full Fourier series — coefficients derivation
Alt-text / how to read this figure: Two panels share the same -axis. Left (blue): the parabola . Trace any height on the right and you find the same height at the mirrored on the left — the yellow double-arrow marks one such matched pair. Because the two sides agree, when you multiply by the odd function the left and right contributions are equal-and-opposite and cancel, so every ; only cosines (also even) survive. Right (red): the line . The two green dots sit at and — same distance from the origin but opposite sign (the yellow curved arrow is the rotation that maps one onto the other). Multiplying by the even function now makes an odd product that cancels, so every ; only sines survive. This single mental move — "is a mirror or a pinwheel?" — is what you apply in almost every exercise below.

  • Even (, mirror across the vertical axis): only survive, all .
  • Odd (, rotate about the origin): only survive, all .

Level 1 — Recognition

Recall Solution 1.1

Formulas: , , .

First integral: , so by orthogonality it is . Second integral: this is sine–sine, which equals .

Recall Solution 1.2

True. is even; is odd; even odd odd; the integral of an odd function over the symmetric interval is . Hence every .


Level 2 — Application

Recall Solution 2.1

No symmetry here, so compute all three.

: Constant term (the average of ).

: (since ). So all for .

: This is for even and for odd .

Value at . Here jumps: the left limit is , the right limit is . By the Dirichlet convergence theorem the series converges to the midpoint . Check: at every , so the series literally sums to the constant . This is why the constant term () already lands on the midpoint — reassuring, not coincidence.

Recall Solution 2.2

: Constant term .

: since is even, . Why integration by parts, and why twice? We have a polynomial times a trig function. There is no product rule for integrals, but integration by parts lets us trade a derivative for an integral: each time we choose the polynomial part, differentiating lowers its degree by one. After two rounds the polynomial is a constant and the integral becomes a plain trig integral we can finish. (Choosing the trig part instead would raise complexity — always differentiate the polynomial.) With : The bracket is (). Then (the second round of parts, as in the parent's Example 2). So Thus


Level 3 — Analysis

Recall Solution 3.1

Put . By the convergence theorem the series equals . Why is this point legal? The -periodic extension of is continuous at (both sides approach ), so there is no jump and the series hits the true value — not a midpoint. Since : Rearrange: , so

Recall Solution 3.2

Left side: everywhere, so . Right side: , all , and Set equal: , giving


Level 4 — Synthesis

Recall Solution 4.1

No symmetry — compute all. First, why the two helper integrals below have that shape. When you integrate by parts twice, the integral reappears on the right, and you solve for it algebraically (like solving ). The clean results are You can verify either by differentiating the right side (product rule) and watching it collapse back to the integrand — the in the denominator is exactly what makes the cross-terms cancel. Write .

:

: . At : , so the bracket is evaluated at the ends:

: . At the bracket is , so

Recall Solution 4.2

Quick refresher on the complex framework. Using Euler's formula , the real series can be repackaged as where each complex coefficient is (the is the "matching fork" being projected out, exactly as were in the real case). The bridge back to real coefficients: grouping the and terms and using gives and . So checking against tests both frameworks at once.

. Since (integer : , purely real), the numerator is . So .

Then For : ; for : . Both match Ex 4.1.


Level 5 — Mastery

Recall Solution 5.1

Expand . We need and . Why parts again? Same reason as Ex 2.2 — polynomial trig — so differentiate the polynomial to grind its degree down.

From the parent, . For the second, integrate by parts twice: The bracket . And So

Now combine ( first second): The terms cancel exactly. Therefore Only the odd harmonics appear — consistent with the profile being symmetric about the rod's midpoint .

Recall Solution 5.2

Left side: . Let So LHS Right side: Equate: , so


Recall Self-test checklist

Read each line as "Prompt ::: Answer" — cover the text after the :::, say your answer aloud, then reveal to check. Interval uses which prefactor for every coefficient? ::: Odd has only which coefficients nonzero? ::: only (all ) Even has only which coefficients nonzero? ::: only (all ) At a jump discontinuity the series converges to what value? ::: the midpoint of the two one-sided limits Does a pure sine (half-range) series have a constant term? ::: No — , so there is no constant Parseval links to what? ::: the sum of the squared coefficients