Why is one of the solutions incorrect in finding the Euler Equation?

  • Thread starter Thread starter Fernando Rios
  • Start date Start date
  • Tags Tags
    Euler
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
Fernando Rios
Messages
96
Reaction score
10
Homework Statement
Write and solve the Euler equation to make the integral equation stationary.
Relevant Equations
∫(y'^2+y^2)dx
∫(y'^2+y^2)dx

Why I obtain two different equations?

1. y''=y

2. y'-xy+C=0
 
Physics news on Phys.org
Fernando Rios said:
Problem Statement: Write and solve the Euler equation to make the integral equation stationary.
Relevant Equations: ∫(y'^2+y^2)dx

∫(y'^2+y^2)dx
This is not an equation -- there's no = sign.

You need to provide more context. As an ordinary differential equation, an Euler equation looks like this:
##ax^2y'' + bxy' + c = 0##
See http://tutorial.math.lamar.edu/Classes/DE/EulerEquations.aspx
There are also Euler equations that describe fluid flow.
So what kind of Euler equation are you trying to solve?
Fernando Rios said:
Why I obtain two different equations?

1. y''=y

2. y'-xy+C=0
No idea, since you didn't show what you did.
 
Mark44 said:
You need to provide more context.
The context is ”to make the integral stationary”. He is looking for the Euler-Lagrange equation, by some authors just called Euler equation.

Fernando Rios said:
Problem Statement: Write and solve the Euler equation to make the integral equation stationary.
Relevant Equations: ∫(y'^2+y^2)dx

Why I obtain two different equations?

1. y''=y

2. y'-xy+C=0
You do not. If you do it correctly, the first integral will be the integrated version of the EL equation. That is where the integration constant comes from.

You should show us how you arrived at those two equations if you want further help than that.
 
Orodruin said:
The context is ”to make the integral stationary”. He is looking for the Euler-Lagrange equation, by some authors just called Euler equation.You do not. If you do it correctly, the first integral will be the integrated version of the EL equation. That is where the integration constant comes from.

You should show us how you arrived at those two equations if you want further help than that.
I start with the following:
d/dx(dF/dy')-dF/dy=0

d/dx(d/dy'(y'^2+y^2))-d/dy(y'^2+y^2)=0

d/dx(2y')-2y=0

2d/dx(y')-2y=0

d/dx(y')-y=0

First path and the one found in the solution:
y''=y

Second path:
∫d(y')=∫ydx

y'=xy+C

What is wrong with the second path?
 
The first solution is perfectly fine, to understand why the second is wrong you have to keep in mind that ##y## is a function of ##x## so $$\int y(x) \text{d}x\neq yx+C$$. To find ##y(x)## you have to solve the equation you get: ##\frac{d^2y(x)}{dx^2}=y(x)## that is an easy differential equation.
 
Gaussian97 said:
The first solution is perfectly fine, to understand why the second is wrong you have to keep in mind that ##y## is a function of ##x## so $$\int y(x) \text{d}x\neq yx+C$$. To find ##y(x)## you have to solve the equation you get: ##\frac{d^2y(x)}{dx^2}=y(x)## that is an easy differential equation.
You are totally right. I don't know why I didn't notice that before. Thanks a lot.