Coefficient Matching for different series

5 replies · 2K views · last reply
CGandC
Messages
326
Reaction score
34

Homework Statement


Hello,
I have a general question regarding to coefficient matching when spanning some function, say , f(x) as a linear combination of some other basis functions belonging to real Hilbert space.

Homework Equations


- Knowledge of power series, polynomials, Legenedre polynomials, Spherical harmonics..

The Attempt at a Solution


Say I express f(x) as a power series, and f(x) = 1+2x+3x^2 , so, I can match the coefficients as in the following picture:
Handwritten-style math: f(x) equals the infinite sum from n=0 to infinity of a_n x^n, then f(x) = 1 + 2x + 3x^2 = a_0 + a_1 x + a_2 x^2 + ..., followed by 1 = a_0, 2 = a_1, 3 = a_2, and 0 = a_n for n > 2.

( no problem there, since the series is a polynomial)

Ok..but what If I now have some function g(x) and I express it as Legendre series (in the x domain: -1 to 1 ) , and I know that
Equation g(x) = p0 + 3p1, where p0 and p1 are Legendre polynomials.
, where the p's are Legendre polynomials. :
Two equations: g(x) equals the infinite sum from n=0 to infinity of a_n p_n(x), and below it g(x) = p_0 + 3p_1 = a_0 p_0 + a_1 p_1 + a_2 p_2 + ...


My question is , can I apply coefficient matching here? ( as in the next picture: )
Three equations on separate lines: 1 = a_0, 3 = a_1, and 0 = a_n for n > 1, listing coefficient matches.


Also, consider the next case:
suppose I have :
Equation h(x, θ, φ) = 2Y₀⁰ + 3x Y₁¹, where Y denotes spherical harmonics.
, where the Y's are spherical harmonics... and I decide to show 'h' as a series such as this:
Two equations: h(x) equals the sum from l=0 to infinity of the sum over m from -l to l of A x^l Y_l^m(theta, phi), and h(x, theta, phi) = 2Y_0^0 + 3xY_1^1 = AY_0^0 + AxY_1^{-1} + AxY_1^0 + AxY_1^1 + AY_2^{-2} + ...


then, matching coefficients I get:
Handwritten equations: 2Y^0_0 = AY^0_0, 3Y^1_1 = AY^1_1, and 0 = a_n for n > 1, with Y and a_n as printed.


Eventually, I get a contradiction , on the one hand : A=2 , on the other hand A=3 , so my understanding of coefficient matching in this part is clearly wrong ( because it aint a series representing polynomials? )... why?

Note:
I was taught that coefficient matching works in polynomials and since power series is a polynomial, but Legendre series and the last series is different... yet, I was not told that coefficient matching does not work in other cases, that makes me troubled as I'm unsure if coefficient matching applies only to polynomials.

Much thanks in advance for helpers.
 
Attachments
  • Handwritten-style typeset derivation: f(x) = sum from n=0 to infinity of a_n x^n, then f(x) = 1 + 2x + 3x^2 = a_0 + a_1 x + a_2 x^2 + ..., followed by 1 = a_0, 2 = a_1, 3 = a_2, and 0 = a_n for n > 2.
    upload_2018-1-8_21-52-57.png
    2.4 KB · Views: 640
  • Handwritten-style math: f(x) equals the infinite sum from n=0 to infinity of a_n x^n, then f(x) = 1 + 2x + 3x^2 = a_0 + a_1 x + a_2 x^2 + ..., followed by 1 = a_0, 2 = a_1, 3 = a_2, and 0 = a_n for n > 2.
    upload_2018-1-8_21-53-11.png
    2.3 KB · Views: 501
  • Equation g(x) = p_0 + 3p_1, where p_0 and p_1 are Legendre polynomials.
    upload_2018-1-8_21-55-3.png
    626 bytes · Views: 603
  • Equation g(x) = p0 + 3p1, where p0 and p1 are Legendre polynomials.
    upload_2018-1-8_21-55-17.png
    651 bytes · Views: 479
  • Two equations: g(x) equals the infinite sum from n = 0 to infinity of a_n p_n(x), and below it g(x) = p_0 + 3p_1 = a_0 p_0 + a_1 p_1 + a_2 p_2 + ...
    upload_2018-1-8_21-56-52.png
    1.6 KB · Views: 596
  • Three equations stacked vertically: 1 = a_0, 3 = a_1, and 0 = a_n for n > 1, the coefficient-matching conditions for a series expansion.
    upload_2018-1-8_21-58-9.png
    779 bytes · Views: 658
  • Three equations on separate lines: 1 = a_0, 3 = a_1, and 0 = a_n for n > 1, listing coefficient matches.
    upload_2018-1-8_21-58-19.png
    773 bytes · Views: 487
  • Handwritten-style equations: f(x) equals a double sum over l from 0 to infinity and m from -l to l of A x^l Y_l^m; below, 2Y_0^0 + 3xY_1^1 = AY_0^0 + AxY_1^-1 + AxY_1^1 + AxY_1^1 + AY_2^-2 + ..., then 2Y_0^0 = AY_0^0, 3Y_1^1 = AY_1^1, and 0 = a_n for n > 1.
    upload_2018-1-8_22-7-54.png
    2.6 KB · Views: 619
  • Equation h(x, θ, φ) = 2Y₀⁰ + 3x Y₁¹ written in plain text, with spherical harmonic terms Y₀⁰ and Y₁¹.
    upload_2018-1-8_22-9-53.png
    791 bytes · Views: 629
  • Equation h(x, θ, φ) = 2Y_0^0 + 3x Y_1^1, where Y denotes spherical harmonics.
    upload_2018-1-8_22-9-55.png
    791 bytes · Views: 616
  • Equation h(x, θ, φ) = 2Y₀⁰ + 3x Y₁¹, where Y denotes spherical harmonics.
    upload_2018-1-8_22-10-7.png
    791 bytes · Views: 476
  • Two equations: h(x) equals the sum from l=0 to infinity of the sum over m from -l to l of A x^l Y_l^m(theta, phi), and h(x, theta, phi) = 2Y_0^0 + 3xY_1^1 = AY_0^0 + AxY_1^{-1} + AxY_1^0 + AxY_1^1 + AY_2^{-2} + ...
    upload_2018-1-8_22-11-2.png
    2.5 KB · Views: 486
  • Handwritten equations: 2Y^0_0 = AY^0_0, 3Y^1_1 = AY^1_1, and 0 = a_n for n > 1, with Y and a_n as printed.
    upload_2018-1-8_22-11-32.png
    914 bytes · Views: 459
  • Handwritten-style equations: g(x) = p0 + 3p1 = a0p0 + a1p1 + a2p2 + ..., then 1 = a0, 3 = a1, and 0 = an for n > 1.
    upload_2018-1-8_22-22-25.png
    1.3 KB · Views: 649
  • Handwritten working: g(x) equals the sum from n = 0 to infinity of a_n p_n(x), then g(x) = p_0 + 3p_1 = a_0 p_0 + a_1 p_1 + a_2 p_2 + ..., followed by 1 = a_0, 3 = a_1, and 0 = a_n for n > 1.
    upload_2018-1-8_22-23-24.png
    1.9 KB · Views: 640
  • Two equations: g(x) equals the infinite sum from n=0 to infinity of a_n p_n(x), and below it g(x) = p_0 + 3p_1 = a_0 p_0 + a_1 p_1 + a_2 p_2 + ...
    upload_2018-1-8_22-24-16.png
    1.5 KB · Views: 490
CGandC said:
My question is , can I apply coefficient matching here?
Yes, the Legendre polynomials are linearly independent.

CGandC said:
Eventually, I get a contradiction , on the one hand : A=2 , on the other hand A=3 , so my understanding of coefficient matching in this part is clearly wrong ( because it aint a series representing polynomials? )... why?
You have different ##A## for each combination of ##\ell## and ##m##. The spherical harmonics are linearly independent.
 
  • Like
Likes   Reactions: CGandC
Orodruin said:
Yes, the Legendre polynomials are linearly independent.You have different ##A## for each combination of ##\ell## and ##m##. The spherical harmonics are linearly independent.

How do I show that Legendre polynomials/Spherical harmonics are linearly independent?
( perhaps using Wronskian? or perhaps because knowing each set is orthogonal to it self, then the set of functions is automatically linearly independent)
 
They are both eigenfunctions of Sturm-Liouville problems.
 
  • Like
Likes   Reactions: CGandC
Orodruin said:
They are both eigenfunctions of Sturm-Liouville problems.

I understand... I have another question:
If I have eigenfunctions that arise from S-L problems, I understand that they are linearly independent... but are they also always orthogonal to each other?
 
CGandC said:
I understand... I have another question:
If I have eigenfunctions that arise from S-L problems, I understand that they are linearly independent... but are they also always orthogonal to each other?
Yes, assuming that it is a regular SL-problem and you use the appropriate inner product.
 
  • Like
Likes   Reactions: CGandC