Expanding f(x) in Legendre Polynomials: Applying the Transformation u = x/2

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
Logarythmic
Messages
277
Reaction score
0
I wish to expand

[tex]f(x) = 1 - \frac{x^2}{4} , -2 \leq x \leq 2[/tex]

in terms of Legendre polynomials.

I know that the transformation

[tex]u = \frac{x}{2}[/tex]

maps the function onto the interval (-1,1), but how do I apply this transformation?

Should I use

[tex]g(x) = uf(x)[/tex]

or maybe

[tex]g(x) = f(u(x))[/tex]

?
 
Physics news on Phys.org
g(x)= f(u(x)). You are basically making a "change of variable".