Abstract

The paper discusses the formulation and analysis of methods for solving the one-dimensional Poisson equation based on finite-difference approximations - an important and very useful tool for the numerical study of differential equations. In fact, this is a classical approximation method based on the expansion of the solution in a Taylor series, based on which the recent progress of theoretical and practical studies allowed increasing the accuracy, stability, and convergence of methods for solving differential equations. Some of the features of this analysis include interesting extensions to classical numerical analysis of initial and boundary value problems. In the first part, a numerical method for solving the one-dimensional Poisson equation is presented, which reduces to solving a system of linear algebraic equations (SLAE) with a banded symmetric positive definite matrix. The well-known tridiagonal matrix algorithm, also known as the Thomas algorithm, is used to solve the SLAEs. The second part presents a solution method based on an analytical representation of the exact inverse matrix of a discretized version of the Poisson equation. Expressions for inverse matrices essentially depend on the types of boundary conditions in the original setting. Variants of inverse matrices for the Poisson equation with different boundary conditions at the ends of the interval under study are presented - the Dirichlet conditions at both ends of the interval, the Dirichlet conditions at one of the ends and Neumann conditions at the other. In all three cases, the coefficients of the inverse matrices are easily found and the algorithm for solving the problem is practically reduced to multiplying the matrix by the vector of the right-hand side.

Highlights

  • Applied mathematical models are mainly based on the use of partial differential equations [1]

  • Many features of stationary problems of mathematical physics described by elliptic equations of the second order can be illustrated by considering the simplest boundary value problems for an ordinary differential equation of the second order

  • The most commonly used method for solving difference equations arising in the approximation of boundary value problems for equations of mathematical physics is the sweep method [6], [7], or the Thomas method [8]

Read more

Summary

Introduction

Applied mathematical models are mainly based on the use of partial differential equations [1]. The most commonly used method for solving difference equations arising in the approximation of boundary value problems for equations of mathematical physics is the sweep method [6], [7], or the Thomas method [8]. We will show how the difference method is applied to solve the boundary value problem (1), restricting ourselves, for simplicity, to an equation with a constant coefficient k (x) ≡ 1. In this case, the boundary value problem with Dirichlet boundary conditions takes the form u′′ (x) − p (x) u (x) = f (x) , a < x < b,. It is possible to apply the grid refinement and Richardson’s method to find the posterior estimate of the error and calculations with control of the accuracy

Finite-difference scheme
Calculating the inverse matrix
Classification of media
The Neumann–Dirichlet boundary conditions
Calculation of the inverse matrix elements
Example
Discretization and matrix equation
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call