1
$\begingroup$

Suppose a Fourier sine series $A\sin x+B\sin2x+C\sin3x+\cdots$ adds up to $x$ on the interval from $0$ to $\pi$. The series also equals $x$ from $-\pi$ to $0$, because all functions are odd. Sketch the "sawtooth function", which equals $x$ from $-\pi$ to $\pi$ and then has period $2\pi$. What is the sum of the sine series at $x=\pi$?

The problem states that the series equals $x$ on $[0,\pi]$ and $[-\pi,0]$. I cannot even imagine that the series equals $x$ on these intervals. Then, it asks me to sketch the "sawtooth function" that equals $x$ on $[-\pi,\pi]$. I tried to plot $\sum_{i=1}^5i\sin{ix}$ to see an example, as shown below. But I still do not understand what the problem means, and the phrase "equals $x$" sounds cryptic to me, because I cannot see the series approaching $y=x$. Can anyone explain it to me? sum_1^5 isinix

  • 1
    Instead of what you have, try graphing partial sums of $\sum \frac{(-1)^{n+1}2}{n\pi} \sin(nx).$ I think you'll see right away what "equals $x$" means. (And Paul is right.)2017-01-05
  • 0
    If you are using GeoGebra plot x between $-\pi$ and $\pi$. Now put 5 sliders on the screen named A, B, C, D and E with values in -1 to +1. Now input f(x) = A*sin(x) +B*sin(2*x) +...+E*sin(5*x). Now, can you adjust the sliders so that the curve f(x) fits as closely as possible to x? You will need decreasing values A to E as higher frequency components contribute less to the approximation.2017-01-05
  • 0
    @B.Goddard I saw the sawtooth with $\sum_{i=1}^n\frac{(-1)^{i+1}\cdot2}i\sin(ix)$.2017-01-05
  • 0
    Your graph relates to the derivative of periodic delta function: \begin{align*} f(x) &= \delta \left( x-2\left \lfloor \frac{x}{2\pi} \right \rfloor \pi \right) \\ &= \frac{1}{2\pi}+\cos x+\cos 2x+\cos 3x+\ldots \\ f'(x) &=-\sin x-2\sin 2x-3\sin 3x-\ldots \end{align*} that's why it looks crazy.2017-01-05

2 Answers 2

0

The question asks you to define a series of coefficients $a_1, a_2, a_3, \ldots$ such that for $-\pi < x < \pi$, $$ a_1 \sin(x) + a_2 \sin(2x) + a_3 \sin(3x) + \cdots = x. $$ (The question actually names the coefficients $A,B,C,...$, but the naming of these symbols is arbitrary and I prefer a sequence of names that continues forever in an obvious way.)

That is, you want a function whose output is exactly equal to its input, provided the input is in the given interval.

The only way to satisfy this is by adding up infintely many terms on the left-hand side of the equation (or, to put it in more mathematical language, treating the left side as a limit of an infinite sequence of functions that converges pointwise to the function $f(x) = x$ on the interval $(-\pi, \pi)$). If you take only a finite number of terms, there will always be some "bumps" in the function that cause the output of the function not to be exactly equal to the input.

For the instructions "sketch the sawtooth function" I would interpret this as not asking you to sketch any partial sum of the Fourier series, that is, don't actually plot a sum of sine functions. Simply sketch the "target" function $f(x) = x$ for $-\pi < x < \pi,$ and then sketch the rest of the function under the assumption that $f(x+\pi) = f(x)$ for every $x$.

For "the sum of the sine series at $x=\pi$," I think it literally does want the value of a sum of sine functions rather than the "target" function. In other words, you need to find the value of

$$ a_1 \sin(\pi) + a_2 \sin(2\pi) + a_3 \sin(3\pi) + \cdots. $$

Hint: What is $\sin\pi$? What is $\sin(2\pi)$? What is $\sin(3\pi)$?

  • 0
    The last question is easy. The sum is zero. I just did not quite understand what that Fourier series is, which was only touched in the text I was reading. But thanks to @Jack's and your answers, now this has become a bit clearer.2017-01-05
2

Note that $\sum_{i=1}^5i\sin{ix}$ is not the first five terms of the Fourier sine series of $x$. It does not make sense to try it.

Exercises:

  • Find first the Fourier series for $f(x)=x$ on $[-\pi,\pi]$. It is something like $$ x=\sum_{n=1}^\infty a_n\sin(nx) $$ Do you know how to find the $a_n$'s? They are called the Fourier coefficients.
  • Now can you sketch for instance $$ \sum_{n=1}^5a_n\sin(nx)? $$

Here is what they should look like enter image description here

  • 0
    I think I know a way to find the coefficients. $\int_{-\pi}^{\pi}a_n\sin^2{nx}\,dx=\int_{-\pi}^{\pi}x\sin{nx}\,dx$.2017-01-05