The initial function is odd, so all , including , vanish. Set . For , product-to-sum and integration by parts give
Consequently the coefficients of the periodic sine with an endpoint-correcting linear term are
Insert them into the sine terms of the preceding solution. If for a positive integer , the original initial profile is simply , with . The apparent in the displayed coefficient has removable limit , while for . In that case