Physics 430: Lecture 14 Calculus of Variations Dale E. Gary NJIT Physics Department.

Slides:



Advertisements
Similar presentations
Chapter 17 Multivariable Calculus.
Advertisements

Chapter 11-Functions of Several Variables
Physics 430: Lecture 7 Kinetic and Potential Energy
Relationship between First Derivative, Second Derivative and the Shape of a Graph 3.3.
Copyright © Cengage Learning. All rights reserved.
ESSENTIAL CALCULUS CH11 Partial derivatives
Physics 430: Lecture 17 Examples of Lagrange’s Equations
Rogawski Calculus Copyright © 2008 W. H. Freeman and Company As noted in Theorem 1, the sign of the second derivative on an interval indicates the concavity.
APPLICATIONS OF DIFFERENTIATION
Physics 430: Lecture 16 Lagrange’s Equations with Constraints
P M V Subbarao Professor Mechanical Engineering Department
Physics 430: Lecture 11 Oscillations
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Physics 111: Mechanics Lecture 09
Physics 430: Lecture 10 Energy of Interaction Dale E. Gary NJIT Physics Department.
Calculus of Variations
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Introduction to Calculus of Variations Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
APPLICATIONS OF DIFFERENTIATION
VECTOR CALCULUS Fundamental Theorem for Line Integrals In this section, we will learn about: The Fundamental Theorem for line integrals and.
Constrained Optimization
Theoretical Mechanics - PHY6200 Chapter 6 Introduction to the calculus of variations Prof. Claude A Pruneau, Physics and Astronomy Department Wayne State.
Optimization using Calculus
Physics 151: Principles of Physics: Mechanics & Heat (Honors) Prof. Stan Zygmunt Neils
8 Indefinite Integrals Case Study 8.1 Concepts of Indefinite Integrals
Physics 430: Lecture 22 Rotational Motion of Rigid Bodies
Chapter 6 Differential Calculus
Scientific Computing Partial Differential Equations Poisson Equation Calculus of Variations.
Conics, Parametric Equations, and Polar Coordinates Copyright © Cengage Learning. All rights reserved.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Physics 114: Lecture 15 Probability Tests & Linear Fitting Dale E. Gary NJIT Physics Department.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.
Section 2: Finite Element Analysis Theory
Chapter 5 .3 Riemann Sums and Definite Integrals
The Mathematics of Star Trek Lecture 3: Equations of Motion and Escape Velocity.
APPLICATIONS OF DIFFERENTIATION 4. Many applications of calculus depend on our ability to deduce facts about a function f from information concerning.
Physics 430: Lecture 15 Lagrange’s Equations
Physics 430: Lecture 19 Kepler Orbits Dale E. Gary NJIT Physics Department.
APPLICATIONS OF DIFFERENTIATION 4. Many applications of calculus depend on our ability to deduce facts about a function f from information concerning.
USSC3002 Oscillations and Waves Lecture 10 Calculus of Variations Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science.
In section 11.9, we were able to find power series representations for a certain restricted class of functions. Here, we investigate more general problems.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
Physics 114: Lecture 18 Least Squares Fit to Arbitrary Functions Dale E. Gary NJIT Physics Department.
Lecture 19 Spherical Polar Coordinates Remember Phils Problems and your notes = everything Come to see me before.
Dr. Wang Xingbo Fall , 2005 Mathematical & Mechanical Method in Mechanical Engineering.
USSC3002 Oscillations and Waves Lecture 10 Calculus of Variations Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science.
Copyright © Cengage Learning. All rights reserved The Chain Rule.
Module 10Energy1 Module 10 Energy We start this module by looking at another collision in our two inertial frames. Last time we considered a perfectly.
Applications of Differentiation Section 4.9 Antiderivatives
10 Conics, Parametric Equations, and Polar Coordinates
Directional Derivatives. Example…What ’ s the slope of at (0,1/2)? What’s wrong with the way the question is posed? What ’ s the slope along the direction.
Dr. Wang Xingbo Fall , 2005 Mathematical & Mechanical Method in Mechanical Engineering 1/3304/03/ :41.
1 Differential Equations 6 Copyright © Cengage Learning. All rights reserved. 6.1 DE & Slope Fields BC Day 1.
Seismology Part II: Body Waves and Ray Theory. Some definitions: Body Waves: Waves that propagrate through the "body" of a medium (in 3 dimensions) WRONG!
© 2010 Pearson Education Inc.Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e– Slide 1 of 33 Chapter 3 Techniques of Differentiation.
Ch. 2: Variational Principles & Lagrange’s Eqtns Sect. 2.1: Hamilton’s Principle Our derivation of Lagrange’s Eqtns from D’Alembert’s Principle: Used.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
D Nagesh Kumar, IISc Water Resources Systems Planning and Management: M2L2 Introduction to Optimization (ii) Constrained and Unconstrained Optimization.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Physics 312: Lecture 2 Calculus of Variations
Applications of the Derivative
Functions of Several Variables
Physics 319 Classical Mechanics
Calculus of Variations
Euler Equations for Systems with Constraints (Auxiliary Conditions): Section 6.6
PRELIMINARY MATHEMATICS
Tutorial 3 Applications of the Derivative
Presentation transcript:

Physics 430: Lecture 14 Calculus of Variations Dale E. Gary NJIT Physics Department

October 19, Two Examples  The calculus of variations involves finding an extremum (maximum or minimum) of a quantity that is expressible as an integral.  Let’s look at a couple of examples: The shortest path between two points Fermat’s principle (light follows a path that is an extremum)  What is the shortest path between two points in a plane? You certainly know the answer—a straight line—but you probably have not seen a proof of this—the calculus of variations provides such a proof.  Consider two points in the x - y plane, as shown in the figure.  An arbitrary path joining the points follows the general curve y = y(x), and an element of length along the path is  We can rewrite this (pay attention, because you will be doing this a lot in the next few chapters) as which is valid because Thus, the length is x y x 1 x 2 y2y1y2y1 y = y(x) 2 1

October 19, 2010 Shortest Path Between 2 Points  Note that we have converted the problem from an integral along a path, to an integral over x :  We have thus succeeded in writing the problem down, but we need some additional mathematical machinery to find the path for which L is an extremum (a minimum in this case). Fermat’s Principle:  A similar but somewhat more interesting problem is to find the path light will take through a medium that has some index of refraction n  1. You may recall that light travels more slowly through such a medium, and we define the index of refraction as n = c/v. where c is the speed of light in vacuum, and v is the speed of light in the medium. The total travel time is then  Here we are allowing the index of refraction to vary arbitrarily vs. x and y.

October 19, 2010 Variational Principles  Obviously, both problems on the previous slide are similar, and such cases arise in many other situations.  In our usual minimizing or maximizing of a function f(x), we would take the derivative and find its zeroes (i.e. the values of x for which the slope of the function is zero). These points of zero slope may be minima, maxima, or points of inflection, but in each case we can say that the function is stationary at those points, meaning for values of x near such a point, the value of the function does not change (due to the zero slope).  In analogy with this familiar approach, we want to be able to find solutions to these integrals that are stationary for infinitesimal variations in the path. This is called calculus of variations.  The methods we will develop are called variational methods, and a principle like Fermat’s Principle are called variational principles.  These principles are common, and of great importance, in many areas of physics (such as quantum mechanics and general relativity).

October 19, Euler-Lagrange Equation-1  We are now going to discuss a variational method due to Euler and Lagrange, which seeks to find an extremum (to be definite, let’s consider this a minimum) for an as yet unknown curve joining two points x 1 and x 2, satisfying the integral relation  The function f is a function of three variables, but because the path of integration is y = y(x), the integrand can be reduced to a function of just one variable, x.  To start, let’s consider two curves joining points 1 and 2, the “right” curve y(x), and a “wrong” curve Y(x) that is a small displacement from the “right” curve, as shown in the figure.  We will write the difference between these curves as some function  (x). x y x 1 x 2 y2y1y2y1 y = y(x) (right) 2 1

October 19, 2010 Euler-Lagrange Equation-2  There are infinitely many functions  (x), that can be “wrong,” but we require that they each be longer that the “right” path. To quantify how close the “wrong” path can be to the “right” one, let’s write Y = y + , so that  This is going to allow us to characterize the shortest path as the one for which the derivative dS/d  = 0 when  = 0. To differentiate the above equation with respect to , we need to evaluate the partial derivative via the chain rule so dS/d  = 0 gives

October 19, 2010 Euler-Lagrange Equation-3  We can handle the second term in the previous equation by integration by parts: but the first term of this relation (the end-point term) is zero because  (x) is zero at the endpoints.  Our modified equation is then  This leads us to the Euler-Lagrange equation  We come to this conclusion because the modified equation has to be zero for any  (x). See the text for more discussion of this point.

October 19, 2010 Euler-Lagrange Equation-4  Let’s go over what we have shown. We can find a minimum (more generally a stationary point) for the path S if we can find a function for the path that satisfies  The procedure for using this is to set up the problem so that the quantity whose stationary path you seek is expressed as where is the function appropriate to your problem. Write down the Euler-Lagrange equation, and solve for the function y(x) that defines the required stationary path.  Let’s do a few examples to make the procedure clear.

October 19, 2010 Example 6.1: Shortest Path Between Two Points  We earlier showed that the problem of the shortest path between two points can be expressed as  The integrand contains our function  The two partial derivatives in the Euler-Lagrange equation are:  Thus, the Euler-Lagrange equation gives us  This says that  A little rearrangement gives the final result: y 2 = constant (call it m 2 ), so y(x) = mx + b. In other words, a straight line is the shortest path.

October 19, 2010 Problem 6.6 Give ds in the following situations:  A curve given by y = y(x) in a plane.  Same but x = x(y)  Same but r = r(  )  Same but  =  (r)  Curve given by  =  (z) on a cylinder of radius R  Same but z = z(  )  Curve given by  on a sphere of radius R  Same for 

October 19, 2010 Example 6.2: The Brachistochrone  This is a famous problem in the history of the calculus of variations. Statement of the problem: Given two points 1 and 2, with 1 higher above the ground, in what shape could we build a track for a frictionless roller-coaster so that a car released from point 1 would reach point 2 in the shortest possible time? See the figure, which takes point 1 as the origin, with y positive downward.  Solution: The time to travel from point 1 to 2 is where, from kinetic energy considerations. Since this depends on y, we will take y as the independent variable, hence Our integral now becomes: From the Euler-Lagrange equation: x y 2 1 Notice that, since we are using y as the independent variable, we swap x and y

October 19, 2010 Example 6.2: cont’d  Solution, cont’d: Since clearly and so. Evaluating this derivative and squaring it for convenience, we have where the constant is renamed 1/2a for future convenience. Solving for x we have: Finally, to get x we integrate: It is not obvious, but this can be solved by the substitution y = a(1  cos  ), which gives The two equations that give the path are then: in terms of .

October 19, 2010 Example 6.2: cont’d  Solution, cont’d: This curve is called a cycloid, and is a very special curve indeed. As you will show in the homework, it is the curve traced out by a wheel rolling (upside down) along the x axis. Another remarkable thing is that the time it takes for a cart to travel this path from 2  3 is the same, no matter where 2 is placed, from 1 to 3! Thus, oscillations of the cart along that path are exactly isochronous (period perfectly independent of amplitude). a 2a 1 2 3