Numerical methods for nonlinear optimal control problems

Size: px
Start display at page:

Download "Numerical methods for nonlinear optimal control problems"

Transcription

1 Title: Name: Affil./Addr.: Numerical metods for nonlinear optimal control problems Lars Grüne Matematical Institute, University of Bayreut, Bayreut, Germany ( Numerical metods for nonlinear optimal control problems Summary. In tis article we describe te tree most common approaces for numerically solving nonlinear optimal control problems governed by ordinary differential equations. For computing approximations to optimal value functions and optimal feedback laws we present te Hamilton-Jacobi- Bellman approac. For computing approximately optimal open loop control functions and trajectories for a single initial value, we outline te indirect approac based on Pontryagin s Maximum Principles and te approac via direct discretization. Introduction Tis article concerns optimal control problems governed by nonlinear ordinary differential equations ẋ(t) = f(x(t), u(t)) (1) wit f : R R n R m R n. We assume tat for eac initial value x R n and measurable control function u( ) L (R, R m ) tere exists a unique solution x(t) = x(t, x, u( )) of (1) satisfying x(0, x, u( )) = x. Given a state constraint set X R n and a control constraint set U R m, a running cost g : X U R, a terminal cost F : X U and a discount rate δ 0, we consider te optimal control problem minimize u( ) U T (x) J T (x, u( )) (2)

2 2 were and J T (x, u( )) := T 0 e δs g(x(s, x, u( )), u(s))ds + e δt F (x(t, x, u( ))) x(s, x, u( )) X U T (x) := u( ) L (R, U) (4) for all s [0, T ] In addition to tis finite orizon optimal control problem, we also consider te (3) infinite orizon problem in wic T is replaced by, i.e., minimize J (x, u( )) (5) u( ) U (x) were and respectively. J (x, u( )) := 0 e δs g(x(s, x, u( )), u(s))ds (6) x(s, x, u( )) X U (x) := u( ) L (R, U) for all s 0, (7) Te term solving (2) (4) or (5) (7) can ave various meanings. First, te optimal value functions or V T (x) = inf u( ) U T (x) J T (x, u( )) V (x) = inf J (x, u( )) u( ) U (x) may be of interest. Second, and often more importantly, one would like to know te optimal control policy. Tis can be expressed in open loop form u : R U, in wic te function u depends on te initial value x and on te initial time wic we set to 0 ere. Alternatively, te optimal control can be computed in state and time dependent closed loop form, in wic a feedback law µ : R X U is sougt. Via u (t) = µ (t, x(t)), tis feedback law can ten be used in order to generate te time dependent optimal control function for all possible initial values. Since te feedback law is evaluated along

3 3 te trajectory, it is able to react to perturbations and uncertainties wic may make x(t) deviate from te predicted pat. Finally, knowing u or µ one can reconstruct te corresponding optimal trajectory by solving ẋ(t) = f(x(t), u (t)) or ẋ(t) = f(x(t), µ (t, x(t))). Hamilton-Jacobi-Bellman approac In tis section we describe te numerical approac to solving optimal control problems via Hamilton-Jacobi-Bellman equations. We first describe ow tis approac can be used in order to compute approximations to te optimal value function V T and V, respectively, and afterwards ow te optimal control can be syntesized using tese approximations. In order to formulate tis approac for finite orizon T, we interpret V T (x) as a function in T and x. We denote differentiation w.r.t. T and x wit subscript T and x, i.e., V T x (x) = dv T (x)/dx, V T T (x) = dv T (x)/dt etc. We define te Hamiltonian of te optimal control problem as H(x, p) := max{ g(x, u) p f(x, u)}, u U wit x, p R n, f from (1), g from (3) or (6) and denoting te inner product in R n. Ten, under appropriate regularity conditions on te problem data, te optimal value functions V T and V satisfy te first order partial differential equations (PDEs) V T T (x) + δv T (x) + H(x, V T x (x)) = 0 and δv (x) + H(x, V x (x)) = 0 in te viscosity solution sense. In te case of V T, te equation olds for all T 0 wit te boundary condition V 0 (x) = F (x).

4 4 Te framework of viscosity solutions is needed because in general te optimal value functions will not be smoot, tus a generalized solution concept for PDEs must be employed, see Bardi and Capuzzo Dolcetta (1997). Of course, appropriate boundary conditions are needed at te boundary of te state constraint set X. Once te Hamilton-Jacobi-Bellman caracterization is establised, one can compute numerical approximations to V T or V by solving tese PDEs numerically. To tis end, various numerical scemes ave been suggested, including various types of finite element and finite difference scemes. Among tose, semi-lagrangian scemes (Falcone (1997) or Falcone and Ferretti (2013)) allow for a particularly elegant interpretation in terms of optimal control syntesis, wic we explain for te infinite orizon case. In te semi-lagrangian approac, one takes advantage of te fact tat by te cain rule for p = Vx (x) and constant control functions u te identity δv (x) p f(x, u) = d dt (1 δt)v (x(t, x, u)) t=0 olds. Hence, te left and side of tis equality can be approximated by by te difference quotient V (x) (1 δ)v (x(, x, u)) for small > 0. Inserting tis approximation into te Hamilton-Jacobi-Bellman equation, replacing x(, x, u) by a numerical approximation x(, x, u) (in te simplest case te Euler metod x(, x, u) = x + f(x, u)), multiplying by and rearranging terms, one arrives at te equation V (x) = min{g(x, u) + (1 δ)v ( x(, x, u))} u U defining an approximation V V. Tis is now a purely algebraic dynamic programming type equation wic can be solved numerically, e.g., by using a finite element approac. Te equation is typically solved iteratively using a suitable minimization

5 5 routine for computing te min in eac iteration (in te simplest case U is discretized wit finitely many values and te minimum is determined by direct comparison). We denote te resulting approximation of V by Ṽ. Here, approximation is usually understood in te L sense, see Falcone (1997) or Falcone and Ferretti (2013). Te semi-lagrangian sceme is appealing for syntesis of an approximately optimal feedback because V is te optimal value function of te auxiliary discrete time problem defined by x. Tis implies tat te expression µ (x) := argmin{g(x, u) + (1 δ)v ( x(, x, u))}, u U is an optimal feedback control value for tis discrete time problem for te next time step, i.e., on te time interval [t, t + ) if x = x(t). Tis feedback law will be approximately optimal for te continuous time control system wen applied as a discrete time feedback law and tis approximate optimality remains true if we replace V in te definition of µ by its numerically computable approximation Ṽ. A similar construction can be made based on any oter numerical approximation Ṽ V, but te explicit correspondence of te semi-lagrangian sceme to a discrete time auxiliary system facilitates te interpretation and error analysis of te resulting control law. Te main advantage of te Hamilton-Jacobi-approac is tat it directly computes an approximately optimal feedback law. Its main disadvantage is tat te number of grid nodes needed for maintaining a given accuracy in a finite element approac to compute Ṽ in general grows exponentially wit te state dimension n. Tis fact known as te curse of dimensionality restricts tis metod to low dimensional state spaces. Unless special structure is available wic can be exploited, as, e.g., in te maxplus approac, see McEneaney (2006), it is currently almost impossible to go beyond state dimensions of about n = 10, typically less for strongly nonlinear problems.

6 Maximum Principle approac 6 In contrast to te Hamilton-Jacobi-Bellman approac, te approac via Pontryagin s Maximum Principle does not compute a feedback law. Instead, it yields an approximately open loop optimal control u togeter wit an approximation to te optimal trajectory x for a fixed initial value. We explain te approac for te finite orizon problem. For simplicity of presentation, we omit state constraints in our presentation, i.e., we set X = R n and refer to, e.g., Vinter (2000), Bryson and Ho (1975) or Grass et al (2008) for more general formulations as well as for rigorous versions of te following statements. In order to state te Maximum Principle (wic, since we are considering a minimization problem ere, could also be called Minimum Principle) we define te non-minimized Hamiltonian as H(x, p, u) = g(x, u) + p f(x, u). Ten, under appropriate regularity assumptions tere exists an absolutely continuous function p : [0, T ] R n suc tat te optimal trajectory x and te corresponding optimal control function u for (2) (4) satisfy ṗ(t) = δp(t) H x (x (t), p(t), u (t)) (8) wit terminal or transversality condition p(t ) = F x (x (T )) (9) and u (t) = argmin H(x (t), p(t), u), (10) u U for almost all t [0, T ], see Grass et al (2008), Teorem 3.4. Te variable p is referred to as te adjoint or costate variable.

7 For a given initial value x 0 R n, te numerical approac now consists of finding functions x : [0, T ] R n, u : [0, T ] U and p : [0, T ] R n satisfying 7 ẋ(t) = f(x(t), u(t)) (11) ṗ(t) = δp(t) H x (x(t), p(t), u(t)) (12) u(t) = argmin H(x(t), p(t), u) (13) u U x(0) = x 0, p(t ) = F x (x(t )) (14) for t [0, T ]. Depending on te regularity of te underlying data te conditions (11) (14) may only be necessary but not sufficient for x and u being an optimal trajectory x and control function u, respectively. However, usually x and u satisfying tese conditions are good candidates for te optimal trajectory and control, tus justifying te use of tese conditions for te numerical approac. If needed, optimality of te candidates can be cecked using suitable sufficient optimality conditions for wic we refer to, e.g., Maurer (1981) or Malanowski et al (2004). Due to te fact tat in te Maximum Principle approac first optimality conditions are derived wic are ten discretized for numerical simulation, it is also termed first optimize ten discretize. Solving (11) (14) numerically amounts to solving a boundary value problem, because te condition x (0) = x 0 is posed at te beginning of te time interval [0, T ] wile te condition p(t ) = F x (x (T )) is required at te end. In order to solve suc a problem, te simplest approac is te single sooting metod wic proceeds as follows: We select a numerical sceme for solving te ordinary differential equations (11) and (12) for t [0, T ] wit initial conditions x(0) = x 0, p(0) = p 0 and control function u(t). Ten, we proceed iteratively as follows: (0) Find initial guesses p 0 0 R n and u 0 (t) for te initial costate and te control, fix ε > 0 and set k := 0

8 (1) Solve (11) and (12) numerically wit initial values x 0 and p k 0 and control function u k. Denote te resulting trajectories by x k (t) and p k (t). (2) Apply one step of an iterative metod for solving te zero finding problem G(p) = 0 wit G(p k 0) := p k (T ) F x ( x k (T )) for computing p k+1 0. For instance, in case of te Newton metod we get 8 p k+1 0 := p k 0 DG(p k 0) 1 G(p k 0). If p k+1 0 p k 0 < ε stop; else compute set k := k + 1 and go to (1). u k+1 (t) := argmin H(x k (t), p k (t), u), u U Te procedure described in tis algoritm is called single sooting because te iteration is performed on te single initial value p k 0. For an implementable sceme, several details still need to be made precise, e.g., ow to parameterize te function u(t) (e.g., piecewise constant, piecewise linear or polynomial), ow to compute te derivative DG and its inverse (or an approximation tereof) and te argmin in (2). Te last task considerably simplifies if te structure of te optimal control, e.g., te number of switcings in case of a bang-bang control, is known. However, even if all tese points are settled, te set of initial guesses p 0 0 and u 0 for wic te metod is going to converge to a solution of (11) (14) tends to be very small. One reason for tis is tat te solutions of (11) and (12) typically depend very sensitively on p 0 0 and u 0. In order to circumvent tis problem, multiple sooting can be used. To tis end, one selects a time grid 0 = t 0 < t 1 < t 2 <... < t N = T and in addition to p k 0 introduces variables x k 1,..., x k N 1, pk 1,..., p k N 1 Rn. Ten, starting from initial guesses p 0 0, u 0 and x 0 1,..., x 0 N 1, p0 1,..., p 0 N 1, in eac iteration te equations

9 9 (11) (14) are solved numerically on te intervals [t j, t j+1 ] wit initial values x k j and p k j, respectively. We denote te respective solutions in te k-t iteration by x k j and p k j. In order to enforce tat te trajectory pieces computed on te individual intervals [t j, t j+1 ] fit togeter continuously, te map G is redefined as G(x k 1,..., x k N 1, pk 0, p k 1,..., p k N 1 ) = x k 0(t 1 ) x k 1. x k N 2 (t 1) x k N 1 p k 0(t 1 ) p k. 1. p k N 2 (t 1) p k N 1 p k N 1 (T ) F x( x k N 1 (T )) Te benefit of tis approac is tat te solutions on te sortened time intervals depend muc less sensitively on te initial values and te control, tus making te problem numerically muc better conditioned. Te obvious disadvantage is tat te problem becomes larger as te function G is now defined on a muc iger dimensional space but tis additional effort usually pays off. Wile te convergence beavior for te multiple sooting metod is considerably better tan for single sooting, it is still a difficult task to select good initial guesses x 0 j, p 0 j and u 0. In order to accomplis tis, omotopy metods can be used, see, e.g., Pesc (1994) or te result of a direct approac as presented in te next section can be used as an initial guess. Te latter can be reasonable as te Maximum Principle based approac can yield approximations of iger accuracy tan te direct metod. In te presence of state constraints or mixed state and control constraints te conditions (12) (14) become considerably more tecnical and tus more difficult to be implemented numerically, cf. Pesc (1994).

10 Direct discretization 10 Despite being te most straigtforward and simple of te approaces described in tis article, te direct discretization approac is currently te most widely used approac for computing single finite orizon optimal trajectories. In te direct approac we first discretize te problem and ten solve a finite dimensional nonlinear optimization problem (NLP), i.e., we first discretize, ten optimize. Te main reason for te popularity of tis approac are te simplicity wit wic constraints can be andled and te numerical efficiency due to te availability of fast and reliable NLP solvers. Te direct approac again applies to te finite orizon problem and computes an approximation to a single optimal trajectory x (t) and control function u (t) for a given initial value x 0 X. To tis end, a time grid 0 = t 0 < t 1 < t 2 <... < t N = T and a set U d of control functions wic are parametrized by finitely many values are selected. Te simplest way to do so is to coose u(t) u j U for all t [t i, t i+1 ]. However, oter approaces like piecewise linear or piecewise polynomial control functions are possible, too. We use a numerical algoritm for ordinary differential equations in order to approximately solve te initial value problems ẋ(t) = f(x(t), u i ), x(t i ) = x i (15) for i = 0,..., N 1 on [t i, t i+1 ]. We denote te exact and numerical solution of (15) by x(t, t i, x i, u i ) and x(t, t i, x i, u i ), respectively. Finally, we coose a numerical integration rule in order to compute an approximation I(t i, t i+1, x i, u i ) ti+1 t i e δt g(x(t, t i, x i, u), u(t))dt. In te simplest case, one migt coose x as te Euler sceme and I as te rectangle rule, leading to x(t i+1, t i, x i, u i ) = x i + (t i+1 t i )f(x i, u i )

11 11 and I(t i, t i+1, x i, u i ) = (t i+1 t i )e δt i g(x i, u i ). Introducing te optimization variables u 0,..., u N 1 R m and x 1,..., x N R n, te discretized version of (2) (4) reads subject to te constraints N 1 minimize I(t i, t i+1, x i, u) + e δt F (x N ) x j R n,u j R m i=0 u j U, j = 0,..., N 1 x j X, x j+1 = x(t j+1, t j, x j, u), j = 1,..., N j = 0,..., N Tis way, we ave converted te optimal control problem (2) (4) into a finite dimensional nonlinear optimization problem (NLP). As suc, it can be solved wit any numerical metod for solving suc problems. Popular metods are, for instance, sequential quadratic programming (SQP) or interior point (IP) algoritms. Te convergence of tis approac was proved in Malanowski et al (1998), for an up to date account on teory and practice of te metod see Gerdts (2012) and Betts (2010). Tese references also explain ow information about te costates p(t) can be extracted from a direct discretization, tus linking te approac to te Maximum Principle. Te direct metod sketced ere is again a multiple sooting metod and te benefit of tis approac is te same as for solving boundary problems: tanks to te sort intervals [t i, t i+1 ] te solutions depend muc less sensitively on te data tan te solution on te wole interval [0, T ], tus making te iterative solution of te resulting discretized NLP muc easier. Te price to pay is again te increase of te number of optimization variables. However, due to te particular structure of te constraints guaranteeing continuity of te solution, te resulting matrices in te NLP ave a par-

12 12 ticular structure wic can be exploited numerically by a metod called condensing, see Bock and Plitt (1984). An alternative to multiple sooting metods are collocation metods, in wic te internal variables of te numerical algoritm for solving (15) are also optimization variables. However, nowadays te multiple sooting approac as described above is usually preferred. For a more detailed description of various direct approaces see also Binder et al (2001), Section 5. Furter approaces for infinite orizon problems Te last two approaces only apply to finite orizon problems. Wile te Maximum Principle approac can be generalized to infinite orizon problems, te necessary conditions become weaker and te numerical solution becomes considerably more involved, see Grass et al (2008). Bot te Maximum Principle and te direct approac can, owever, be applied in a receding orizon fasion, in wic an infinite orizon problem is approximated by te iterative solution of finite orizon problems. Te resulting control tecnique is known under te name of Model Predictive control (MPC, see Grüne and Pannek (2011)) and under suitable assumptions a rigorous approximation result can be establised. Summary and Future Directions Te tree main numerical approaces to optimal control are te Hamilton-Jacobi-Bellman approac, wic provides a global solution in feedback form but is computationally expensive for iger dimensional systems te Pontryagin Maximum Principle approac wic computes single optimal trajectories wit ig accuracy but needs good initial guesses for te iteration

13 13 te direct approac wic also computes single optimal trajectories but is less demanding in terms of te initial guesses at te expense of a somewat lower accuracy Currently, te main trends in numerical optimal control lie in te areas of Hamilton- Jacobi-Bellman equations and direct discretization. For te former, te development of discretization scemes suitable for increasingly iger dimensional problems are in te focus. For te latter, te popularity of tese metods in online applications like MPC triggers continuing effort to make tis approac faster and more reliable. Beyond ordinary differential equations, te development of numerical algoritms for te optimal control of partial differential equations (PDEs) as attracted considerable attention during te last years. Wile many of tese metods are still restricted to linear systems, in te near future we can expect to see many extensions to (classes of) nonlinear PDEs. It is wort noting tat for PDEs Maximum Principle-like approaces are more popular tan for ordinary differential equations. Cross References <<link to "Optimal control and Pontryagin s maximum principle", Ricard Vinter>> <<link to "Optimal control and te dynamic programming principle", Maurizio Falcone>> <<link to "Optimization algoritms for Model predictive control", Moritz Diel>> <<link to "Nominal model predictive control", Lars Grüne>> <<link to "Economic model predictive control", David Angeli>> <<link to "Discrete optimal control", David Martin De Diego>>

14 References 14 Bardi M, Capuzzo Dolcetta I (1997) Optimal Control and Viscosity Solutions of Hamilton-Jacobi-Bellman equations. Birkäuser, Boston Betts JT (2010) Practical metods for optimal control and estimation using nonlinear programming, 2nd edn. SIAM, Piladelpia Binder T, Blank L, Bock HG, Bulirsc R, Damen W, Diel M, Kronseder T, Marquardt W, Sclöder JP, von Stryk O (2001) Introduction to Model Based Optimization of Cemical Processes on Moving Horizons. In: Grötscel M, Krumke SO, Rambau J (eds) Online Optimization of Large Scale Systems: State of te Art, Springer-Verlag, Heidelberg, pp Bock HG, Plitt K (1984) A multiple sooting algoritm for direct solution of optimal control problems. In: Proceedings of te 9t IFAC World Congress Budapest, Pergamon, Oxford, pp Bryson AE, Ho YC (1975) Applied optimal control. Hemispere Publising Corp. Wasington, D.C., revised printing Falcone M (1997) Numerical solution of dynamic programming equations. Appendix A in Bardi, M. and Capuzzo Dolcetta, I., Optimal control and viscosity solutions of Hamilton-Jacobi-Bellman equations, Birkäuser, Boston Falcone M, Ferretti R (2013) Semi-Lagrangian approximation scemes for linear and Hamilton-Jacobi equations. SIAM, Piladelpia Gerdts M (2012) Optimal control of ODEs and DAEs. de Gruyter Textbook, Walter de Gruyter & Co., Berlin Grass D, Caulkins JP, Feictinger G, Tragler G, Berens DA (2008) Optimal control of nonlinear processes. Springer-Verlag, Berlin Grüne L, Pannek J (2011) Nonlinear Model Predictive Control. Teory and Algoritms. Springer-Verlag, London

15 15 Malanowski K, Büskens C, Maurer H (1998) Convergence of approximations to nonlinear optimal control problems. In: Matematical programming wit data perturbations, Lecture Notes in Pure and Appl. Mat., vol 195, Dekker, New York, pp Malanowski K, Maurer H, Pickenain S (2004) Second-order sufficient conditions for state-constrained optimal control problems. J Optim Teory Appl 123(3): Maurer H (1981) First and second order sufficient optimality conditions in matematical programming and optimal control. Mat Programming Stud 14: McEneaney WM (2006) Max-plus metods for nonlinear control and estimation. Systems & Control: Foundations & Applications, Birkäuser, Boston Pesc HJ (1994) A practical guide to te solution of real-life optimal control problems. Control Cybernet 23(1-2):7 60 Vinter R (2000) Optimal control. Systems & Control: Foundations & Applications, Birkäuser, Boston

Numerical Optimal Control Overview. Moritz Diehl

Numerical Optimal Control Overview. Moritz Diehl Numerical Optimal Control Overview Moritz Diehl Simplified Optimal Control Problem in ODE path constraints h(x, u) 0 initial value x0 states x(t) terminal constraint r(x(t )) 0 controls u(t) 0 t T minimize

More information

Direct Methods. Moritz Diehl. Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U.

Direct Methods. Moritz Diehl. Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U. Direct Methods Moritz Diehl Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U. Leuven Belgium Overview Direct Single Shooting Direct Collocation Direct Multiple

More information

Order of Accuracy. ũ h u Ch p, (1)

Order of Accuracy. ũ h u Ch p, (1) Order of Accuracy 1 Terminology We consider a numerical approximation of an exact value u. Te approximation depends on a small parameter, wic can be for instance te grid size or time step in a numerical

More information

Numerical Differentiation

Numerical Differentiation Numerical Differentiation Finite Difference Formulas for te first derivative (Using Taylor Expansion tecnique) (section 8.3.) Suppose tat f() = g() is a function of te variable, and tat as 0 te function

More information

lecture 26: Richardson extrapolation

lecture 26: Richardson extrapolation 43 lecture 26: Ricardson extrapolation 35 Ricardson extrapolation, Romberg integration Trougout numerical analysis, one encounters procedures tat apply some simple approximation (eg, linear interpolation)

More information

Parameter Fitted Scheme for Singularly Perturbed Delay Differential Equations

Parameter Fitted Scheme for Singularly Perturbed Delay Differential Equations International Journal of Applied Science and Engineering 2013. 11, 4: 361-373 Parameter Fitted Sceme for Singularly Perturbed Delay Differential Equations Awoke Andargiea* and Y. N. Reddyb a b Department

More information

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx. Capter 2 Integrals as sums and derivatives as differences We now switc to te simplest metods for integrating or differentiating a function from its function samples. A careful study of Taylor expansions

More information

The Laplace equation, cylindrically or spherically symmetric case

The Laplace equation, cylindrically or spherically symmetric case Numerisce Metoden II, 7 4, und Übungen, 7 5 Course Notes, Summer Term 7 Some material and exercises Te Laplace equation, cylindrically or sperically symmetric case Electric and gravitational potential,

More information

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini Numerical approximation for optimal control problems via MPC and HJB Giulia Fabrini Konstanz Women In Mathematics 15 May, 2018 G. Fabrini (University of Konstanz) Numerical approximation for OCP 1 / 33

More information

Copyright c 2008 Kevin Long

Copyright c 2008 Kevin Long Lecture 4 Numerical solution of initial value problems Te metods you ve learned so far ave obtained closed-form solutions to initial value problems. A closedform solution is an explicit algebriac formula

More information

Numerical Methods for Optimal Control Problems. Part I: Hamilton-Jacobi-Bellman Equations and Pontryagin Minimum Principle

Numerical Methods for Optimal Control Problems. Part I: Hamilton-Jacobi-Bellman Equations and Pontryagin Minimum Principle Numerical Methods for Optimal Control Problems. Part I: Hamilton-Jacobi-Bellman Equations and Pontryagin Minimum Principle Ph.D. course in OPTIMAL CONTROL Emiliano Cristiani (IAC CNR) e.cristiani@iac.cnr.it

More information

ETNA Kent State University

ETNA Kent State University Electronic Transactions on Numerical Analysis. Volume 34, pp. 14-19, 2008. Copyrigt 2008,. ISSN 1068-9613. ETNA A NOTE ON NUMERICALLY CONSISTENT INITIAL VALUES FOR HIGH INDEX DIFFERENTIAL-ALGEBRAIC EQUATIONS

More information

MATH745 Fall MATH745 Fall

MATH745 Fall MATH745 Fall MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext

More information

Chapter 5 FINITE DIFFERENCE METHOD (FDM)

Chapter 5 FINITE DIFFERENCE METHOD (FDM) MEE7 Computer Modeling Tecniques in Engineering Capter 5 FINITE DIFFERENCE METHOD (FDM) 5. Introduction to FDM Te finite difference tecniques are based upon approximations wic permit replacing differential

More information

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds.

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds. Numerical solvers for large systems of ordinary differential equations based on te stocastic direct simulation metod improved by te and Runge Kutta principles Flavius Guiaş Abstract We present a numerical

More information

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example, NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing

More information

3.4 Worksheet: Proof of the Chain Rule NAME

3.4 Worksheet: Proof of the Chain Rule NAME Mat 1170 3.4 Workseet: Proof of te Cain Rule NAME Te Cain Rule So far we are able to differentiate all types of functions. For example: polynomials, rational, root, and trigonometric functions. We are

More information

Parametric Spline Method for Solving Bratu s Problem

Parametric Spline Method for Solving Bratu s Problem ISSN 749-3889 print, 749-3897 online International Journal of Nonlinear Science Vol4202 No,pp3-0 Parametric Spline Metod for Solving Bratu s Problem M Zarebnia, Z Sarvari 2,2 Department of Matematics,

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximatinga function fx, wose values at a set of distinct points x, x, x,, x n are known, by a polynomial P x suc

More information

How to Find the Derivative of a Function: Calculus 1

How to Find the Derivative of a Function: Calculus 1 Introduction How to Find te Derivative of a Function: Calculus 1 Calculus is not an easy matematics course Te fact tat you ave enrolled in suc a difficult subject indicates tat you are interested in te

More information

Integral Calculus, dealing with areas and volumes, and approximate areas under and between curves.

Integral Calculus, dealing with areas and volumes, and approximate areas under and between curves. Calculus can be divided into two ke areas: Differential Calculus dealing wit its, rates of cange, tangents and normals to curves, curve sketcing, and applications to maima and minima problems Integral

More information

Numerical Solution of One Dimensional Nonlinear Longitudinal Oscillations in a Class of Generalized Functions

Numerical Solution of One Dimensional Nonlinear Longitudinal Oscillations in a Class of Generalized Functions Proc. of te 8t WSEAS Int. Conf. on Matematical Metods and Computational Tecniques in Electrical Engineering, Bucarest, October 16-17, 2006 219 Numerical Solution of One Dimensional Nonlinear Longitudinal

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximating a function f(x, wose values at a set of distinct points x, x, x 2,,x n are known, by a polynomial P (x

More information

ch (for some fixed positive number c) reaching c

ch (for some fixed positive number c) reaching c GSTF Journal of Matematics Statistics and Operations Researc (JMSOR) Vol. No. September 05 DOI 0.60/s4086-05-000-z Nonlinear Piecewise-defined Difference Equations wit Reciprocal and Cubic Terms Ramadan

More information

The derivative function

The derivative function Roberto s Notes on Differential Calculus Capter : Definition of derivative Section Te derivative function Wat you need to know already: f is at a point on its grap and ow to compute it. Wat te derivative

More information

Section 3.1: Derivatives of Polynomials and Exponential Functions

Section 3.1: Derivatives of Polynomials and Exponential Functions Section 3.1: Derivatives of Polynomials and Exponential Functions In previous sections we developed te concept of te derivative and derivative function. Te only issue wit our definition owever is tat it

More information

Solving Continuous Linear Least-Squares Problems by Iterated Projection

Solving Continuous Linear Least-Squares Problems by Iterated Projection Solving Continuous Linear Least-Squares Problems by Iterated Projection by Ral Juengling Department o Computer Science, Portland State University PO Box 75 Portland, OR 977 USA Email: juenglin@cs.pdx.edu

More information

Poisson Equation in Sobolev Spaces

Poisson Equation in Sobolev Spaces Poisson Equation in Sobolev Spaces OcMountain Dayligt Time. 6, 011 Today we discuss te Poisson equation in Sobolev spaces. It s existence, uniqueness, and regularity. Weak Solution. u = f in, u = g on

More information

New Streamfunction Approach for Magnetohydrodynamics

New Streamfunction Approach for Magnetohydrodynamics New Streamfunction Approac for Magnetoydrodynamics Kab Seo Kang Brooaven National Laboratory, Computational Science Center, Building 63, Room, Upton NY 973, USA. sang@bnl.gov Summary. We apply te finite

More information

Numerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1

Numerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1 Numerical Analysis MTH60 PREDICTOR CORRECTOR METHOD Te metods presented so far are called single-step metods, were we ave seen tat te computation of y at t n+ tat is y n+ requires te knowledge of y n only.

More information

Physically Based Modeling: Principles and Practice Implicit Methods for Differential Equations

Physically Based Modeling: Principles and Practice Implicit Methods for Differential Equations Pysically Based Modeling: Principles and Practice Implicit Metods for Differential Equations David Baraff Robotics Institute Carnegie Mellon University Please note: Tis document is 997 by David Baraff

More information

Chapter 4: Numerical Methods for Common Mathematical Problems

Chapter 4: Numerical Methods for Common Mathematical Problems 1 Capter 4: Numerical Metods for Common Matematical Problems Interpolation Problem: Suppose we ave data defined at a discrete set of points (x i, y i ), i = 0, 1,..., N. Often it is useful to ave a smoot

More information

Differentiation in higher dimensions

Differentiation in higher dimensions Capter 2 Differentiation in iger dimensions 2.1 Te Total Derivative Recall tat if f : R R is a 1-variable function, and a R, we say tat f is differentiable at x = a if and only if te ratio f(a+) f(a) tends

More information

Exercises for numerical differentiation. Øyvind Ryan

Exercises for numerical differentiation. Øyvind Ryan Exercises for numerical differentiation Øyvind Ryan February 25, 2013 1. Mark eac of te following statements as true or false. a. Wen we use te approximation f (a) (f (a +) f (a))/ on a computer, we can

More information

LECTURE 14 NUMERICAL INTEGRATION. Find

LECTURE 14 NUMERICAL INTEGRATION. Find LECTURE 14 NUMERCAL NTEGRATON Find b a fxdx or b a vx ux fx ydy dx Often integration is required. However te form of fx may be suc tat analytical integration would be very difficult or impossible. Use

More information

Math 31A Discussion Notes Week 4 October 20 and October 22, 2015

Math 31A Discussion Notes Week 4 October 20 and October 22, 2015 Mat 3A Discussion Notes Week 4 October 20 and October 22, 205 To prepare for te first midterm, we ll spend tis week working eamples resembling te various problems you ve seen so far tis term. In tese notes

More information

Dedicated to the 70th birthday of Professor Lin Qun

Dedicated to the 70th birthday of Professor Lin Qun Journal of Computational Matematics, Vol.4, No.3, 6, 4 44. ACCELERATION METHODS OF NONLINEAR ITERATION FOR NONLINEAR PARABOLIC EQUATIONS Guang-wei Yuan Xu-deng Hang Laboratory of Computational Pysics,

More information

Numerical Experiments Using MATLAB: Superconvergence of Nonconforming Finite Element Approximation for Second-Order Elliptic Problems

Numerical Experiments Using MATLAB: Superconvergence of Nonconforming Finite Element Approximation for Second-Order Elliptic Problems Applied Matematics, 06, 7, 74-8 ttp://wwwscirporg/journal/am ISSN Online: 5-7393 ISSN Print: 5-7385 Numerical Experiments Using MATLAB: Superconvergence of Nonconforming Finite Element Approximation for

More information

Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS

Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS Opuscula Matematica Vol. 26 No. 3 26 Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS Abstract. In tis work a new numerical metod is constructed for time-integrating

More information

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x) Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of

More information

5 Ordinary Differential Equations: Finite Difference Methods for Boundary Problems

5 Ordinary Differential Equations: Finite Difference Methods for Boundary Problems 5 Ordinary Differential Equations: Finite Difference Metods for Boundary Problems Read sections 10.1, 10.2, 10.4 Review questions 10.1 10.4, 10.8 10.9, 10.13 5.1 Introduction In te previous capters we

More information

Recent Progress in the Integration of Poisson Systems via the Mid Point Rule and Runge Kutta Algorithm

Recent Progress in the Integration of Poisson Systems via the Mid Point Rule and Runge Kutta Algorithm Recent Progress in te Integration of Poisson Systems via te Mid Point Rule and Runge Kutta Algoritm Klaus Bucner, Mircea Craioveanu and Mircea Puta Abstract Some recent progress in te integration of Poisson

More information

1. Questions (a) through (e) refer to the graph of the function f given below. (A) 0 (B) 1 (C) 2 (D) 4 (E) does not exist

1. Questions (a) through (e) refer to the graph of the function f given below. (A) 0 (B) 1 (C) 2 (D) 4 (E) does not exist Mat 1120 Calculus Test 2. October 18, 2001 Your name Te multiple coice problems count 4 points eac. In te multiple coice section, circle te correct coice (or coices). You must sow your work on te oter

More information

Convergence and Descent Properties for a Class of Multilevel Optimization Algorithms

Convergence and Descent Properties for a Class of Multilevel Optimization Algorithms Convergence and Descent Properties for a Class of Multilevel Optimization Algoritms Stepen G. Nas April 28, 2010 Abstract I present a multilevel optimization approac (termed MG/Opt) for te solution of

More information

INTRODUCTION TO CALCULUS LIMITS

INTRODUCTION TO CALCULUS LIMITS Calculus can be divided into two ke areas: INTRODUCTION TO CALCULUS Differential Calculus dealing wit its, rates of cange, tangents and normals to curves, curve sketcing, and applications to maima and

More information

Preconditioning in H(div) and Applications

Preconditioning in H(div) and Applications 1 Preconditioning in H(div) and Applications Douglas N. Arnold 1, Ricard S. Falk 2 and Ragnar Winter 3 4 Abstract. Summarizing te work of [AFW97], we sow ow to construct preconditioners using domain decomposition

More information

Combining functions: algebraic methods

Combining functions: algebraic methods Combining functions: algebraic metods Functions can be added, subtracted, multiplied, divided, and raised to a power, just like numbers or algebra expressions. If f(x) = x 2 and g(x) = x + 2, clearly f(x)

More information

Copyright 2012 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future

Copyright 2012 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future Copyrigt 212 IEEE. Personal use of tis material is permitted. Permission from IEEE must be obtained for all oter uses, in any current or future media, including reprinting/republising tis material for

More information

1. Introduction. We consider the model problem: seeking an unknown function u satisfying

1. Introduction. We consider the model problem: seeking an unknown function u satisfying A DISCONTINUOUS LEAST-SQUARES FINITE ELEMENT METHOD FOR SECOND ORDER ELLIPTIC EQUATIONS XIU YE AND SHANGYOU ZHANG Abstract In tis paper, a discontinuous least-squares (DLS) finite element metod is introduced

More information

Efficient algorithms for for clone items detection

Efficient algorithms for for clone items detection Efficient algoritms for for clone items detection Raoul Medina, Caroline Noyer, and Olivier Raynaud Raoul Medina, Caroline Noyer and Olivier Raynaud LIMOS - Université Blaise Pascal, Campus universitaire

More information

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY (Section 3.2: Derivative Functions and Differentiability) 3.2.1 SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY LEARNING OBJECTIVES Know, understand, and apply te Limit Definition of te Derivative

More information

MATH1131/1141 Calculus Test S1 v8a

MATH1131/1141 Calculus Test S1 v8a MATH/ Calculus Test 8 S v8a October, 7 Tese solutions were written by Joann Blanco, typed by Brendan Trin and edited by Mattew Yan and Henderson Ko Please be etical wit tis resource It is for te use of

More information

Digital Filter Structures

Digital Filter Structures Digital Filter Structures Te convolution sum description of an LTI discrete-time system can, in principle, be used to implement te system For an IIR finite-dimensional system tis approac is not practical

More information

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016 MAT244 - Ordinary Di erential Equations - Summer 206 Assignment 2 Due: July 20, 206 Full Name: Student #: Last First Indicate wic Tutorial Section you attend by filling in te appropriate circle: Tut 0

More information

1 Lecture 13: The derivative as a function.

1 Lecture 13: The derivative as a function. 1 Lecture 13: Te erivative as a function. 1.1 Outline Definition of te erivative as a function. efinitions of ifferentiability. Power rule, erivative te exponential function Derivative of a sum an a multiple

More information

Influence of the Stepsize on Hyers Ulam Stability of First-Order Homogeneous Linear Difference Equations

Influence of the Stepsize on Hyers Ulam Stability of First-Order Homogeneous Linear Difference Equations International Journal of Difference Equations ISSN 0973-6069, Volume 12, Number 2, pp. 281 302 (2017) ttp://campus.mst.edu/ijde Influence of te Stepsize on Hyers Ulam Stability of First-Order Homogeneous

More information

, meant to remind us of the definition of f (x) as the limit of difference quotients: = lim

, meant to remind us of the definition of f (x) as the limit of difference quotients: = lim Mat 132 Differentiation Formulas Stewart 2.3 So far, we ave seen ow various real-world problems rate of cange and geometric problems tangent lines lead to derivatives. In tis section, we will see ow to

More information

Implicit-explicit variational integration of highly oscillatory problems

Implicit-explicit variational integration of highly oscillatory problems Implicit-explicit variational integration of igly oscillatory problems Ari Stern Structured Integrators Worksop April 9, 9 Stern, A., and E. Grinspun. Multiscale Model. Simul., to appear. arxiv:88.39 [mat.na].

More information

Finite Difference Method

Finite Difference Method Capter 8 Finite Difference Metod 81 2nd order linear pde in two variables General 2nd order linear pde in two variables is given in te following form: L[u] = Au xx +2Bu xy +Cu yy +Du x +Eu y +Fu = G According

More information

A Reconsideration of Matter Waves

A Reconsideration of Matter Waves A Reconsideration of Matter Waves by Roger Ellman Abstract Matter waves were discovered in te early 20t century from teir wavelengt, predicted by DeBroglie, Planck's constant divided by te particle's momentum,

More information

Mass Lumping for Constant Density Acoustics

Mass Lumping for Constant Density Acoustics Lumping 1 Mass Lumping for Constant Density Acoustics William W. Symes ABSTRACT Mass lumping provides an avenue for efficient time-stepping of time-dependent problems wit conforming finite element spatial

More information

THE STURM-LIOUVILLE-TRANSFORMATION FOR THE SOLUTION OF VECTOR PARTIAL DIFFERENTIAL EQUATIONS. L. Trautmann, R. Rabenstein

THE STURM-LIOUVILLE-TRANSFORMATION FOR THE SOLUTION OF VECTOR PARTIAL DIFFERENTIAL EQUATIONS. L. Trautmann, R. Rabenstein Worksop on Transforms and Filter Banks (WTFB),Brandenburg, Germany, Marc 999 THE STURM-LIOUVILLE-TRANSFORMATION FOR THE SOLUTION OF VECTOR PARTIAL DIFFERENTIAL EQUATIONS L. Trautmann, R. Rabenstein Lerstul

More information

Introduction to Derivatives

Introduction to Derivatives Introduction to Derivatives 5-Minute Review: Instantaneous Rates and Tangent Slope Recall te analogy tat we developed earlier First we saw tat te secant slope of te line troug te two points (a, f (a))

More information

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households Volume 29, Issue 3 Existence of competitive equilibrium in economies wit multi-member ouseolds Noriisa Sato Graduate Scool of Economics, Waseda University Abstract Tis paper focuses on te existence of

More information

Numerical Solution to Parabolic PDE Using Implicit Finite Difference Approach

Numerical Solution to Parabolic PDE Using Implicit Finite Difference Approach Numerical Solution to arabolic DE Using Implicit Finite Difference Approac Jon Amoa-Mensa, Francis Oene Boateng, Kwame Bonsu Department of Matematics and Statistics, Sunyani Tecnical University, Sunyani,

More information

Name: Answer Key No calculators. Show your work! 1. (21 points) All answers should either be,, a (finite) real number, or DNE ( does not exist ).

Name: Answer Key No calculators. Show your work! 1. (21 points) All answers should either be,, a (finite) real number, or DNE ( does not exist ). Mat - Final Exam August 3 rd, Name: Answer Key No calculators. Sow your work!. points) All answers sould eiter be,, a finite) real number, or DNE does not exist ). a) Use te grap of te function to evaluate

More information

Complexity of Decoding Positive-Rate Reed-Solomon Codes

Complexity of Decoding Positive-Rate Reed-Solomon Codes Complexity of Decoding Positive-Rate Reed-Solomon Codes Qi Ceng 1 and Daqing Wan 1 Scool of Computer Science Te University of Oklaoma Norman, OK73019 Email: qceng@cs.ou.edu Department of Matematics University

More information

Function Composition and Chain Rules

Function Composition and Chain Rules Function Composition and s James K. Peterson Department of Biological Sciences and Department of Matematical Sciences Clemson University Marc 8, 2017 Outline 1 Function Composition and Continuity 2 Function

More information

Exam 1 Review Solutions

Exam 1 Review Solutions Exam Review Solutions Please also review te old quizzes, and be sure tat you understand te omework problems. General notes: () Always give an algebraic reason for your answer (graps are not sufficient),

More information

Definition of the Derivative

Definition of the Derivative Te Limit Definition of te Derivative Tis Handout will: Define te limit grapically and algebraically Discuss, in detail, specific features of te definition of te derivative Provide a general strategy of

More information

7.1 Using Antiderivatives to find Area

7.1 Using Antiderivatives to find Area 7.1 Using Antiderivatives to find Area Introduction finding te area under te grap of a nonnegative, continuous function f In tis section a formula is obtained for finding te area of te region bounded between

More information

A h u h = f h. 4.1 The CoarseGrid SystemandtheResidual Equation

A h u h = f h. 4.1 The CoarseGrid SystemandtheResidual Equation Capter Grid Transfer Remark. Contents of tis capter. Consider a grid wit grid size and te corresponding linear system of equations A u = f. Te summary given in Section 3. leads to te idea tat tere migt

More information

Material for Difference Quotient

Material for Difference Quotient Material for Difference Quotient Prepared by Stepanie Quintal, graduate student and Marvin Stick, professor Dept. of Matematical Sciences, UMass Lowell Summer 05 Preface Te following difference quotient

More information

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these. Mat 11. Test Form N Fall 016 Name. Instructions. Te first eleven problems are wort points eac. Te last six problems are wort 5 points eac. For te last six problems, you must use relevant metods of algebra

More information

Simulation and verification of a plate heat exchanger with a built-in tap water accumulator

Simulation and verification of a plate heat exchanger with a built-in tap water accumulator Simulation and verification of a plate eat excanger wit a built-in tap water accumulator Anders Eriksson Abstract In order to test and verify a compact brazed eat excanger (CBE wit a built-in accumulation

More information

Stability properties of a family of chock capturing methods for hyperbolic conservation laws

Stability properties of a family of chock capturing methods for hyperbolic conservation laws Proceedings of te 3rd IASME/WSEAS Int. Conf. on FLUID DYNAMICS & AERODYNAMICS, Corfu, Greece, August 0-, 005 (pp48-5) Stability properties of a family of cock capturing metods for yperbolic conservation

More information

The HJB-POD approach for infinite dimensional control problems

The HJB-POD approach for infinite dimensional control problems The HJB-POD approach for infinite dimensional control problems M. Falcone works in collaboration with A. Alla, D. Kalise and S. Volkwein Università di Roma La Sapienza OCERTO Workshop Cortona, June 22,

More information

2.8 The Derivative as a Function

2.8 The Derivative as a Function .8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open

More information

Click here to see an animation of the derivative

Click here to see an animation of the derivative Differentiation Massoud Malek Derivative Te concept of derivative is at te core of Calculus; It is a very powerful tool for understanding te beavior of matematical functions. It allows us to optimize functions,

More information

Continuity and Differentiability of the Trigonometric Functions

Continuity and Differentiability of the Trigonometric Functions [Te basis for te following work will be te definition of te trigonometric functions as ratios of te sides of a triangle inscribed in a circle; in particular, te sine of an angle will be defined to be te

More information

Finite Difference Methods Assignments

Finite Difference Methods Assignments Finite Difference Metods Assignments Anders Söberg and Aay Saxena, Micael Tuné, and Maria Westermarck Revised: Jarmo Rantakokko June 6, 1999 Teknisk databeandling Assignment 1: A one-dimensional eat equation

More information

Average Rate of Change

Average Rate of Change Te Derivative Tis can be tougt of as an attempt to draw a parallel (pysically and metaporically) between a line and a curve, applying te concept of slope to someting tat isn't actually straigt. Te slope

More information

Coupling Iterative Subsystem Solvers Wolfgang Mackens, Jurgen Menck, and Heinric Voss Tecnisce Universitat Hamburg, Arbeitsbereic Matematik, Kasernenstrae 12, D-21073 Hamburg,fmackens, menck, vossg@tu-arburg.de,

More information

HOMEWORK HELP 2 FOR MATH 151

HOMEWORK HELP 2 FOR MATH 151 HOMEWORK HELP 2 FOR MATH 151 Here we go; te second round of omework elp. If tere are oters you would like to see, let me know! 2.4, 43 and 44 At wat points are te functions f(x) and g(x) = xf(x)continuous,

More information

AMS 147 Computational Methods and Applications Lecture 09 Copyright by Hongyun Wang, UCSC. Exact value. Effect of round-off error.

AMS 147 Computational Methods and Applications Lecture 09 Copyright by Hongyun Wang, UCSC. Exact value. Effect of round-off error. Lecture 09 Copyrigt by Hongyun Wang, UCSC Recap: Te total error in numerical differentiation fl( f ( x + fl( f ( x E T ( = f ( x Numerical result from a computer Exact value = e + f x+ Discretization error

More information

Differential equations. Differential equations

Differential equations. Differential equations Differential equations A differential equation (DE) describes ow a quantity canges (as a function of time, position, ) d - A ball dropped from a building: t gt () dt d S qx - Uniformly loaded beam: wx

More information

232 Calculus and Structures

232 Calculus and Structures 3 Calculus and Structures CHAPTER 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS FOR EVALUATING BEAMS Calculus and Structures 33 Copyrigt Capter 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS 17.1 THE

More information

The Verlet Algorithm for Molecular Dynamics Simulations

The Verlet Algorithm for Molecular Dynamics Simulations Cemistry 380.37 Fall 2015 Dr. Jean M. Standard November 9, 2015 Te Verlet Algoritm for Molecular Dynamics Simulations Equations of motion For a many-body system consisting of N particles, Newton's classical

More information

Pre-Calculus Review Preemptive Strike

Pre-Calculus Review Preemptive Strike Pre-Calculus Review Preemptive Strike Attaced are some notes and one assignment wit tree parts. Tese are due on te day tat we start te pre-calculus review. I strongly suggest reading troug te notes torougly

More information

Numerical analysis of a free piston problem

Numerical analysis of a free piston problem MATHEMATICAL COMMUNICATIONS 573 Mat. Commun., Vol. 15, No. 2, pp. 573-585 (2010) Numerical analysis of a free piston problem Boris Mua 1 and Zvonimir Tutek 1, 1 Department of Matematics, University of

More information

FEM solution of the ψ-ω equations with explicit viscous diffusion 1

FEM solution of the ψ-ω equations with explicit viscous diffusion 1 FEM solution of te ψ-ω equations wit explicit viscous diffusion J.-L. Guermond and L. Quartapelle 3 Abstract. Tis paper describes a variational formulation for solving te D time-dependent incompressible

More information

Smoothness of solutions with respect to multi-strip integral boundary conditions for nth order ordinary differential equations

Smoothness of solutions with respect to multi-strip integral boundary conditions for nth order ordinary differential equations 396 Nonlinear Analysis: Modelling and Control, 2014, Vol. 19, No. 3, 396 412 ttp://dx.doi.org/10.15388/na.2014.3.6 Smootness of solutions wit respect to multi-strip integral boundary conditions for nt

More information

= 0 and states ''hence there is a stationary point'' All aspects of the proof dx must be correct (c)

= 0 and states ''hence there is a stationary point'' All aspects of the proof dx must be correct (c) Paper 1: Pure Matematics 1 Mark Sceme 1(a) (i) (ii) d d y 3 1x 4x x M1 A1 d y dx 1.1b 1.1b 36x 48x A1ft 1.1b Substitutes x = into teir dx (3) 3 1 4 Sows d y 0 and states ''ence tere is a stationary point''

More information

OSCILLATION OF SOLUTIONS TO NON-LINEAR DIFFERENCE EQUATIONS WITH SEVERAL ADVANCED ARGUMENTS. Sandra Pinelas and Julio G. Dix

OSCILLATION OF SOLUTIONS TO NON-LINEAR DIFFERENCE EQUATIONS WITH SEVERAL ADVANCED ARGUMENTS. Sandra Pinelas and Julio G. Dix Opuscula Mat. 37, no. 6 (2017), 887 898 ttp://dx.doi.org/10.7494/opmat.2017.37.6.887 Opuscula Matematica OSCILLATION OF SOLUTIONS TO NON-LINEAR DIFFERENCE EQUATIONS WITH SEVERAL ADVANCED ARGUMENTS Sandra

More information

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225 THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Mat 225 As we ave seen, te definition of derivative for a Mat 111 function g : R R and for acurveγ : R E n are te same, except for interpretation:

More information

Lecture 2: Symplectic integrators

Lecture 2: Symplectic integrators Geometric Numerical Integration TU Müncen Ernst Hairer January February 010 Lecture : Symplectic integrators Table of contents 1 Basic symplectic integration scemes 1 Symplectic Runge Kutta metods 4 3

More information

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note

More information

Finding and Using Derivative The shortcuts

Finding and Using Derivative The shortcuts Calculus 1 Lia Vas Finding and Using Derivative Te sortcuts We ave seen tat te formula f f(x+) f(x) (x) = lim 0 is manageable for relatively simple functions like a linear or quadratic. For more complex

More information

2.3 More Differentiation Patterns

2.3 More Differentiation Patterns 144 te derivative 2.3 More Differentiation Patterns Polynomials are very useful, but tey are not te only functions we need. Tis section uses te ideas of te two previous sections to develop tecniques for

More information

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h Lecture Numerical differentiation Introduction We can analytically calculate te derivative of any elementary function, so tere migt seem to be no motivation for calculating derivatives numerically. However

More information