A discontinuity causes a signal to have infinite sinusoidal components, but a triangle wave is continuous, I was taking a class in which an instructor said that since the triangle wave is continuous it can be represented by a finite number of sine components and also showed a finite addition of multiple frequencies of sinusoids which did give the shape of a pure triangle wave.
The only problem I have in mind is that the derivative of a triangle wave is not continuous as it is a square wave and hence would need infinite sum of sinusoids so if one derivates the both sides of the formula of the Fourier series of a triangle wave, we would get a square wave being shown as a sum of finite number of sinusoids. Would that not be incorrect?