Finite Difference and Linear Equations
Linear Homogeneous/Inhomogeneous Equations
Linear Equations
Equations where the unknown function and its derivatives appear only in the first degree, with no products or higher powers. They have a straight forward structure, are easy to solve, and ofter have analytical solution.
Homogeneous
All terms in the equation contain the unknow function or its derivatives; there are no constant terms. If the equation includes constant terms, then it is a Non-homogeneous equation.
Finite Difference Method and Linear Equations
The finite difference method is an effective numerical technique for solving various types of differential equations, including linear equations. With linear equations, we can directly replace the derivatives in the equation with their finite difference approximations, resulting in a system of linear algebraic equations.
Solving Methods
1.Finite Difference Method (FDM)(Numerical Approxmation)
Forward finite difference method
Backward finite difference method
Centered finite difference method
2. Characteristic Equation Method
Numerical Integration
Composite trapezoidal rule
Composite Simpson rule
Numerical Interpolating polynomial
For small datasets and when conceptual simplicity is important, Lagrange is fine.
For larger datasets or when you need to add/remove data points frequently, Newton’s divided difference is ususlly the best choice.
Vandermonde matrix is generally not recommended for practical use due to its computational cost and potential numerical instability. It’s more of a theoretical tool.
Vandermonde Matrix
Newton’s divided difference method
Lagrange interpolating polynomial
cardinal functions
Given a set of data points , the cardinal functions have the following properties:
- , when i = j
- = 0, when i != j
The cardinal functions serve to “select” or “active” the corresponding values. In the construction of the Lagrange interpolating polynomial, each cardinal function is multiplied by a . Due to the special properties of the cardinal functions, when , only the corresponding to is “selected”, while all other terms become 0. This ensures that the Lagrange interpolating polynomial passes exactly through all the data points
The expression for the cardinal function is as follows:
Largrange interpolating polynomial of degree not more than n
Error bounds