So, I have the function $f(x)$ over the interval $[-\pi,\pi]$ defined as under.
$$f(x)=\begin{cases}1+2x/\pi , -\pi\le x\le 0 \\ 1-2x/\pi , 0< x\le \pi\end{cases}$$
The thing is computing the Fourier coefficients for it directly is highly tedious whereas computing it for $f(x)-1$ gets us rid of the need to calculate $b_{n}$ as the function becomes an even function. So, in general, is there any way to arrive at the Fourier series expansion of $f(x)+c$ given the series expansion of $f(x)$?
If $$f(t)-1\sim\sum c_ne^{int}$$then $$f(t)\sim\sum d_ne^{int},$$with $$d_n=\begin{cases}c_n,&(n\ne0),\\c_0+1,&(n=0).\end{cases}$$