Help regarding Legendre Rodrigue's formula problem.

  • Thread starter Thread starter yungman
  • Start date Start date
  • Tags Tags
    Formula Legendre
Click For Summary

Homework Help Overview

The discussion revolves around proving a relationship involving Legendre polynomials and integration by parts, specifically using Rodrigues' formula. The original poster seeks to demonstrate an integral identity that connects a function \( f(x) \) with its derivatives and Legendre polynomials.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to use integration by parts and Rodrigues' formula but finds the process challenging. They express uncertainty about the implications of applying integration by parts multiple times.
  • Some participants question the effectiveness of repeated integration by parts and discuss the nature of the terms generated during the process.
  • There are inquiries about the meaning of \( f^{(n)}(x) \) and whether it refers to the \( n \)-th derivative of \( f(x) \).
  • Participants explore the consequences of evaluating terms at the boundaries of the integral and the role of recursion relations in simplifying the problem.

Discussion Status

The discussion is ongoing, with various participants offering insights and suggestions. Some have provided clarifications on the definitions and implications of the mathematical expressions involved. There is a recognition of the complexity of the problem, and participants are actively engaging with the original poster's attempts to navigate through the proof.

Contextual Notes

Participants note that the problem may not hold if \( f(x) \) is a polynomial of lower order than \( n \). There are also discussions about the absence of integration constants in definite integrals and the necessity of understanding how derivatives affect the evaluation of boundary terms.

yungman
Messages
5,741
Reaction score
291

Homework Statement



Question:
Use Rodrigues' formula and integral by parts to show:

[tex]\int^1 _{-1}f(x)P_n (x)dx=\frac{(-1)^n}{2^n n!}\int^1_{-1}f^{(n)}(x)(x^2 -1)^n dx[/tex]

(As a convention [tex]f^{(0)}(x)=f(x)[/tex]

Homework Equations



Rodrigues' Formula: [tex]P_n(x)=\frac{1}{2^n n!}\frac{d^n}{dx^n}(x^2-1)^n[/tex]

Bonnet's recurrence relation:

[tex](n+1)P_{n+1}(x)+nP_{n-1}(x)=(2n+1)xP_n(x)[/tex]

[tex]P'_{n+1}(x)=P'_{n-1}(x)+(2n+1)P_n(x)[/tex]

The Attempt at a Solution



I tried
1)[tex]\int^1 _{-1}f(x)P_n (x)dx=\frac{1}{2^n n!}\int^1_{-1}f(x)\frac{d^n}{dx^n}(x^2 -1)^n dx[/tex]

Then use [tex]U=f(x), dV=\frac{d^n}{dx^n}(x^2 -1)^n dx[/tex]

That did not go far.

2) [tex]P_n(x)=\frac{1}{2n+1}[P'_{n+1}(x)-P'_{n-1}(x)][/tex]

substitude into [tex]\int^1 _{-1}f(x)P_n (x)dx[/tex]

That went no where.

Please give me some advice to proof the relation.

What is [tex]f^{(n)}(x)[/tex]? is it [tex]\frac{d^n}{dx^n}f(x)[/tex]?
 
Physics news on Phys.org
What happened when you did integration by parts as in your first attempt? That should immediately pop out the answer with n-integration by parts and you just need to deal with the term you receive from integrating by parts with the limits.

And yes, [tex]f^{(n)}(x)=\frac{d^n}{dx^n}f(x)[/tex]
 
Last edited:
Pengwuino said:
What happened when you did integration by parts as in your first attempt? That should immediately pop out the answer with n-integration by parts and you just need to deal with the term you receive from integrating by parts with the limits.

And yes, [tex]f^{(n)}(x)=\frac{d^n}{dx^n}f(x)[/tex]

I did not attempt to perform integrate by parts after the first time because for one, n can be any number and the answer I got after the first time don't seems to be any simplier than the original equation. Also something tell me that there is a trickier way to proof than to integrate it out.

Do you mean there is no short cut but to really do it n times? I would go through it if that is the only way.
Thanks.
 
Yes, n can be any number, but if you do it n-times, you know all that happens is the f(x) acquires n-derivatives by the fact that the Legendre polynomials explicitly have [tex]\frac{d}{dx}[/tex] in them. For example, if you simply had

[tex]\int f(x)\frac{d^n}{dx^n}g(x)dx[/tex]

doing integration by parts n-times is simple and it is exactly what you're doing here. You're literally pulling n-derivatives off g(x) and putting them onto f(x). Now the actual work here is that m-applications of integration by parts creates m-terms of

[tex][f^{(m)} (x)\frac{{dg^{n - m} (x)}}{{dx^{n - m} }}]_{x = - 1}^{x = 1}[/tex]

that need to be evaluated. At this point this is where the recursion relationships should come in handy. Do one integration by parts and look at the constant term and see if it goes away or not.

And actually, after giving it some thought, you may not even need the recursion relations.
 
Last edited:
Pengwuino said:
Yes, n can be any number, but if you do it n-times, you know all that happens is the f(x) acquires n-derivatives by the fact that the Legendre polynomials explicitly have [tex]\frac{d}{dx}[/tex] in them. For example, if you simply had

[tex]\int f(x)\frac{d^n}{dx^n}g(x)dx[/tex]

doing integration by parts n-times is simple and it is exactly what you're doing here. You're literally pulling n-derivatives off g(x) and putting them onto f(x). Now the actual work here is that m-applications of integration by parts creates m-terms of

[tex][f^{(m)} (x)\frac{{dg^{n - m} (x)}}{{dx^{n - m} }}]_{x = - 1}^{x = 1}[/tex]

that need to be evaluated. At this point this is where the recursion relationships should come in handy. Do one integration by parts and look at the constant term and see if it goes away or not.

And actually, after giving it some thought, you may not even need the recursion relations.

Thanks, I'll try it tomorrow. My grandson is running a fever and he is being difficult!
 
I want to verify:

[tex]\int \frac{d^n}{dx^n}(x^2-1)^n dx=\frac{d^{n-1}}{dx^{n-1}}(x^2-1)^{n-1} +C_1[/tex]

[tex]\int \frac{d^{n-1}}{dx^{n-1}}(x^2-1)^{n-1}dx=\frac{d^{n-2}}{dx^{n-2}}(x^2-1)^{n-2}+C_2[/tex]
 
Last edited:
No, those statements are not true. What do you know about [tex]\int \frac{d}{dx}g(x) dx[/tex]?
 
Pengwuino said:
No, those statements are not true. What do you know about [tex]\int \frac{d}{dx}g(x) dx[/tex]?

It equal to g(x)+C. I did not write the C out. But that don't apply here.

I worked it out, this is my answer:

1) [tex]\int^1 _{-1}f(x)P_n (x)dx=\frac{1}{2^n n!}\int^1_{-1}f(x)\frac{d^n}{dx^n}(x^2 -1)^n dx[/tex]

Then use [tex]U=f(x), dV=\frac{d^n}{dx^n}(x^2 -1)^n dx[/tex]

[tex]\int^1 _{-1}f(x)P_n (x)dx = \frac{1}{2^n n!}[f(x)\frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n]_{x=-1}^{x=1} - \frac{1}{2^n n!}\int^1_{-1} f^{(1)}(x) \frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n dx[/tex]


[tex][f(x)\frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n]_{x=-1}^{x=1} =[f(x)2x\frac{d^{n-2}}{dx^{n-2}}(x^2 -1)^{n-1}]_{x=-1}^{x=1} =0[/tex]

because of the x inside and equal zero when substitude x=1 and subtract x=-1. Therefore:



[tex]\int^1 _{-1}f(x)P_n (x)dx = - \frac{1}{2^n n!}\int^1_{-1} f^{(1)}(x) \frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n dx[/tex]

[tex]= -\frac{1}{2^n n!}[f^{(1)}(x)\frac{d^{n-2}}{dx^{n-2}}(x^2 -1)^n]_{x=-1}^{x=1} + \frac{1}{2^n n!}\int^1_{-1} f^{(2)}(x) \frac{d^{n-2}}{dx^{n-2}}(x^2 -1)^n dx[/tex]


[tex]= \frac{1}{2^n n!}\int^1_{-1} f^{(2)}(x) \frac{d^{n-2}}{dx^{n-2}}(x^2 -1)^n dx[/tex]

[tex]= \frac{1}{2^n n!}[f^{(2)}(x)\frac{d^{n-3}}{dx^{n-3}}(x^2 -1)^n]_{x=-1}^{x=1} - \frac{1}{2^n n!}\int^1_{-1} f^{(3)}(x) \frac{d^{n-3}}{dx^{n-3}}(x^2 -1)^n dx[/tex]

[tex]= - \frac{1}{2^n n!}\int^1_{-1} f^{(3)}(x) \frac{d^{n-3}}{dx^{n-3}}(x^2 -1)^n dx[/tex]

The step repeat until:

[tex]= (-1)^{n-1}\frac{1}{2^n n!}[f^{(n)}(x)(x^2 -1)^n]_{x=-1}^{x=1} + (-1)^n \frac{1}{2^n n!}\int^1_{-1}f^{(n)}(x)(x^2 -1)^n dx[/tex]

In this case [tex][(x^2 -1)^n]_{x=-1}^{x=1}=0[/tex] Therefore

[tex]\int^1 _{-1}f(x)P_n (x)dx=\frac{(-1)^n}{2^n n!}\int^1_{-1}f^{(n)}(x)(x^2 -1)^n dx[/tex]


But it does not work if f(x) is a lower order polynomial than n!
 
Last edited:
There are no integration constants when you are using definite integrals. Also, in the terms that go like

[tex]\frac{1}{2^n n!}[f(x)\frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n]_{x=-1}^{x=1}[/tex]

You can't simply plug in x=-1,1. You have to determine how that derivative acts first. Now that might be a problem... I think this is where the recurrence relationships will come in handy.
 
  • #10
Pengwuino said:
There are no integration constants when you are using definite integrals. Also, in the terms that go like

[tex]\frac{1}{2^n n!}[f(x)\frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n]_{x=-1}^{x=1}[/tex]

You can't simply plug in x=-1,1. You have to determine how that derivative acts first. Now that might be a problem... I think this is where the recurrence relationships will come in handy.

Actually I thought about the constant and I change the post already as you wrote this! We crossed.

I'll look at what you say and work it out in a little bit.

Thanks
 
Last edited:
  • #11
Yes I see what happen:

[tex][f(x)\frac{d^{n-1}}{dx^{n-1}}(x^2 -1)^n]_{x=-1}^{x=1} =[f(x)2x\frac{d^{n-2}}{dx^{n-2}}(x^2 -1)^{n-1}]_{x=-1}^{x=1} =0[/tex]

because of the x inside function equal zero when substitude x=1 and subtract the same function with x=-1.

I updated the last post. Can you take a look whether I got it or not. I still have question on the last line about if F(x) is a polynomial with power less than n. That still would not work.

Again thanks for your time. Please let me know.

Sincerely
Alan
 
Last edited:
  • #12
Anyone can confirm my work?
 

Similar threads

Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
2K
Replies
17
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K