Calculus of Variations Summer Term 2014

Similar documents
Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2016

Calculus of Variations Summer Term 2016

Calculus of Variations Summer Term 2015

Calculus of Variations Summer Term 2015

Variational Methods and Optimal Control

Calculus of Variations Summer Term 2014

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

Introduction to the Calculus of Variations

THEODORE VORONOV DIFFERENTIAL GEOMETRY. Spring 2009

Physics 351, Spring 2017, Homework #4. Due at start of class, Friday, February 10, 2017

Calculus of Variation An Introduction To Isoperimetric Problems

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

minimize x subject to (x 2)(x 4) u,

Calculus of Variations Summer Term 2014

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.

VARIATIONAL PRINCIPLES

Taylor Series and stationary points

PDE and Boundary-Value Problems Winter Term 2014/2015

Principles of Optimal Control Spring 2008

Advanced Dynamics. - Lecture 4 Lagrange Equations. Paolo Tiso Spring Semester 2017 ETH Zürich

Appendix to Lecture 2

Variational Principles

Lagrangian for Central Potentials

PDE and Boundary-Value Problems Winter Term 2014/2015

Physics 351, Spring 2015, Homework #7. Due at start of class, Friday, March 3, 2017

Chapter 4. Motion in two and three dimensions

Physics 351, Spring 2015, Homework #7. Due at start of class, Friday, March 6, 2015

Lecture 13 - Wednesday April 29th

Math 265H: Calculus III Practice Midterm II: Fall 2014

THE BRACHISTOCHRONE CURVE: THE PROBLEM OF QUICKEST DESCENT

2t t dt.. So the distance is (t2 +6) 3/2

Maxima and Minima. (a, b) of R if

Lecture 6, September 1, 2017

(Most of the material presented in this chapter is taken from Thornton and Marion, Chap. 6)

MAC 2311 Calculus I Spring 2004

Calculus of Variations

Lecture Notes for PHY 405 Classical Mechanics

YET ANOTHER ELEMENTARY SOLUTION OF THE BRACHISTOCHRONE PROBLEM

Math 113 Final Exam Practice

Hamiltonian. March 30, 2013

Marion and Thornton. Tyler Shendruk October 1, Hamilton s Principle - Lagrangian and Hamiltonian dynamics.

Isometric elastic deformations

Engg. Math. I. Unit-I. Differential Calculus

Section Taylor and Maclaurin Series

P321(b), Assignement 1

Math 234 Final Exam (with answers) Spring 2017

McGill University April Calculus 3. Tuesday April 29, 2014 Solutions

JUST THE MATHS UNIT NUMBER INTEGRATION APPLICATIONS 10 (Second moments of an arc) A.J.Hobson

A motion planner for nonholonomic mobile robots

Exam Question 6/8 (HL/OL): Circular and Simple Harmonic Motion. February 1, Applied Mathematics: Lecture 7. Brendan Williamson.

Periodic Solutions Averaging Methods in Nonlinear Ordinary Differential Equations

1 Motion of a single particle - Linear momentum, work and energy principle

Properties of surfaces II: Second moment of area

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

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

Solutions to old Exam 3 problems

1. The accumulated net change function or area-so-far function

This is example 3 on page 44 of BGH and example (b) on page 66 of Troutman.

S. Ghorai 1. Lecture IV Linear equations, Bernoulli equations, Orthogonal trajectories, Oblique trajectories. (p(x)y r(x))dx + dy = 0.

The integrating factor method (Sect. 1.1)

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

The Inverted Pendulum

Generalized Coordinates, Lagrangians

Lecture 8: Ch Sept 2018

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

Definition of differential equations and their classification. Methods of solution of first-order differential equations

General Relativity and Cosmology. The End of Absolute Space Cosmological Principle Black Holes CBMR and Big Bang

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

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

YURI LEVIN, MIKHAIL NEDIAK, AND ADI BEN-ISRAEL

Coordinates, phase space, constraints

MAC Calculus II Spring Homework #6 Some Solutions.

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

Definite integrals. We shall study line integrals of f (z). In order to do this we shall need some preliminary definitions.

The Principle of Least Action

Derivatives and Integrals

Practice Midterm 2 Math 2153

MAT 211 Final Exam. Spring Jennings. Show your work!

Math 162: Calculus IIA

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

7.1 Indefinite Integrals Calculus

Coordinates, phase space, constraints

worked out from first principles by parameterizing the path, etc. If however C is a A path C is a simple closed path if and only if the starting point

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

49. Green s Theorem. The following table will help you plan your calculation accordingly. C is a simple closed loop 0 Use Green s Theorem

Higher Mathematics Course Notes

Physics 2514 Lecture 22

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

4 Partial Differentiation

C2 Differential Equations : Computational Modeling and Simulation Instructor: Linwei Wang

Change of Variables: Indefinite Integrals

HW 3 Solution Key. Classical Mechanics I HW # 3 Solution Key

Calculus III. Math 233 Spring Final exam May 3rd. Suggested solutions

PH 2213 : Chapter 05 Homework Solutions

Physics 6303 Lecture 22 November 7, There are numerous methods of calculating these residues, and I list them below. lim

Lagrange Multipliers

3 Applications of partial differentiation

Lecture Wise Questions from 23 to 45 By Virtualians.pk. Q105. What is the impact of double integration in finding out the area and volume of Regions?

Transcription:

Calculus of Variations Summer Term 2014 Lecture 9 23. Mai 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 1 / 23

Purpose of Lesson Purpose of Lesson: To consider several problems with inequality constraints c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 2 / 23

6. Inequality constraints c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 3 / 23

We have considered problems with integral constraints (Dido s problem) holonomic constraints (geodesics formulation) non-holonomic constraints (problems with higher derivatives) But we have not considered inequality constraints c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 4 / 23

Example: parking a car Example 9.1: parking a car Consider the following classic problem: We want to drive a car/tank from point A to point B as quickly as possible, and at point B the car should be stationary. B A c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 5 / 23

Example: parking a car Remark Parking a car seems like a trivial problem: in fact this problem appears in other contexts, e.g. automatic positioning of components on a circuit board has to be done frequently (so has to be fast) speed limited by robot, and how delicate the components are shortest-time problems are a case of a more general type of problem as well. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 6 / 23

Example: parking a car http://www.expo21xx.com/automation77/news/2085 robot mitsubishi/news default.htm c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 7 / 23

Example: parking a car Example 9.1: parking a car (cont.) We want to drive a car/tank from point A to point B as quickly as possible, and at point B the car should be stationary. Newton s law force = u = mẍ Choose force u that minimizes the time subject to ẋ = 0 at t = 0 and t = T, where T is not specified, but rather given by T [u] = and it is the functional we wish to minimize. B A dt c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 8 / 23

Example: parking a car Example 9.1: parking a car (cont.) Note that ẋ(t) = dx dt is the car s velocity, so we can write T [x] = B A dt = x B x A 1 ẋ dx We wish to minimize this functional, subject to the DE constraint that ẍ = u(t) m where u(t) is the force that we exert, and also subject to ẋ(0) = ẋ(t ) = 0 i.e., the car is stationary at the start and finish. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 9 / 23

Example: parking a car Example 9.1: parking a car (cont.) Take y = ẋ, and we can rewrite the problem as minimize T [y] = B A dt = x B x A 1 y dx We wish to minimize this extremal, subject to the DE constraint that ẏ = u(t) m where u(t) is the control that we exert, and also subject to y(x A ) = y(x B ) = 0. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 10 / 23

Example: parking a car Example 9.1: parking a car (cont.) Including the non-holonomic constraint into the problem using a Lagrange multiplier we get subject to H[y, u] = x B x A [ ( 1 y + λ ẏ u(t) )] dx m y(x A ) = y(x B ) = 0. The Euler-Lagrange equations are d h dt ẏ h y = 0 d h dt u h u = 0 c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 11 / 23

Example: parking a car Example 9.1: parking a car (cont.) d dt λ + 1 y 2 = 0 λ m = 0 From the second equation λ = 0, and so we see that the only viable solutions are y = ± c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 12 / 23

Example: parking a car Example 9.1: parking a car (cont.) Euler-Lagrange solutions: solutions are y = ± this requires u = ± at some points in time but in reality we can t exert infinite force i.e., force is bounded u u max need to consider optimizing functionals with inequality constraints. similar (in some respects) to min / max functions with inequality constraints min / max is in the interior, or on the boundary c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 13 / 23

Example: a shortest path around lake Example 9.2: the shortest path What is the shortest path, between A and B, avoiding an obstacle. E.G. what is the shortest path around a lake? B A c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 14 / 23

Example: a shortest path around lake Example 9.2: the shortest path (cont.) Find extremals J[y] = x 1 f (x, y, y )dx x 0 sublect to y(0) = y 0 and y(1) = y 1 and y(x) g(x). Enforce the constraint by taking y(x) = g(x) + z 2 (x) In other words introduce a slack function z(x), and note that y(x) g(x) = z 2 (x) 0. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 15 / 23

Example: a shortest path around lake Example 9.2: the shortest path (cont.) We have slack function z(x), and constraint y(x) g(x) and y = z 2 + g y = 2zz + g Substitute these into the functional and we can change the original functional J[y] for a new one in terms of J[z] J[y] = J[z] = x 1 x 0 x 1 x 0 f (x, y, y )dx f (x, z 2 + g, 2zz + g )dx c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 16 / 23

Example: a shortest path around lake Example 9.2: the shortest path (cont.) Given we look for the extremals of J[z] = x 1 The Euler-Lagrange equations are 2z d dx d dx f y x 0 f (x, z 2 + g, 2zz + g )dx d dx [ 2z f ] y 2z f y f 2z + 2z f y z y [ d dx f z f z = 0 2z f y = 0 f 2z y = 0 f y f ] = 0 y c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 17 / 23

Example: a shortest path around lake Example 9.2: the shortest path (cont.) The Euler-Lagrange equations give [ d f z dx y f ] = 0 y for which there are two solutions Euler areas: The Euler-Lagrange equations are satisfied Boundary areas: z(x) = 0, so y(x) = g(x) and the curve lies on the boundary Analogy: a global minima of function on an interval can happen at stationary point, or at the edges. But we can mix the two along the curve y. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 18 / 23

Example: a shortest path around a circular lake Example 9.3: a shortest path around a circular lake To find the shortest path around a circular lake (radius a, centered at the origin), between the points (b, 0) and ( b, 0) (for b > a). The conditions are Euler areas: The Euler-Lagrange equations are satisfied, so the curve is a straight line. Boundary areas: z(x) = 0, so y(x) = g(x) and the curve lies on the boundary of the circle. We can mix the two along the curve y. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 19 / 23

Example: a shortest path around a circular lake Example 9.3: a shortest path around a circular lake (cont.) Given the conditions, the solution must look like P - b a θ b i.e. straight lines joining the end- points to a circular arc, where P, the point of intersec7on of the right- hand straight- line, and the circle is at ( acos(ϑ), asin(ϑ) ) c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 20 / 23

Example: a shortest path around a circular lake Example 9.3: a shortest path around a circular lake (cont.) The total distance of such a line is d(ϑ) = 2 (b a cos ϑ) 2 + a 2 sin 2 ϑ + a (π 2ϑ) = 2 b 2 2ab cos ϑ + a 2 + a (π 2ϑ) We find the minimum of d(ϑ), by differentiating WRT ϑ, to get d (ϑ) = = 0 2ab sin ϑ b 2 2ab cos ϑ + a 2 2a So, 2ab sin ϑ = 2a b 2 2ab cos ϑ + a 2. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 21 / 23

Example: a shortest path around a circular lake Example 9.3: a shortest path around a circular lake (cont.) Dividing both sides by 2a we get the condition b sin ϑ = b 2 2ab cos ϑ + a 2 b 2 sin 2 ϑ = b 2 2ab cos ϑ + a 2 b 2 b 2 cos 2 ϑ = b 2 2ab cos ϑ + a 2 0 = b 2 cos 2 ϑ 2ab cos ϑ + a 2 0 = (b cos ϑ a) 2 So the result is cos ϑ = a b c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 22 / 23

Example: a shortest path around a circular lake Example 9.3: a shortest path around a circular lake (cont.) P - b a θ b Think of what we would get if we stretch an elas4c band between the two points. c Daria Apushkinskaya 2014 () Calculus of variations lecture 9 23. Mai 2014 23 / 23