MathCastle
Differential EquationsEasyBoundary Values & Fourier Series

Boundary Values & Fourier Series · Easy problem

The half-range cosine series of f(x)=xf(x) = x on [0,2][0, 2] is a02+∑n≥1ancos⁡nπx2\dfrac{a_0}{2} + \sum_{n\ge1} a_n\cos\dfrac{n\pi x}{2} with an=2L∫0Lf(x)cos⁡nπxL dxa_n = \dfrac{2}{L}\displaystyle\int_0^L f(x)\cos\dfrac{n\pi x}{L}\,dx and L=2L = 2, i.e. an=∫02f(x)cos⁡nπx2 dxa_n = \displaystyle\int_0^2 f(x)\cos\dfrac{n\pi x}{2}\,dx. Find the constant term a02\dfrac{a_0}{2}.