I was really stuck and tried many times to differentiate the following series, and tried to convince myself that the differential form of a triangular wave is the square wave.
But I couldn't work it out as I found those sins and cos dont match up
Square wave has this form

triangular wave has the following form

Can anyone show me how you differentiate triangular wave to get square? they are both sines.... I would imagine after differentiation you get a cos series for triangular wave. Thanks every one for helping!