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
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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top