I have a problem that asks me to expand the function $ f(x) = 1, 0 < x < 1$ in a series of the eigenfunctions of the given problem. For example, one given problem is $y'' + 2y' + ( \lambda + 1)y = 0, y(0) = 0, y(1) = 0$.
What is meant by this ("expand the function in a series of the eigenfunctions of the given problem")? I don't understand what it is asking to do?
Thanks for any help.
This is an eigenvalue/eigenfunction problem. Disregarding the endpoint conditions for the moment, the solutions of your problem have the form $$ y(x)=Ae^{-x}\cos(\sqrt{\lambda}x)+Be^{-x}\sin(\sqrt{\lambda}x). $$ The solutions that satisfy $y(0)=y(1)=0$ are constant multiples of $$ y_n(x) = e^{-x}\sin(n\pi x),\;\; \lambda_n=n^2\pi^2,\;\;n=1,2,3,\cdots. $$ In order to expand the constant function $f(x)=1$ in the eigenfunctions $\{ y_n \}$, you must find coefficients $C_n$ such that $$ 1 = \sum_{n=1}^{\infty}C_n e^{-x}\sin(n\pi x) \\ e^{x} = \sum_{n=1}^{\infty}C_n \sin(n\pi x). $$ Using the orthogonality of the $\sin(n\pi x)$ functions on $[0,1]$ with respect to the integral gives $C_n$: $$ \int_{0}^{1}e^{x}\sin(n\pi x)dx = C_n\int_{0}^{1}\sin^2(n\pi x)dx \\ C_n = \frac{\int_{0}^{1}e^{x}\sin(n\pi x)dx}{\int_{0}^{1}\sin^2(n\pi x)dx}. $$ The series will converge to $1$ except at $x=0,1$, where it obviously converges to $0$.