Analytical Mechanics: Variational Principles

Size: px
Start display at page:

Download "Analytical Mechanics: Variational Principles"

Transcription

1 Analytical Mechanics: Variational Principles Shinichi Hirai Dept. Robotics, Ritsumeikan Univ. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 1 / 71

2 Agenda Agenda 1 Variational Principle in Statics 2 Variational Principle in Statics under Constraints 3 Variational Principle in Dynamics 4 Variational Principle in Dynamics under Constraints Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 2 / 71

3 Variational Principle in Statics Statics Variation principle in statics minimize I = U W under constraint minimize I = U W subject to R = 0 Solutions analytically solve δi = 0 numerical optimization (fminbnd or fmincon) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 3 / 71

4 Variational Principle in Statics Example (simple pendulum) C θ l y m O x mg λ simple pendulum of length l and mass m suspended at point C τ: external torque around C, θ: angle around C Given τ, derive θ at equilibrium. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 4 / 71

5 Variational Principle in Statics Statics in variational form U W potential energy work done by external forces/torques Variational principle in statics Internal energy I = U W reaches to its minimum at equilibrium: I = U W minimum Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 5 / 71

6 Variational Principle in Statics Statics in variational form Solutions: 1 Solve minimize I = U W analytically 2 Solve minimize I = U W numerically 3 Solve δi = 0 analytically Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 6 / 71

7 Variational Principle in Statics Example (simple pendulum) C θ l y O x m mg λ U = mgl(1 cos θ), W = τθ I = mgl(1 cos θ) τθ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 7 / 71

8 Variational Principle in Statics Example (simple pendulum) Solve analytically minimize I = mgl(1 cos θ) τθ I = mgl sin θ τ = 0 θ Equilibrium of moment around C Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 8 / 71

9 Variational Principle in Statics Example (simple pendulum) Solve numerically minimize I = mgl(1 cos θ) τθ ( π θ π) Let m = 0.01, l = 2.0, g = 9.8, τ = 0.1 Apply fminbnd to minimize a function numerically Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 9 / 71

10 Variational Principle in Statics Example (simple pendulum) File internal_energy_simple_pendulum.m function I = internal_energy_simple_pendulum(theta) global mass; global length; global grav; global tau; end U = mass*grav*length*(1-cos(theta)); W = tau*theta; I = U - W; Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 10 / 71

11 Variational Principle in Statics Example (simple pendulum) File internal_energy_simple_pendulum_min.m global mass; global length; global grav; global tau; mass = 0.01; length = 2.0; grav = 9.8; tau = 0.1; [thetamin, Imin] =... fminbnd(@internal_energy_simple_pendulum, -pi, pi); thetamin Imin Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 11 / 71

12 Variational Principle in Statics Example (simple pendulum) Result: >> internal_energy_simple_pendulum_min thetamin = Imin = Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 12 / 71

13 Variational Principle in Statics Example (simple pendulum) Solve analytically δi = 0 I = mgl(1 cos θ) τθ I + δi = mgl(1 cos(θ + δθ)) τ(θ + δθ) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 13 / 71

14 Variational Principle in Statics Example (simple pendulum) Note that cos(θ + δθ) = cos θ (sin θ)δθ: I = mgl(1 cos θ) τθ I + δi = mgl(1 cos θ + (sin θ)δθ) τ(θ + δθ) δi = mgl(sin θ)δθ τδθ = (mgl sin θ τ)δθ 0, δθ mgl sin θ τ = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 14 / 71

15 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) C R<0 y l R=0 m R>0 O x mg λ simple pendulum of length l and mass m suspended at point C [ x, y ] T : position of mass [ f x, f y ] T : external force applied to mass Given [ f x, f y ] T, derive [ x, y ] T at equilibrium. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 15 / 71

16 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) C R<0 y l R=0 m R>0 O x mg λ geometric constraint distance between C and mass = l R = { x 2 + (y l) 2} 1/2 l = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 16 / 71

17 Variational Principle in Statics under Constraints Statics under single constraint U W R potential energy work done by external forces/torques geometric constraint Variational principle in statics Internal energy U W reaches to its minimum at equilibrium under geometric constraint R = 0: minimize U W subject to R = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 17 / 71

18 Variational Principle in Statics under Constraints Statics under single constraint Solutions: 1 Solve minimize U W subject to R = 0 analytically 2 Solve minimize U W subject to R = 0 numerically Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 18 / 71

19 Variational Principle in Statics under Constraints Statics under single constraint Solve minimize U W subject to R = 0 analytically minimize I = U W λr λ: Lagrange s multiplier δi = δ(u W λr) = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 19 / 71

20 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) C R<0 y l R=0 m R>0 O x mg λ U = mgy, W = f x x + f y y R = { x 2 + (y l) 2} 1/2 l Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 20 / 71

21 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) [ {x I = mgy (f x x + f y y) λ 2 + (y l) 2} ] 1/2 l Note that δr = R x δx + R y δy, where R x = R x = x { x 2 + (y l) 2} 1/2 R y = R y = (y l) { x 2 + (y l) 2} 1/2 δi = mg δy f x δx f y δy λr x δx λr y δy = ( f x λr x )δx + (mg f y λr y )δy 0, δx, δy Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 21 / 71

22 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) f x λr x = 0 mg f y λr y = 0 [ 0 mg ] + [ fx f y ] + λ [ Rx R y ] = [ 0 0 ] [ 0 mg ] grav. force, [ fx f y ] ext. force, [ Rx λ R y ] constraint force gradient vector ( to R = 0) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 22 / 71

23 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) three equations w.r.t. three unknowns x, y, and λ: f x λr x = 0 mg f y λr y = 0 R = 0 we can determine position of mass [ x, y ] T and magnitude of constraint force λ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 23 / 71

24 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) Note I = U W λr = U (W + λr) C y θ l R=-1 R=0 R=1 R=2 m λ R magnitude of a constraint force distance along the force constraint force contour R = constant O x mg λ λr work done by a constraint force W + λr work done by external & constraint forces Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 24 / 71

25 Variational Principle in Statics under Constraints Statics under single constraint Solve numerically minimize I = U W subject to R = 0 Let m = 0.01, l = 2.0, g = 9.8, f x = 0.1, f y = 0.2 Apply fmincon to minimize a function numerically under constraints Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 25 / 71

26 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) File internal_energy_pendulum_cartesian.m function I = internal_energy_pendulum_cartesian (q) global mass; global grav; global fx; global fy; x = q(1); y = q(2); U = mass*grav*y; W = fx*x + fy*y; I = U - W; end Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 26 / 71

27 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) File nonlcon.m function [ineq, cond] = nonlcon (q) global length; x = q(1); y = q(2); R = sqrt(x^2+(y-length)^2)-length; ineq = []; cond = [R]; end Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 27 / 71

28 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) File internal_energy_pendulum_cartesian_min.m global mass; global length; global grav; global fx; global fy; mass = 0.01; length = 2.0; grav = 9.8; fx = 0.1; fy = 0.2; qinit = [0;0]; [qmin, Imin] = fmincon(@internal_energy_pendulum_cartesian qinit, [],[], [],[], qmin fmin Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 28 / 71

29 Variational Principle in Statics under Constraints Example (pendulum in Cartesian coordinates) Result: >> internal_energy_pendulum_cartesian_min Local minimum found that satisfies the constraints. <stopping criteria details> qmin = Imin = Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 29 / 71

30 Variational Principle in Statics under Constraints Statics under multiple constraints U W R 1, R 2 potential energy work done by external forces/torques geometric constraints Variational principle in statics Internal energy U W reaches to its minimum at equilibrium under geometric constraints R 1 = 0 and R 2 = 0: minimize U W subject to R 1 = 0, R 2 = 0 δi = δ(u W λ 1 R 1 λ 2 R 2 ) = 0 λ 1, λ 2 : Lagrange s multipliers Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 30 / 71

31 Variational Principle in Dynamics Dynamics Lagrangian L = T U + W L = T U + W + λr (under constraint) Lagrange equations of motion L q d L dt q = 0 Solutions numerical ODE solver (ode45) constraint stabilization method (CSM) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 31 / 71

32 Variational Principle in Dynamics Example (simple pendulum) C θ l y m O x mg λ simple pendulum of length l and mass m suspended at point C τ: external torque around C at time t, θ: angle around C at time t Derive the motion of the pendulum. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 32 / 71

33 Variational Principle in Dynamics Dynamics in variational form T U W kinetic energy potential energy work done by external forces/torques Lagrangian L = T U + W Lagrange equation of motion L θ d L dt θ = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 33 / 71

34 Variational Principle in Dynamics Example (simple pendulum) C θ l y m O x mg λ T = 1 2 (ml 2 ) θ 2 U = mgl(l cos θ), W = τθ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 34 / 71

35 Variational Principle in Dynamics Example (simple pendulum) Lagrangian L = 1 2 (ml 2 ) θ 2 mgl(l cos θ) + τθ partial derivatives L θ = mgl sin θ + τ, L Lagrange equation of motion θ = (ml 2 ) θ d L = ml 2 θ dt θ mgl sin θ + τ ml 2 θ = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 35 / 71

36 Variational Principle in Dynamics Example (simple pendulum) Equation of the pendulum motion ml 2 θ = mgl sin θ + τ Canonical form of ordinary differential equation θ = ω ω = 1 (τ mgl sin θ) ml 2 can be solved numerically by an ODE solver Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 36 / 71

37 Variational Principle in Dynamics Example (simple pendulum) Let m = 0.01, l = 2.0, g = 9.8 and τ(t) = 0 File pendulum_ode.m function dotq = pendulum_ode (t,q) global mass; global length; global grav; theta = q(1); omega = q(2); dottheta = omega; dotomega = 1/(mass*length*length)*... (external_torque(t) - mass*grav*length*sin(theta)); dotq = [dottheta; dotomega]; end Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 37 / 71

38 Variational Principle in Dynamics Example (simple pendulum) File external_torque.m function tau = external_torque(t) tau = 0; end File pendulum.m global mass; global length; global grav; mass = 0.01; length = 2.0; grav = 9.8; interval = [0, 10]; qinit = [pi/3; 0]; % [ theta(0); omega(0) ] [time, q] = ode45(@pendulum_ode, interval, qinit); plot(time, q(:,1)); Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 38 / 71

39 Variational Principle in Dynamics Example (simple pendulum) Result: >> pendulum >> Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 39 / 71

40 Variational Principle in Dynamics Example (simple pendulum) Graphs: plot(time, q(:,1)); saveas(gcf, pendulum_theta.png ); plot(time, q(:,2)); saveas(gcf, pendulum_omega.png ); plot(q(:,1), q(:,2)); saveas(gcf, pendulum_phase.png ); Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 40 / 71

41 Variational Principle in Dynamics Example (simple pendulum) t θ (pendulum theta.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 41 / 71

42 Variational Principle in Dynamics Example (simple pendulum) t ω (pendulum omega.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 41 / 71

43 Variational Principle in Dynamics Example (simple pendulum) θ ω (phase plot) (pendulum phase.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 41 / 71

44 Variational Principle in Dynamics Example (pendulum with viscous friction) Assumptions viscous friction around supporting point C works viscous friction causes a negative torque around C magnitude of the torque is proportional to angular velocity viscous friction torque = b θ (b: positive constant) Replacing τ by τ b θ: (ml 2 ) θ = (τ b θ) mgl sin θ θ = ω ω = 1 (τ bω mgl sin θ) ml 2 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 42 / 71

45 Variational Principle in Dynamics Example (pendulum with viscous friction) Let m = 0.01, l = 2.0, g = 9.8, b = 0.01 and τ(t) = 0 File pendulum_viscous_ode.m function dotq = pendulum_viscous_ode (t,q) global mass; global length; global grav; global viscous; theta = q(1); omega = q(2); dottheta = omega; dotomega = 1/(mass*length*length)*... (external_torque(t) - mass*grav*length*sin(theta).. - viscous*omega); dotq = [dottheta; dotomega]; end Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 43 / 71

46 Variational Principle in Dynamics Example (pendulum with viscous friction) File pendulum_viscous.m global mass; global length; global grav; global viscous; mass = 0.01; length = 2.0; grav = 9.8; viscous = 0.01; interval = [0, 10]; qinit = [pi/3; 0]; % [ theta(0); omega(0) ] [time, q] = ode45(@pendulum_viscous_ode,... interval, qinit); plot(time, q(:,1)); saveas(gcf, pendulum_viscous_theta.png ); plot(time, q(:,2)); saveas(gcf, pendulum_viscous_omega.png ); plot(q(:,1), q(:,2)); saveas(gcf, pendulum_viscous_phase.png ); Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 44 / 71

47 Variational Principle in Dynamics Example (pendulum with viscous friction) t θ (pendulum viscous theta.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 45 / 71

48 Variational Principle in Dynamics Example (pendulum with viscous friction) t ω (pendulum viscous omega.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 45 / 71

49 Variational Principle in Dynamics Example (pendulum with viscous friction) θ ω (phase plot) (pendulum viscous phase.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 45 / 71

50 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) C R<0 y l R=0 m R>0 O x mg λ simple pendulum of length l and mass m suspended at point C [ x, y ] T : position of mass at time t [ f x, f y ] T : external force applied to mass at time t Derive the motion of the pendulum in Cartesian coordinates. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 46 / 71

51 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) C R<0 y l R=0 m R>0 O x mg λ geometric constraint distance between C and mass = l R = { x 2 + (y l) 2} 1/2 l = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 47 / 71

52 Variational Principle in Dynamics under Constraints Dynamics under single constraint T U W kinetic energy potential energy work done by external forces/torques Lagrangian Lagrange equations of motion L = T U + W + λr L x d L dt ẋ = 0 L y d L dt ẏ = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 48 / 71

53 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) C θ l y m O x mg λ T = 1 2 m{ẋ 2 + ẏ 2 } U = mgy, W = f x x + f y y R = { x 2 + (y l) 2} 1/2 l Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 49 / 71

54 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) Lagrangian L = 1 [ {x 2 m{ẋ 2 + ẏ 2 } mgy + f x x + f y y + λ 2 + (y l) 2} ] 1/2 l partial derivatives L x = f x + λr x, L y = mg + f y + λr y, Lagrange equations of motion L ẋ = mẋ L ẏ = mẏ f x + λr x mẍ = 0 mg + f y + λr y mÿ = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 50 / 71

55 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) Lagrange equations of motion [ ] [ ] 0 fx + + λ mg f y [ Rx R y ] + { [ ẍ m ÿ gravitational external constraint inertial dynamic equilibrium among forces ]} = [ 0 0 ] Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 51 / 71

56 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) three equations w.r.t. three unknowns x, y, and λ: mẍ = f x + λr x mÿ = mg + f y + λr y R = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 52 / 71

57 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) three equations w.r.t. three unknowns x, y, and λ: mẍ = f x + λr x mÿ = mg + f y + λr y R = 0 Mixture of differential and algebraic equations Difficult to solve the mixture of differential and algebraic equations Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 52 / 71

58 Variational Principle in Dynamics under Constraints Constraint stabilization method (CSM) Constraint stabilization convert algebraic eq. to its almost equivalent differential eq. algebraic eq. R = 0 differential eq. R + 2α Ṙ + α 2 R = 0 (α: large positive constant) critical damping (converges to zero most quickly) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 53 / 71

59 Variational Principle in Dynamics under Constraints Constraint stabilization method (CSM) Dynamic equation of motion under geometric constraint: differential eq. L q d L dt q = 0 algebraic eq. R = 0 differential eq. L q d L dt q = 0 differential eq. R + 2α Ṙ + α 2 R = 0 can be solved numerically by an ODE solver. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 54 / 71

60 Variational Principle in Dynamics under Constraints Computing equation for constraint stabilization Assume R depends on x and y: R(x, y) = 0 Differentiating R(x, y) w.r.t time t: Ṙ = R x dx dt + R dy y dt = R xẋ + R y ẏ Differentiating R x (x, y) and R y (x, y) w.r.t time t: Ṙ x = R x x Ṙ y = R y x Second order time derivative: dx dt + R x dy y dt = R xxẋ + R xy ẏ dx dt + R y dy y dt = R yxẋ + R yy ẏ R = (Ṙxẋ + R x ẍ) + (Ṙyẏ + R y ÿ) = (R xx ẋ + R xy ẏ)ẋ + R x ẍ + (R yx ẋ + R yy ẏ)ẏ + R y ÿ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 55 / 71

61 Variational Principle in Dynamics under Constraints Computing equation for constraint stabilization Second order time derivative: R = [ ] [ ] ẍ R x R y ÿ + [ ẋ ẏ ] [ R xx R xy R yx R yy Equation to stabilize constraint: [ ] [ ] ẍ R x R y = [ ẋ ẏ ] [ R xx R xy ÿ R yx R yy + 2α(R x ẋ + R y ẏ) + α 2 R ] [ ẋ ẏ ] [ ẋ ẏ ] ] [ ] [ ] v R x R x y v y v x = ẋ, vy = ẏ = [ ] [ R v x v xx R xy y R yx R yy + 2α(R x v x + R y v y ) + α 2 R ] [ vx v y ] Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 56 / 71

62 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) Equation for stabilizing constraint R(x, y) = 0: R x v x R y v y = C(x, y, v x, v y ) where and C(x, y, v x, v y ) = [ ] [ R v x v xx R xy y R yx R yy + 2α(R x v x + R y v y ) + α 2 R ] [ vx v y ] P = {x 2 + (y l) 2 } 1/2, R x = xp, R y = (y l)p R xx = P x 2 P 3, R yy = P (y l) 2 P 3 R xy = R yx = x(y 1)P 3 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 57 / 71

63 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) Combining equations of motion and equation for constraint stabilization: ẋ = v x m R x m R y R x R y v x v y λ ẏ = v y = f x mg + f x C(x, y, v x, v y ) five equations w.r.t. five unknown variables x, y, v x, v y and λ given x, y, v x, v y = ẋ, ẏ, v x, v y This canonical ODE can be solved numerically by an ODE solver. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 58 / 71

64 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) Let m = 0.01, l = 2.0, g = 9.8, α = 1000 and f x (t) = 0, f y (t) = 0 File pendulum_cartesian_ode.m function dotq = pendulum_cartesian_ode (t,q) global mass; global length; global grav; global alpha; x = q(1); y = q(2); vx = q(3); vy = q(4); dotx = vx; doty = vy; R = sqrt(x^2+(y-length)^2) - length; P = 1/sqrt(x^2+(y-length)^2); Rx = x*p; Ry = (y-length)*p; Rxx = P - x^2*p^3; Ryy = P - (y-length)^2*p^3; Rxy = -x*(y-length)*p^3; C = [vx,vy]*[rxx, Rxy; Rxy, Ryy]*[vx;vy] *alpha*(Rx*vx + Ry*vy) *alpha^2*R; Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 59 / 71

65 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) A = [mass, 0, -Rx; 0, mass, -Ry; -Rx, -Ry, 0]; b = [ 0; -mass*grav; C ]; s = A \ b; dotvx = s(1); dotvy = s(2); dotq = [dotx; doty; dotvx; dotvy]; end Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 60 / 71

66 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) File pendulum_cartesian.m global mass; global length; global grav; mass = 0.01; length = 2.0; grav = 9.8; global alpha; alpha = 1000; interval = [0, 10]; qinit = [length*sin(pi/3); length*(1-cos(pi/3)); 0; 0]; [time, q] = ode45(@pendulum_cartesian_ode,... interval, qinit); plot(time,q(:,1), -, time,q(:,2), -- ); saveas(gcf, pendulum_cartesian_x_y.png ); Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 61 / 71

67 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) plot(time,q(:,3), -, time,q(:,4), -- ); saveas(gcf, pendulum_cartesian_vx_vy.png ); plot(q(:,1), q(:,2)); saveas(gcf, pendulum_cartesian_path.png ); angle = atan2(q(:,1), length-q(:,2)); plot(time, angle); saveas(gcf, pendulum_cartesian_computed_angle.png ); R = sqrt(q(:,1).^2 + (q(:,2)-length).^2)-length; plot(time, R); saveas(gcf, pendulum_cartesian_r.png ); Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 62 / 71

68 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) t x, y (pendulum Cartesian x y.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 63 / 71

69 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) t v x, v y (pendulum Cartesian vx vy.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 63 / 71

70 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) x y (pendulum Cartesian path.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 63 / 71

71 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) t computed θ (pendulum Cartesian computed angle.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 63 / 71

72 Variational Principle in Dynamics under Constraints Example (pendulum in Cartesian coordinates) t constraint R (pendulum Cartesian R.png) Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 63 / 71

73 Variational Principle in Dynamics under Constraints Notice Lagrangian L = T U + W + λr = T (U W λr) = T I Lagrangian is equal to the difference between kinetic energy and internal energy under a constraint Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 64 / 71

74 Summary Summary Variational principles statics I = U W statics under constraint I = U W λr dynamics L = T U + W δi 0 dynamics under constraint L = T U + W + λr constraint stabilization method L q d L dt q = 0 Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 65 / 71

75 Summary Summary How to solve a static problem Solve (nonlinear) equations originated from variation or Numerically minimize internal energy How to solve a dynamic problem Step 1 Derive Lagrange equations of motion analytically Step 2 Solve the derived equations numerically Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 66 / 71

76 Summary Numerical Simulation Report # 1 due date : Nov. 12 (Mon) 1 Simulate the dynamic motion of a simple pendulum described with angle θ. Apply any ODE solver to solve the equation of motion numerically. 2 Simulate the dynamic motion of a simple pendulum described with Cartesian coordinates x and y under one geometric constraint. Apply constraint stabilization method to convert the constraint into its almost equivalent ODE, then apply any ODE solver to solve a set of ODEs (equations of motion and equation for constraint stabilization) numerically. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 67 / 71

77 Appendix Appendix: Variational calculus Small virtual deviation of variables or functions. y = x 2 Let us change variable x to x + δx, then variable y changes to y + δy accordingly. Thus y + δy = (x + δx) 2 = x 2 + 2x δx + (δx) 2 = x 2 + 2x δx δy = 2x δx Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 68 / 71

78 Appendix Appendix: Variational calculus Small virtual deviation of variables or functions. I = T 0 {x(t)} 2 dt Let us change function x(t) to x(t) + δx(t), then variable I changes to I + δi accordingly. I + δi = = T 0 T 0 {x(t) + δx(t)} 2 dt {x(t)} 2 + 2x(t) δx(t) dt Thus δi = T 0 2x(t) δx(t) dt Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 69 / 71

79 Appendix Appendix: Variational calculus Variational operator δ δθ δf (θ) virtual deviation of variable θ virtual deviation of function f (θ) virtual increment of variable increment of function simple examples δ(5x) = 5 δx δ sin θ = (cos θ) δθ, δf (θ) = f (θ)δθ θ θ + δθ f (θ) f (θ + δθ) = f (θ) + f (θ)δθ f (θ) f (θ) + δf (θ) δx 2 = 2x δx δ cos θ = ( sin θ) δθ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 70 / 71

80 Appendix Appendix: Variational calculus Variational operator δ δθ δf (θ) virtual deviation of variable θ virtual deviation of function f (θ) virtual increment of variable increment of function simple examples δ(5x) = 5 δx δ sin θ = (cos θ) δθ, δf (θ) = f (θ)δθ θ θ + δθ f (θ) f (θ + δθ) = f (θ) + f (θ)δθ f (θ) f (θ) + δf (θ) δx 2 = 2x δx δ cos θ = ( sin θ) δθ Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 70 / 71

81 Appendix Appendix: Variational calculus assume that θ depends on time t virtual increment of function θ(t) θ(t) + δθ(t) dθ dt d dθ (θ + δθ) = dt dt + d dt δθ θ dt (θ + δθ) dt = θ dt + δθ dt variation of derivative and integral δ δ dθ dt = d dt δθ θ dt = δθ dt variational operator and differential/integral operator can commute Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Variational Principles 71 / 71

Kinetic energy. Analytical Mechanics: Link Mechanisms. Kinetic energy. Agenda. Kinematics of two link open mechanism.

Kinetic energy. Analytical Mechanics: Link Mechanisms. Kinetic energy. Agenda. Kinematics of two link open mechanism. Analtical Mechanics: Link Mechanisms Shinichi Hirai Dept. Robotics, Ritsumeikan Univ. Kinetic energ velocit of the center of mass of link : angular velocit of link : kinetic energ of link : ẋ c l c θ S

More information

Analytical Mechanics: MATLAB

Analytical Mechanics: MATLAB Analytical Mechanics: MATLAB Shinichi Hirai Dept. Robotics, Ritsumeikan Univ. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: MATLAB 1 / 47 Agenda Agenda 1 Vector and Matrix 2

More information

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as 2 MODELING Once the control target is identified, which includes the state variable to be controlled (ex. speed, position, temperature, flow rate, etc), and once the system drives are identified (ex. force,

More information

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

M2A2 Problem Sheet 3 - Hamiltonian Mechanics MA Problem Sheet 3 - Hamiltonian Mechanics. The particle in a cone. A particle slides under gravity, inside a smooth circular cone with a vertical axis, z = k x + y. Write down its Lagrangian in a) Cartesian,

More information

Classical Mechanics Comprehensive Exam Solution

Classical Mechanics Comprehensive Exam Solution Classical Mechanics Comprehensive Exam Solution January 31, 011, 1:00 pm 5:pm Solve the following six problems. In the following problems, e x, e y, and e z are unit vectors in the x, y, and z directions,

More information

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization Plan of the Lecture Review: control, feedback, etc Today s topic: state-space models of systems; linearization Goal: a general framework that encompasses all examples of interest Once we have mastered

More information

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017 CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS Prof. N. Harnew University of Oxford TT 2017 1 OUTLINE : CP1 REVISION LECTURE 3 : INTRODUCTION TO CLASSICAL MECHANICS 1. Angular velocity and

More information

Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction

Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction D. S. Stutts, Ph.D. Associate Professor of Mechanical Engineering Missouri University of Science and Technology Rolla,

More information

Physics 106a, Caltech 16 October, Lecture 5: Hamilton s Principle with Constraints. Examples

Physics 106a, Caltech 16 October, Lecture 5: Hamilton s Principle with Constraints. Examples Physics 106a, Caltech 16 October, 2018 Lecture 5: Hamilton s Principle with Constraints We have been avoiding forces of constraint, because in many cases they are uninteresting, and the constraints can

More information

Lagrangian Dynamics: Derivations of Lagrange s Equations

Lagrangian Dynamics: Derivations of Lagrange s Equations Constraints and Degrees of Freedom 1.003J/1.053J Dynamics and Control I, Spring 007 Professor Thomas Peacock 4/9/007 Lecture 15 Lagrangian Dynamics: Derivations of Lagrange s Equations Constraints and

More information

The Inverted Pendulum

The Inverted Pendulum Lab 1 The Inverted Pendulum Lab Objective: We will set up the LQR optimal control problem for the inverted pendulum and compute the solution numerically. Think back to your childhood days when, for entertainment

More information

Physics 235 Chapter 7. Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics

Physics 235 Chapter 7. Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics Many interesting physics systems describe systems of particles on which many forces are acting. Some of these forces are immediately

More information

Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be.

Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be. Chapter 4 Energy and Stability 4.1 Energy in 1D Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be T = 1 2 mẋ2 and the potential energy

More information

Phys 7221 Homework # 8

Phys 7221 Homework # 8 Phys 71 Homework # 8 Gabriela González November 15, 6 Derivation 5-6: Torque free symmetric top In a torque free, symmetric top, with I x = I y = I, the angular velocity vector ω in body coordinates with

More information

Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction

Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction Analytical Dynamics: Lagrange s Equation and its Application A Brief Introduction D. S. Stutts, Ph.D. Associate Professor of Mechanical Engineering Missouri University of Science and Technology Rolla,

More information

Question 1: A particle starts at rest and moves along a cycloid whose equation is. 2ay y a

Question 1: A particle starts at rest and moves along a cycloid whose equation is. 2ay y a Stephen Martin PHYS 10 Homework #1 Question 1: A particle starts at rest and moves along a cycloid whose equation is [ ( ) a y x = ± a cos 1 + ] ay y a There is a gravitational field of strength g in the

More information

Non-Linear Response of Test Mass to External Forces and Arbitrary Motion of Suspension Point

Non-Linear Response of Test Mass to External Forces and Arbitrary Motion of Suspension Point LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORY -LIGO- CALIFORNIA INSTITUTE OF TECHNOLOGY MASSACHUSETTS INSTITUTE OF TECHNOLOGY Technical Note LIGO-T980005-01- D 10/28/97 Non-Linear Response of Test

More information

Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text:

Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text: Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text: 1.3 1.6 Constraints Often times we consider dynamical systems which are defined using some kind of restrictions

More information

Lagrange s Equations of Motion and the Generalized Inertia

Lagrange s Equations of Motion and the Generalized Inertia Lagrange s Equations of Motion and the Generalized Inertia The Generalized Inertia Consider the kinetic energy for a n degree of freedom mechanical system with coordinates q, q 2,... q n. If the system

More information

SOLUTIONS, PROBLEM SET 11

SOLUTIONS, PROBLEM SET 11 SOLUTIONS, PROBLEM SET 11 1 In this problem we investigate the Lagrangian formulation of dynamics in a rotating frame. Consider a frame of reference which we will consider to be inertial. Suppose that

More information

I ml. g l. sin. l 0,,2,...,n A. ( t vs. ), and ( vs. ). d dt. sin l

I ml. g l. sin. l 0,,2,...,n A. ( t vs. ), and ( vs. ). d dt. sin l Advanced Control Theory Homework #3 Student No.597 Name : Jinseong Kim. The simple pendulum dynamics is given by g sin L A. Derive above dynamic equation from the free body diagram. B. Find the equilibrium

More information

EE Homework 3 Due Date: 03 / 30 / Spring 2015

EE Homework 3 Due Date: 03 / 30 / Spring 2015 EE 476 - Homework 3 Due Date: 03 / 30 / 2015 Spring 2015 Exercise 1 (10 points). Consider the problem of two pulleys and a mass discussed in class. We solved a version of the problem where the mass was

More information

Solution Set Two. 1 Problem #1: Projectile Motion Cartesian Coordinates Polar Coordinates... 3

Solution Set Two. 1 Problem #1: Projectile Motion Cartesian Coordinates Polar Coordinates... 3 : Solution Set Two Northwestern University, Classical Mechanics Classical Mechanics, Third Ed.- Goldstein October 7, 2015 Contents 1 Problem #1: Projectile Motion. 2 1.1 Cartesian Coordinates....................................

More information

Forces of Constraint & Lagrange Multipliers

Forces of Constraint & Lagrange Multipliers Lectures 30 April 21, 2006 Written or last updated: April 21, 2006 P442 Analytical Mechanics - II Forces of Constraint & Lagrange Multipliers c Alex R. Dzierba Generalized Coordinates Revisited Consider

More information

Classical Mechanics Review (Louisiana State University Qualifier Exam)

Classical Mechanics Review (Louisiana State University Qualifier Exam) Review Louisiana State University Qualifier Exam Jeff Kissel October 22, 2006 A particle of mass m. at rest initially, slides without friction on a wedge of angle θ and and mass M that can move without

More information

Analytical Mechanics: Elastic Deformation

Analytical Mechanics: Elastic Deformation Analytical Mechanics: Elastic Deformation Shinichi Hirai Dept. Robotics, Ritsumeikan Univ. Shinichi Hirai (Dept. Robotics, Ritsumeikan Univ.) Analytical Mechanics: Elastic Deformation 1 / 60 Agenda Agenda

More information

Multibody simulation

Multibody simulation Multibody simulation Dynamics of a multibody system (Euler-Lagrange formulation) Dimitar Dimitrov Örebro University June 16, 2012 Main points covered Euler-Lagrange formulation manipulator inertia matrix

More information

Modeling and Experimentation: Compound Pendulum

Modeling and Experimentation: Compound Pendulum Modeling and Experimentation: Compound Pendulum Prof. R.G. Longoria Department of Mechanical Engineering The University of Texas at Austin Fall 2014 Overview This lab focuses on developing a mathematical

More information

Robotics. Islam S. M. Khalil. November 15, German University in Cairo

Robotics. Islam S. M. Khalil. November 15, German University in Cairo Robotics German University in Cairo November 15, 2016 Fundamental concepts In optimal control problems the objective is to determine a function that minimizes a specified functional, i.e., the performance

More information

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod) 28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod) θ + ω 2 sin θ = 0. Indicate the stable equilibrium points as well as the unstable equilibrium points.

More information

Stability of Nonlinear Systems An Introduction

Stability of Nonlinear Systems An Introduction Stability of Nonlinear Systems An Introduction Michael Baldea Department of Chemical Engineering The University of Texas at Austin April 3, 2012 The Concept of Stability Consider the generic nonlinear

More information

Practice Problems for Final Exam

Practice Problems for Final Exam Math 1280 Spring 2016 Practice Problems for Final Exam Part 2 (Sections 6.6, 6.7, 6.8, and chapter 7) S o l u t i o n s 1. Show that the given system has a nonlinear center at the origin. ẋ = 9y 5y 5,

More information

Nonholonomic Constraints Examples

Nonholonomic Constraints Examples Nonholonomic Constraints Examples Basilio Bona DAUIN Politecnico di Torino July 2009 B. Bona (DAUIN) Examples July 2009 1 / 34 Example 1 Given q T = [ x y ] T check that the constraint φ(q) = (2x + siny

More information

Columbia University Department of Physics QUALIFYING EXAMINATION

Columbia University Department of Physics QUALIFYING EXAMINATION Columbia University Department of Physics QUALIFYING EXAMINATION Monday, January 9, 2017 11:00AM to 1:00PM Classical Physics Section 1. Classical Mechanics Two hours are permitted for the completion of

More information

ESM 3124 Intermediate Dynamics 2012, HW6 Solutions. (1 + f (x) 2 ) We can first write the constraint y = f(x) in the form of a constraint

ESM 3124 Intermediate Dynamics 2012, HW6 Solutions. (1 + f (x) 2 ) We can first write the constraint y = f(x) in the form of a constraint ESM 314 Intermediate Dynamics 01, HW6 Solutions Roller coaster. A bead of mass m can slide without friction, under the action of gravity, on a smooth rigid wire which has the form y = f(x). (a) Find the

More information

Hamiltonian. March 30, 2013

Hamiltonian. March 30, 2013 Hamiltonian March 3, 213 Contents 1 Variational problem as a constrained problem 1 1.1 Differential constaint......................... 1 1.2 Canonic form............................. 2 1.3 Hamiltonian..............................

More information

Dynamics. 1 Copyright c 2015 Roderic Grupen

Dynamics. 1 Copyright c 2015 Roderic Grupen Dynamics The branch of physics that treats the action of force on bodies in motion or at rest; kinetics, kinematics, and statics, collectively. Websters dictionary Outline Conservation of Momentum Inertia

More information

Classical mechanics of particles and fields

Classical mechanics of particles and fields Classical mechanics of particles and fields D.V. Skryabin Department of Physics, University of Bath PACS numbers: The concise and transparent exposition of many topics covered in this unit can be found

More information

Differential Kinematics

Differential Kinematics Differential Kinematics Relations between motion (velocity) in joint space and motion (linear/angular velocity) in task space (e.g., Cartesian space) Instantaneous velocity mappings can be obtained through

More information

Constraints. Noninertial coordinate systems

Constraints. Noninertial coordinate systems Chapter 8 Constraints. Noninertial codinate systems 8.1 Constraints Oftentimes we encounter problems with constraints. F example, f a ball rolling on a flo without slipping, there is a constraint linking

More information

Lecture Notes for PHY 405 Classical Mechanics

Lecture Notes for PHY 405 Classical Mechanics Lecture Notes for PHY 405 Classical Mechanics From Thorton & Marion s Classical Mechanics Prepared by Dr. Joseph M. Hahn Saint Mary s University Department of Astronomy & Physics September 1, 2005 Chapter

More information

Kinematics (special case) Dynamics gravity, tension, elastic, normal, friction. Energy: kinetic, potential gravity, spring + work (friction)

Kinematics (special case) Dynamics gravity, tension, elastic, normal, friction. Energy: kinetic, potential gravity, spring + work (friction) Kinematics (special case) a = constant 1D motion 2D projectile Uniform circular Dynamics gravity, tension, elastic, normal, friction Motion with a = constant Newton s Laws F = m a F 12 = F 21 Time & Position

More information

The Principle of Least Action

The Principle of Least Action The Principle of Least Action In their never-ending search for general principles, from which various laws of Physics could be derived, physicists, and most notably theoretical physicists, have often made

More information

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity 1 Second Order Ordinary Differential Equations 1.1 The harmonic oscillator Consider an ideal pendulum as shown below. θ l Fr mg l θ is the angular acceleration θ is the angular velocity A point mass m

More information

7 Pendulum. Part II: More complicated situations

7 Pendulum. Part II: More complicated situations MATH 35, by T. Lakoba, University of Vermont 60 7 Pendulum. Part II: More complicated situations In this Lecture, we will pursue two main goals. First, we will take a glimpse at a method of Classical Mechanics

More information

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003 Lecture XXVI Morris Swartz Dept. of Physics and Astronomy Johns Hopins University morris@jhu.edu November 5, 2003 Lecture XXVI: Oscillations Oscillations are periodic motions. There are many examples of

More information

POTENTIAL ENERGY AND ENERGY CONSERVATION

POTENTIAL ENERGY AND ENERGY CONSERVATION 7 POTENTIAL ENERGY AND ENERGY CONSERVATION 7.. IDENTIFY: U grav = mgy so ΔU grav = mg( y y ) SET UP: + y is upward. EXECUTE: (a) ΔU = (75 kg)(9.8 m/s )(4 m 5 m) = +6.6 5 J (b) ΔU = (75 kg)(9.8 m/s )(35

More information

HW 6 Mathematics 503, Mathematical Modeling, CSUF, June 24, 2007

HW 6 Mathematics 503, Mathematical Modeling, CSUF, June 24, 2007 HW 6 Mathematics 503, Mathematical Modeling, CSUF, June 24, 2007 Nasser M. Abbasi June 15, 2014 Contents 1 Problem 1 (section 3.5,#9, page 197 1 2 Problem 1 (section 3.5,#9, page 197 7 1 Problem 1 (section

More information

MSMS Basilio Bona DAUIN PoliTo

MSMS Basilio Bona DAUIN PoliTo MSMS 214-215 Basilio Bona DAUIN PoliTo Problem 2 The planar system illustrated in Figure 1 consists of a bar B and a wheel W moving (no friction, no sliding) along the bar; the bar can rotate around an

More information

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top Physics 106a, Caltech 4 December, 2018 Lecture 18: Examples on Rigid Body Dynamics I go through a number of examples illustrating the methods of solving rigid body dynamics. In most cases, the problem

More information

Physics 8, Fall 2013, equation sheet work in progress

Physics 8, Fall 2013, equation sheet work in progress (Chapter 1: foundations) 1 year 3.16 10 7 s Physics 8, Fall 2013, equation sheet work in progress circumference of earth 40 10 6 m speed of light c = 2.9979 10 8 m/s mass of proton or neutron 1 amu ( atomic

More information

Lecture 13: Forces in the Lagrangian Approach

Lecture 13: Forces in the Lagrangian Approach Lecture 3: Forces in the Lagrangian Approach In regular Cartesian coordinates, the Lagrangian for a single particle is: 3 L = T U = m x ( ) l U xi l= Given this, we can readily interpret the physical significance

More information

8 Example 1: The van der Pol oscillator (Strogatz Chapter 7)

8 Example 1: The van der Pol oscillator (Strogatz Chapter 7) 8 Example 1: The van der Pol oscillator (Strogatz Chapter 7) So far we have seen some different possibilities of what can happen in two-dimensional systems (local and global attractors and bifurcations)

More information

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1. MTH4101 CALCULUS II REVISION NOTES 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) 1.1 Introduction Types of numbers (natural, integers, rationals, reals) The need to solve quadratic equations:

More information

P321(b), Assignement 1

P321(b), Assignement 1 P31(b), Assignement 1 1 Exercise 3.1 (Fetter and Walecka) a) The problem is that of a point mass rotating along a circle of radius a, rotating with a constant angular velocity Ω. Generally, 3 coordinates

More information

VIBRATING BASE PENDULUM. Math 485 Project team Thomas Bello Emily Huang Fabian Lopez Kellin Rumsey Tao Tao

VIBRATING BASE PENDULUM. Math 485 Project team Thomas Bello Emily Huang Fabian Lopez Kellin Rumsey Tao Tao VIBRATING BASE PENDULUM Math 485 Project team Thomas Bello Emily Huang Fabian Lopez Kellin Rumsey Tao Tao Agenda Midterm Recap Equation of Motion & Energy Modeling Effective Potential Stability Analysis

More information

is conserved, calculating E both at θ = 0 and θ = π/2 we find that this happens for a value ω = ω given by: 2g

is conserved, calculating E both at θ = 0 and θ = π/2 we find that this happens for a value ω = ω given by: 2g UNIVERSITETET I STAVANGER Institutt for matematikk og naturvitenskap Suggested solutions, FYS 500 Classical Mechanics Theory 2016 fall Set 5 for 23. September 2016 Problem 27: A string can only support

More information

Physics 8, Fall 2011, equation sheet work in progress

Physics 8, Fall 2011, equation sheet work in progress 1 year 3.16 10 7 s Physics 8, Fall 2011, equation sheet work in progress circumference of earth 40 10 6 m speed of light c = 2.9979 10 8 m/s mass of proton or neutron 1 amu ( atomic mass unit ) = 1 1.66

More information

Nonlinear Dynamic Systems Homework 1

Nonlinear Dynamic Systems Homework 1 Nonlinear Dynamic Systems Homework 1 1. A particle of mass m is constrained to travel along the path shown in Figure 1, which is described by the following function yx = 5x + 1x 4, 1 where x is defined

More information

where x 0 is arbitrary.

where x 0 is arbitrary. The forces internal to a system are of two types. Conservative forces, such as gravity; and dissipative forces such as friction. Internal forces arise from the natural dynamics of the system in contract

More information

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos Chapter 4 Non-Linear Oscillations and Chaos Non-Linear Differential Equations Up to now we have considered differential equations with terms that are proportional to the acceleration, the velocity, and

More information

VTU-NPTEL-NMEICT Project

VTU-NPTEL-NMEICT Project MODULE-II --- SINGLE DOF FREE S VTU-NPTEL-NMEICT Project Progress Report The Project on Development of Remaining Three Quadrants to NPTEL Phase-I under grant in aid NMEICT, MHRD, New Delhi SME Name : Course

More information

06. Lagrangian Mechanics II

06. Lagrangian Mechanics II University of Rhode Island DigitalCommons@URI Classical Dynamics Physics Course Materials 2015 06. Lagrangian Mechanics II Gerhard Müller University of Rhode Island, gmuller@uri.edu Creative Commons License

More information

Constrained motion and generalized coordinates

Constrained motion and generalized coordinates Constrained motion and generalized coordinates based on FW-13 Often, the motion of particles is restricted by constraints, and we want to: work only with independent degrees of freedom (coordinates) k

More information

Second Order ODEs. Second Order ODEs. In general second order ODEs contain terms involving y, dy But here only consider equations of the form

Second Order ODEs. Second Order ODEs. In general second order ODEs contain terms involving y, dy But here only consider equations of the form Second Order ODEs Second Order ODEs In general second order ODEs contain terms involving y, dy But here only consider equations of the form A d2 y dx 2 + B dy dx + Cy = 0 dx, d2 y dx 2 and F(x). where

More information

Principles of Optimal Control Spring 2008

Principles of Optimal Control Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 16.323 Principles of Optimal Control Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 16.323 Lecture

More information

Massachusetts Institute of Technology Department of Physics. Final Examination December 17, 2004

Massachusetts Institute of Technology Department of Physics. Final Examination December 17, 2004 Massachusetts Institute of Technology Department of Physics Course: 8.09 Classical Mechanics Term: Fall 004 Final Examination December 17, 004 Instructions Do not start until you are told to do so. Solve

More information

Analytical Mechanics ( AM )

Analytical Mechanics ( AM ) Analytical Mechanics ( AM ) Olaf Scholten KVI, kamer v8; tel nr 6-55; email: scholten@kvinl Web page: http://wwwkvinl/ scholten Book: Classical Dynamics of Particles and Systems, Stephen T Thornton & Jerry

More information

Lecture. Math Dylan Zwick. Spring Simple Mechanical Systems, and the Differential Equations

Lecture. Math Dylan Zwick. Spring Simple Mechanical Systems, and the Differential Equations Math 2280 - Lecture 14 Dylan Zwick Spring 2013 In today s lecture we re going to examine, in detail, a physical system whose behavior is modeled by a second-order linear ODE with constant coefficients.

More information

ẋ = f(x, y), ẏ = g(x, y), (x, y) D, can only have periodic solutions if (f,g) changes sign in D or if (f,g)=0in D.

ẋ = f(x, y), ẏ = g(x, y), (x, y) D, can only have periodic solutions if (f,g) changes sign in D or if (f,g)=0in D. 4 Periodic Solutions We have shown that in the case of an autonomous equation the periodic solutions correspond with closed orbits in phase-space. Autonomous two-dimensional systems with phase-space R

More information

PHY 3221 Fall Homework Problems. Instructor: Yoonseok Lee. Submit only HW s. EX s are additional problems that I encourage you to work on.

PHY 3221 Fall Homework Problems. Instructor: Yoonseok Lee. Submit only HW s. EX s are additional problems that I encourage you to work on. PHY 3221 Fall 2012 Homework Problems Instructor: Yoonseok Lee Submit only HW s. EX s are additional problems that I encourage you to work on. Week 1: August 22-24, Due August 27 (nothing to submit) EX:

More information

The distance of the object from the equilibrium position is m.

The distance of the object from the equilibrium position is m. Answers, Even-Numbered Problems, Chapter..4.6.8.0..4.6.8 (a) A = 0.0 m (b).60 s (c) 0.65 Hz Whenever the object is released from rest, its initial displacement equals the amplitude of its SHM. (a) so 0.065

More information

2.10 Saddles, Nodes, Foci and Centers

2.10 Saddles, Nodes, Foci and Centers 2.10 Saddles, Nodes, Foci and Centers In Section 1.5, a linear system (1 where x R 2 was said to have a saddle, node, focus or center at the origin if its phase portrait was linearly equivalent to one

More information

PHY6426/Fall 07: CLASSICAL MECHANICS HOMEWORK ASSIGNMENT #1 due by 9:35 a.m. Wed 09/05 Instructor: D. L. Maslov Rm.

PHY6426/Fall 07: CLASSICAL MECHANICS HOMEWORK ASSIGNMENT #1 due by 9:35 a.m. Wed 09/05 Instructor: D. L. Maslov Rm. PHY646/Fall 07: CLASSICAL MECHANICS HOMEWORK ASSIGNMENT # due by 9:35 a.m. Wed 09/05 Instructor: D. L. Maslov maslov@phys.ufl.edu 39-053 Rm. 4 Please help your instructor by doing your work neatly.. Goldstein,

More information

Sec. 14.3: Partial Derivatives. All of the following are ways of representing the derivative. y dx

Sec. 14.3: Partial Derivatives. All of the following are ways of representing the derivative. y dx Math 2204 Multivariable Calc Chapter 14: Partial Derivatives I. Review from math 1225 A. First Derivative Sec. 14.3: Partial Derivatives 1. Def n : The derivative of the function f with respect to the

More information

System Control Engineering 0

System Control Engineering 0 System Control Engineering 0 Koichi Hashimoto Graduate School of Information Sciences Text: Nonlinear Control Systems Analysis and Design, Wiley Author: Horacio J. Marquez Web: http://www.ic.is.tohoku.ac.jp/~koichi/system_control/

More information

Physics 5153 Classical Mechanics. Canonical Transformations-1

Physics 5153 Classical Mechanics. Canonical Transformations-1 1 Introduction Physics 5153 Classical Mechanics Canonical Transformations The choice of generalized coordinates used to describe a physical system is completely arbitrary, but the Lagrangian is invariant

More information

4.1 Important Notes on Notation

4.1 Important Notes on Notation Chapter 4. Lagrangian Dynamics (Most of the material presented in this chapter is taken from Thornton and Marion, Chap. 7) 4.1 Important Notes on Notation In this chapter, unless otherwise stated, the

More information

2.3 Calculus of variations

2.3 Calculus of variations 2.3 Calculus of variations 2.3.1 Euler-Lagrange equation The action functional S[x(t)] = L(x, ẋ, t) dt (2.3.1) which maps a curve x(t) to a number, can be expanded in a Taylor series { S[x(t) + δx(t)]

More information

Classical Mechanics and Electrodynamics

Classical Mechanics and Electrodynamics Classical Mechanics and Electrodynamics Lecture notes FYS 3120 Jon Magne Leinaas Department of Physics, University of Oslo December 2009 2 Preface These notes are prepared for the physics course FYS 3120,

More information

Classical Mechanics and Electrodynamics

Classical Mechanics and Electrodynamics Classical Mechanics and Electrodynamics Lecture notes FYS 3120 Jon Magne Leinaas Department of Physics, University of Oslo 2 Preface FYS 3120 is a course in classical theoretical physics, which covers

More information

Nov : Lecture 22: Differential Operators, Harmonic Oscillators

Nov : Lecture 22: Differential Operators, Harmonic Oscillators 14 Nov. 3 005: Lecture : Differential Operators, Harmonic Oscillators Reading: Kreyszig Sections:.4 (pp:81 83),.5 (pp:83 89),.8 (pp:101 03) Differential Operators The idea of a function as something that

More information

Torque and Simple Harmonic Motion

Torque and Simple Harmonic Motion Torque and Simple Harmonic Motion Recall: Fixed Axis Rotation Angle variable Angular velocity Angular acceleration Mass element Radius of orbit Kinematics!! " d# / dt! " d 2 # / dt 2!m i Moment of inertia

More information

1 Simple Harmonic Oscillator

1 Simple Harmonic Oscillator Massachusetts Institute of Technology MITES 2017 Physics III Lectures 02 and 03: Simple Harmonic Oscillator, Classical Pendulum, and General Oscillations In these notes, we introduce simple harmonic oscillator

More information

Numerical Optimization Algorithms

Numerical Optimization Algorithms Numerical Optimization Algorithms 1. Overview. Calculus of Variations 3. Linearized Supersonic Flow 4. Steepest Descent 5. Smoothed Steepest Descent Overview 1 Two Main Categories of Optimization Algorithms

More information

Rough Plane Analysis. Contents

Rough Plane Analysis. Contents Rough Plane Analysis David Eberly, Geometric Tools, Redmond WA 9805 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy

More information

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

PH.D. PRELIMINARY EXAMINATION MATHEMATICS UNIVERSITY OF CALIFORNIA, BERKELEY SPRING SEMESTER 207 Dept. of Civil and Environmental Engineering Structural Engineering, Mechanics and Materials NAME PH.D. PRELIMINARY EXAMINATION MATHEMATICS Problem

More information

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

PH.D. PRELIMINARY EXAMINATION MATHEMATICS UNIVERSITY OF CALIFORNIA, BERKELEY Dept. of Civil and Environmental Engineering FALL SEMESTER 2014 Structural Engineering, Mechanics and Materials NAME PH.D. PRELIMINARY EXAMINATION MATHEMATICS Problem

More information

MEM04: Rotary Inverted Pendulum

MEM04: Rotary Inverted Pendulum MEM4: Rotary Inverted Pendulum Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 April 8, 7 Contents Overview. Configure ELVIS and DC Motor................................ Goals..............................................3

More information

Phys 7221, Fall 2006: Midterm exam

Phys 7221, Fall 2006: Midterm exam Phys 7221, Fall 2006: Midterm exam October 20, 2006 Problem 1 (40 pts) Consider a spherical pendulum, a mass m attached to a rod of length l, as a constrained system with r = l, as shown in the figure.

More information

Parametric Equations and Polar Coordinates

Parametric Equations and Polar Coordinates Parametric Equations and Polar Coordinates Parametrizations of Plane Curves In previous chapters, we have studied curves as the graphs of functions or equations involving the two variables x and y. Another

More information

MCE 366 System Dynamics, Spring Problem Set 2. Solutions to Set 2

MCE 366 System Dynamics, Spring Problem Set 2. Solutions to Set 2 MCE 366 System Dynamics, Spring 2012 Problem Set 2 Reading: Chapter 2, Sections 2.3 and 2.4, Chapter 3, Sections 3.1 and 3.2 Problems: 2.22, 2.24, 2.26, 2.31, 3.4(a, b, d), 3.5 Solutions to Set 2 2.22

More information

Lecture 6, September 1, 2017

Lecture 6, September 1, 2017 Engineering Mathematics Fall 07 Lecture 6, September, 07 Escape Velocity Suppose we have a planet (or any large near to spherical heavenly body) of radius R and acceleration of gravity at the surface of

More information

Chapter 14 Periodic Motion

Chapter 14 Periodic Motion Chapter 14 Periodic Motion 1 Describing Oscillation First, we want to describe the kinematical and dynamical quantities associated with Simple Harmonic Motion (SHM), for example, x, v x, a x, and F x.

More information

Chapter 10 Notes: Lagrangian Mechanics

Chapter 10 Notes: Lagrangian Mechanics Chapter 10 Notes: Lagrangian Mechanics Thus far we have solved problems by using Newton s Laws (a vector approach) or energy conservation (a scalar approach.) In this chapter we approach the subject in

More information

ENGI Partial Differentiation Page y f x

ENGI Partial Differentiation Page y f x ENGI 344 4 Partial Differentiation Page 4-0 4. Partial Differentiation For functions of one variable, be found unambiguously by differentiation: y f x, the rate of change of the dependent variable can

More information

Lecture 19: Calculus of Variations II - Lagrangian

Lecture 19: Calculus of Variations II - Lagrangian Lecture 19: Calculus of Variations II - Lagrangian 1. Key points Lagrangian Euler-Lagrange equation Canonical momentum Variable transformation Maple VariationalCalculus package EulerLagrange 2. Newton's

More information

Computational Physics (6810): Session 8

Computational Physics (6810): Session 8 Computational Physics (6810): Session 8 Dick Furnstahl Nuclear Theory Group OSU Physics Department February 24, 2014 Differential equation solving Session 7 Preview Session 8 Stuff Solving differential

More information

Solution Set Five. 2 Problem #2: The Pendulum of Doom Equation of Motion Simple Pendulum Limit Visualization...

Solution Set Five. 2 Problem #2: The Pendulum of Doom Equation of Motion Simple Pendulum Limit Visualization... : Solution Set Five Northwestern University, Classical Mechanics Classical Mechanics, Third Ed.- Goldstein November 4, 2015 Contents 1 Problem #1: Coupled Mass Oscillator System. 2 1.1 Normal Modes.......................................

More information

Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3.12 in Boas)

Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3.12 in Boas) Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3 in Boas) As suggested in Lecture 8 the formalism of eigenvalues/eigenvectors has many applications in physics, especially in

More information