Calculus of Variations Summer Term 2016

Size: px
Start display at page:

Download "Calculus of Variations Summer Term 2016"

Transcription

1 Calculus of Variations Summer Term 2016 Lecture 12 Universität des Saarlandes 17. Juni 2016 c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

2 Purpose of Lesson Purpose of Lesson: To discuss numerical solutions of the variational problems To introduce Euler s Finite Difference Method and Ritz s Method. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

3 10. Numerical Solutions c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

4 : Numerical Solutions The Euler-Lagrange equations may be hard to solve. Natural response is to find numerical methods. 1 Numerical solution of the Euler-Lagrange equations We won t consider these here (see other courses) 2 Euler s finite difference method 3 Ritz (Rayleigh-Ritz) In 2D: Kantorovich s method c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

5 Euler s Finite Difference Method Euler s Finite Difference Method We can approximate our function (and hence the integral) onto a finite grid. In this case, the problem reduces to a standard multivariable maximization (or minimization) problem, and we find the solution by setting the derivatives to zero. In the limit as the grid gets finer, this approximates the Euler-Lagrange equations. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

6 Numerical Approximation Numerical approximation of integrals: use an arbitrary set of mesh points a = x 0 < x 1 < x 2 < < x n = b. approximate rectangle rule y (x i ) = y i+1 y i x i+1 x i = y i x i J[y] = b a n 1 F(x, y, y )dx F i=0 ( x i, y i, y ) i x i = x Ĵ[y] i Ĵ[ ] is a function of the vector y = (y 0, y 1, y 2,..., y n ). c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

7 Finite Difference Method (FDM) Finite Difference Method (FDM) Treat this as a maximization of a function of n + 1 variables, so that we require J y i = 0 for all i = 0, 1, 2,..., n. Typically use uniform grid so x i = x = b a n. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

8 Simple Example Example 12.1 Find extremals for J[y] = with y(0) = 0 and y(1) = [ 1 2 y ] 2 y 2 y dx The Euler-Lagrange equation y y = 1. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

9 Simple Example: direct solution Example 12.1 (direct solution) E-L equation: y y = 1 Solution to homogeneous equation y y = 0 is given by e λx giving characteristic equation so λ = ±1 Particular solution y = 1. λ 2 1 = 0, Final solution is y(x) = Ae x + Be x + 1. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

10 Simple Example: direct solution Example 12.1 (direct solution) The boundary conditions y(0) = y(1) = 0 constrain A + B = 1 Ae + Be 1 = 1 so A = 1 e e 2 1 and B = e e2 e 2 1. Then the exact solution to the extremal problem is y(x) = 1 e e 2 1 ex + e e2 e 2 1 e x + 1. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

11 Simple Example: Euler s FDM Example 12.1 (Euler s FDM) Find extremals for Euler s FDM: J[y] = 1 0 [ 1 2 y ] 2 y 2 y dx Take the grid x i = i/n, for i = 0, 1,..., n so So end points y 0 = 0 and y n = 0 x = 1/n and y i = y i+1 y i. y i = y i / x = n(y i+1 y i ) and y 2 i = n 2 ( y 2 i 2y i y i+1 + y 2 i+1). c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

12 Simple Example: Euler s FDM Example 12.1 (Euler s FDM) Find extremals for J[y] = Its FDM approximation is 1 n 1 J[y] = F (x i, y i, y i )dx = = i=0 n 1 i=0 n 1 i=0 0 [ 1 2 y ] 2 y 2 y dx 1 ( ) ( ) 2 n2 yi 2 2y i y i+1 + yi+1 2 x + yi 2 /2 y i x 1 ( ) 2 n yi 2 2y i y i+1 + yi y 2 i /2 y i n. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

13 Simple Example: end-conditions Example 12.1 (end-conditions) We know the end conditions y(0) = y(1) = 0, which imply that y 0 = y n = 0. Include them into the objective using Lagrange multipliers H[y] = n 1 i=0 1 ( ) 2 n yi 2 2y i y i+1 + yi y i 2 /2 y i n + λ 0 y 0 + λ n y n. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

14 Simple Example: Euler s FDM Example 12.1 (Euler s FDM) Taking derivatives, note that y i only appears in two terms of the FDM approximation H[y] = H[y] y i = n 1 i=0 1 ( ) 2 n yi 2 2y i y i+1 + yi y i 2 /2 y i n + λ 0 y 0 + λ n y n n(y 0 y 1 ) + y λ 0 for i = 0 n n(2y i y i+1 y i 1 ) + y i /n 1/n for i = 1,..., n 1 n(y n y n 1 ) + λ n for i = n We need to set the derivatives to all be zero, so we now have n + 3 linear equations, including y 0 = y n = 0, and n + 3 variables including the two Lagrange multipliers. We can solve this system numerically using, e.g., Maple. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

15 Simple Example: Euler s FDM Example 12.1 (Euler s FDM) Example: n = 4, solve where A = Az = b and b = (0.00, 0.25, 0.25, 0.25, 0.25, 0.00, 0.00) T c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

16 Simple Example: Euler s FDM Example 12.1 (Euler s FDM) First n + 1 terms of z give y Last two terms of z give the Lagrange multipliers λ 0 and λ n. Solving the system we get for n = 4 y 1 = y 3 = , y 2 = c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

17 Simple Example: results Example 12.1 (results) c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

18 Simple Example: results Example 12.1 (results) c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

19 Convergence of Euler s FDM Convergence of Euler s FDM n 1 Ĵ[y] = F i=0 Only two terms in the sum involve y i, so Ĵ y i = ( F y i = 1 F x y + F y i i ( x i, y i, y ) i x and y i = y i+1 y i x i x i 1, y i 1, y i 1 x ( x i 1, y i 1, y i 1 x ( x i, y i, y i x = F F (x i, y i, y i y ) y i i ) 1 x ( ) + F y ) i ( x i, y i, y ) i x ( F y i x i, y i, y i x ( x i, y i, y i x ) F y i x ) x i 1, y i 1, y i 1 x ) c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

20 Convergence of Euler s FDM Convergence of Euler s FDM Ĵ y i = F y i (x i, y i, y ( F i ) y i x i, y i, y i x ) ( F y i x x i 1, y i 1, y i 1 x ) = 0. In limit n, then x 0, and so we get F y d ( ) F dx y = 0 which are the Euler-Lagrange equations. i.e., the finite difference solution converges to the solution of the Euler-Lagrange equations. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

21 Comments Remarks There are lots of ways to improve Euler s FDM use a better method of numerical quadrature (integration) trapezoidal rule Simpson s rule Romberg s method use a non-uniform grid make it finer where there is more variation We can use a different approach that can be even better. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

22 Ritz s Method Numerical Solutions Ritz s Method In Ritz s method (called Kantorovich s method where there is more than one independent variable), we approximate our functions (the extremal in particular) using a family of simple functions. Again we can reduce the problem into a standard multivariable maximization problem, but now we seek coefficients for our approximation. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

23 Ritz s Method Assume we can approximate y(x) by y(x) = φ 0 (x) + c 1 φ 1 (x) + c 2 φ 2 (x) + + c n φ n (x) where we choose a convenient set of functions φ j (x) and find the values of c j which produce an extremal. For fixed end-points problem: Choose φ 0 (x) to satisfy the end conditions. Then φ j (x 0 ) = φ j (x 1 ) = 0 for j = 1, 2,..., n The φ can be chosen from standard sets of functions, e.g. power series, trigonometric functions, Bessel s functions, etc. (but must be linearly independent). c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

24 Ritz s Method Select { φ j } n j=0 Approximate y n (x) = φ 0 (x) + c 1 φ 1 (x) + c 2 φ 2 (x) + + c n φ n (x) Approximate J[y] J[y n ] = F(x, y n, y n)dx. x 0 x 1 Integrate to get J[y n ] = J n (c 1, c 2,..., c n ). J n is a known function of n variables, so we can maximize (or minimize) it as usual by J n c i = 0 for all i = 1, 2,..., n. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

25 Upper Bounds Assume the extremal of interest is a minimum, then for the extremal J[y] < J[ŷ] for all ŷ within the neighborhood of y. Assume our approximating function y n is close enough to be in that neighborhood, then J[y] J[y n ] = J n [c] so the approximation provides an upper bound on the minimum J[y]. Another way to think about it is that we optimize on a smaller set of possible functions y, so we can t get quite as good a minimum. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

26 Simple Example-2 Application of the Ritz method: Example 12.1a Find extremals for J[y] = with y(0) = 0 and y(1) = [ 1 2 y ] 2 y 2 y dx The Euler-Lagrange equation y y = 1, but we shall bypass the Euler-Lagrange equation to use Ritz s method. y n (x) = φ 0 (x) + n c i φ i (x) i=1 where we take φ 0 (x) = 0 and φ i (x) = x i (1 x) i. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

27 Simple Example-2 Example 12.1a Simple approximation y 1 = c 1 φ 1 (x) we get J 1 [c 1 ] = J[y 1 ] = 1 0 [ 1 2 c2 1 φ c2 1 φ2 1 c 1φ 1 ] dx. Now φ 1 (x) = x(1 x) so φ 1 = 1 2x, and J 1 [c 1 ] = 1 0 = c2 1 2 [ ] c1 2 2 (1 2x)2 + c2 1 2 x 2 (1 x) 2 c 1 x(1 x) dx 1 0 = 11c c 1 6. [ 1 4x + 5x 2 2x 3 + x 4] 1 dx + c 1 0 [ x + x 2] dx c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

28 Simple Example-2 Example 12.1a We solve for c 1 by setting dj 1 dc 1 = 11c = 0 to get c 1 = 5/11, so the approximate extremal is y 1 (x) = 5 x(1 x). 11 The value of the approximate functional at this point is J 1 [5/11] = 11c c 1 6 = which is an upper bound on the true value of the functional on the extremal. c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

29 Simple Example-2: results c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

30 Alternate Approach Example 12.1a (alternate approach) Choose φ 1 (x) = sin (πx) (use the first element of a trigonometric series to approximate y). Then, φ 1 (x) = π cos (πx), and so the functional is J 1 [c 1 ] = J[c 1 φ 1 ] = = [ 1 2 c2 1 φ c2 1 φ2 1 c 1φ 1 ] dx [ ] c1 2π2 2 cos2 (πx) + c2 1 2 sin2 (πx) c 1 sin (πx) dx. 1 1 Observe that cos 2 (πx)dx = sin 2 (πx)dx = 1/2, and 0 1 sin (πx)dx = 0 [ 1 π cos (πx) ] 1 0 = 2/π. 0 c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

31 Alternate Approach Example 12.1a (alternate approach) So J 1 [c 1 ] = c2 1 4 [ ] π π c 1. Once again we solve for c 1 by setting dj 1 = c [ ] 1 π dc 1 2 π = 0 4 to get c 1 =, so the approximate extremal is π(π 2 +1) y 1 (x) = 4 π(π 2 sin (πx). + 1) c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

32 Simple Example-2: alternative results c Daria Apushkinskaya (UdS) Calculus of variations lecture Juni / 32

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 12 26. Juni 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 12 26. Juni 2014 1 / 25 Purpose of Lesson Purpose of Lesson: To discuss numerical

More information

Variational Methods & Optimal Control

Variational Methods & Optimal Control Variational Methods & Optimal Control lecture 12 Matthew Roughan Discipline of Applied Mathematics School of Mathematical Sciences University of Adelaide April 14, 216

More information

Calculus of Variations Summer Term 2015

Calculus of Variations Summer Term 2015 Calculus of Variations Summer Term 2015 Lecture 12 Universität des Saarlandes 17. Juni 2015 c Daria Apushkinskaya (UdS) Calculus of variations lecture 12 17. Juni 2015 1 / 31 Purpose of Lesson Purpose

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 5 7. Mai 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 5 7. Mai 2014 1 / 25 Purpose of Lesson Purpose of Lesson: To discuss catenary

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 2 25. April 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 2 25. April 2014 1 / 20 Purpose of Lesson Purpose of Lesson: To discuss the

More information

Calculus of Variations Summer Term 2015

Calculus of Variations Summer Term 2015 Calculus of Variations Summer Term 2015 Lecture 14 Universität des Saarlandes 24. Juni 2015 c Daria Apushkinskaya (UdS) Calculus of variations lecture 14 24. Juni 2015 1 / 20 Purpose of Lesson Purpose

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 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

More information

Calculus of Variations Summer Term 2016

Calculus of Variations Summer Term 2016 Calculus of Variations Summer Term 2016 Lecture 14 Universität des Saarlandes 28. Juni 2016 c Daria Apushkinskaya (UdS) Calculus of variations lecture 14 28. Juni 2016 1 / 31 Purpose of Lesson Purpose

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 1 28. April 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 1 28. April 2014 1 / 22 Organisatorial Issues General Information Lecturer:

More information

Variational Methods and Optimal Control

Variational Methods and Optimal Control Variational Methods and Optimal Control A/Prof. Matthew Roughan July 26, 2010 lecture01 Introduction What is the point of this course? Revision Example 1: The money pit. Example 2: Catenary: shape of a

More information

PDE and Boundary-Value Problems Winter Term 2014/2015

PDE and Boundary-Value Problems Winter Term 2014/2015 PDE and Boundary-Value Problems Winter Term 2014/2015 Lecture 6 Saarland University 17. November 2014 c Daria Apushkinskaya (UdS) PDE and BVP lecture 6 17. November 2014 1 / 40 Purpose of Lesson To show

More information

Stat 451 Lecture Notes Numerical Integration

Stat 451 Lecture Notes Numerical Integration Stat 451 Lecture Notes 03 12 Numerical Integration Ryan Martin UIC www.math.uic.edu/~rgmartin 1 Based on Chapter 5 in Givens & Hoeting, and Chapters 4 & 18 of Lange 2 Updated: February 11, 2016 1 / 29

More information

How to Solve Linear Differential Equations

How to Solve Linear Differential Equations How to Solve Linear Differential Equations Definition: Euler Base Atom, Euler Solution Atom Independence of Atoms Construction of the General Solution from a List of Distinct Atoms Euler s Theorems Euler

More information

Math 10C - Fall Final Exam

Math 10C - Fall Final Exam Math 1C - Fall 217 - Final Exam Problem 1. Consider the function f(x, y) = 1 x 2 (y 1) 2. (i) Draw the level curve through the point P (1, 2). Find the gradient of f at the point P and draw the gradient

More information

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error In this method we assume initial value of x, and substitute in the equation. Then modify x and continue till we

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 27th, 21 From separation of variables, we move to linear algebra Roughly speaking, this is the study

More information

PDE and Boundary-Value Problems Winter Term 2014/2015

PDE and Boundary-Value Problems Winter Term 2014/2015 PDE and Boundary-Value Problems Winter Term 214/215 Lecture 17 Saarland University 22. Januar 215 c Daria Apushkinskaya (UdS) PDE and BVP lecture 17 22. Januar 215 1 / 28 Purpose of Lesson To show how

More information

Mechanical Systems II. Method of Lagrange Multipliers

Mechanical Systems II. Method of Lagrange Multipliers Mechanical Systems II. Method of Lagrange Multipliers Rafael Wisniewski Aalborg University Abstract. So far our approach to classical mechanics was limited to finding a critical point of a certain functional.

More information

6 Lecture 6b: the Euler Maclaurin formula

6 Lecture 6b: the Euler Maclaurin formula Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 217 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 217 March 26, 218 6 Lecture 6b: the Euler Maclaurin formula

More information

Day 2 Notes: Riemann Sums In calculus, the result of f ( x)

Day 2 Notes: Riemann Sums In calculus, the result of f ( x) AP Calculus Unit 6 Basic Integration & Applications Day 2 Notes: Riemann Sums In calculus, the result of f ( x) dx is a function that represents the anti-derivative of the function f(x). This is also sometimes

More information

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 3th, 28 From separation of variables, we move to linear algebra Roughly speaking, this is the study of

More information

Numerical Methods. King Saud University

Numerical Methods. King Saud University Numerical Methods King Saud University Aims In this lecture, we will... find the approximate solutions of derivative (first- and second-order) and antiderivative (definite integral only). Numerical Differentiation

More information

12.0 Properties of orthogonal polynomials

12.0 Properties of orthogonal polynomials 12.0 Properties of orthogonal polynomials In this section we study orthogonal polynomials to use them for the construction of quadrature formulas investigate projections on polynomial spaces and their

More information

1. Solve the boundary-value problems or else show that no solutions exist. y (x) = c 1 e 2x + c 2 e 3x. (3)

1. Solve the boundary-value problems or else show that no solutions exist. y (x) = c 1 e 2x + c 2 e 3x. (3) Diff. Eqns. Problem Set 6 Solutions. Solve the boundary-value problems or else show that no solutions exist. a y + y 6y, y, y 4 b y + 9y x + e x, y, yπ a Assuming y e rx is a solution, we get the characteristic

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Calculus of Variations

Calculus of Variations 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

More information

Sufficient Conditions for Finite-variable Constrained Minimization

Sufficient Conditions for Finite-variable Constrained Minimization Lecture 4 It is a small de tour but it is important to understand this before we move to calculus of variations. Sufficient Conditions for Finite-variable Constrained Minimization ME 256, Indian Institute

More information

Introduction to the Calculus of Variations

Introduction to the Calculus of Variations 236861 Numerical Geometry of Images Tutorial 1 Introduction to the Calculus of Variations Alex Bronstein c 2005 1 Calculus Calculus of variations 1. Function Functional f : R n R Example: f(x, y) =x 2

More information

3. Identify and find the general solution of each of the following first order differential equations.

3. Identify and find the general solution of each of the following first order differential equations. Final Exam MATH 33, Sample Questions. Fall 7. y = Cx 3 3 is the general solution of a differential equation. Find the equation. Answer: y = 3y + 9 xy. y = C x + C x is the general solution of a differential

More information

First and Second Order ODEs

First and Second Order ODEs Civil Engineering 2 Mathematics Autumn 211 M. Ottobre First and Second Order ODEs Warning: all the handouts that I will provide during the course are in no way exhaustive, they are just short recaps. Notation

More information

PDE and Boundary-Value Problems Winter Term 2014/2015

PDE and Boundary-Value Problems Winter Term 2014/2015 PDE and Boundary-Value Problems Winter Term 2014/2015 Lecture 12 Saarland University 15. Dezember 2014 c Daria Apushkinskaya (UdS) PDE and BVP lecture 12 15. Dezember 2014 1 / 24 Purpose of Lesson To introduce

More information

Exercises * on Linear Algebra

Exercises * on Linear Algebra Exercises * on Linear Algebra Laurenz Wiskott Institut für Neuroinformatik Ruhr-Universität Bochum, Germany, EU 4 February 7 Contents Vector spaces 4. Definition...............................................

More information

Midterm Solution

Midterm Solution 18303 Midterm Solution Problem 1: SLP with mixed boundary conditions Consider the following regular) Sturm-Liouville eigenvalue problem consisting in finding scalars λ and functions v : [0, b] R b > 0),

More information

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions VANDERBILT UNIVERSITY MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions Directions. This practice test should be used as a study guide, illustrating the concepts that will be emphasized in the

More information

Generalization to inequality constrained problem. Maximize

Generalization to inequality constrained problem. Maximize Lecture 11. 26 September 2006 Review of Lecture #10: Second order optimality conditions necessary condition, sufficient condition. If the necessary condition is violated the point cannot be a local minimum

More information

Higher-order ordinary differential equations

Higher-order ordinary differential equations Higher-order ordinary differential equations 1 A linear ODE of general order n has the form a n (x) dn y dx n +a n 1(x) dn 1 y dx n 1 + +a 1(x) dy dx +a 0(x)y = f(x). If f(x) = 0 then the equation is called

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

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

Simple ODE Solvers - Derivation

Simple ODE Solvers - Derivation Simple ODE Solvers - Derivation These notes provide derivations of some simple algorithms for generating, numerically, approximate solutions to the initial value problem y (t =f ( t, y(t y(t 0 =y 0 Here

More information

17.2 Nonhomogeneous Linear Equations. 27 September 2007

17.2 Nonhomogeneous Linear Equations. 27 September 2007 17.2 Nonhomogeneous Linear Equations 27 September 2007 Nonhomogeneous Linear Equations The differential equation to be studied is of the form ay (x) + by (x) + cy(x) = G(x) (1) where a 0, b, c are given

More information

First Order Differential Equations

First Order Differential Equations Chapter 2 First Order Differential Equations 2.1 9 10 CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 2.2 Separable Equations A first order differential equation = f(x, y) is called separable if f(x, y)

More information

Practice Exam 2 (Solutions)

Practice Exam 2 (Solutions) Math 5, Fall 7 Practice Exam (Solutions). Using the points f(x), f(x h) and f(x + h) we want to derive an approximation f (x) a f(x) + a f(x h) + a f(x + h). (a) Write the linear system that you must solve

More information

01 Harmonic Oscillations

01 Harmonic Oscillations Utah State University DigitalCommons@USU Foundations of Wave Phenomena Library Digital Monographs 8-2014 01 Harmonic Oscillations Charles G. Torre Department of Physics, Utah State University, Charles.Torre@usu.edu

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

More information

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS 1. Regular Singular Points During the past few lectures, we have been focusing on second order linear ODEs of the form y + p(x)y + q(x)y = g(x). Particularly,

More information

COMP 558 lecture 18 Nov. 15, 2010

COMP 558 lecture 18 Nov. 15, 2010 Least squares We have seen several least squares problems thus far, and we will see more in the upcoming lectures. For this reason it is good to have a more general picture of these problems and how to

More information

Review for Exam 2. Review for Exam 2.

Review for Exam 2. Review for Exam 2. Review for Exam 2. 5 or 6 problems. No multiple choice questions. No notes, no books, no calculators. Problems similar to homeworks. Exam covers: Regular-singular points (5.5). Euler differential equation

More information

Finite-Elements Method 2

Finite-Elements Method 2 Finite-Elements Method 2 January 29, 2014 2 From Applied Numerical Analysis Gerald-Wheatley (2004), Chapter 9. Finite-Elements Method 3 Introduction Finite-element methods (FEM) are based on some mathematical

More information

Essential Ordinary Differential Equations

Essential Ordinary Differential Equations MODULE 1: MATHEMATICAL PRELIMINARIES 10 Lecture 2 Essential Ordinary Differential Equations In this lecture, we recall some methods of solving first-order IVP in ODE (separable and linear) and homogeneous

More information

Applied Calculus I. Lecture 29

Applied Calculus I. Lecture 29 Applied Calculus I Lecture 29 Integrals of trigonometric functions We shall continue learning substitutions by considering integrals involving trigonometric functions. Integrals of trigonometric functions

More information

Lecture Notes for PHY 405 Classical Mechanics

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

More information

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II)

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II) McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II) HIGHER ORDER DIFFERENTIAL EQUATIONS (IV) 1 Introduction (Text: pp. 338-367, Chap.

More information

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017

LESSON 25: LAGRANGE MULTIPLIERS OCTOBER 30, 2017 LESSON 5: LAGRANGE MULTIPLIERS OCTOBER 30, 017 Lagrange multipliers is another method of finding minima and maxima of functions of more than one variable. In fact, many of the problems from the last homework

More information

Multivariable Calculus and Matrix Algebra-Summer 2017

Multivariable Calculus and Matrix Algebra-Summer 2017 Multivariable Calculus and Matrix Algebra-Summer 017 Homework 4 Solutions Note that the solutions below are for the latest version of the problems posted. For those of you who worked on an earlier version

More information

3. Identify and find the general solution of each of the following first order differential equations.

3. Identify and find the general solution of each of the following first order differential equations. Final Exam MATH 33, Sample Questions. Fall 6. y = Cx 3 3 is the general solution of a differential equation. Find the equation. Answer: y = 3y + 9 xy. y = C x + C is the general solution of a differential

More information

Fourier and Partial Differential Equations

Fourier and Partial Differential Equations Chapter 5 Fourier and Partial Differential Equations 5.1 Fourier MATH 294 SPRING 1982 FINAL # 5 5.1.1 Consider the function 2x, 0 x 1. a) Sketch the odd extension of this function on 1 x 1. b) Expand the

More information

MTH301 Calculus II Glossary For Final Term Exam Preparation

MTH301 Calculus II Glossary For Final Term Exam Preparation MTH301 Calculus II Glossary For Final Term Exam Preparation Glossary Absolute maximum : The output value of the highest point on a graph over a given input interval or over all possible input values. An

More information

. (a) Express [ ] as a non-trivial linear combination of u = [ ], v = [ ] and w =[ ], if possible. Otherwise, give your comments. (b) Express +8x+9x a

. (a) Express [ ] as a non-trivial linear combination of u = [ ], v = [ ] and w =[ ], if possible. Otherwise, give your comments. (b) Express +8x+9x a TE Linear Algebra and Numerical Methods Tutorial Set : Two Hours. (a) Show that the product AA T is a symmetric matrix. (b) Show that any square matrix A can be written as the sum of a symmetric matrix

More information

Functions Functions and Modeling A UTeach/TNT Course

Functions Functions and Modeling A UTeach/TNT Course Definition of a Function DEFINITION: Let A and B be sets. A function between A and B is a subset of A B with the property that if (a, b 1 )and(a, b 2 ) are both in the subset, then b 1 = b 2. The domain

More information

Optimization using Calculus. Optimization of Functions of Multiple Variables subject to Equality Constraints

Optimization using Calculus. Optimization of Functions of Multiple Variables subject to Equality Constraints Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints 1 Objectives Optimization of functions of multiple variables subjected to equality constraints

More information

Calculus of Variations Summer Term 2014

Calculus of Variations Summer Term 2014 Calculus of Variations Summer Term 2014 Lecture 20 18. Juli 2014 c Daria Apushkinskaya 2014 () Calculus of variations lecture 20 18. Juli 2014 1 / 20 Purpose of Lesson Purpose of Lesson: To discuss several

More information

Monday, 6 th October 2008

Monday, 6 th October 2008 MA211 Lecture 9: 2nd order differential eqns Monday, 6 th October 2008 MA211 Lecture 9: 2nd order differential eqns 1/19 Class test next week... MA211 Lecture 9: 2nd order differential eqns 2/19 This morning

More information

Final Exam 2011 Winter Term 2 Solutions

Final Exam 2011 Winter Term 2 Solutions . (a Find the radius of convergence of the series: ( k k+ x k. Solution: Using the Ratio Test, we get: L = lim a k+ a k = lim ( k+ k+ x k+ ( k k+ x k = lim x = x. Note that the series converges for L

More information

Ch 5.4: Regular Singular Points

Ch 5.4: Regular Singular Points Ch 5.4: Regular Singular Points! Recall that the point x 0 is an ordinary point of the equation if p(x) = Q(x)/P(x) and q(x)= R(x)/P(x) are analytic at at x 0. Otherwise x 0 is a singular point.! Thus,

More information

Mathematics for Chemistry: Exam Set 1

Mathematics for Chemistry: Exam Set 1 Mathematics for Chemistry: Exam Set 1 June 18, 017 1 mark Questions 1. The minimum value of the rank of any 5 3 matrix is 0 1 3. The trace of an identity n n matrix is equal to 1-1 0 n 3. A square matrix

More information

Math Assignment 5

Math Assignment 5 Math 2280 - Assignment 5 Dylan Zwick Fall 2013 Section 3.4-1, 5, 18, 21 Section 3.5-1, 11, 23, 28, 35, 47, 56 Section 3.6-1, 2, 9, 17, 24 1 Section 3.4 - Mechanical Vibrations 3.4.1 - Determine the period

More information

23 Elements of analytic ODE theory. Bessel s functions

23 Elements of analytic ODE theory. Bessel s functions 23 Elements of analytic ODE theory. Bessel s functions Recall I am changing the variables) that we need to solve the so-called Bessel s equation 23. Elements of analytic ODE theory Let x 2 u + xu + x 2

More information

Mathematical Economics. Lecture Notes (in extracts)

Mathematical Economics. Lecture Notes (in extracts) Prof. Dr. Frank Werner Faculty of Mathematics Institute of Mathematical Optimization (IMO) http://math.uni-magdeburg.de/ werner/math-ec-new.html Mathematical Economics Lecture Notes (in extracts) Winter

More information

12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations.

12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations. Week 12 Lecture Overheads Math2080 Week 12 Page 1 12.1 Taylor Polynomials In Two-Dimensions: Nonlinear Approximations of F(x,y) Polynomials in Two-Variables. Taylor Polynomials and Approximations. 12.2

More information

MATH 280 Multivariate Calculus Fall Integrating a vector field over a surface

MATH 280 Multivariate Calculus Fall Integrating a vector field over a surface MATH 280 Multivariate Calculus Fall 2011 Definition Integrating a vector field over a surface We are given a vector field F in space and an oriented surface in the domain of F as shown in the figure below

More information

Second-Order Homogeneous Linear Equations with Constant Coefficients

Second-Order Homogeneous Linear Equations with Constant Coefficients 15 Second-Order Homogeneous Linear Equations with Constant Coefficients A very important class of second-order homogeneous linear equations consists of those with constant coefficients; that is, those

More information

Week 4: Calculus and Optimization (Jehle and Reny, Chapter A2)

Week 4: Calculus and Optimization (Jehle and Reny, Chapter A2) Week 4: Calculus and Optimization (Jehle and Reny, Chapter A2) Tsun-Feng Chiang *School of Economics, Henan University, Kaifeng, China September 27, 2015 Microeconomic Theory Week 4: Calculus and Optimization

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Chapter 13 Ordinary Differential Equations (ODEs) We briefly review how to solve some of the most standard ODEs. 13.1 First Order Equations 13.1.1 Separable Equations A first-order ordinary differential

More information

Integration Using Tables and Summary of Techniques

Integration Using Tables and Summary of Techniques Integration Using Tables and Summary of Techniques Philippe B. Laval KSU Today Philippe B. Laval (KSU) Summary Today 1 / 13 Introduction We wrap up integration techniques by discussing the following topics:

More information

Physics 200 Lecture 4. Integration. Lecture 4. Physics 200 Laboratory

Physics 200 Lecture 4. Integration. Lecture 4. Physics 200 Laboratory Physics 2 Lecture 4 Integration Lecture 4 Physics 2 Laboratory Monday, February 21st, 211 Integration is the flip-side of differentiation in fact, it is often possible to write a differential equation

More information

Math 240 Calculus III

Math 240 Calculus III Calculus III Summer 2015, Session II Monday, August 3, 2015 Agenda 1. 2. Introduction The reduction of technique, which applies to second- linear differential equations, allows us to go beyond equations

More information

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23 MATHEMATICS FOR ENGINEERS & SCIENTISTS 3.5. Second order linear O.D.E.s: non-homogeneous case.. We ll now consider non-homogeneous second order linear O.D.E.s. These are of the form a + by + c rx) for

More information

The Corrected Trial Solution in the Method of Undetermined Coefficients

The Corrected Trial Solution in the Method of Undetermined Coefficients Definition of Related Atoms The Basic Trial Solution Method Symbols Superposition Annihilator Polynomial for f(x) Annihilator Equation for f(x) The Corrected Trial Solution in the Method of Undetermined

More information

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com 1 . Chapter 8 Numerical Solution of

More information

Limits of Exponential, Logarithmic, and Trigonometric Functions

Limits of Exponential, Logarithmic, and Trigonometric Functions Limits of Exponential, Logarithmic, and Trigonometric Functions by CHED on January 02, 2018 lesson duration of 3 minutes under Basic Calculus generated on January 02, 2018 at 01:54 am Tags: Limits and

More information

Mathematics for Chemistry: Exam Set 1

Mathematics for Chemistry: Exam Set 1 Mathematics for Chemistry: Exam Set 1 March 19, 017 1 mark Questions 1. The maximum value of the rank of any 5 3 matrix is (a (b3 4 5. The determinant of an identity n n matrix is equal to (a 1 (b -1 0

More information

MATH 1231 MATHEMATICS 1B Calculus Section 2: - ODEs.

MATH 1231 MATHEMATICS 1B Calculus Section 2: - ODEs. MATH 1231 MATHEMATICS 1B 2007. For use in Dr Chris Tisdell s lectures: Tues 11 + Thur 10 in KBT Calculus Section 2: - ODEs. 1. Motivation 2. What you should already know 3. Types and orders of ODEs 4.

More information

MA22S3 Summary Sheet: Ordinary Differential Equations

MA22S3 Summary Sheet: Ordinary Differential Equations MA22S3 Summary Sheet: Ordinary Differential Equations December 14, 2017 Kreyszig s textbook is a suitable guide for this part of the module. Contents 1 Terminology 1 2 First order separable 2 2.1 Separable

More information

PDE and Boundary-Value Problems Winter Term 2014/2015

PDE and Boundary-Value Problems Winter Term 2014/2015 PDE and Boundary-Value Problems Winter Term 2014/2015 Lecture 13 Saarland University 5. Januar 2015 c Daria Apushkinskaya (UdS) PDE and BVP lecture 13 5. Januar 2015 1 / 35 Purpose of Lesson To interpretate

More information

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

minimize x subject to (x 2)(x 4) u, Math 6366/6367: Optimization and Variational Methods Sample Preliminary Exam Questions 1. Suppose that f : [, L] R is a C 2 -function with f () on (, L) and that you have explicit formulae for

More information

Math 122 Fall Unit Test 1 Review Problems Set A

Math 122 Fall Unit Test 1 Review Problems Set A Math Fall 8 Unit Test Review Problems Set A We have chosen these problems because we think that they are representative of many of the mathematical concepts that we have studied. There is no guarantee

More information

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding

More information

MEASURE AND INTEGRATION: LECTURE 18

MEASURE AND INTEGRATION: LECTURE 18 MEASURE AND INTEGRATION: LECTURE 18 Fubini s theorem Notation. Let l and m be positive integers, and n = l + m. Write as the Cartesian product = +. We will write points in as z ; x ; y ; z = (x, y). If

More information

Homogeneous Linear ODEs of Second Order Notes for Math 331

Homogeneous Linear ODEs of Second Order Notes for Math 331 Homogeneous Linear ODEs of Second Order Notes for Math 331 Richard S. Ellis Department of Mathematics and Statistics University of Massachusetts Amherst, MA 01003 In this document we consider homogeneous

More information

Chapter 2: First Order DE 2.6 Exact DE and Integrating Fa

Chapter 2: First Order DE 2.6 Exact DE and Integrating Fa Chapter 2: First Order DE 2.6 Exact DE and Integrating Factor First Order DE Recall the general form of the First Order DEs (FODE): dy dx = f(x, y) (1) (In this section x is the independent variable; not

More information

1 Lesson 13: Methods of Integration

1 Lesson 13: Methods of Integration Lesson 3: Methods of Integration Chapter 6 Material: pages 273-294 in the textbook: Lesson 3 reviews integration by parts and presents integration via partial fraction decomposition as the third of the

More information

AVERAGE VALUE AND MEAN VALUE THEOREM

AVERAGE VALUE AND MEAN VALUE THEOREM AVERAGE VALUE AND MEAN VALUE THEOREM Section 4.4A Calculus AP/Dual, Revised 017 viet.dang@humbleisd.net 7/30/018 3:00 AM 4.4A: Average Value and Mean Value Theorem 1 MATERIALS NEEDED A. Grid Paper B. Compass

More information

Lagrange Multipliers

Lagrange Multipliers Lagrange Multipliers (Com S 477/577 Notes) Yan-Bin Jia Nov 9, 2017 1 Introduction We turn now to the study of minimization with constraints. More specifically, we will tackle the following problem: minimize

More information

EC487 Advanced Microeconomics, Part I: Lecture 2

EC487 Advanced Microeconomics, Part I: Lecture 2 EC487 Advanced Microeconomics, Part I: Lecture 2 Leonardo Felli 32L.LG.04 6 October, 2017 Properties of the Profit Function Recall the following property of the profit function π(p, w) = max x p f (x)

More information

APPENDIX 2.1 LINE AND SURFACE INTEGRALS

APPENDIX 2.1 LINE AND SURFACE INTEGRALS 2 APPENDIX 2. LINE AND URFACE INTEGRAL Consider a path connecting points (a) and (b) as shown in Fig. A.2.. Assume that a vector field A(r) exists in the space in which the path is situated. Then the line

More information

Final Exam May 4, 2016

Final Exam May 4, 2016 1 Math 425 / AMCS 525 Dr. DeTurck Final Exam May 4, 2016 You may use your book and notes on this exam. Show your work in the exam book. Work only the problems that correspond to the section that you prepared.

More information

Examination paper for TMA4215 Numerical Mathematics

Examination paper for TMA4215 Numerical Mathematics Department of Mathematical Sciences Examination paper for TMA425 Numerical Mathematics Academic contact during examination: Trond Kvamsdal Phone: 93058702 Examination date: 6th of December 207 Examination

More information

Calculus: Area. Mathematics 15: Lecture 22. Dan Sloughter. Furman University. November 12, 2006

Calculus: Area. Mathematics 15: Lecture 22. Dan Sloughter. Furman University. November 12, 2006 Calculus: Area Mathematics 15: Lecture 22 Dan Sloughter Furman University November 12, 2006 Dan Sloughter (Furman University) Calculus: Area November 12, 2006 1 / 7 Area Note: formulas for the areas of

More information

Electrodynamics PHY712. Lecture 3 Electrostatic potentials and fields. Reference: Chap. 1 in J. D. Jackson s textbook.

Electrodynamics PHY712. Lecture 3 Electrostatic potentials and fields. Reference: Chap. 1 in J. D. Jackson s textbook. Electrodynamics PHY712 Lecture 3 Electrostatic potentials and fields Reference: Chap. 1 in J. D. Jackson s textbook. 1. Poisson and Laplace Equations 2. Green s Theorem 3. One-dimensional examples 1 Poisson

More information

Chapter 4. Higher-Order Differential Equations

Chapter 4. Higher-Order Differential Equations Chapter 4 Higher-Order Differential Equations i THEOREM 4.1.1 (Existence of a Unique Solution) Let a n (x), a n,, a, a 0 (x) and g(x) be continuous on an interval I and let a n (x) 0 for every x in this

More information