Euler-Lagrange equation in Optimal Control book by Kirk

Click For Summary

Homework Help Overview

The discussion revolves around the Euler-Lagrange equation as presented in an optimal control context, specifically referencing a Lagrangian involving a square root term. Participants are attempting to derive a specific ordinary differential equation (ODE) from the Euler-Lagrange formulation.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are sharing their attempts to manipulate the Euler-Lagrange equation and are questioning the validity of their results. There are discussions on how to differentiate certain expressions and the implications of terms involving derivatives.

Discussion Status

Some participants have provided expressions they derived, while others are questioning the correctness of these expressions. There is an acknowledgment of the complexity involved in differentiating the terms, and a reference to the Beltrami identity has been introduced as a potential simplification tool.

Contextual Notes

There is an emphasis on the absence of explicit time dependence in the integrand, which is noted to be relevant for applying the Beltrami identity. Participants are also grappling with the implications of their derived terms and the assumptions underlying their calculations.

mad mathematician
Messages
142
Reaction score
24
Homework Statement
Question 4.14 in the book asks the following:
Find the extremal curves for the functional: ##J(x)=\int_0^{t_f}[\frac{\sqrt{1+\dot{x}(t)^2}}{x(t)}dt## ##x(0)=0##, and ##x(t_f)## must lie on the line ##\theta(t)=t-5##.
Relevant Equations
Euler Lagrange equation.
Transervality condition which in the book of Kirk on page 140 equation (4.2-72).
According to the SM which can be found in google or any other search engine the EL can be simplified to:
$$x\ddot{x}+\dot{x}^2=-1$$.

But I don't see how can I arrive at this ode.
I get the following:
$$-1=\dot{x}^2+\ddot{x}x+\ddot{x}x\dot{x}^2-\dot{x}^2x$$

What do you get here?

Thanks!
 
Physics news on Phys.org
mad mathematician said:
$$x\ddot{x}+\dot{x}^2=-1$$But I don't see how can I arrive at this ode.
That Euler-Lagrange equation is indeed correct. For the Lagrangian: $$L\left(x,\dot{x}\right)=\frac{\sqrt{1+\dot{x}^{2}}}{x}$$a straightforward calculation gives:$$\frac{\partial L}{\partial x}-\frac{d}{dt}\left(\frac{\partial L}{\partial\dot{x}}\right)=-\left(\frac{x\ddot{x}+\dot{x}^{2}+1}{\text{stuff}}\right)$$
 
@renormalize I get the following:
$$-d/dt(\frac{\dot{x}}{\sqrt{1+\dot{x}^2}x})-\frac{\sqrt{1+\dot{x}^2}}{x^2}=0$$

How to get at what you wrote?
I don't see it.
 
mad mathematician said:
@renormalize I get the following:
$$-d/dt(\frac{\dot{x}}{\sqrt{1+\dot{x}^2}x})-\frac{\sqrt{1+\dot{x}^2}}{x^2}=0$$

How to get at what you wrote?
I don't see it.
What expression do you get when you perform the ##d/dt## differentiation?
 
I might be wrong, but I get:
$$\frac{\ddot{x}}{x\sqrt{1+\dot{x}^2}}-\dot{x}^2[1/(\sqrt{1+\dot{x}^2}x^2)+1/(x(\sqrt{1+\dot{x}^2})^3)$$
 
Just at one glance that does not look correct to me. The last term is presumably from the derivative of ##1/\sqrt{1+\dot x^2}## yet contains no ##\ddot x##.

Note that ##d(\dot x^2)/{dt} = 2 \dot x \ddot x##.
 
On top of the above, I’d like to add that the integrand does not depend explicitly on ##t##. Because of this, the Beltrami identity -which is a first integral of the EL in that case- applies:
$$\frac{\partial L}{\partial \dot x}\dot x - L = E$$ where ##E## is the integration constant. This usually saves a lot of differentiating, particularly when square roots are involved.
 
  • Like
Likes   Reactions: jbergman and mad mathematician
Orodruin said:
Just at one glance that does not look correct to me. The last term is presumably from the derivative of ##1/\sqrt{1+\dot x^2}## yet contains no ##\ddot x##.

Note that ##d(\dot x^2)/{dt} = 2 \dot x \ddot x##.
Yes, spot on.
Thanks!
I guess no one is perfect...
 

Similar threads

Replies
1
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
5
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
7
Views
3K
Replies
1
Views
2K
Replies
3
Views
2K