Calculus of Variations

Similar documents
MTH 234 Exam 1 February 20th, Without fully opening the exam, check that you have pages 1 through 11.

Without fully opening the exam, check that you have pages 1 through 11.

MTH 234 Exam 2 November 21st, Without fully opening the exam, check that you have pages 1 through 12.

Math 122 Test 3. April 17, 2018

Math 106 Answers to Exam 3a Fall 2015

Prelim 1 Solutions V2 Math 1120

MA 113 Calculus I Fall 2012 Exam 3 13 November Multiple Choice Answers. Question

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

Grade: The remainder of this page has been left blank for your workings. VERSION D. Midterm D: Page 1 of 12

Without fully opening the exam, check that you have pages 1 through 11.

MA162 EXAM III SPRING 2017 APRIL 11, 2017 TEST NUMBER 01 INSTRUCTIONS:

Please do not start working until instructed to do so. You have 50 minutes. You must show your work to receive full credit. Calculators are OK.

Without fully opening the exam, check that you have pages 1 through 11.

MTH 133 Solutions to Exam 2 April 19, Without fully opening the exam, check that you have pages 1 through 12.

Calculus II - Fall 2013

Math Makeup Exam - 3/14/2018

MATH 251 Final Examination August 14, 2015 FORM A. Name: Student Number: Section:

Without fully opening the exam, check that you have pages 1 through 12.

MLC Practice Final Exam

Exercises for Multivariable Differential Calculus XM521

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER AND RECITATION INSTRUCTOR:

Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number:

Principles of Optimal Control Spring 2008

Multiple Choice Answers. MA 114 Calculus II Spring 2013 Final Exam 1 May Question

Page Points Score Total: 210. No more than 200 points may be earned on the exam.

Without fully opening the exam, check that you have pages 1 through 12.

Without fully opening the exam, check that you have pages 1 through 12.

MA EXAM 2 INSTRUCTIONS VERSION 01 March 9, Section # and recitation time

Calculus of Variations Summer Term 2014

Midterm 1 - Data. Overall (all sections): Average Median Std dev Section 80: Average Median Std dev 14.

Review all the activities leading to Midterm 3. Review all the problems in the previous online homework sets (8+9+10).

Math 162: Calculus IIA

Math 234 Final Exam (with answers) Spring 2017

Without fully opening the exam, check that you have pages 1 through 11.

CS412: Introduction to Numerical Methods

Without fully opening the exam, check that you have pages 1 through 10.

Math 122 Test 3. April 15, 2014

Math 251 Midterm II Information Spring 2018

Without fully opening the exam, check that you have pages 1 through 10.

Solutions to Homework 7

Spring /07/2017

1. (4 % each, total 20 %) Answer each of the following. (No need to show your work for this problem). 3 n. n!? n=1


. Section: Your exam contains 4 problems. The entire exam is worth 60 points.

MATH 1207 R02 MIDTERM EXAM 2 SOLUTION

Optimisation and optimal control 1: Tutorial solutions (calculus of variations) t 3

Print Your Name: Your Section:

Math 180, Exam 2, Practice Fall 2009 Problem 1 Solution. f(x) = arcsin(2x + 1) = sin 1 (3x + 1), lnx

MA EXAM 3 INSTRUCTIONS VERSION 01 April 14, Section # and recitation time

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

Introduction to the Calculus of Variations

Exam 4 SCORE. MA 114 Exam 4 Spring Section and/or TA:

Solutions to Math 41 Second Exam November 5, 2013

Give your answers in exact form, except as noted in particular problems.

Solutions to old Exam 3 problems

y = x 3 and y = 2x 2 x. 2x 2 x = x 3 x 3 2x 2 + x = 0 x(x 2 2x + 1) = 0 x(x 1) 2 = 0 x = 0 and x = (x 3 (2x 2 x)) dx

Without fully opening the exam, check that you have pages 1 through 11.

May 9, 2018 MATH 255A Spring Final Exam Study Guide. Types of questions

Q1 Q2 Q3 Q4 Tot Letr Xtra

Math 10C - Fall Final Exam

MA 126 CALCULUS II Wednesday, December 14, 2016 FINAL EXAM. Closed book - Calculators and One Index Card are allowed! PART I

MA 113 Calculus I Fall 2015 Exam 3 Tuesday, 17 November Multiple Choice Answers. Question

MA CALCULUS II Friday, December 09, 2011 FINAL EXAM. Closed Book - No calculators! PART I Each question is worth 4 points.

STAT 516 Midterm Exam 3 Friday, April 18, 2008

Math 266, Midterm Exam 1


Spring 2017 Midterm 1 04/26/2017

Review for the Final Exam

Math 115 Practice for Exam 2

Math 321 Final Exam. 1. Do NOT write your answers on these sheets. Nothing written on the test papers will be graded.

Math 41 Final Exam December 9, 2013

MA 126 CALCULUS II Wednesday, December 10, 2014 FINAL EXAM. Closed book - Calculators and One Index Card are allowed! PART I

Problem Out of Score Problem Out of Score Total 45

Direction of maximum decrease = P

10550 PRACTICE FINAL EXAM SOLUTIONS. x 2 4. x 2 x 2 5x +6 = lim x +2. x 2 x 3 = 4 1 = 4.

Final exam (practice) UCLA: Math 31B, Spring 2017

MATH20411 PDEs and Vector Calculus B

Without fully opening the exam, check that you have pages 1 through 12.

Parametric Curves. Calculus 2 Lia Vas

Math 42: Fall 2015 Midterm 2 November 3, 2015

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

MTH 133 Solutions to Exam 2 November 15, Without fully opening the exam, check that you have pages 1 through 13.

SCORE. Exam 3. MA 114 Exam 3 Fall 2016

Faculty of Engineering, Mathematics and Science School of Mathematics

RED. Math 113 (Calculus II) Final Exam Form A Fall Name: Student ID: Section: Instructor: Instructions:

APPM 2350, Summer 2018: Exam 1 June 15, 2018

Algebra 2 CP Semester 1 PRACTICE Exam

MA 113 Calculus I Fall 2015 Exam 1 Tuesday, 22 September Multiple Choice Answers. Question

Math 113 Winter 2005 Key

MA EXAM 3 INSTRUCTIONS VERSION 01 April 18, Section # and recitation time

MATH 32A: MIDTERM 2 REVIEW. sin 2 u du z(t) = sin 2 t + cos 2 2

Test 2 - Answer Key Version A

MTH 132 Solutions to Exam 2 November 21st, Without fully opening the exam, check that you have pages 1 through 11.

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

Friday 09/15/2017 Midterm I 50 minutes

Math 31A Differential and Integral Calculus. Final

MATH 228: Calculus III (FALL 2016) Sample Problems for FINAL EXAM SOLUTIONS

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) (a) (b) (c) (d) (e)...

MA 113 Calculus I Fall 2016 Exam 3 Tuesday, November 15, True/False 1 T F 2 T F 3 T F 4 T F 5 T F. Name: Section:

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Transcription:

ECE 68 Midterm Exam Solution April 1, 8 1 Calculus of Variations This exam is open book and open notes You may consult additional references You may even discuss the problems (with anyone), but you must prepare and turn in your own solutions, and give credit where credit is due as explained in the course information sheet on the course website If you consult additional references, please use the notation used in our textbook when you write your solution, to show that you ve understood as opposed to just reproduced the method Please apply the methods from the Calculus of Variations section to solve the following problems (and justify your answers) Justification includes stating all assumptions that you make in applying the methods, and showing all of the steps involved Let p 1, p and p 3 be the first three nonzero digits of your university ID number Please do not write your entire ID number on your solution 1 Fairly routine problems: (a) Find the extremal of J 1 = subject to x(1) = and x(p 1 ) = 3 1 ẋ t 3 dt (b) Find the extremal of J 1 subject to x(1) = and x(t 1 ) lies on the curve x(t) = t p (c) Find the curve x(t) on the interval t [, p 1 ] that minimizes J = (ẋ 1) x dt subject to x(p 1 ) = p 3 (d) Find the curve x(t) on the interval t [, ] that minimizes J x() = p subject to An isoperimetric problem: Find the curve x(t) of length π on the interval t [, p 3 ] such that J = xdt is maximized (You ll need to characterize the constraint on the length of the curve and use Lagrange multipliers and find the appropriate necessary condition for the curve to satisfy)

ECE 68 Midterm Exam Solution April 1, 8 Problem 1 (a) Solution Find the extremal of subject to x(1) = and x(p 1 ) = 3 Solution: Our cost is of the form J 1 = 1 ẋ t 3 dt J 1 = t1 t F (t, x, ẋ)dt with fixed endpoints x(t ) = x and x(t 1 ) = x 1, so we apply the Euler-Lagrange equation F x d dt F ẋ = The partial derivative of F (t, x, ẋ) with respect to x is zero The partial derivative of F (t, x, ẋ) with respect to ẋ is Fẋ = ẋt 3 Thus the Euler-Lagrange equation gives or, for some constant c, that d dt F ẋ = 3ẋt =, ẋt 3 = c Applying the technique of separation of variables we obtain the differential equation ẋ = c t 3 or dx = c t 3 dt Integrating both sides of this last equation from t = 1 to t = p 1 we obtain thus Solving for c in terms of p 1 yields x(p 1 ) x(1) = c ( 1 p 1 ( ) 1 p 3 = c 1 c = ( 6p 1 1 p 1 ) p 1 1 1 ) = 6p 1 p 1 1

ECE 68 Midterm Exam Solution April 1, 8 3 The extremal of the cost function is then obtained by evaluating the indeterminate integral x(t) x dy = t t c s 3 ds Performing this integration we obtain x(t) = c ( ) 1 t t where c is given in terms of the value p 1 above, or equivalently ( ) ( ) 3p x(t) = 1 1 t p 1 1 t Problem 1 (b) Solution Find the extremal of J 1 = subject to x(1) = and x(t 1 ) lies on the curve Solution: As in part (a) we have 1 ẋ t 3 dt, g(t) = t p F = ẋ t 3, (1) F x = and () Fẋ = ẋt 3 (3) We are using the same cost as in part (a), but now only one of the endpoints is fixed and the other is constrained to lie on the curve g(t) = t p The extremum must still satisfy the Euler-Lagrange equation, so we obtain the same function x(t) = c(t 1) as in part (a) Since we don t have a fixed right endpoint; however, we cannot use simple integration to find the value of c as we did c in part (a) Instead, we apply the transversality constraint (F + (ġ ẋ)fẋ) t=t1 = (4) Since ẋ(t) = ct 3 and ġ(t) = 4t 3,

ECE 68 Midterm Exam Solution April 1, 8 4 we simplify (4) to obtain Thus c {, 4} = ẋ t 3 t=t1 + t 3 ( c )ẋt 3 t=t1 (5) = t 3 1( ct 3 1 ) + 4( c )( ct 3 1 ) (6) = 4t 3 1 c( c + 4) (7) If c were zero we would have x(t) = t [1, t 1 ] This can be true only if zero lies on the curve defined by g(t) That would require g(t 1 ) = t 1 p =, in which case t 1 = p If, on the other hand, c = 4, then Solving for t 1 we obtain x(t) = 4(t 1) x(t 1 ) = 4(t 1 1) = t 3 1 p = g(t 1 ), t 1 = 4 p Of course this solution works only if p {1,, 3} so those whose p value was not in that set had to choose the option x(t) = t and t 1 = p Problem 1 (c) Solution Find the curve x(t) on the interval t [, p 1 ] that minimizes subject to x(p 1 ) = p 3 J = (ẋ 1) x dt Solution: In this problem, we have one fixed end, x(p 1 ) = p 3 and one free end at t = This is the opposite case from that done in the textbook However, if we repeat the derivation applied in the textbook for this case, we find that the conditions on the extremal are 1 the Euler-Lagrange Equation F x d dt F ẋ =, the transversality condition (F ẋfẋ) t=t =, and

ECE 68 Midterm Exam Solution April 1, 8 5 3 the transversality condition Fẋ t=t = These look very similar to the transversality conditions obtained when the fixed point is at the other end All that s changed is where we evaluate the expresssions Now we must compute F, F x and Fẋ We have the following: Applying the Euler-Lagrange equation we have Applying the chain rule yields which simplifies to F = (ẋ 1) x, (8) F x = x(ẋ 1), and (9) Fẋ = (ẋ 1)x (1) x(ẋ 1) d dt ((ẋ 1)x ) = x(ẋ 1) d dx ((ẋ 1)x ) dx dt d dẋ ((ẋ 1)x ) dẋ dt =, x(ẋ ẋ + 1) 4x(ẋ 1)ẋ x ẍ = Obviously x(t) = t [, p 1 ] is a solution of this differential equation, but since x(p 1 ) = p 3, this solution does not satisfy the conditions on the function x(t) Factoring out x and simplifying we obtain ẋ 1 + xẍ = This can be solved by separation of variables Since we obtain by integrating, Let c = (xẋ)() Then we can integrate ẋ + xẍ = d dt (xẋ), t = (xẋ)(t) (xẋ)() (t c)dt = xdx to obtain This gives us one equation (s / cs) s=t = s= x (t) x () x (t) x () = t(t c) (11)

ECE 68 Midterm Exam Solution April 1, 8 6 in two unknowns x() and c Luckily we have the transversality conditions to work with Starting with the second one we have Fẋ t= = (ẋ() 1)x () =, which requires either x() = or ẋ() = 1 If x() = then (11) becomes x (t) = ( c) = (1) We already showed that this did not hold, so ẋ() = 1 Then c = x() We can solve for the value of x () by examining the right endpoint where x(p 1 ) = p 3 We have that x () = p 3 p 1(p 1 + x()), (13) which is quadratic in x() Solving yields that x() = p 1± 4p 3 p 1 Thus we need p 1 < p 3 Providing this holds, we then have with x() as above t(t + x()) x(t) = + x () (14) Problem 1 (d) Solution Find the curve x(t) on the interval t [, ] that minimizes J subject to x() = p Solution: Due to a typographical error, this is actually the same problem as 1(d) with different terminal condition Figuring that the exam had turned out to be quite long enough as it was, I chose not to fix the typo Substituting for p 1 and p for p 3 in the solution to 1(c) yields t(t + x()) x(t) = + x () (15) where x() = 1 ± (p 1) We see that we need p > 1 Problem (Isoperimetric Problem) Solution An isoperimetric problem: Find the curve x(t) of length π on the interval t [, p 3 ] such that J = xdt

ECE 68 Midterm Exam Solution April 1, 8 7 is maximized Solution: The length of the curve is γ = 1 + ẋ dt (16) Applying the method of Lagrange multipliers, we seek an extremal of so J = x + λ 1 + ẋ dt (17) F = x + λ 1 + ẋ, (18) F x = 1, and (19) Fẋ = 1 λẋ 1 + ẋ () The Euler Lagrange Equation is then 1 d λẋ dt 1 + ẋ (1) so or λẋ(t) 1 + ẋ (t) 1 λẋ() = t () + ẋ () λẋ(t) 1 + ẋ (t) = t + c (3) Then resolving the square root we obtain λ ẋ = (t + c) (1 + ẋ ) (4) Solving for ẋ we obtain Integrating both sides of yields ẋ = dx = x(t) x() = (t + c) λ (t + c) (5) (t + c) dt (6) λ (t + c) λ (t + c) (7)

ECE 68 Midterm Exam Solution April 1, 8 8 or (x(t) + d) = λ (t + c) Thus, the solution is a circular arc of length π and radius λ centered at (t, x) = ( c, d) where c and d are given in terms of the initial values x() and ẋ() Thus we have two unknowns that would have to be specified in order to determine the center of the circle Now to find the value of λ, we note that 1 + ẋ (t)dt = = = +c c = sin 1 p 3 + c λ λ (t + c) + (t + c) λ (t + c) dt (8) λ dt (9) λ (t + c) λ λ ( t) d t (3) sin 1 c λ = π (31) This is satisfied if we take p 3 + c = c or c = p 3 / and λ = ±c = p 3 /