Lesson 10 Num Sol
Lesson 10 Num Sol
Numerical Differentiation
Prepared by Engr. Kenneth Ryan Llorera
Objectives
Perform Numerical Differentiation
Compare Analytical Differentiation to Numerical Differentiation
Finite Divided-Difference
We have already introduced the notion of numerical differentiation
in the previous lesson. Recall that we employed Taylor series expansions to
•
•
From the Taylor Expansion
Finite Divided-Difference Method
The finite divided-difference method is a technique used in
numerical analysis for estimating derivatives, constructing polynomial
•
•
General formula for higher order divided difference
Finite Divided Difference vs Unknown
Function
Suppose we have discrete data points for a function at , and we
want to estimate the second derivative of 𝑓(𝑥) at , given that;
•
method.
Forward Difference Method: This method uses the function value at the
current point and the next point to estimate the derivative. The forward
difference formula for the first derivative is:
Backward Difference Method: This method uses the function value at the
current point and the previous point to estimate the derivative. The
backward difference formula for the first derivative is
Finite Divided Difference Methods
In order to solve this, we might consider the types of Finite Divided
Difference Method. Let us see the variations of finite divided difference
•
method.
1
2
3
4
•
As we can see, the data is enough to perform all three finite divided
Finite Divided Difference Methods
Finite Divided Difference vs Unknown
Function
•
Let us tabulate again what we have in the function
1
reference 2
3
4
•
If we take a closer look, only central and forward difference method
Finite Divided Difference vs Unknown
Function
•
What if a 5th data was given to us
1
2
reference 3
4
5 25
Finite Divided Difference vs Unknown
Function
•
What if a 5th data was given to us
0
1
reference 2
3
4
Forward Difference Method
Suppose we have discrete data points for a function at , and we
want to estimate the second derivative of 𝑓(𝑥) at , given that;
•
•
Backward Difference Method
Suppose we have discrete data points for a function at , and we
want to estimate the second derivative of 𝑓(𝑥) at , given that;
•
•
Central Difference Method
Suppose we have discrete data points for a function at , and we
want to estimate the second derivative of 𝑓(𝑥) at , given that;
•
with equal to 2
Finite Divided Difference vs Known
Function
Using our finite divided difference formula, we have to predict the
derivative and second derivative of the function when for a stepping size
•