PlanetPhysics/Determination of Fourier Coefficients

From testwiki
Jump to navigation Jump to search

Suppose that the real [[../Bijective/|function]] f may be presented as sum of the Fourier series:

f(x)=a02+m=0(amcosmx+bmsinmx)

Therefore, f is periodic with period 2π.\, For expressing the Fourier coefficients am and bm with the function itself, we first multiply the series (1) by cosnx (n) and integrate from π to π.\, Supposing that we can integrate termwise, we may write

ππf(x)cosnxdx=a02ππcosnxdx+m=0(amππcosmxcosnxdx+bmππsinmxcosnxdx).

When\, n=0,\, the equation (2) reads

ππf(x)dx=a022π=πa0,

since in the sum of the right hand side, only the first addend is distinct from zero.

When n is a positive integer, we use the product [[../Formula/|formulas]] of the trigonometric [[../Cod/|identities]], getting ππcosmxcosnxdx=12ππ[cos(mn)x+cos(m+n)x]dx, ππsinmxcosnxdx=12ππ[sin(mn)x+sin(m+n)x]dx. The latter expression vanishes always, since the sine is an odd function.\, If\, mn,\, the former equals zero because the antiderivative consists of sine terms which vanish at multiples of π; only in the case\, m=n\, we obtain from it a non-zero result π.\, Then (2) reads

ππf(x)cosnxdx=πan

to which we can include as a special case the equation (3).

By multiplying (1) by sinnx and integrating termwise, one obtains similarly

ππf(x)sinnxdx=πbn.

The equations (4) and (5) imply the formulas an=1πππf(x)cosnxdx(n=0,1,2,) and bn=1πππf(x)sinnxdx(n=1,2,3,) for finding the values of the Fourier coefficients of f.

Template:CourseCat