Talk:Fundamental lemma of the calculus of variations

Latest comment: 1 day ago by Mgnbar in topic Proof of the principle

Should the fact that the lemma is a necessary but not sufficient condition ( => ) for the functional extremal clearly stated?

Proof of the principle edit

I think the proof is important - some students use wikipedia to help them understand what they learn in lectures better. Plenty of other pages have proofs: for example Noether's theorem, (and it is one of the main reasons I use wikipedia). This is a quite a short proof. Oh yeah, and I missed out the details of h(x) because they were written in the statement of the lemma (h ∈ C2[a,b] with h(a) = h(b) = 0)

The proof is by contradiction:

   

Assume that for some   in the interior of the interval one has  

By continuity, and the intermediate value theorem, there exists a neighbourhood   of   within   on which   Then,

 

That gives a contradiction: therefore the only way for the integral to be zero in general is if

 
Your proof is still wrong. How do you know that
 
also, how do you know that
 ?
The function h needs to be chosen such that   but more is needed. It must be non-negative, and positive only in the small interval  . Why does such a function exist? Things are a bit more complicated than what you wrote. Oleg Alexandrov (talk) 16:15, 29 March 2006 (UTC)Reply
It is not hard to find such an h, but the proof above is certainly sloppy. The first inequality is just wrong, and there is no need for the Intermediate Value Theorem. -cj67

For smooth f doesn't this simple proof work? Let r be any smooth function that's 0 at a and b and positive on (a, b); for example,  . Let  . Then h satisfies the hypotheses, so

 .

But the integrand is nonnegative, so it must be identically 0. Since r is positive on (a, b), f is 0 there and hence on all of [a, b]. Joshua R. Davis 04:49, 25 March 2007 (UTC)Reply

This is supposed to work for any f(x) and h(x). But by stating that   and that r is positive on (a, b), aren't you restricting f(x) to having the same sign as h(x) on (a, b)? So this proof doesn't work. ---- Yaxy2k (talk) 06:33, 28 April 2010 (UTC)Reply
No; I think that the proof is correct. The theorem is about a given function f, that has a special property: for all functions h, a certain integral is 0. So, if f is such a function, then the integral is 0 for any h that we care to talk about. So let's talk about the function h = r f. The integral must be 0 for that h (and infinitely many others, that we don't care about), so the proof can proceed.
In other words, I think you're reading the statement of the theorem as "for all f, for all h, (integral is 0 implies f is 0)". But the statement of the theorem is "for all f, (for all h integral is 0) implies f is 0". Mgnbar (talk) 12:42, 28 April 2010 (UTC)Reply
Ok, I understand now. Thank you for pointing out my error! ----Yaxy2k (talk) 02:22, 29 April 2010 (UTC)Reply

I am no expert in maths, but is there an issue with assuming  ? Because, looking at the conditions on r, it says that h can never be 0 except at endpoints unless f is 0 at that point. Please remove this if I am wrong. — Preceding unsigned comment added by 182.64.210.74 (talk) 04:20, 15 May 2014 (UTC)Reply

I do not see any issue. You are right that h is zero at the endpoints and wherever f is zero, and nowhere else. That is not a problem. The proof goes on to show that f and h are zero everywhere. Mgnbar (talk) 13:46, 15 May 2014 (UTC)Reply

Why there is finally not a proof of the Fundamental lemma in the article? The last remove was by Tsirel in 2015, without giving any reasons.Weiße Ziege (talk) 10:49, 20 November 2020 (UTC)Reply

I added the proof, please let me know of any issues.Alexandergisi (talk) 15:33, 15 May 2024 (UTC)Reply
We used to have a proof in the article, and then it was removed. So possibly the inclusion of a proof will be debated again. Meanwhile, I am happy to have a proof in the article. However...
The function used in the proof is   but not  . So there's a little bit of disagreement with the statement of the lemma, depending on exactly what "smooth" means, which the statement leaves vague. If we're going to have a proof, then we need to make the statement and the proof precise and matching. Regards, Mgnbar (talk) 15:57, 15 May 2024 (UTC)Reply
Good point. I believe the test function   on   and   elsewhere would satisfy the statement, if my understanding is correct. Alexandergisi (talk) 02:11, 16 May 2024 (UTC)Reply
Yes, that function seems to fulfill all of the desiderata, including  . Mgnbar (talk) 12:33, 16 May 2024 (UTC)Reply

Definition of Functional edit

Functional J is a functional of Lagrangian NOT the dependent variable y ! --mcyp 11:35, 24 January 2007 (UTC)Reply

External Links edit

I have removed the link to a web page that only contains a proof of the Euler-Lagrange equation, but not of the lemma. I'd guess that some sort of Hilbert space basis is needed for a proof, but I haven't actually seen any proof of this lemma... Anyone have a good book handy? --Shastra 20:10, 15 July 2006 (UTC)Reply

Continuity assumption edit

71.165.190.99 just changed the hypothesis from   smooth to   continuous. Now the given proof doesn't work, because   is not necessarily smooth. The proof can be edited to work as long as   is   and for all   in   the integral of   is 0. That is, the smoothness on   and   must match. The given proof is nice for Wikipedia because it's so simple. The lemma can be stated more generally (see PlanetMath's version), but then the proof is more demanding. What version should we state and prove? Joshua R. Davis (talk) 20:35, 8 May 2008 (UTC) ≤Reply

Is the proof really more demanding? I am not sure what exactly is gained by the continuity assumption at all. It seems that what one really needs to prove in the final result is that   exists, which is true if f,h are locally integrable on [a,b]. After the substitution  , the integrand in the equation is strictly greater than or equal to 0. Nothing really needs to change if all of the instances of C^k are replaced with the weaker assumption of local integrability and the theorem is changed to 'f is 0 almost everywhere'. —Preceding unsigned comment added by 76.210.76.193 (talk) 05:58, 21 January 2009 (UTC)Reply

But then (if f is smooth, say, as it often is) the result is much weaker, since in your version our hypothesis is that the integral of fh is zero for all locally integrable h, while in the current version the hypothesis only involves smooth h. Algebraist 23:14, 22 March 2009 (UTC)Reply

Small correction for correctness edit

Putting this in discussion part as I am not sure whether this requirement is already included by  . But I think it is neccessary to require   i.e.   cannot be constant zero for the lemma to hold. —Preceding unsigned comment added by 87.122.44.44 (talk) 01:03, 16 January 2011 (UTC)Reply

The statement of the lemma is correct as it stands. The conclusion of the lemma holds if a certain property is satisfied for every h, including the h that is identically 0 and many other hs. The lemma makes no claim about f, if the property holds only for the h that is identically 0. Mgnbar (talk) 01:57, 16 January 2011 (UTC)Reply

Rewritten edit

I got bold and rewrote it, after some discussion on Wikipedia talk:WikiProject Mathematics#Fundamental lemma of calculus of variations. Hope it is better. You are invited to improve it further. (Really, I intend to do some more soon.)

About the proof: if you want to restore it, do so. But we should not restrict the formulations to the very weak case according to the very simple proof. Just formulate the relevant simple case and prove it, if you like.

About Section "Applications": I doubt it is correct, but for the moment I am tired; let it stay as it was, and then we'll see.

About the old refs: restore them if you like (but please keep my refs). Boris Tsirelson (talk) 20:10, 2 June 2015 (UTC)Reply

Part of the "Basic version" is misleading. It says that replacing Cinfinity with C0 as the notion of smoothness is okay and may be strong enough for a given task. But, because smoothness is used in the assumptions of the lemma, replacing Cinfinity with C0 makes the assumptions stronger, not weaker. Do you see my problem? How should we fix it? Mgnbar (talk) 11:40, 4 April 2019 (UTC)Reply