Module 2 Lesson 5 Numerical Differentiation Backward Difference Method, Lecture notes of Engineering Mathematics

This document introduces the concept of numerical differentiation using the backward difference method. It explains how calculus is an essential tool for engineers and how differentiation and integration are the mathematical concepts at the heart of calculus. The document then goes on to explain the finite difference and how it becomes a derivative as ฮ”x approaches zero. It also explains the backward difference approximation of the first derivative and provides an example to illustrate the concept. Finally, it introduces the backward difference formulas for the first derivative and provides the second-order estimate of fโ€™(x).

Typology: Lecture notes

2021/2022

Available from 08/29/2022

ggegegege
ggegegege ๐Ÿ‡ต๐Ÿ‡ญ

45 documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Module 2
Lesson 5
Numerical Differentiation
Backward Difference Method
Edgar M. Adina
Instructor
CE50P-2
Numerical Solutions to Engineering Problems
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Module 2 Lesson 5 Numerical Differentiation Backward Difference Method and more Lecture notes Engineering Mathematics in PDF only on Docsity!

Module 2

Lesson 5

Numerical Differentiation

Backward Difference Method

Edgar M. Adina

Instructor

CE 50 P- 2

Numerical Solutions to Engineering Problems

Introduction

โžข Calculus is the mathematics of change. Because engineers must

continuously deal with systems and processes that change, calculus is

an essential tool of engineering.

โžข Standing in the heart of calculus are the mathematical concepts of

differentiation and integration :

=ฮ”๐‘ฅ lim 0

๐‘Ž

๐‘

Applications

โžข Differentiation has so many engineering applications

(heat transfer, fluid dynamics, chemical reaction kinetics,

etcโ€ฆ)

โžข Integration is equally used in engineering (compute work

in ME, nonuniform force in SE, cross-sectional area of a

river, etcโ€ฆ)

Differentiation

The finite difference becomes a derivative as ฮ”x approaches zero.

๐œŸ๐’š

๐œŸ๐’™

=

๐’‡(๐’™๐’Š + ๐œŸ๐’™) โˆ’ ๐’‡(๐’™๐’Š)

๐œŸ๐’™ x

f x x f x

dx

dy (^) i i

x (^) ๏„

๏„

๏„

( ) ( ) lim 0

  • โˆ’ = โ†’

Backward Difference Approximation of the

First Derivative Cont.

This is a backward difference approximation as you are taking a point

backward from x. To find the value of (^) f ๏‚ข( ) x at i x = x , we may choose another

point (^) ' ฮ” x '

behind as x =^ xi โˆ’ 1. This gives

( )

( ) ( )

x

f x f x f x

i i i ๏„

โˆ’ ๏‚ข (^) ๏‚ป

โˆ’ 1

( ) ( )

1

1

โˆ’

โˆ’

i i

i i

x x

f x f x

where

1 ฮ” โˆ’ = โˆ’ i i x x x

x-ฮ”x^ x

x

f(x)

Figure 2 Graphical Representation of backward difference

approximation of first derivative

Backward Difference Approximation of the First

Derivative Cont.

Example 2

Solution

( )

( ) ( )

t

t t

a t

i i

๏ฎ ๏ฎ โˆ’ (^1) = 16

ti ฮ” t = 2

14

16 2

1

=

= โˆ’

t (^) i โˆ’ = ti โˆ’๏„ t

( )

( ) ( )

a ๏‚ป

( ) ( )

  1. 8 ( 16 ) 14 10 210016

16 2000 ln 4

4

๏ƒบ^ โˆ’

๏ฎ = = 392. 07 m/s

( ) ( )

14 2000 ln

4

4

๏ฎ = = 334. 24 m/s

( )

( ) ( )

2

16 14 16

๏ฎ โˆ’ ๏ฎ a ๏‚ป

2

๏‚ป 28. 915 m/s

Example 2

The absolute relative true error is

t x

The exact value of the acceleration at from Example 1 is

( )

2

a 16 = 29. 674 m/s

t = 16 s

Backward Difference Formulas- 2

nd

derivative

โ‘ Start with Lagrange interpolation polynomial for f (x) based on the four

points x

i

, x

i- 1

, x

i- 2

and x

i- 3

โ‘ Differentiate the products in the numerators twice

โ‘ Substitute x = xi and consider the fact that xj - xi =(j- i)h

โ‘ The expression of the second derivative is then:

โ„Ž^2

2 )