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?

