- #1
Msilva
- 5
- 0
Hello friends. I need help to write the function [itex]x^3[/itex] as a somatory using the Legendre polinomials as base. Something like:
[itex]f(x)=\sum^{\infty}_{n=0}c_{n}P_{n}(x)[/itex]
Basically is to find the terms [itex]c_{n}[/itex].
But, the problem is that Legendre polinomials does't form a orthonormal base: [tex]\langle P_{m}|P_{n}\rangle=\delta_{mn}\frac{2}{2n+1}[/tex], and I don't know how exactly to use this information.
May I use [itex]c_n=\frac{2n+1}{2}\int_{-1}^{-1}P_n(x)x^3\,dx[/itex]? Is that right?
[itex]f(x)=\sum^{\infty}_{n=0}c_{n}P_{n}(x)[/itex]
Basically is to find the terms [itex]c_{n}[/itex].
But, the problem is that Legendre polinomials does't form a orthonormal base: [tex]\langle P_{m}|P_{n}\rangle=\delta_{mn}\frac{2}{2n+1}[/tex], and I don't know how exactly to use this information.
May I use [itex]c_n=\frac{2n+1}{2}\int_{-1}^{-1}P_n(x)x^3\,dx[/itex]? Is that right?