complex variable & numerical method

29
Presentation on Interpolation and forward ,backward , central method In partial fulfillment of the subject CVNM Submitted by: Mitesh Patel (130120119155) / Mechanical / 4C1 Mitul Patel (130120119156) / Mechanical / 4C1 Neel Patel (130120119157) / Mechanical / 4C1 (2140001) GANDHINAGAR INSTITUTE OF TECHNOLOGY

Upload: neel-patel

Post on 21-Jul-2015

110 views

Category:

Engineering


8 download

TRANSCRIPT

Page 1: Complex Variable & Numerical Method

Presentationon

Interpolation and forward ,backward ,

central method

In partial fulfillment of the subject

CVNM

Submitted by:

Mitesh Patel (130120119155) / Mechanical / 4C1

Mitul Patel (130120119156) / Mechanical / 4C1

Neel Patel (130120119157) / Mechanical / 4C1

(2140001)

G ANDH INAG AR INSTITUTE O F TECH NO LO G Y

Page 2: Complex Variable & Numerical Method

INTERPOLATION AND EXTRAPOLATION

The process of finding the values inside the interval ๐‘ฅ0<๐‘ฅ< ๐‘ฅ๐‘› is known as interpolation.

The process of finding the values outside the interval ๐‘ฅ0<๐‘ฅ< ๐‘ฅ๐‘› is known as extrapolation.

Interpolation

Forward interpolation

Backward interpolation

Page 3: Complex Variable & Numerical Method

POLYNOMIAL INTERPOLATION

For a two point data a first order(linear)polynomial connecting two

points is used.

For a three point data a second order (quadratic) polynomial connecting

three point used

For four point data a third order (cubic) polynomial connecting three

point.

Page 4: Complex Variable & Numerical Method
Page 5: Complex Variable & Numerical Method

FINITE DIFFERENCES

FINITE DIFFRENCES

FORWARD DIFFERENCES

CENTRAL DIFFERENCES

BACKWARD DIFFERENCES

Finite differences are of three types :-

Page 6: Complex Variable & Numerical Method

RULES OF INTERPOLATIONInterpolation formulas can be used only when the values of the argument ๐‘ฅ are equidistant.

The point ๐‘ฅ0 should be selected very close to the point at which interpolation is required.

Usually in the forward interpolation the very first value of ๐‘ฅ is taken equal to ๐‘ฅ0.

Backward interpolation is suitable for interpolation near the end of tabulated values in the backward interpolation.

In backward interpolation the last value of ๐‘ฅ is taken equal to ๐‘ฅ๐‘›.

Page 7: Complex Variable & Numerical Method

FIRST FORWARD DIFFERENCES

The ๐‘ฆ1- ๐‘ฆ0 , ๐‘ฆ2 - ๐‘ฆ1 , ๐‘ฆ๐‘› - ๐‘ฆ๐‘›โˆ’1.differences are called the first forward differences of the function.

y = f (x) and we denote these difference by

โˆ†๐‘ฆ0 , โˆ†๐‘ฆ1 , โˆ†๐‘ฆ2โ€ฆโ€ฆโ€ฆ.., โˆ†๐‘ฆ๐‘›respectively, where ฮ” is called the descending or forward difference operator.

In general, the first forward differences is defined by

ฮ”๐‘ฆ๐‘ฅ= ๐‘ฆ๐‘ฅ+1โ€“ ๐‘ฆ๐‘ฅ.

where ฮ” is called first forward difference operator.

Page 8: Complex Variable & Numerical Method

SECOND FORWARD DIFFRENCE OPERATOR

The differences of first forward differences are called second forward differences.

โˆ†๐Ÿ๐‘ฆ0=โˆ†๐‘ฆ1- โˆ†๐‘ฆ0.

โˆ†๐Ÿ๐‘ฆ1 =โˆ†๐‘ฆ2 - โˆ†๐‘ฆ1.

โˆ†๐Ÿ๐’š๐’โˆ’๐Ÿ= โˆ†๐‘ฆ๐‘› - โˆ†๐‘ฆ๐‘›โˆ’1.

โˆ†๐Ÿ๐‘ฆ0 , โˆ†๐Ÿ๐‘ฆ1,โ€ฆโ€ฆโ€ฆ..,โˆ†๐Ÿ๐’š๐’โˆ’๐Ÿare called second forward differences.

where โˆ†๐Ÿis called second forward difference order.

Page 9: Complex Variable & Numerical Method

TABLE

Argument

x

Entry

y = f(x)

First

Differences

โˆ†

Second

Differences

โˆ†๐Ÿ

Third

Differences

โˆ†๐Ÿ‘

Fourth

Differences

โˆ†๐Ÿ’

๐‘ฅ0

๐‘ฅ1

๐‘ฅ2

๐‘ฅ3

๐‘ฅ4

๐‘ฆ0

๐‘ฆ1

๐‘ฆ2

๐‘ฆ3

๐‘ฆ4

โˆ†๐‘ฆ0

โˆ†๐‘ฆ1

โˆ†๐‘ฆ2

โˆ†๐‘ฆ3

โˆ†๐Ÿ๐‘ฆ0

โˆ†๐Ÿ๐‘ฆ1

โˆ†๐Ÿ๐‘ฆ2

โˆ†๐Ÿ‘๐‘ฆ0

โˆ†๐Ÿ‘๐‘ฆ1

โˆ†๐Ÿ’๐‘ฆ0

Page 10: Complex Variable & Numerical Method
Page 11: Complex Variable & Numerical Method
Page 12: Complex Variable & Numerical Method

FIRST BACKWARD DIFFRENCES

The ๐‘ฆ1- ๐‘ฆ0 , ๐‘ฆ2 - ๐‘ฆ1 , ๐‘ฆ๐‘› - ๐‘ฆ๐‘›โˆ’1.differences are called the first forward differences of the function.

y = f (x) and we denote these difference by

๐›๐‘ฆ1 , ๐›๐‘ฆ2 , ๐›๐‘ฆ3โ€ฆโ€ฆโ€ฆ..,๐›๐‘ฆ๐‘›respectively, where ๐›is called the descending or forward difference operator.

In general, the first forward differences is defined by

๐›๐‘ฆ๐‘›= ๐‘ฆ๐‘› โ€“ ๐‘ฆ๐‘›โˆ’1.

where is called first backward difference operator.

Page 13: Complex Variable & Numerical Method

SECOND BACKWARD DIFFRENCE OPERATOR

The differences of first forward differences are called second backward differences.

๐›๐Ÿ๐‘ฆ1=โˆ†๐‘ฆ1- โˆ†๐‘ฆ0.

๐›๐Ÿ๐‘ฆ2 =โˆ†๐‘ฆ2 - โˆ†๐‘ฆ1.

๐›๐Ÿ๐’š๐’= โˆ†๐‘ฆ๐‘› - โˆ†๐‘ฆ๐‘›โˆ’1.

๐›๐Ÿ๐‘ฆ1 , โˆ†๐Ÿ๐‘ฆ2,โ€ฆโ€ฆโ€ฆ..,โˆ†๐Ÿ๐’š๐’are called second forward differences.

where ๐›is called second backward difference operator.

Page 14: Complex Variable & Numerical Method

TABLEArgument

x

Entry

y = f(x)

First

Differences

๐›

Second

Differences

๐›ป๐Ÿ

Third

Differences

๐›ป๐Ÿ‘

Fourth

Differences

๐›ป๐Ÿ’

๐‘ฅ0

๐‘ฅ1

๐‘ฅ2

๐‘ฅ3

๐‘ฅ4

๐‘ฆ0

๐‘ฆ1

๐‘ฆ2

๐‘ฆ3

๐‘ฆ4

๐›๐‘ฆ0

๐›๐‘ฆ1

๐›๐‘ฆ2

๐›๐‘ฆ3

๐›๐Ÿ๐‘ฆ0

๐›๐Ÿ๐‘ฆ1

๐›๐Ÿ๐‘ฆ2

๐›๐Ÿ‘๐‘ฆ0

๐›๐Ÿ‘๐‘ฆ1

๐›๐Ÿ’๐‘ฆ0

Page 15: Complex Variable & Numerical Method
Page 16: Complex Variable & Numerical Method

THE DIFFERENT TYPES OF OPERATORS.

Page 17: Complex Variable & Numerical Method

CENTRAL DIFFERNCES (ฮด)

If we denote the differences ๐›ฟ๐‘ฆ1/2 , ฮด๐‘ฆ3/2 ,โ€ฆ..., ฮด๐‘ฆ๐‘›โˆ’1/2 respectively,

then we have

๐›ฟ๐‘ฆ1/2=๐‘ฆ1- ๐‘ฆ0 , ฮด๐‘ฆ3/2=๐‘ฆ2 - ๐‘ฆ1 , โ€ฆโ€ฆ..,

ฮด๐‘ฆ๐‘›โˆ’1/2=๐‘ฆ๐‘› - ๐‘ฆ๐‘›โˆ’1.

Where ฮด is called first central difference operator.

Where ๐›ฟ๐‘ฆ1/2 , ฮด๐‘ฆ3/2 ,โ€ฆโ€ฆโ€ฆ.., ฮด๐‘ฆ๐‘›โˆ’1/2 are called first central

differences.

Page 18: Complex Variable & Numerical Method

GENERAL ๐‘๐‘‡๐ป TERM FOR CENTRAL DIFFRENCES

In the general , the ๐‘›๐‘กโ„Ž central differences can be written as:-

๐œน๐’๐’š๐’Šโˆ’(

๐Ÿ

๐Ÿ)

=๐œน๐’โˆ’๐Ÿ๐’š๐’Š - ๐œน๐’โˆ’๐Ÿ๐’š๐’Šโˆ’๐Ÿ .

where n = 1,2,3โ€ฆโ€ฆโ€ฆn.

following table shows how the central difference can be written.

Page 19: Complex Variable & Numerical Method

TABLE

Argument

x

Entry

y = f(x)

First

Differences

๐›…

Second

Differences

๐›…๐Ÿ

Third

Differences

๐›…๐Ÿ‘

Fourth

Differences

๐›…๐Ÿ’

๐‘ฅ0

๐‘ฅ1

๐‘ฅ2

๐‘ฅ3

๐‘ฅ4

๐‘ฆ0

๐‘ฆ1

๐‘ฆ2

๐‘ฆ3

๐‘ฆ4

๐›ฟ๐‘ฆ1/2

ฮด๐‘ฆ3/2

ฮด๐‘ฆ5/2

ฮด๐‘ฆ7/2

๐›…๐Ÿy1

๐›…๐Ÿ๐‘ฆ2

๐›…๐Ÿ๐‘ฆ3

๐›…๐Ÿ‘๐‘ฆ3/2

๐›…๐Ÿ‘๐‘ฆ5/2

๐›…๐Ÿ’๐‘ฆ2

Page 20: Complex Variable & Numerical Method

TYPES OF OPERATORS

Operators

Shifting operator Unit operatorInverse

operator

Differential

operator

Forward difference operators

Backward difference operator

Page 21: Complex Variable & Numerical Method

FORWARD AND BACKWARD DIFFERNCES OPERATORS EQUATIONS

โˆ†๐‘“(๐‘ฅ) = ๐‘“(๐‘ฅ + โ„Ž)- ๐‘“(๐‘ฅ).This equation is known as forward difference operators equation.

โˆ‡๐‘“(๐‘ฅ) = ๐‘“(๐‘ฅ ) - ๐‘“(๐‘ฅ โˆ’ โ„Ž).

This equation is known as backward difference operators equation.

Page 22: Complex Variable & Numerical Method

SHIFTING OPERATOR (โˆˆ)

E๐‘“(๐‘ฅ) = ๐‘“(๐‘ฅ + h).

E2๐‘“(๐‘ฅ) = ๐‘“(๐‘ฅ+ 2h).

E3 ๐‘“(๐‘ฅ) = ๐‘“(๐‘ฅ+ 3h).

โ‹ฎ โ‹ฎ

E๐‘›๐‘“(๐‘ฅ)= ๐‘“(๐‘ฅ + nh).

E is also known as displacement or translation operator.

Page 23: Complex Variable & Numerical Method

INVERSE OPERATOR

๐ธโˆ’1๐‘“(๐‘ฅ+ h) = ๐‘“(๐‘ฅ โ€“ h).

๐ธโˆ’2๐‘“(๐‘ฅ+ h) = ๐‘“(๐‘ฅ โ€“ 2h).

๐ธโˆ’3๐‘“(๐‘ฅ+ h) = ๐‘“(๐‘ฅ โ€“ 3h).

โ‹ฎ โ‹ฎ

๐ธโˆ’๐‘›๐‘“(๐‘ฅ+ h) = ๐‘“(๐‘ฅ โ€“ nh).

where ๐œ–โˆ’1 is known as inverse operator.

Page 24: Complex Variable & Numerical Method

DIFFERNTIAL OPERATOR

๐ท๐‘“(๐‘ฅ) =๐‘‘

๐‘‘๐‘ฅ๐‘“(๐‘ฅ).

๐ท2๐‘“ ๐‘ฅ =๐‘‘2

๐‘‘๐‘ฅ2๐‘“(๐‘ฅ).

โ‹ฎ โ‹ฎ

๐ท๐‘›๐‘“ ๐‘ฅ =๐‘‘๐‘›

๐‘‘๐‘ฅ๐‘›๐‘“ ๐‘ฅ .

where ๐ท is known as differential operator.

Page 25: Complex Variable & Numerical Method

UNIT OPERATOR

The unit operator 1 is defined as 1.f(x)= f(x).

Page 26: Complex Variable & Numerical Method

RELATION BETWEEN FORWARD AND SHIFTING OPERATOR

โˆ†=E-1.

By definition ,

โˆ†๐‘“(๐‘ฅ)=๐‘“ ๐‘ฅ + h โˆ’ ๐‘“(๐‘ฅ).

โˆ†๐‘“(๐‘ฅ)=E ๐‘“ ๐‘ฅ โˆ’ 1. ๐‘“(๐‘ฅ).

โˆ†๐‘“(๐‘ฅ)=(E-1)๐‘“(๐‘ฅ).

โˆ†= ๐ธ โˆ’ 1.

Page 27: Complex Variable & Numerical Method

RELATION BETWEEN THE BACKWARD AND INVERSE OPERATOR

โˆ‡=1-๐ธโˆ’1.

By definition ,

โˆ‡๐‘“(๐‘ฅ)=๐‘“(๐‘ฅ)-๐‘“(๐‘ฅ โˆ’ h).

โˆ‡๐‘“(๐‘ฅ)=1.๐‘“(๐‘ฅ)-๐ธโˆ’1๐‘“(๐‘ฅ).

โˆ‡๐‘“ ๐‘ฅ =(1-๐ธโˆ’1)๐‘“(๐‘ฅ).

โˆ‡=(1-๐ธโˆ’1).

Page 28: Complex Variable & Numerical Method

RELATION BETWEEN THE CENTRE AND INVERSE OPERATOR

ฮด=๐ธโˆ’1/2โˆ†.

By definition ,

ฮด๐‘“(๐‘ฅ)=๐‘“(๐‘ฅ +h

2)-๐‘“ ๐‘ฅ โˆ’

h

2.

ฮด๐‘“(๐‘ฅ)=๐ธ1/2๐‘“(๐‘ฅ)-๐ธโˆ’1

2๐‘“ ๐‘ฅ .

ฮด๐‘“ ๐‘ฅ = (๐ธ1/2-๐ธโˆ’1/2)๐‘“ ๐‘ฅ .

ฮด= ๐ธโˆ’1/2(E-1).

ฮด= ๐ธโˆ’1/2โˆ†.

Page 29: Complex Variable & Numerical Method

THANK

YOU