Fourier series a0 term... Confused about a detail

With the Fourier series, I understand how to derive the equations.

However one small detail that confuses me is the a0 term.

In the derivation you end up with something like this

Integral f(x)cos(nx) = Integral a_n cos(nx) *cos (nx)

When you do the integral of the right hand side to isolate the a_nterm, you end up with an n in the denominator. But setting n=0 will not work. You can plug n=0 before integration so the cost terms becomes 1 but this seems arbitrary.

I keep wondering what detail I'm missing. Is this the reason books always show the a0 term separate instead of lumping it with the f(x) = SUM a_n * cos(nx) + b_n * sin(nx) general form?

Posted Jan 9, 2022, 7:26 PM UTC · edited

14
beete17•

The a0 term is just the average value of the function over the interval. Its formula is the integral of the function over an interval (a, b), divided by the length of the interval, b - a. It's the zeroeth order Fourier approximation if you want to think of it that way. It's a constant value which best approximates the function over the interval.

This is why it's often written separately from other terms, you don't need to multiply by a sine or cosine term.

2
cardflopperOP•

I always thought the a0 term was a side case of the ancos(nx) terms ie a0cos(0x)

I was looking to find the most "compact" or general form of the summation so there's less to memorize. For now I can memorize the a0 term must its own integral.

Thanks for the reply

1
MasonFreeEducation•

Most compact is f(x) = sum_(k = -infinity, infinity)Ff(k)e^(ikx). If f is in L^2, this sum converges in L^2. More hypotheses on f give different kinds of convergence.
This is just saying that the exponentials e^(ikx) form a Hilbert space Orthonotmal basis of L^2( S^1). It's also usually easier to compute integrals f(x)e^(ikx) as opposed to their real and imaginary parts as you have split it up

1
AutoModeratorMOD•

Hi, u/cardflopper! This is an automated reminder:

  • What have you tried so far? (See Rule #2; to add an image, you may upload it to an external image-sharing site like Imgur and include the link in your post.)

  • Please don't delete your post. (See Rule #7)

We, the moderators of r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1