Fourier series solutions I - A problem with power series
There cannot be a language more universal and more simple, more free from errors and obscurities...more worthy to express the invariable relations of all natural things than mathematics.
Up to this point we have been focusing on finding power series (and Frobenius series) solutions to differential equations, the ideal outcome being a complete description of the general solution. For example, in studying the differential equation
In fact, the ideal conclusion is to recognize the power series we discovered as representing well-known functions, such as sine and cosine in the above example:
We have often fallen short of this goal, however. The coefficients in our trial solutions were always found to satisfy recursion relations, and without a general machine for solving recursion relations we resorted to computing the first several coefficients in the solution. As such, we were usually forced to conclude with an "open" description of the solution, such as
with the understanding that we could compute additional terms if needed. Consequently, if we ever wanted to use our solution---to model a dynamical system, for instance---we would be forced to use an approximation, such as
This is akin to using a Taylor polynomial to approximate a function, rather than its full Taylor series.[1]
The error in using that approximation generally depends on how far away from the center we evaluate the function. One unfortunate weakness of Taylor approximations is that they can rapidly transition from excellent approximations to terrible approximations. It all depends on the function being approximated.
Consider the example above, which is the Maclaurin series for the sine function. It is a theorem of calculus that this Maclaurin series perfectly matches the sine function for all real inputs. Moreover, whenever we approximate sine using the first few terms of its Maclaurin series, the resulting polynomial is the best possible approximation by a polynomial of that degree to the sine function near
If we zoom out, we can better see the scope of the problem:
The main issue is that the behavior of sine for large
To put things in the context of linear algebra, we can reframe the question as follows. To represent a function by a power series centered at
By definition this is possible exactly when the function
This is possible when the function
Periodic functions like sine do not seem well-suited to being approximated by linear combinations of powers of
Suggested next notes
Fourier series solutions II - Periodic functions
In this ongoing example, this is precisely the same as a Taylor polynomial approximation. ↩︎
What does "best possible" mean? That is an important question, and one that we will return to later. ↩︎
Again, we have not made clear what it means for one function to be "well-approximated" by another function. ↩︎