# Thread: Fouries series integration help

1. ## Fouries series integration help

Hey everyone, I am stuck on 2 questions, so if anyone can help me that would be much appreciated.

$f(x)=\begin{Bmatrix} 2, & -1

Fourier Series representation:
$f(x)=a_0 + \sum_{n=1}^{\infty}(a_n \cos(\frac{n \pi x}{2}) +b_n \sin(\frac{n \pi x}{2}))$

The first question is to integrate both sides of $f(x)$ from -2 to 2 to show that $a_0=1$.
The second question is to multiply both sides of $f(x)$ by $sin(\frac{m \pi x}{2})$ and integrate from -2 to 2 to show that $b_n=0$.

Because of the domain restrictions on f(x) I can't figure out what to do for these questions.

If you can help me it would be nice. Thanks

2. Integrating F equation
$\int_{-2}^2 f(x) \; dx=\int_{-2}^2 a_0 \; dx$
May be shown that other terms are zeros.
$\int_{-2}^2 f(x) \; dx=\int_{-1}^1 2 \; dx=4$
$\int_{-2}^2 a_0 \; dx=4a_0$

3. Thanks zzzoak, I get question 1, but I still don't understand how to do the 2nd question.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 10, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}