Finding the extrema of a functional (calculus of

Angelina Kaufman

Angelina Kaufman

Answered question

2022-04-08

Finding the extrema of a functional (calculus of variations)
I(y)=01y2y2+2xy dx 
Explanation:
Fy'=2y'  ddx(Fy')=2y''Fy=2y+2x
Which gives the Euler equation 2y +2y2x=0 (I think, unless I messed up my math).
Ok now I need to try to find solutions to this differential equation, however, I only know how to solve linear second order DE's. The x term is throwing me off and I am not sure how to solve this.
I know y(x)=x is a solution by inspection, but inspection is a poor man's approach to solving DE's.

Answer & Explanation

Latkaxu8j

Latkaxu8j

Beginner2022-04-09Added 11 answers

As you found already a particular solution, by inspection or intuitive application of the method of undetermined coefficients, you only need the complementary solution of the homogeneous equation to get the general solution as sum of both.
You are looking for solutions satisfying the boundary conditions y(0)=y(1)=0, as
I(y+εv) =01[y2+2εyvy22εyv+2xy+2εxv+O(ε2)] dx  =I(y)+2ε[yv]01+2ε01[yy+x]v dx+O(ε2).
So to get the first-order terms to zero under free variation of v, the values of y' at the boundary need to be zero.

Jameson Jensen

Jameson Jensen

Beginner2022-04-10Added 16 answers

Step 1
Noting that y=x is a particular solution would probably be good enough. Then all one needs is the homogeneous solutions. In any case, we can solve D2+1 by inverting Di and D+i:
Note that Ku=e-cxecxf(x)dx(D+c)u=f   (3)
Thus, we can invert D+c.
Applying (3) twice, we ge

(D-i)(D+i)y=x   (4a)

(D+i)y=eixe-ixxdx   (4b)

=1+ix+c1eix    (4c)

y=e-ixeix(1+ix+c1eix)dx   (4d)

=x+c12ieix+c2e-ix   (4e)
Step 2
Therefore, the solution to (2) is
y=x+asin(x)+bcos(x)   (5)
where a and b depend on the initial conditions.
This gives enough freedom to set y(0) and y(1). For example, the extremal function for y(0)=y(1)=0 is
y=xsin(x)sin(1)   (6)
Which gives the minimal I(y)=cot(1)23.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?