2

There's function:

$$f(x)=\mathrm{sgn}(\cos x).$$

What is it's Fourier series?

I have never worked with this class of functions actually, so I do not know where I should start and how.

E. Joseph
  • 14,843
M.Mass
  • 2,672

1 Answers1

1

Hint.

You have $\mathrm{sgn}(\cos(x))=1$ if $x\in ]-\pi/2,\pi/2[$ (mod $2\pi$) and $\mathrm{sgn}(\cos(x))=1$ if $x\in ]\pi/2,3\pi/2[$ (mod $2\pi$).

The function

$$x\mapsto \mathrm{sgn}(\cos(x))=1$$

looks like this:

enter image description here

You can just apply your formulas for Fourier series, it will work fine. Separate the integrals according to the values $1$ or $-1$ of your function, and the computation will work fine.

E. Joseph
  • 14,843