More Lagrangian Stuff & Intro to Hamiltonian Flashcards
Why use Lagrangian Methods?
- Concepts have applications outside mechanics
- Can easily change coordinate system to the easiest one to use
Describe the problem with a mass on a cycloidal path.
Path defined by rolling a circle, and tracking the motion of a point on the circle.
How can we plot the position of the point mass on a graph?
x-y axis with θ being the max and minimum at +/- pi
What are the x and y coordinates equal to for this problem?
x = R*(θ+sinθ) y = R*(1-cosθ)
What is a good choice of coordinates for this cycloidal path problem?
Distance u from the minimum position (x=0, y=0) at θ=0
What is the kinetic and potential energy equal to the the cycloidal path problem?
T = 1/2 * mu’^2, V = mgy = mgR(1-cosθ) = mgR2sin^2(θ/2)
For the potential energy V, how can we convert V(θ) to V(u)?
u is the length on the path, so we need to find u = integral from θ = 0 to θ’ du
What is the length of line element du equal to?
Use pythagoras: du^2 = dx^2 + dy^2 = ((dx/dθ)^2 + (dy/dθ)^2) (dθ)^2
How can we simplify the equation for du?
Substitute in the equations for x and y in the differentials, then rearrange.
What is the final equation for du?
du = 2R*cos(θ/2) dθ, so u = integral from θ=0 to θ’ of that.
How can we use the equation for u to change V(θ) to V(u)?
Rearrange for sin^2(θ/2), and substitute this into the equation for V(θ)
What do we find is the Lagrangian for the cycloidal path problem?
L = 1/2 * m*u’^2 - mgu^2/8R = L(u,u’)
What do we do with the Lagrangian after finding it for the cycloidal path problem?
Solve the E-L equation to find the equation of motion for it.
What is the equation for the Hamiltonian?
H = q’*dL/dq’ - L, for generalised coordinate q.
How do we find if the Hamiltonian changes with time?
Find dH/dt, assuming L(q,q’,t)