CS522 - Partial Di erential Equations

Size: px
Start display at page:

Download "CS522 - Partial Di erential Equations"

Transcription

1 CS5 - Partial Di erential Equations Tibor Jánosi April 5, 5 Numerical Di erentiation In principle, di erentiation is a simple operation. Indeed, given a function speci ed as a closed-form formula, its di erentiation involves te mecanical application of te cain rule, and of te rules tat refer to te di erentiation of elementary functions. Numerical di erentiation is more callenging. We will now understand some of te di culties. Consider an example wen te function to di erentiate is inferred based on a set of sampled values (measurements), and tese measurements are a ected by noise. If one interpolates te function so tat te interpolated function "goes" troug all measured points, te implied function derivative will often ave no relationsip to te underlying "trut." Figure below illustrates tis point..5 Effect of Noise on Function Values and Numerical Differentials Function values.5 Te noise is normal, wit mu= and sigma=.5..5 log(+x) log(+x)+noise x Differential (exact and approximate) - /(+x) x Figure : E ect of noise on te inferred value of numerical derivatives. Functions interpolated from noisy measurements sould not be used directly to generate approximate values for teir derivatives. In our example, a simple, well-beaved function is perturbed by normal noise wit

2 mean and standard deviation.5. On te grap, te values of te noisy function are practically indistinguisable from te unperturbed function. Indeed, te noisy values could be used directly in certain applications; for example, to integrate te function. If we use tese perturbed values to compute numerical derivatives, owever, te results bear no relation to te underlying reality. So wat can one do? One solution is to infer a reasonably smoot function from te noisy measurements, ten use tis function to compute approximate derivatives. If one knows te general form of te underlying function, ten a least-squares metod can be used to infer values for te unknown parameters. Once tese parameters are determined, one can di erentiate te function eiter numerically, or analytically. It is, of course, possible for te underlying "true" function not to be known. In suc cases one can try to coose functions wose general sape is in agreement wit te measured data, or use spline tecniques to approximate te unknown underlying function. Suc metods are often reasonably successful, but tey involve some amount of experimentation before obtaining a satisfactory outcome.. Tecniques for Di erentiation Te simplest - and peraps most obvious - tecnique is tat of functions provided as closed-form formulas. Suc functions can be di erentiated "by and," or by using symbolic tools like Matematica. Te result can ten be implemented directly... Automated Di erentiation A generalization of tis idea resulted in te idea of automated di erentiation. Even if a function is not available as a closed-form formula, te program tat computes it consists of a (peraps very long) sequence of elementary operations, wic can be seen as function applications. Te derivatives of suc elementary functions are known, so all one as to do is to suitably combine tese derivatives (by using te cain rule) in order to obtain te derivative of te initial function. It is tus possible to rewrite te source code of a function in order to generate te derivative of te respective function wit respect to one, or even all of its input arguments. In practice, tere are many problems tat automated di erentiation must overcome. Also, tere are some inerent limitations. Wat sould appen, for example, if certain libraries are only available in compiled form - sould one try to reverse engineer tem and develop automated di erentiation for binary code as well? But wat if legal impediments prevent libraries from being reverse engineered? Despite some of tese problems, automated di erentiation enjoys increasing popularity, due to te ig precision of tese metods, and due to te low computational cost tat tey entail.

3 .. Finite Di erences Consider a di erentiable function f : R! R, and te usual de nition of te derivative f f(x+) f(x) (x) = lim!. Traditionally, di erentiation as been approaced as a purely numerical problem, and te limit above as been approximated by using nite di erences. Consider te Taylor-series expansions of function f around x: f(x + ) = f(x) +! f (x) +! f (x) + 3! f (x) 3 + ::: f(x ) = f(x)! f (x) +! f (x) 3! f (x) 3 + ::: Let us now examine at te following nite-di erence approximations of te derivative: f (x) = f (x) = f (x) = f(x + ) f(x)! f (x) f(x) f(x ) +! f (x) f(x + ) f(x ) 3! f (x) ::: 3! f (x) + ::: 3! f (x) + ::: Assuming tat is small, and ignoring all terms containing we get te following approximations: f (x) f (x) f (x) f(x + ) f(x) f(x) f(x ) f(x + ) f(x ) Te tree metods to compute numerical derivatives are called "forward approximation," "backward approximation," and "symmetric approximation," respectively, and all of tem are exact in te limit. For nite values of, te residual term of te forward and backward approximation is O(), wile te residual term of te symmetric approximation is O( )...3 Ricardson s Extrapolation Te nite precision of numerical computations can severely limit our practical ability to use any of te tree nite-di erences approximation given above. In oter words, we migt not reasonably approac te limit!. Ricardson s metod can elp us overcome tis di culty by extrapolating te value obtained for te derivative for nite s to te point =. In te following we will implicitly assume tat functions ave all te properties tat are needed in te context tat we are using tem. 3

4 Let us denote by f () te approximate value of te derivative f (x), computed for a step size of. Furter, let us assume tat a relationsip of te form given below olds: f () = a + a p + O( r ); r > p > Te value tat we want to compute is f () = a. Let us now compute function f two values of,, and. We get te following: for f ( ) = a + a p + O( r ) f ( ) = a + a p + O( r ) Ignoring te residuals, we can solve for a : f () = a = f ( ) + f ( ) f ( ) p Note tat f () is still an approximation. Tis idea can be extrapolated so tat more terms are considered in te expansion of f () given above; if n terms are considered, ten n approximate values of te derivative must be computed for n di erent values of. Te resulting system of equations can ten be solved to recover te value of a. For su ciently well-beaved functions f, tis metod can produce very accurate results...4 Higer-Order Derivatives Analogously to te matematical de nition of iger-order derivatives, we can de ne nite-di erence approximations to suc derivatives using derivatives of lower order. Consider te matematical de nition of te second derivative: f (x) = lim! f (x + ) f (x) Since we ave several ways to approximate rst-order derivatives, we will also ave several approximations of te second derivative. We will, owever, only consider te symmetric central-di erence approximation given below: f (x) f (x) f (x ) = f(x+) f(x) f(x) f(x ) f(x + ) f(x) + f(x ) As it can be seen, te formula above is te backward di erence of te forward di erence approximations of te rst derivative. Tis approximation is accurate to te order of O( ). 4

5 . Partial Di erential Equations For our immediate purposes, te most important di erential equation will be te (t; x) f (t; Because te igest-order partial derivative tat appears in equation above is, tis is a second-order partial derivative equation. Let us consider te general form of a second-order partial di erential equation of a function f wit arguments t and f + + f c 5f + c 6 = Suc partial di erential equations are classi ed wit respect to te sign of te expression E = c 4c c 3 as yperbolic (if E > ), parabolic (if E = ), and elliptic (if E < ). Informally speaking, yperbolic pde s describe time-dependent processes tat are not evolving toward a steady state, parabolic pde s describe processes tat are evolving toward a steady state, wile elliptic processes ave already reaced a steady state (teir solution is not time-dependent). Wen te coe cients c i are not constant, te equation can cange type, so tis classi cation is of limited value. Te eat equation is a parabolic equation... Initial and Boundary Conditions As in te case of regular di erential equations, solving a pde yields a family of solutions. To select a unique function from suc a family one needs to impose furter conditions; typically tese consist of te initial condition and boundary conditions. For te speci c case of te eat equation as applied to te problem of option values, our set of conditions will consist of te following: f(; x) = f (x) lim x! = f lim x! = f In te formula above f is a function independent of t, wile f and f are constants. As we will see below, practical considerations prevent us from directly using limits at in nity. Rater, we will coose a pair of values x min and x max so tat tey represent suitable approximations of and, respectively. We ten obtain te following set of conditions: f(; x) = f (x) f(t; x max ) = f f(t; x min ) = f 5

6 .. Semidiscrete Solutions Te eat equation can be solved by discretizing te space variable x wile leaving te time variable t continuous. To acieve tis, we rst divide te interval [x min ; x max ] into an integer number of subintervals of lengt x; let N = xmax x min. In te second stage we x associate a function f i (t), wit eac point x i = x min + ix, were < i < N. Using te symmetric central-di erence approximation for te second partial derivative wit respect to x, we get te following: f i (t) = f i+(t) f i (t) + f i (t) (x) ; < i < N Te initial and boundary conditions yield te following relations: f i () = f (x i ); < i < N f N (t) = f f (t) = f In e ect, tis metod corresponds to computing te curves tat result wen we slice te surface f(t; x) wit planes of te form x = x i ; ence, tis approac is called te metod of lines. By introducing te notation F (t) = [f (t) f (t) f 3 (t) ::: f n (t)] T, were T represents te transpose operator, we obtain te following system of ordinary di erential equations: 3 3 : : : f F (t) = : : : (x) 6 : : : F (t) + 4: : : : : : : : : : : : : : : 5 (x) 6 4 : : : 5 {z : : : } f C Te matrix of coe cients C is of size (N ), but only 3(N ) = 3N 5 coe cients are non-zero. Te iger N grows (i.e. te smaller x becomes), te smaller te proportion of non-zero coe cients becomes. In te limit, te proportion of non-zero coe cients tends to, but even for N = we only get a ratio of approximately 3% for suc coe cients. For te bene t of readers wit more background in numerical analysis, we note ere tat te system of ordinary di erential equations above tends to be very sti, tus one must be careful to coose an appropriate metod to solve it. Sparse Matrices Matrices wose proportion of non-zero coe cients is very small wit respect to teir total number of coe cients are called sparse matrices. Sparse matrices are commonly encountered in several important areas of numerical computations. Special tecniques ave been developed to represent and manipulate suc matrices so as to 6

7 minimize te amount of memory tat would be wasted if te full matrix were explicitly represented. In tis area, a lot of e ort is expended to de ne matrix algoritms tat minimize te number of new non-zero elements (te " ll") tat are produced as a result of various matrix operations. Te speci c sparse matrix representation and algoritms tat are cosen depend in general on te degree of sparsity, as well as on te sparsity pattern (i.e. te distribution of non-zero coe cients) exibited by te matrices at and. Matrices encoded using sparse matrix representations incur an overead wit respect to regular matrices wen various operations are performed. Depending on tis overead, any advantage related to memory savings can be swamped by te increased processing time tat te sparse matrix representation entails. As a very approximate rule of tumb, one sould probably not contemplate using sparse matrix representations unless te total number of coe cients coe cients is at least of a few tousand (or even iger). For te example at and, we ave a particularly simple sparsity pattern wic we could address by linearizing te matrix. To acieve tis, we can transfer all coe cients into an array C linear of size 3N 5, going line by line in te original matrix C. We obtain te following representation of C linear : C linear = : : : Given te pair of indices (i; j) in matrix C, te corresponding index k in array C linear will be given by [3(i ) min(i ; )] + [j max(i ; )]. 3 Of course, te previous formula assumes tat (i; j) denotes a non-zero coe cient. Can you establis wat relation must old between i and j so tat tis assumption is true? Matlab provides support for sparse-matrix computations; type lookfor sparse at your Matlab prompt to learn more about tis topic...3 Discrete Solutions In te preceding section we ave discretized te space dimension x wile leaving te time dimension t continuous. We can, of course, also discretize te time dimension. As before, we rst divide te interval [x min ; x max ] into an integer number of subintervals of lengt x; let N x = xmax x min. Next, we coose a su ciently large maximum value of t, x t max, and we divide te interval [; t max ] into an integer number of subintervals of lengt t; let N t = tmax. Tese two steps fully discretize te domain of te pde at and. Te t corresponding situation is illustrated in gure. We introduce te notation fn m = f(mt; x min + nx), m N t, n N x, to denote te values of te function at te points of te resulting mes. Using te various nite-di erence approximations for te rst and second-order derivative, we can now write down te equations needed for solving te eat equation. Here, as elsewere in te course, we stick wit Matlab s convention and use -based indices. 3 Try to understand ow tis formula was derived. Our use of parenteses sould elp you in tis process.

8 t max mdt "upper boundary" time "lower boundary" passing of time "initial condition" x min x min +ndx x max x Figure : Illustration of te eat equation s discretized domain. Te Explicit Finite-Di erence Metod We coose te forward di erence equation for te time derivative, and te symmetric central di erence for te space derivative. Ignoring residual terms we get te approximate equality below: f m+ n t f m n = f n+ m fn m + fn m ; < m < N (x) t ; < n < N x Introducing te notation = t, we get: (x) f m+ n = f m n+ + ( )f m n + f m n ; < m < N t ; < n < N x Te relationsip between tese quantities is illustrated in gure 3. Since te values f n = f(x min + nx; ) = f (x min + nx), n N x, and f m = f and f m N x = f, m N t are known (given), we can compute te values of te function at all points in te domain of interest. In principle, we know ow to compute an approximate solution for te eat equation. But ow good will tis solution be? Can we understand ow te quality of te result depends on te coice of x and t? Te explicit nite di erence metod as an error term of te form O(t) + O((x) ), i.e. it is rst-order accurate in time and second-order accurate in space. 8

9 f(n,m+) f(n-,m) f(n,m) f(n+,m) Figure 3: Relationsip between known values (in black), and te newly computed value (in red) in te explicit nite-di erence discretization. Ideally, te solution to a pde problem sould be bot stable and consistent. Loosely speaking, stability means tat small perturbations do not cause te corresponding approximate solutions to diverge witout bound. Consistency means tat as te step sizes x and t decrease toward te truncation error (te error due to te discrete approximation of te derivative) decreases toward. For te convergence of an approximate solution to te true solution of te underlying problem it is necessary for te respective solution to be bot consistent and stable. As we can see from te discussion of te error terms, te explicit nite-di erence metod is consistent. Witout providing more details, we will state tat te nitedi erence metod is stable if, and not stable if >. Te Fully-Implicit Metod We again use te forward di erence for te time derivative and te symmetric central-di erence approximation for te second-order space derivative. For te latter second derivative, owever, we will not coose te time coordinate to be mt, as we did before; we will x it at (m + )t. We ten get: f m+ n t f m n = f n+ m+ fn m+ + fn m+ ; < m < N (x) t ; < n < N x Keeping te same interpretation for = t, we get: (x) f m+ n + ( + )f m+ n f m+ n+ = f m n ; < m < N t ; < n < N x Te relationsip between tese quantities is illustrated in gure 4. As te reader can immediately see, te fully implicit metod does not allow for te immediate computation of te new function values. Rater, a system of equations must 9

10 f(n-,m+) f(n,m+) f(n+,m+) f(n,m) Figure 4: Relationsip between known value (in black), and te newly computed values (in red) in te fully implicit nite-di erence discretization. be set up and solved. Let F m = f m f m f3 m fn m T x, be column of unknown values at time mt (and note tat f m and fn m x are known). We obtain te following system of equations: : : : + : : : + : : : 6 : : : : : : : : : : : : : : : : : : F m+ = F m : : : {z : : : + } M We can write te relation above in te muc more compact form: MF m+ = b m f m+ : : : f m+ N x 5 {z } b m If M were invertible, we could immediate compute F m+ = M b m. But is M invertible? Not necessarily, if is arbitrary. However, if >, as it must be in tis case, M is invertible. We prove tis statement below. Teorem (Gersgorin s Circle Teorem) Let A be a complex square matrix A = (a ij ) i;j=;n and let be equal to one of its eigenvalues. De ne R i = P n j= ja ij j, for eac i, i n. i6=j Ten will be in at least one of te disks D i : fz j jz a ii j R i g. Proof. Let be an eigenvalue of A, and v = v v : : : v n its corresponding eigenvector. We immediately get tat Av = v. Furter, coose i so tat jv i j = maxfjv j j j j ng. We immediately get tat jv i j > (wy?).

11 Now, consider te i -t component of te equality Av = v; we get: nx a i jv j = v i j= We can rewrite tese equations as follows: nx a ijv j = ( j= j6=i Finally, we ave: j a i i j = nx j= v j a ij v i j6=i a ii)v i nx = ja ijj j= j6=i v j v i {z} nx ja ijj j= j6=i Lemma Matrix M de ned below as no negative real eigenvalues. 3 : : : : : : M = : : : 6: : : : : : : : : : : : : : : : : : 4 : : : 5 : : : Proof. By applying Gersgorin s teorem we immediately get tat all eigenvalues of matrix M must be in at least one of te disks given below: D : fz j jz j g D : fz j jz j g But D is included in D, so we conclude tat all eigenvalues of M must be in disk D. Hence M as no negative eigenvalues. Teorem 3 For any real, positive, matrix M (as de ned above) is invertible. Proof. Let us assume tat M is not invertible. Ten det(m) =. We can immediately establis te obvious equality M = I + M, were I is te identity matrix of size n, and M as been de ned in te previous lemma. We now ave: det(m) = det(i + M) = det(m + I) =

12 Te last relation implies tat equation My = y admits a non-trivial solution (i.e. y 6= ), wic is te same ting as saying tat one of M s eigenvalues must be. Since we assumed tat >, tis means tat M admits a negative eigenvalue. We ave reaced a contradiction, ence M is not invertible. Returning now to te problem of solving te system of equations MF m+ = F m, we know tat matrix M is in fact non-singular for any coice of x > and t >. Hence F m+ = M F m. However, tis approac is not usually pursued. Witout providing more details, we state tat in general matrix inversions are avoided in numerical computations; tey are expensive and can be sensitive to small errors in te initial matrix (if te matrix is ill-conditioned). In tis case tere is a furter disadvantage: wile te original matrix M is tridiagonal, ence sparse, its inverse M would be dense. If we could avoid computing M we could peraps avoid te need to store (N x ) coe cients, tus greatly reducing te memory consumption of our algoritm. One approac to solving te system of equations is to use te so-called LU ("lowerupper") decomposition of matrix M. In a general LU decomposition of a matrix A, te respective matrix will be written as te product L A U A, were A is a lower-triangular matrix wit unitary main diagonal (i.e. te main diagonal contains only s), and U A is an upper-triangular matrix. Given te special form of our matrix M, its LU decomposition is especially simple to obtain by solving te following matrix equation: 3 + : : : + : : : + : : : 6 : : : : : : : : : : : : : : : : : : = 4 : : : + 5 : : : : : : d u : : : l : : : d u : : : = l : : : d 3 : : : 6: : : : : : : : : : : : : : : : : : 6: : : : : : : : : : : : : : : : : : 4 : : : 54 : : : d Nx u Nx 5 : : : l Nx : : : d Nx {z } {z } L We can easily solve tis system of equations "by and." First, by equating te terms tat give te coe cient wit indices (; ) of te result, we immediately obtain d = +. Te equations for te coe cients wit indices (i; i + ) immediately yield te values u i =, < i < N x. Similarly, from te coe cients wit indices (i; i ) we get tat l i d i =, < i < N x. Tis implies tat l i = d i, < i < N x. Finally, we determine te values d i by examining te equations tat correspond to te coe cients (i; i) in te resulting matrix. We get tat l i u i + d i = +, < i < N x. We immediately get tat d i = + d i, < i < N x. Tese relations allow us to determine matrices L and U in a simple loop. U

13 Note tat we if we do not explicitly represent te s on te main diagonal of L M, ten we can represent bot L M and U M in te same space tat we used originally to store M. Tis is important if we used a linearization metod like te one described above. We can now solve te system of equations in two steps: L M v m = b m U M F m+ = v m We can solve te rst system of equations by "forward substitution" in one pass; te second system can ten be solved by "backward substitution." Can you estimate te total number of operations (i.e. te number of additions, subtractions, multiplications and divisions) needed to solve tese systems? At eac step m we compute all te values fn m by solving te system of equations MF m+ = b m. Te advantage of tis metod, owever, is tat its stability is muc better tan tat of te explicit nite-di erence metod; i.e. te time step t can be signi cantly bigger relative to x in te case of te fully implicit metod. Te Crank-Nicolson Metod Recall tat te error term for bot te explicit nitedi erence and fully implicit metod was of te form O(t) + O((x) ). Te Crank- Nicolson metod improves tis error term to O((t) ) + O((x) ). Let us recall te formulas we wrote for te explicit nite-di erence metod and te fully implicit metod: f m+ n f m+ n t t f m n f m n = f n+ m fn m + fn m ; < m < N (x) t ; < n < N x = f n+ m+ fn m+ + fn m+ ; < m < N (x) t ; < n < N x We immediately obtain te following relation: fn m+ fn m = f m n+ fn m + fn m + f m+ t (x) Again, using te notation = t, we get: (x) n+ f m+ n + fn m+ (x) f m+ n f m n = (f m n+ f m n + f m n + f m+ n+ f m+ n + f m+ n ) Separating te terms tat refer to time mt and time (m + )t we get: m+ fn + ( + )fn m+ m+ fn+ = f n m + ( )fn m + f n+ m {z } Zn m Te relationsip between tese quantities is illustrated in gure 5. 3

14 f(n-,m+) f(n,m+) f(n+,m+) f(n-,m) f(n,m) f(n+,m) Figure 5: Relationsip between known values (in black), and te newly computed values (in red) in te Crank-Nicolson metod. By analogy to te fully implicit metod above we can write te following system of equations: + : : : Z + : : : m f + : : : Z m m+ 6 : : : : : : : : : : : : : : : : : : F m+ = Z m 3 4 : : : + 6 : : : + 6 : : : 5 4Z m 5 4 : : : + N x 5 Z m N {z } x f m+ N {z x } M CN b m CN We use te subscript CN to denote matrices related to te Crank-Nicolson metod, so tat tey are distinguisable from te analogous matrices we de ned for te fully implicit metod. Also, we reused te de nition F m = f m f m f3 m fn m T x. Te system of equations M CN F m+ = b m CN can be solved by te metod of LU decomposition as described above. 4

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

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

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

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

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

7 Semiparametric Methods and Partially Linear Regression

7 Semiparametric Methods and Partially Linear Regression 7 Semiparametric Metods and Partially Linear Regression 7. Overview A model is called semiparametric if it is described by and were is nite-dimensional (e.g. parametric) and is in nite-dimensional (nonparametric).

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

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

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

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

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

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

2.3 Product and Quotient Rules

2.3 Product and Quotient Rules .3. PRODUCT AND QUOTIENT RULES 75.3 Product and Quotient Rules.3.1 Product rule Suppose tat f and g are two di erentiable functions. Ten ( g (x)) 0 = f 0 (x) g (x) + g 0 (x) See.3.5 on page 77 for a proof.

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

Preface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Preface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. Preface Here are my online notes for my course tat I teac ere at Lamar University. Despite te fact tat tese are my class notes, tey sould be accessible to anyone wanting to learn or needing a refreser

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

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

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

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

Math 2921, spring, 2004 Notes, Part 3. April 2 version, changes from March 31 version starting on page 27.. Maps and di erential equations

Math 2921, spring, 2004 Notes, Part 3. April 2 version, changes from March 31 version starting on page 27.. Maps and di erential equations Mat 9, spring, 4 Notes, Part 3. April version, canges from Marc 3 version starting on page 7.. Maps and di erential equations Horsesoe maps and di erential equations Tere are two main tecniques for detecting

More information

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator. Lecture XVII Abstract We introduce te concept of directional derivative of a scalar function and discuss its relation wit te gradient operator. Directional derivative and gradient Te directional derivative

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

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

Recall from our discussion of continuity in lecture a function is continuous at a point x = a if and only if

Recall from our discussion of continuity in lecture a function is continuous at a point x = a if and only if Computational Aspects of its. Keeping te simple simple. Recall by elementary functions we mean :Polynomials (including linear and quadratic equations) Eponentials Logaritms Trig Functions Rational Functions

More information

Lab 6 Derivatives and Mutant Bacteria

Lab 6 Derivatives and Mutant Bacteria Lab 6 Derivatives and Mutant Bacteria Date: September 27, 20 Assignment Due Date: October 4, 20 Goal: In tis lab you will furter explore te concept of a derivative using R. You will use your knowledge

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

LIMITATIONS OF EULER S METHOD FOR NUMERICAL INTEGRATION

LIMITATIONS OF EULER S METHOD FOR NUMERICAL INTEGRATION LIMITATIONS OF EULER S METHOD FOR NUMERICAL INTEGRATION LAURA EVANS.. Introduction Not all differential equations can be explicitly solved for y. Tis can be problematic if we need to know te value of y

More information

Mathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative

Mathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative Matematics 5 Workseet 11 Geometry, Tangency, and te Derivative Problem 1. Find te equation of a line wit slope m tat intersects te point (3, 9). Solution. Te equation for a line passing troug a point (x

More information

4.2 - Richardson Extrapolation

4.2 - Richardson Extrapolation . - Ricardson Extrapolation. Small-O Notation: Recall tat te big-o notation used to define te rate of convergence in Section.: Definition Let x n n converge to a number x. Suppose tat n n is a sequence

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

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

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

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

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

Regularized Regression

Regularized Regression Regularized Regression David M. Blei Columbia University December 5, 205 Modern regression problems are ig dimensional, wic means tat te number of covariates p is large. In practice statisticians regularize

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

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines Lecture 5 Interpolation II Introduction In te previous lecture we focused primarily on polynomial interpolation of a set of n points. A difficulty we observed is tat wen n is large, our polynomial as to

More information

Taylor Series and the Mean Value Theorem of Derivatives

Taylor Series and the Mean Value Theorem of Derivatives 1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential

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

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

. If lim. x 2 x 1. f(x+h) f(x)

. If lim. x 2 x 1. f(x+h) f(x) Review of Differential Calculus Wen te value of one variable y is uniquely determined by te value of anoter variable x, ten te relationsip between x and y is described by a function f tat assigns a value

More information

3.1 Extreme Values of a Function

3.1 Extreme Values of a Function .1 Etreme Values of a Function Section.1 Notes Page 1 One application of te derivative is finding minimum and maimum values off a grap. In precalculus we were only able to do tis wit quadratics by find

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

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER*

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER* EO BOUNDS FO THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BADLEY J. LUCIE* Abstract. Te expected error in L ) attimet for Glimm s sceme wen applied to a scalar conservation law is bounded by + 2 ) ) /2 T

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

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 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

Sin, Cos and All That

Sin, Cos and All That Sin, Cos and All Tat James K. Peterson Department of Biological Sciences and Department of Matematical Sciences Clemson University Marc 9, 2017 Outline Sin, Cos and all tat! A New Power Rule Derivatives

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

A.P. CALCULUS (AB) Outline Chapter 3 (Derivatives)

A.P. CALCULUS (AB) Outline Chapter 3 (Derivatives) A.P. CALCULUS (AB) Outline Capter 3 (Derivatives) NAME Date Previously in Capter 2 we determined te slope of a tangent line to a curve at a point as te limit of te slopes of secant lines using tat point

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

1 + t5 dt with respect to x. du = 2. dg du = f(u). du dx. dg dx = dg. du du. dg du. dx = 4x3. - page 1 -

1 + t5 dt with respect to x. du = 2. dg du = f(u). du dx. dg dx = dg. du du. dg du. dx = 4x3. - page 1 - Eercise. Find te derivative of g( 3 + t5 dt wit respect to. Solution: Te integrand is f(t + t 5. By FTC, f( + 5. Eercise. Find te derivative of e t2 dt wit respect to. Solution: Te integrand is f(t e t2.

More information

2.11 That s So Derivative

2.11 That s So Derivative 2.11 Tat s So Derivative Introduction to Differential Calculus Just as one defines instantaneous velocity in terms of average velocity, we now define te instantaneous rate of cange of a function at a point

More information

f a h f a h h lim lim

f a h f a h h lim lim Te Derivative Te derivative of a function f at a (denoted f a) is f a if tis it exists. An alternative way of defining f a is f a x a fa fa fx fa x a Note tat te tangent line to te grap of f at te point

More information

Notes on wavefunctions II: momentum wavefunctions

Notes on wavefunctions II: momentum wavefunctions Notes on wavefunctions II: momentum wavefunctions and uncertainty Te state of a particle at any time is described by a wavefunction ψ(x). Tese wavefunction must cange wit time, since we know tat particles

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

IEOR 165 Lecture 10 Distribution Estimation

IEOR 165 Lecture 10 Distribution Estimation IEOR 165 Lecture 10 Distribution Estimation 1 Motivating Problem Consider a situation were we ave iid data x i from some unknown distribution. One problem of interest is estimating te distribution tat

More information

5.1 introduction problem : Given a function f(x), find a polynomial approximation p n (x).

5.1 introduction problem : Given a function f(x), find a polynomial approximation p n (x). capter 5 : polynomial approximation and interpolation 5 introduction problem : Given a function f(x), find a polynomial approximation p n (x) Z b Z application : f(x)dx b p n(x)dx, a a one solution : Te

More information

Math 312 Lecture Notes Modeling

Math 312 Lecture Notes Modeling Mat 3 Lecture Notes Modeling Warren Weckesser Department of Matematics Colgate University 5 7 January 006 Classifying Matematical Models An Example We consider te following scenario. During a storm, a

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

Higher Derivatives. Differentiable Functions

Higher Derivatives. Differentiable Functions Calculus 1 Lia Vas Higer Derivatives. Differentiable Functions Te second derivative. Te derivative itself can be considered as a function. Te instantaneous rate of cange of tis function is te second derivative.

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

Excursions in Computing Science: Week v Milli-micro-nano-..math Part II

Excursions in Computing Science: Week v Milli-micro-nano-..math Part II Excursions in Computing Science: Week v Milli-micro-nano-..mat Part II T. H. Merrett McGill University, Montreal, Canada June, 5 I. Prefatory Notes. Cube root of 8. Almost every calculator as a square-root

More information

SECTION 1.10: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES

SECTION 1.10: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES (Section.0: Difference Quotients).0. SECTION.0: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES Define average rate of cange (and average velocity) algebraically and grapically. Be able to identify, construct,

More information

Time (hours) Morphine sulfate (mg)

Time (hours) Morphine sulfate (mg) Mat Xa Fall 2002 Review Notes Limits and Definition of Derivative Important Information: 1 According to te most recent information from te Registrar, te Xa final exam will be eld from 9:15 am to 12:15

More information

Differential Calculus (The basics) Prepared by Mr. C. Hull

Differential Calculus (The basics) Prepared by Mr. C. Hull Differential Calculus Te basics) A : Limits In tis work on limits, we will deal only wit functions i.e. tose relationsips in wic an input variable ) defines a unique output variable y). Wen we work wit

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

CHAPTER 3: Derivatives

CHAPTER 3: Derivatives CHAPTER 3: Derivatives 3.1: Derivatives, Tangent Lines, and Rates of Cange 3.2: Derivative Functions and Differentiability 3.3: Tecniques of Differentiation 3.4: Derivatives of Trigonometric Functions

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

2.1 THE DEFINITION OF DERIVATIVE

2.1 THE DEFINITION OF DERIVATIVE 2.1 Te Derivative Contemporary Calculus 2.1 THE DEFINITION OF DERIVATIVE 1 Te grapical idea of a slope of a tangent line is very useful, but for some uses we need a more algebraic definition of te derivative

More information

MVT and Rolle s Theorem

MVT and Rolle s Theorem AP Calculus CHAPTER 4 WORKSHEET APPLICATIONS OF DIFFERENTIATION MVT and Rolle s Teorem Name Seat # Date UNLESS INDICATED, DO NOT USE YOUR CALCULATOR FOR ANY OF THESE QUESTIONS In problems 1 and, state

More information

These errors are made from replacing an infinite process by finite one.

These errors are made from replacing an infinite process by finite one. Introduction :- Tis course examines problems tat can be solved by metods of approximation, tecniques we call numerical metods. We begin by considering some of te matematical and computational topics tat

More information

Fractional Derivatives as Binomial Limits

Fractional Derivatives as Binomial Limits Fractional Derivatives as Binomial Limits Researc Question: Can te limit form of te iger-order derivative be extended to fractional orders? (atematics) Word Count: 669 words Contents - IRODUCIO... Error!

More information

An L p di erentiable non-di erentiable function

An L p di erentiable non-di erentiable function An L di erentiable non-di erentiable function J. Marsall As Abstract. Tere is a a set E of ositive Lebesgue measure and a function nowere di erentiable on E wic is di erentible in te L sense for every

More information

REVIEW LAB ANSWER KEY

REVIEW LAB ANSWER KEY REVIEW LAB ANSWER KEY. Witout using SN, find te derivative of eac of te following (you do not need to simplify your answers): a. f x 3x 3 5x x 6 f x 3 3x 5 x 0 b. g x 4 x x x notice te trick ere! x x g

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

1 2 x Solution. The function f x is only defined when x 0, so we will assume that x 0 for the remainder of the solution. f x. f x h f x.

1 2 x Solution. The function f x is only defined when x 0, so we will assume that x 0 for the remainder of the solution. f x. f x h f x. Problem. Let f x x. Using te definition of te derivative prove tat f x x Solution. Te function f x is only defined wen x 0, so we will assume tat x 0 for te remainder of te solution. By te definition of

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

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

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

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

Financial Econometrics Prof. Massimo Guidolin

Financial Econometrics Prof. Massimo Guidolin CLEFIN A.A. 2010/2011 Financial Econometrics Prof. Massimo Guidolin A Quick Review of Basic Estimation Metods 1. Were te OLS World Ends... Consider two time series 1: = { 1 2 } and 1: = { 1 2 }. At tis

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 DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL IFFERENTIATION FIRST ERIVATIVES Te simplest difference formulas are based on using a straigt line to interpolate te given data; tey use two data pints to estimate te derivative. We assume tat

More information

Chapter 1. Density Estimation

Chapter 1. Density Estimation Capter 1 Density Estimation Let X 1, X,..., X n be observations from a density f X x. Te aim is to use only tis data to obtain an estimate ˆf X x of f X x. Properties of f f X x x, Parametric metods f

More information

(4.2) -Richardson Extrapolation

(4.2) -Richardson Extrapolation (.) -Ricardson Extrapolation. Small-O Notation: Recall tat te big-o notation used to define te rate of convergence in Section.: Suppose tat lim G 0 and lim F L. Te function F is said to converge to L as

More information

MA455 Manifolds Solutions 1 May 2008

MA455 Manifolds Solutions 1 May 2008 MA455 Manifolds Solutions 1 May 2008 1. (i) Given real numbers a < b, find a diffeomorpism (a, b) R. Solution: For example first map (a, b) to (0, π/2) and ten map (0, π/2) diffeomorpically to R using

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

0.1 Differentiation Rules

0.1 Differentiation Rules 0.1 Differentiation Rules From our previous work we ve seen tat it can be quite a task to calculate te erivative of an arbitrary function. Just working wit a secon-orer polynomial tings get pretty complicate

More information

Excerpt from "Calculus" 2013 AoPS Inc.

Excerpt from Calculus 2013 AoPS Inc. Excerpt from "Calculus" 03 AoPS Inc. Te term related rates refers to two quantities tat are dependent on eac oter and tat are canging over time. We can use te dependent relationsip between te quantities

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

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

Differentiation Rules c 2002 Donald Kreider and Dwight Lahr

Differentiation Rules c 2002 Donald Kreider and Dwight Lahr Dierentiation Rules c 00 Donal Kreier an Dwigt Lar Te Power Rule is an example o a ierentiation rule. For unctions o te orm x r, were r is a constant real number, we can simply write own te erivative rater

More information

1watt=1W=1kg m 2 /s 3

1watt=1W=1kg m 2 /s 3 Appendix A Matematics Appendix A.1 Units To measure a pysical quantity, you need a standard. Eac pysical quantity as certain units. A unit is just a standard we use to compare, e.g. a ruler. In tis laboratory

More information

Derivatives of Exponentials

Derivatives of Exponentials mat 0 more on derivatives: day 0 Derivatives of Eponentials Recall tat DEFINITION... An eponential function as te form f () =a, were te base is a real number a > 0. Te domain of an eponential function

More information

A = h w (1) Error Analysis Physics 141

A = h w (1) Error Analysis Physics 141 Introduction In all brances of pysical science and engineering one deals constantly wit numbers wic results more or less directly from experimental observations. Experimental observations always ave inaccuracies.

More information

1 Introduction to Optimization

1 Introduction to Optimization Unconstrained Convex Optimization 2 1 Introduction to Optimization Given a general optimization problem of te form min x f(x) (1.1) were f : R n R. Sometimes te problem as constraints (we are only interested

More information

Research Article Cubic Spline Iterative Method for Poisson s Equation in Cylindrical Polar Coordinates

Research Article Cubic Spline Iterative Method for Poisson s Equation in Cylindrical Polar Coordinates International Scolarly Researc Network ISRN Matematical Pysics Volume 202, Article ID 2456, pages doi:0.5402/202/2456 Researc Article Cubic Spline Iterative Metod for Poisson s Equation in Cylindrical

More information