MHB Min of an Integral lagrange multipliers for E-L

Click For Summary
The discussion focuses on finding the minimum value of the integral \(\int_0^1y^{'2}dx\) under specific boundary conditions and constraints. The Euler-Lagrange equation derived from the problem leads to a solution resembling that of a simple harmonic oscillator, resulting in \(y_n(x) = 2\sin(\pi n x)\). The minimum value of the integral is expressed as \(2\pi^2n^2\), with \(n=1\) yielding the minimum of \(2\pi^2\). A participant highlights the importance of considering \(\lambda \le 0\) to ensure boundary conditions are satisfied, and notes a potential error in squaring the coefficient \(B\) during the evaluation of the constraint integral. The conversation emphasizes the correctness of the final solution for exam preparation.
Dustinsfl
Messages
2,217
Reaction score
5
Find the minimum value of \(\int_0^1y^{'2}dx\) subject to the conditions \(y(0) = y(1) = 0\) and \(\int_0^1y^2dx = 1\).

Let \(f = y^{'2}\) and \(h = y^2\).
Then
\begin{align*}
G[y(x)] &= \int_0^1[f - \lambda h]dx\\
&= \int_0^1\left[y^{'2} - \lambda y^2\right]dx
\end{align*}
The Euler-Lagrange equation is then
\begin{align*}
-2y\lambda - \frac{d}{dx}\left(2y'\right) &= 0\\
y\lambda + y'' &= 0
\end{align*}
We have the equation for a simple harmonic oscillators,
\(y(x) = A\cos\left(x\sqrt{\lambda}\right) +
B\sin\left(x\sqrt{\lambda}\right)\).
\begin{alignat*}{3}
y(0) &= A &{}= 0\\
y(1) &= B\sin\big(\sqrt{\lambda}\big) &{}= 0\\
\sin\big(\sqrt{\lambda_n}\big) &= 0\\
\lambda_n &= \pi^2n^2 &&\quad (\text{where \(n\in\mathbb{Z}\).})
\end{alignat*}
So our equation is \(y_n(x) = B\sin\big(\pi nx\big)\).
We can now use our constraint integral.
\begin{align*}
\int_0^1B\sin^2\big(\pi nx\big)dx &= 1\\
\frac{B}{2}\int_0^1(1 - \cos\big(2\pi nx\big))dx &=
\frac{B}{2}\left[x - \frac{1}{\pi n}\sin\big(2\pi n x\big)\right|_0^1\\
B &= 2
\end{align*}
Therefore, our equation is \(y_n(x) = 2\sin\big(\pi n x\big)\).

So then the minimum is
\[
\int_0^1y^{'2}dx = 2\pi^2n^2.
\]

Is this correct?
 
Mathematics news on Phys.org
Perfect question for my revision. Thanks. :)

I did the question before I looked at your solution and I only have a couple of small differences.

I explicitly considered $$\lambda\le 0$$ to show that those solutions to the ELE don't satisfy the boundary conditions.

Also at the end you can say that n=1 will give the minimum as n=0 doesn't satisfy the constraint.

So $$y=\sqrt{2} \sin(\pi x)$$ and the minimum value is $$2\pi^2$$.

As I say, I'm just revising this for an exam myself so I'm not an expert.

Edit: I think you forgot to square B when you evaluated the constraint integral.
 
Last edited:
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K