FINITE DIFFERENCES. Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations.

Similar documents
Chapter 1. Numerical Errors. Module No. 3. Operators in Numerical Analysis

Engg. Math. II (Unit-IV) Numerical Analysis

Notation Nodes are data points at which functional values are available or at which you wish to compute functional values At the nodes fx i

Completion Date: Monday February 11, 2008

Hermite Interpolation

Ma 530 Power Series II

Math 113 (Calculus 2) Exam 4

POSITIVE POLYNOMIALS LECTURE NOTES (09: 10/05/10) Contents

Numerical Methods. King Saud University

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

MATHEMATICAL METHODS INTERPOLATION

Polynomial Interpolation Part II

Module 5 : Linear and Quadratic Approximations, Error Estimates, Taylor's Theorem, Newton and Picard Methods

Rational Numbers CHAPTER. 1.1 Introduction

Engineering Mathematics through Applications

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy)

MAT137 Calculus! Lecture 48

, applyingl Hospital s Rule again x 0 2 cos(x) xsinx

3.3 Accumulation Sequences

TAYLOR AND MACLAURIN SERIES

CS205B / CME306 Homework 3. R n+1 = R n + tω R n. (b) Show that the updated rotation matrix computed from this update is not orthogonal.

Computing Taylor series

S chauder Theory. x 2. = log( x 1 + x 2 ) + 1 ( x 1 + x 2 ) 2. ( 5) x 1 + x 2 x 1 + x 2. 2 = 2 x 1. x 1 x 2. 1 x 1.

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

Module 2 : Convection. Lecture 12 : Derivation of conservation of energy

LECTURE 5, FRIDAY

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

ILLUSTRATIVE EXAMPLES

Math 148. Polynomial Graphs

Lecture 5: Functions : Images, Compositions, Inverses

Calculus of Variations Summer Term 2014

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

Section Taylor and Maclaurin Series

Interpolation. P. Sam Johnson. January 30, P. Sam Johnson (NITK) Interpolation January 30, / 75

Downloaded from

MATH 103 Pre-Calculus Mathematics Test #3 Fall 2008 Dr. McCloskey Sample Solutions

UNIT-II INTERPOLATION & APPROXIMATION

Week #6 - Taylor Series, Derivatives and Graphs Section 10.1

Lecture 27. Quadratic Formula

Lecture V: The game-engine loop & Time Integration

1. Find the Taylor series expansion about 0 of the following functions:

AP Calculus (BC) Chapter 9 Test No Calculator Section Name: Date: Period:

March 4, 2019 LECTURE 11: DIFFERENTIALS AND TAYLOR SERIES.

MS 2001: Test 1 B Solutions

1. Definition of a Polynomial

MATH 56A SPRING 2008 STOCHASTIC PROCESSES 197

Spectral Theorem for Self-adjoint Linear Operators

= D ( )( ) derivative

Applied Math for Engineers

NUMERICAL ANALYSIS 2 - FINAL EXAM Summer Term 2006 Matrikelnummer:

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

Review for Final. The final will be about 20% from chapter 2, 30% from chapter 3, and 50% from chapter 4. Below are the topics to study:

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Chap. 19: Numerical Differentiation

Checking the Radioactive Decay Euler Algorithm

Newton's forward interpolation formula

Chapter 8: Taylor s theorem and L Hospital s rule

1S11: Calculus for students in Science

Applied Numerical Analysis Quiz #2

USHA RAMA COLLEGE OF ENGINEERING & TECHNOLOGY

Brownian Motion and Stochastic Calculus

Dr. Abdulla Eid. Section 3.8 Derivative of the inverse function and logarithms 3 Lecture. Dr. Abdulla Eid. MATHS 101: Calculus I. College of Science

Final exam (practice) UCLA: Math 31B, Spring 2017

q-series Michael Gri for the partition function, he developed the basic idea of the q-exponential. From

AP Calculus Testbank (Chapter 9) (Mr. Surowski)

Linear Equation in Two Variables

Algebraic Expressions

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

Prelim 1 Solutions V2 Math 1120

MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation

ARMA Models: I VIII 1

UNIVERSIDAD CARLOS III DE MADRID Escuela Politécnica Superior Departamento de Matemáticas

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series.

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3

DIFFERENTIAL EQUATIONS

REVERSE CHAIN RULE CALCULUS 7. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Reverse Chain Rule 1/12 Adrian Jannetta

Taylor Series and Numerical Approximations

1D Heat equation and a finite-difference solver

Lectures 9-10: Polynomial and piecewise polynomial interpolation

Lecture 6: Linear ODE s with Constant Coefficients I

Preface. 2 Linear Equations and Eigenvalue Problem 22

Abstract Vector Spaces and Concrete Examples

Tutorial Code and TA (circle one): T1 Charles Tsang T2 Stephen Tang

Preliminary Examination in Numerical Analysis

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

Mathematical Background. e x2. log k. a+b a + b. Carlos Moreno uwaterloo.ca EIT e π i 1 = 0.

Math Real Analysis II

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Examples of solutions to the examination in Computational Physics (FYTN03), October 24, 2016

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Functions Level 1 revision. MA2730: topics for Lecture 1

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

MTH 362: Advanced Engineering Mathematics

Continuum Limit of Forward Kolmogorov Equation Friday, March 06, :04 PM

MathB65 Ch 4 IV, V, VI.notebook. October 31, 2017

Bessel s and legendre s equations

Mathematics Notes for Class 12 chapter 7. Integrals

1. Group Theory Permutations.

Transcription:

FINITE DIFFERENCES Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations.

1. Introduction When a function is known explicitly, it is easy to calculate the value (or values) of f(x), corresponding to a fixed given value. However, when the explicit form of the function is not known, it is possible to obtain an approximate value of the function up to a desired level of accuracy with the help of finite differences. A function x being an independent variable and y, a dependent variable, is considered. Let takes equidistant values (which are finite in numbers); h is the equal spacing, then are the corresponding values of. The values of the independent variable x are termed as arguments and the corresponding values of the dependent variable y are called entries. 2. Operators ( and E) Forward Difference: The forward difference, denoted by, is defined as y = f(x) = f(x + h) f(x); h is called the interval of differencing; f(x) is the first order differences. We get the second order differences (denoted by 2 ) when is operated twice on f(x), Thus 2 y = 2 f(x) = [ f(x)] = [f(x + h) - f(x)] Similarly, = f(x + h) - f(x) = [f(x + 2h) - f(x + h)] - [f(x + h) - f(x)] = f(x + 2h) -2f(x + h) + f(x). may be calculated. Forward Difference Table with 4 arguments Argument Entries First Differences Second Differences Third Differences )

Note: If f(x) is a polynomial of degree n in x, then f(x) is a constant and is zero. Conversely, if the th difference is zero, then the polynomial is less or equal to degree n. Example 1: Let then Now, Hence, =, which is a constant Backward Difference: We now define a difference operator, known as backward difference operator, given by Please note that the backward difference of is same as the forward difference of, that is, Backward Difference Table with 4 arguments Argument Entries First Differences Second Differences Third Differences ) E-Operator: We now define the operator as, that is, the operator gives an increment of to the argument [Note:.

3. Relation between and Let y = f(x) be a function of an independent variable and the dependent variable. We have = where h is the interval of differencing = or, = Relation between operator of finite differences and differential operator of differential calculus We know where Now, by Taylor series expansion, we have or,, or, or, D Example 2. Evaluate the following: (i)

(ii) (iii) (the interval of differencing being ). = (iv) (v) (the interval of differencing being h). (vi), where f(x) = x 3.

(vii), where f(x) = x 3. (viii) (ix) (x) = (since all differences of order less than 10, vanishes). Example 3. Prove the following relations: (i)

Let be a function of an independent variable x and the dependent variable y. Now,, being the interval of differencing Again, Hence, (ii) Let y = f(x) be a function of an independent variable x and the dependent variable y. L.H.S. = (iii) Let y = f(x) be a function of an independent variable x and the dependent variable y. R.H.S. = Hence,

Example 4. f(x) is polynomial in x with the following functional values: f (2) = f (3) = 27, f (4) = 78, f (5) = 169. Find the function f(x). Since four entries (i.e., four functional values) are given, f(x) can be represented by a polynomial of degree 3. Let f(x) = a+bx+cx 2 +dx 3, where a, b, c, d are constants to be determined. Now, Solving these equations, we get, a = 221, b = and d = Therefore, the required function is f(x) = Example 5. Compute the missing terms in the following table: 2 3 4 5 6 7 8 0.135-0.111 0.100-0.082 0.074 Since five entries are given, f(x) can be represented by a polynomial of degree four. Hence f(x) = constant and f(x) = 0 Now, putting x = 2 and x = 3, we get (as the interval of differencing is unity) Substituting the values of f (8), f (7), f (5), f (4) and f (2) we get, and Solving we get and.

Example 6. For a function u x, Since eight entries are given, is, can be represented by a polynomial of degree 7, that ( ) ( (assuming the interval of differencing to be unity) ) = 0

Exercises 1. Evaluate the following: (i) (ii) (iii) (iv) (v) (vi) (vii) (viii) (ix) (x) 2. Find from the following table: 1 2 3 4 5 7 12 29 64 123 3. Given,, find 4. Prove that [Hint: Already proved ] 5. Find given =-3,. 6. Given that is a polynomial of second degree and =1, Find the value of.