Show that the partial sum $$f_N(x)=\frac{4}{π}\sum^N_{n=1}\frac{\sin((2n-1)x)}{2n-1}$$ may be written as $$f_N(x)=\frac{2}{π}\int_0^x\frac{\sin(2Nt)}{\sin(t)}\,dt$$
The original question is 'Sketch the odd extension for the function $f(x)=1,\ 0<x<π .$ and find its Fourier sine series expansion.' (and I found the above)
First I need to take the derivative of $f_N(x)$ which is $$\frac{4}{π}\sum_{n=1}^N\cos((2n-1)x)$$
but what should I do next? If anyone could help me out that would be great!