jagomart
digital resources
picture1_Calculus Pdf 169246 | Am72 Item Download 2023-01-25 20-27-02


 142x       Filetype PDF       File size 0.19 MB       Source: math.mit.edu


File: Calculus Pdf 169246 | Am72 Item Download 2023-01-25 20-27-02
c 7 2 calculus ofvariations 2006 gilbert strang 7 2 calculus of variations one theme of this book is the relation of equations to minimum principles to minimize p is ...

icon picture PDF Filetype PDF | Posted on 25 Jan 2023 | 2 years ago
Partial capture of text on file.
                                                                                               c
                    7.2.  CALCULUS OFVARIATIONS                                               
2006 Gilbert Strang
                                                                 7.2      Calculus of Variations
                    One theme of this book is the relation of equations to minimum principles. To
                    minimize P is to solve P ′ = 0. There may be more to it, but that is the main
                    point.   For a quadratic P(u) = 1uTKu − uTf, there is no difficulty in reaching
                       ′                                   2
                    P =Ku−f=0. Thematrix K is symmetric positive definite at a minimum.
                        In a continuous problem, the “derivative” of P is not so easy to find. The unknown
                    u(x) is a function, and P(u) is usually an integral. Its derivative δP/δu is called the
                    first variation. The “Euler-Lagrange equation”δP/δu = 0has a weak form
                    and a strong form. For an elastic bar, P is the integral of 1c(u′(x))2 −f(x)u(x).
                                                                                          2
                    The equation δP/δu = 0 is linear and the problem will have boundary conditions:
                    Weak form Z cu′v′dx=Z fvdx for every v                      Strong form −(cu′)′ = f(x).
                    Our goal in this section is to get beyond this first example of δP/δu.
                        The basic idea should be simple and it is: Perturb u(x) by a test function
                    v(x). Comparing P(u) with P(u+v), the linear term in the difference yields δP/δu.
                    This linear term must be zero for every admissible v (weak form). This program
                    carries ordinary calculus into the calculus of variations. We do it in several steps:
                    1.     One-dimensional problems P(u) = R F(u,u′)dx, not necessarily quadratic
                    2.     Constraints, not necessarily linear, with their Lagrange multipliers
                    3.     Two-dimensional problems P(u) = RR F(u,u ,u )dxdy
                                                                              x  y
                    4.     Time-dependent equations in which u′ = du/dt.
                    At each step the examples will be as familiar (and famous) as possible.                 In two
                    dimensions that means Laplace’s equation, and minimal surfaces in the nonlinear
                    case.   In time-dependent problems it means Newton’s Laws, and relativity in the
                    nonlinear case. In one dimension we rediscover the straight line and the circle.
                        This section is also the opening to control theory—the modern form of the
                    calculus of variations.     Its constraints are differential equations, and Pontryagin’s
                    maximum principle yields solutions. That is a whole world of good mathematics.
                    Remark        To go from the strong form to the weak form, multiply by v and integrate.
                    For matrices the strong form is ATCAu = f. The weak form is vTATCAu = vTf for
                    all v.
                        For functions with Au = u′, this exactly matches R cu′v′dx = R fvdx above.
                 c
                 
2006 Gilbert Strang
                                                            One-dimensional Problems
                 The basic problem is to minimize P(u) with a boundary condition at each end:
                             P(u)=Z01F(u,u′)dx with u(0)=a and u(1)=b.
                 Thebestudefeatseveryothercandidateu+vthatsatisfiestheseboundaryconditions.
                 Then (u+v)(0) = a and (u+v)(1) = b require that v(0) = v(1) = 0. When v and
                 v′ are small the correction terms come from ∂F/∂u and ∂F/∂u′. They don’t involve
                 v2:
                    Inside the integral    F(u+v,u′+v′)=F(u,u′)+v∂F +v′∂F +···
                                                                         ∂u      ∂u′
                    After integrating      P(u+v)=P(u)+Z 1v∂F +v′∂F dx+···
                                                               0    ∂u     ∂u′
                 That integrated term is the “first variation”. We have already reached δP/δu:
                  Weak form         δP =Z 1v∂F +v′∂F dx=0 for every v.                   (1)
                                    δu     0    ∂u     ∂u′
                 This is the equation for u. The derivative of P in each direction v must be zero.
                 Otherwise we can make δP/δu negative, which would mean P(u+v) < P(u): bad.
                    The strong form looks for a single derivative which—if it is zero—makes all these
                 directional derivatives zero. It comes from integrating δP/δu by parts:
                                          Z                              
                                            1   ∂F      d   ∂F             ∂F 1
                  Weak form / by parts     0   v ∂u −vdx ∂u′       dx+ v∂u′ 0 =0.
                 The boundary term vanishes because v(0) = v(1) = 0. To guarantee zero for every
                 v(x) in the integral, the function multiplying v must be zero (strong form):
                  Euler-Lagrange equation for u           ∂F − d ∂F =0.                  (2)
                                                          ∂u   dx   ∂u′
                 Example    Find the shortest path u(x) between two points (0,a) and (1,b).
                              p 2          2                               ′   R p       ′ 2
                 ByPythagoras,  (dx) +(du) isashortsteponthepath. SoP(u ) =        1+(u ) dx
                 is the length of the path between the points. This square root F(u′) depends only on u′
                 and ∂F/∂u = 0. The derivative ∂F/∂u′ brings the square root into the denominator:
                  Weak form ∂F =Z 1v′p u′ ′ 2 dx=0 for every v with v(0) = v(1) = 0. (3)
                              ∂u     0      1+(u )
                 If the quantity multiplying v′ is a constant, then (3) is satisfied. The integral is
                 certain to be zero because v(0) = v(1) = 0. The strong form forces ∂F/∂u′ to be
                                                                                               c
                    7.2.  CALCULUS OFVARIATIONS                                               
2006 Gilbert Strang
                    constant: the Euler-Lagrange equation (2) is
                                   −d ∂F=−d p u′                      =0 or p u′              =c.             (4)
                                     dx    ∂u′         dx    1+(u′)2                 1+(u′)2
                    That integration is always possible when F depends only on u′ (∂F/∂u =
                    0). It leaves the equation ∂F/∂u′ = c. Squaring both sides, u is seen to be linear:
                             (u′)2 = c2(1 + (u′)2)     and u′ = √ c            and u= √ c           x+d.        (5)
                                                                      1−c2                   1−c2
                    The constants c and d are chosen to match u(0) = a and u(1) = b. The shortest curve
PSfrag replacements
                    connecting two points is a straight line. No surprise! The length P(u) is a minimum,
                    not a maximum or a saddle point, because the second derivative F ′′ is positive.
                               perturbed                                                u=optimal arc
                                  u+v               b                                                 b
                                                                                            −1
                                   u=optimal line                                    −1       m
                           a                                                 a         m
                                                              x                                                 x
                           0                v      1                         0                       1
                               typical perturbation v(x)                         area below arc is A
                     Figure 7.5: Shortest paths from a to b: straight line and circular arc (constrained).
                                                                                 Constrained Problems
                    Suppose we cannot go in a straight line because of a constraint. When the constraint
                    is R u(x)dx = A, we look for the shortest curve that has area A below it:
                                           Z 1p          ′ 2                                    Z 1
                     Minimize P(u)=               1+(u ) dx with u(0)=a, u(1)=b,                    u(x)dx = A.
                                            0                                                    0
                    The area constraint should be built into P by a Lagrange multiplier—here called m.
                    The multiplier is a number and not a function, because there is one overall constraint
                    rather than a constraint at every point. The LagrangianL builds in R udx = A:
                      Lagrangian L(u,m)=P +(multiplier)(constraint) = R(F +mu)dx−mA.
                    The Euler-Lagrange equation δL/δu = 0 is exactly like δP/δu = 0 in (2):
                                   ∂(F +mu) − d ∂(F +mu)=m− d p u′                            =0.             (6)
                                       ∂u          dx       ∂u′                dx    1+(u′)2
                  c
                  
2006 Gilbert Strang
                  Again this equation is favorable enough to be integrated:
                                        u′                         ′       mx−c
                             mx−p1+(u′)2 =c which gives u = p1−(mx−c)2 .
                  After one more integration we reach the equation of a circle in the x-u plane:
                                  −1p              2                    2            2
                          u(x) = m     1−(mx−c) +d and (mx−c) +(mu−d) =1.                        (7)
                  The shortest path is a circular arc! It goes high enough to enclose area A.
                  The three numbers m,c,d are determined by the conditions u(0) = a,u(1) = b, and
                  R udx = A. The arc is drawn in Figure 7.5 (and m is negative).                  ′′
                     We now summarize the one-dimensional case, allowing F to depend also on u .
                  That introduces v′′ into the weak form and needs two integrations by parts to reach
                  the Euler-Lagrange equation. When F involves a varying coefficient c(x), the form
                  of the equation does not change, because it is u and not x that is perturbed.
                                              R
                  The first variation of P(u) = RR1F(u,u′,u′′,x)dx is zero at a minimum:
                                                0
                          Weak         δP =Z 1v∂F +v′∂F +v′′ ∂F dx=0 for all v.
                          form          δu     0    ∂u      ∂u′       ∂u′′
                  The Euler-Lagrange equation from integration by parts determines u(x):
                                 Strong         ∂F − d ∂F + d2  ∂F =0.
                                 form           ∂u    dx   ∂u′     dx2   ∂u′′
                  Constraints on u bring Lagrange multipliers and saddle points of L.
                     Applications are everywhere, and we mention one (of many) in sports. What
                  angle is optimal in shooting a basketball? The force of the shot depends on the
                  launch angle—line drives or sky hooks need the most push. The force is minimized
                  at 45◦ if the ball leaves your hand ten feet up; for shorter people the angle is about
                  50◦. What is interesting is that the same angle solves a second optimization problem:
                  to have the largest margin of error and still go through the hoop.
                     The condition is P ′ = 0 in basketball (one shot) and δP/δu = 0 in track—where
                  the strategy to minimize the time P(u) has been analyzed for every distance.
                                                               Two-dimensional Problems
                  In two dimensions the principle is the same. The starting point is a quadratic P(u),
                  without constraints, representing the potential energy over a plane region S:
                   Minimize P(u)=ZZ "c∂u2+ c∂u2−f(x,y)u(x,y)#dxdy.
                                             2  ∂x      2   ∂y
                                       S
The words contained in this file might help you see if this file matches what you are looking for:

...C calculus ofvariations gilbert strang of variations one theme this book is the relation equations to minimum principles minimize p solve there may be more it but that main point for a quadratic u utku utf no diculty in reaching ku f thematrix k symmetric positive denite at continuous problem derivative not so easy nd unknown x function and usually an integral its called rst variation euler lagrange equation has weak form strong elastic bar linear will have boundary conditions z cu v dx fvdx every our goal section get beyond example basic idea should simple perturb by test comparing with term dierence yields must zero admissible program carries ordinary into we do several steps dimensional problems r necessarily constraints their multipliers two rr dxdy y time dependent which du dt each step examples as familiar famous possible dimensions means laplace s minimal surfaces nonlinear case newton laws relativity dimension rediscover straight line circle also opening control theory modern a...

no reviews yet
Please Login to review.