0% found this document useful (0 votes)
15 views4 pages

Numerical Differentiation

The document discusses numerical differentiation, highlighting its necessity when dealing with complex functions or discrete data points. It provides formulas for calculating the first and second derivatives using forward, backward, and centered finite-difference methods, along with their respective error orders. The content is aimed at a weekend batch of students under the instruction of Sadia Tasnim, Lecturer in EEE at PU.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Numerical Differentiation

The document discusses numerical differentiation, highlighting its necessity when dealing with complex functions or discrete data points. It provides formulas for calculating the first and second derivatives using forward, backward, and centered finite-difference methods, along with their respective error orders. The content is aimed at a weekend batch of students under the instruction of Sadia Tasnim, Lecturer in EEE at PU.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Numerical Differentiation

Instructor- Sadia Tasnim


Lecturer, EEE, PU

For Weekend Batch 1


Numerical Differentiation
Why do we require numerical differentiation?
- When the function 𝑓(𝑥) is too complicated to perform
differentiation.
- When we only have discrete data points but no exact function
𝑓(𝑥) .

For Weekend Batch 2


Numerical Differentiation
• To find 1st derivative of 𝑓 𝑥 :

Type Formula Error order

Forward finite-divided- 𝑓 𝑥𝑖+1 − 𝑓 𝑥𝑖 𝑂(ℎ)


difference 𝑓 ′ 𝑥𝑖 =

Backward finite-divided- 𝑓 𝑥𝑖 − 𝑓 𝑥𝑖−1 𝑂(ℎ)


difference 𝑓′ 𝑥𝑖 =

Centered finite-divided- 𝑓 𝑥𝑖+1 − 𝑓 𝑥𝑖−1 𝑂(ℎ2 )


difference 𝑓′ 𝑥𝑖 =
2ℎ

For Weekend Batch 3


Numerical Differentiation
• To find 2nd derivative of 𝑓 𝑥 :

Type Formula Error order

Forward finite-divided- 𝑓 𝑥𝑖+2 − 2𝑓 𝑥𝑖+1 + 𝑓(𝑥𝑖 ) 𝑂(ℎ)


difference 𝑓 " 𝑥𝑖 =
ℎ2

Backward finite-divided- 𝑓 𝑥𝑖 − 2𝑓 𝑥𝑖−1 + 𝑓(𝑥𝑖−2 ) 𝑂(ℎ)


difference 𝑓" 𝑥𝑖 =
ℎ2

Centered finite-divided- 𝑓 𝑥𝑖+1 − 2𝑓 𝑥𝑖 + 𝑓(𝑥𝑖−1 ) 𝑂(ℎ2 )


difference 𝑓" 𝑥𝑖 =
ℎ2

For Weekend Batch 4

You might also like