I have been going through my notes on complex Fourier series and came across the following anomaly which I hope someone can help me with. I calculated the complex Fourier series for the function $f(\theta)=\theta^{2}$ on $[-\pi,\pi]$ and obtained: \begin{eqnarray*} \theta^{2} &=& \frac{\pi^{2}}{3} + 4\sum_{n=1}^{\infty}\frac{(-1)^{n}\cos(n\theta)}{n^{2}}. \end{eqnarray*} I believe this is the right answer, since I have compared plots of the function $\theta^{2}$ and its series expansion for some truncated upper limit. And also when $\theta=\pi$, $f(\pi)=\pi^{2}$ and this gives a nice proof of \begin{eqnarray*} \sum_{n=1}^{\infty}\frac{1}{n^{2}} &=& \frac{\pi^{2}}{6}. \end{eqnarray*} All is well and good so far. But then I tried to repeat my efforts but on the interval $[0,2\pi]$, which is still legitimate (right?). Then I find \begin{eqnarray*} \theta^{2} &=& \frac{4\pi^{2}}{3} - 4\pi\sum_{n=1}^{\infty}\frac{\sin(n\theta)}{n} + 4\sum_{n=1}^{\infty}\frac{\cos(n\theta)}{n^{2}}. \end{eqnarray*} Again, I plotted $\theta^{2}$ and various truncated series expansions, and they seemed to be in good agreement. But if I choose $\theta=2\pi$, then I seem to arrive at \begin{eqnarray*} \sum_{n=1}^{\infty}\frac{1}{n^{2}} &=& \frac{2\pi^{2}}{3}, \end{eqnarray*} which is incorrect by a factor of four! I notice there seems to be something similarly to Gibbs phenomena at the endpoints, so does this account for the result, or have I made an error in my calculation. It would seem to imply that the interval range should be $[0,2\pi)$ instead or something. Any help would be greatly appreciated.
2026-04-12 02:00:36.1775959236
Summation of 1/n^2 using Fourier series on different intervals
7.3k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in SUMMATION
- Computing:$\sum_{n=0}^\infty\frac{3^n}{n!(n+3)}$
- Prove that $1+{1\over 1+{1\over 1+{1\over 1+{1\over 1+...}}}}=\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+...}}}}$
- Fourier series. Find the sum $\sum_{n=1}^\infty \frac{(-1)^{n+1}}{2n+1}$
- Sigma (sum) Problem
- How to prove the inequality $\frac{1}{n}+\frac{1}{n+1}+\cdots+\frac{1}{2n-1}\geq \log (2)$?
- Double-exponential sum (maybe it telescopes?)
- Simplify $\prod_{k=1}^{l} \sum_{r=d}^m {{m}\choose{r}} \left(N-k \right)^{r} k^{m-r+1}$
- Sum of two martingales
- How can we prove that $e^{-jωn}$ converges at $0$ while n -> infinity?
- Interesting inequalities
Related Questions in FOURIER-SERIES
- order of zero of modular form from it's expansion at infinity
- Fourier series expansion of $\frac{\pi^4}{96}$ and $\frac{\pi^4}{90}$
- How is $\int_{-T_0/2}^{+T_0/2} \delta(t) \cos(n\omega_0 t)dt=1$ and $\int_{-T_0/2}^{+T_0/2} \delta(t) \sin(n\omega_0 t)=0$?
- Fourier series. Find the sum $\sum_{n=1}^\infty \frac{(-1)^{n+1}}{2n+1}$
- How get a good approximation of integrals involving the gamma function, exponentials and the fractional part?
- The convolution theorem for fourier series.:$ \widehat{f*g}(x) =2π\hat{g}(x)\cdot\hat{f}(x) $
- Ergodicity of a skew product
- Fourier Series on $L^1\left(\left[0,1\right)\right)\cap C\left(\left[0,1\right)\right)$
- Parseval's Identity Proof Monotone/Dominated Convergence Theorem
- How can I interchange the sum signs
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Recall that Fourier series only converge in the mean: if $f$ is (jump) discontinuous at $x_0$ and we denote by $f^+ = \lim_{x \to x_0^+}f(x)$ and similarly for $f^-$, then the Fourier series of $f$ will return $\frac12(f^+ + f^-)$ at $x_0$.
In this case, you are computing the Fourier series for the $2\pi$-periodic extension of $x^2\vert_{[0,2\pi]}$, which has a jump discontinuity at $2k\pi, k \in \mathbb Z$. In particular, at $2\pi$, the value jumps from $4\pi^2$ to $0$, and so really you should start by writing
$$ \frac12 (4\pi^2 + 0) = \frac{4\pi^2}{3} + 4 \sum\frac{\cos(2\pi n)}{n^2} $$
after which, you'll get the expected result.
(and the same thing happens in @Barry Cipra's example: really one should write
$$ \dfrac{1}{2}(4\pi^2 + 0) = \frac{4\pi^2}{3} + 4 \sum\frac{\cos(0)}{n^2} $$
and then everything is as it should be.)