<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JEMAA</journal-id><journal-title-group><journal-title>Journal of Electromagnetic Analysis and Applications</journal-title></journal-title-group><issn pub-type="epub">1942-0730</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jemaa.2014.610030</article-id><article-id pub-id-type="publisher-id">JEMAA-50041</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  The Exact Formulation of the Inverse of the Tridiagonal Matrix for Solving the 1D Poisson Equation with the Finite Difference Method
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>erigne</surname><given-names>Bira Gueye</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Département de Physique, Faculté des Sciences et Techniques, Université Cheikh Anta Diop, Dakar-Fann, Sénégal</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>sbiragy@gmail.com</email></corresp></author-notes><pub-date pub-type="epub"><day>10</day><month>09</month><year>2014</year></pub-date><volume>06</volume><issue>10</issue><fpage>303</fpage><lpage>308</lpage><history><date date-type="received"><day>21</day>	<month>June</month>	<year>2014</year></date><date date-type="rev-recd"><day>15</day>	<month>July</month>	<year>2014</year>	</date><date date-type="accepted"><day>8</day>	<month>August</month>	<year>2014</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  A new method for solving the 1D Poisson equation is presented using the finite difference method. This method is based on the exact formulation of the inverse of the tridiagonal matrix associated with the Laplacian. This is the first time that the inverse of this remarkable matrix is determined directly and exactly. Thus, solving 1D Poisson equation becomes very accurate and extremely fast. This method is a very important tool for physics and engineering where the Poisson equation appears very often in the description of certain phenomena.
 
</p></abstract><kwd-group><kwd>1D Poisson Equation</kwd><kwd> Finite Difference Method</kwd><kwd> Tridiagonal Matrix Inversion</kwd><kwd> Thomas Algorithm</kwd><kwd> Gaussian Elimination</kwd><kwd> Potential Problem</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The finite difference method is a very useful tool for discretizing and solving numerically a differential equation. It is effectively a classical method of approximation based on Taylor series expansions that has help during the last years theoretical results to gain in accuracy, stability and convergence.</p><p>In fact, this method is very useful for solving for example Poisson equation. This elliptic equation appears very often in mathematics, physics, chemistry, biology and engineering. In one dimension, the resolution leads to a tridiagonal matrix in the case of centered difference approximation. This matrix, which is diagonally dominant, can be inverted with methods such as Gauss elimination, Thomas Algorithm Method [<xref ref-type="bibr" rid="scirp.50041-ref1">1</xref>] . These technics are powerful and very efficient.</p><p>We proposed here, a new and direct method of inversion of this tridiagonal matrix independently of the right- hand side. For Dirichlet-Dirichlet boundary problems, this innovative method is faster than the Thomas Algorithm. It gives better accuracy and is far more economical in terms of memory occupation.</p><p>First, the finite difference method is presented for the 1D Poisson equation. Secondly, the properties of the matrix associated with the Laplacian and its inverse are discussed. Then, the inverse matrix is determined and its properties are analyzed. Thus, verification is done considering an interesting potential problem, and the sensibility of the method is quantified.</p></sec><sec id="s2"><title>2. Finite Difference Method and 1D Poisson Equation</title><p>We consider a function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x5.png" xlink:type="simple"/></inline-formula> which satisfies the Poisson equation<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x6.png" xlink:type="simple"/></inline-formula>, in the interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x7.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x8.png" xlink:type="simple"/></inline-formula> is a specified function. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x9.png" xlink:type="simple"/></inline-formula>fulfills the Dirichlet-Dirichlet boundary conditions <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x10.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x11.png" xlink:type="simple"/></inline-formula>. We consider an one-dimensional mesh with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x12.png" xlink:type="simple"/></inline-formula> discrete points<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x13.png" xlink:type="simple"/></inline-formula>. Each point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x14.png" xlink:type="simple"/></inline-formula> is de-</p><p>fined by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x15.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x16.png" xlink:type="simple"/></inline-formula> being the step size. We define<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x17.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x18.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x19.png" xlink:type="simple"/></inline-formula>.</p><p>We have chosen the centered difference approximation<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x20.png" xlink:type="simple"/></inline-formula>, in this work, for the fact that it gives a tridiagonal, diagonally dominant, and symmetric matrix. Considering all the above mentioned criteria, one can rewrite the 1D Poisson equation in a set of algebraic equations:</p><disp-formula id="scirp.50041-formula763"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x21.png"  xlink:type="simple"/></disp-formula><p>One gets a linear system of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x22.png" xlink:type="simple"/></inline-formula> equations, which can be written in a matrix form [<xref ref-type="bibr" rid="scirp.50041-ref2">2</xref>]</p><disp-formula id="scirp.50041-formula764"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x23.png"  xlink:type="simple"/></disp-formula><p>Thus, solving the 1D Poisson equation means to invert the negative definite, and regular <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x24.png" xlink:type="simple"/></inline-formula>-matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x25.png" xlink:type="simple"/></inline-formula>. Its inverse, that we noted<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x26.png" xlink:type="simple"/></inline-formula>, is also symmetric. Both matrices have the following properties:</p><disp-formula id="scirp.50041-formula765"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x27.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.50041-formula766"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x28.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x29.png" xlink:type="simple"/></inline-formula> is the Kronecker’s delta.</p></sec><sec id="s3"><title>3. The Inverse of Matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x30.png" xlink:type="simple"/></inline-formula></title><p>From (4), we derive successively the following interesting relations:</p><disp-formula id="scirp.50041-formula767"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x31.png"  xlink:type="simple"/></disp-formula><p>with (5), one sees that the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x32.png" xlink:type="simple"/></inline-formula> is entirely determined if the term <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x33.png" xlink:type="simple"/></inline-formula> is known. This term can be determined by observing the behavior of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x34.png" xlink:type="simple"/></inline-formula> for different <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x35.png" xlink:type="simple"/></inline-formula> values: It holds</p><disp-formula id="scirp.50041-formula768"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x36.png"  xlink:type="simple"/></disp-formula><p>From (5) and (6), we get</p><disp-formula id="scirp.50041-formula769"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x37.png"  xlink:type="simple"/></disp-formula><p>Now, the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x38.png" xlink:type="simple"/></inline-formula> is completely and exactly determined. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x39.png" xlink:type="simple"/></inline-formula>with</p><disp-formula id="scirp.50041-formula770"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x40.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.50041-formula771"><graphic  xlink:href="http://html.scirp.org/file/5-9801521x41.png"  xlink:type="simple"/></disp-formula><p>The solution of the 1D Poisson equation is obtained with a simple, extremely fast matrix multiplication:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x42.png" xlink:type="simple"/></inline-formula>. Thus, the numerical resolution of the 1D Poisson equation which is an interesting topic in physics and engineering is made easy and very accurate.</p>Analysis<p>A first analysis of the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x43.png" xlink:type="simple"/></inline-formula> let us believe that, this new method possesses an algorithm complexity of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x44.png" xlink:type="simple"/></inline-formula>, which is situated between the Gauss eliminations <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x45.png" xlink:type="simple"/></inline-formula> and the one of Thomas’s <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x46.png" xlink:type="simple"/></inline-formula> [<xref ref-type="bibr" rid="scirp.50041-ref1">1</xref>] .</p><p>A deeper analysis of the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x47.png" xlink:type="simple"/></inline-formula> shows that the complexity brought by the Thomas method is largely improved in this study. In addition, one can see a close link between its row vectors and column vectors.</p><p>The matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x48.png" xlink:type="simple"/></inline-formula> is also persymmetric:</p><disp-formula id="scirp.50041-formula772"><graphic  xlink:href="http://html.scirp.org/file/5-9801521x49.png"  xlink:type="simple"/></disp-formula><p>All the information about it, can be found in the upper triangle (in gray color, see <xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Further, we can even find very interesting relations in this matrix which can help refining the final solution.</p><p>That is what we effectively did, and one can see a direct solution for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x50.png" xlink:type="simple"/></inline-formula> at the point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x51.png" xlink:type="simple"/></inline-formula>, which can be expressed by</p><disp-formula id="scirp.50041-formula773"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x52.png"  xlink:type="simple"/></disp-formula><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Matrix symmetries</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-9801521x53.png"/></fig><p>Also a direct solution for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x54.png" xlink:type="simple"/></inline-formula> at the point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x55.png" xlink:type="simple"/></inline-formula> is:</p><disp-formula id="scirp.50041-formula774"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x56.png"  xlink:type="simple"/></disp-formula><p>Generally, a very important recurrence relation can be obtained, which gives all solutions:</p><disp-formula id="scirp.50041-formula775"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x57.png"  xlink:type="simple"/></disp-formula><p>which is equivalent to:</p><disp-formula id="scirp.50041-formula776"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x58.png"  xlink:type="simple"/></disp-formula><p>This very innovative Equation (12) gives directly and accurately all the solution that we are looking for. It proves that our method is direct, faster than the one of Thomas’s in this context and gives as well better accuracy. Furthermore, it is far more economical in terms of memory occupation. This is due to the fact that the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x59.png" xlink:type="simple"/></inline-formula> does not necessitate to be generated. A programmer does not need to declare nor to define the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x60.png" xlink:type="simple"/></inline-formula> in his code.</p><p>In conclusion to this, we can say that the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x61.png" xlink:type="simple"/></inline-formula> is the key of this efficient new method. This matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x62.png" xlink:type="simple"/></inline-formula>, which is the inverse of matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x63.png" xlink:type="simple"/></inline-formula>, is determined explicitly, directly, and independently of the right-hand side of the Poisson equation.</p><p>N.B.: One can prove using mathematical induction that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x64.png" xlink:type="simple"/></inline-formula>. It holds for the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x65.png" xlink:type="simple"/></inline-formula> cofactor of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x66.png" xlink:type="simple"/></inline-formula>:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x67.png" xlink:type="simple"/></inline-formula>. We call the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x68.png" xlink:type="simple"/></inline-formula> Bira’s Matrix.</p></sec><sec id="s4"><title>4. Verification with a Potential Problem</title><p>We consider a scalar potential<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x69.png" xlink:type="simple"/></inline-formula>, defined in [0, 1], which satisfies</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x70.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x71.png" xlink:type="simple"/></inline-formula>fulfills the following boundary conditions: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x72.png" xlink:type="simple"/></inline-formula></p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x73.png" xlink:type="simple"/></inline-formula>. The exact solution is</p><disp-formula id="scirp.50041-formula777"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x74.png"  xlink:type="simple"/></disp-formula><p>With the finite difference method, we take<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x75.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x76.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x77.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x78.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x79.png" xlink:type="simple"/></inline-formula>. The solution is</p><disp-formula id="scirp.50041-formula778"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x80.png"  xlink:type="simple"/></disp-formula>Discussions<p>We define the variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x81.png" xlink:type="simple"/></inline-formula>, which is the relative error at point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x82.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x83.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x84.png" xlink:type="simple"/></inline-formula>represents<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x85.png" xlink:type="simple"/></inline-formula>.</p><p>Generally, we have</p><disp-formula id="scirp.50041-formula779"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x86.png"  xlink:type="simple"/></disp-formula><p>We can also define the average value of the relative error for a given<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x87.png" xlink:type="simple"/></inline-formula>:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x88.png" xlink:type="simple"/></inline-formula>. For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x89.png" xlink:type="simple"/></inline-formula>, it is:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x90.png" xlink:type="simple"/></inline-formula>.</p><p>We obtain the following results, presented in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The table shows that the solution is very accurate. Notwithstanding that we have been interested in determining the sensibility of the proposed method. Effectively, we have plotted <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x91.png" xlink:type="simple"/></inline-formula> for different <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x92.png" xlink:type="simple"/></inline-formula> values.</p><p>We obtain a hyperbola, which can be predicted as proportional to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x93.png" xlink:type="simple"/></inline-formula>.</p><p>This curve is fitted with a function which can be defined as</p><disp-formula id="scirp.50041-formula780"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x94.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x95.png" xlink:type="simple"/></inline-formula>. We obtain two curves represented in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Results and relative error</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x96.png" xlink:type="simple"/></inline-formula></th></tr></thead></tbody></table></table-wrap><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Sensibility</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-9801521x97.png"/></fig><p>We realize that the average relative error <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x98.png" xlink:type="simple"/></inline-formula> behaves like a truncation error that we express in the fol-</p><p>lowing manner<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x99.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x100.png" xlink:type="simple"/></inline-formula>is the fourth order derivative of the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x101.png" xlink:type="simple"/></inline-formula> function in a point (here<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x102.png" xlink:type="simple"/></inline-formula>) which belongs to the interval<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x103.png" xlink:type="simple"/></inline-formula>.</p><p>For our given function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x104.png" xlink:type="simple"/></inline-formula> and also the results from the fitting, we have the following relations [<xref ref-type="bibr" rid="scirp.50041-ref3">3</xref>] :</p><disp-formula id="scirp.50041-formula781"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-9801521x105.png"  xlink:type="simple"/></disp-formula><p>This proves that the method is very accurate, naturally stable, robust, quick and precise.</p></sec><sec id="s5"><title>5. Conclusions</title><p>This paper has provided a new improved method for solving the 1D Poisson equation with the finite difference</p><p>method. Accurate results have been obtained with a sensibility found to be as the function of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-9801521x106.png" xlink:type="simple"/></inline-formula>. In fact, the inverse of the tridiagonal matrix, which is associated with this differential equation, is determined directly, exactly, and independently to the right-hand side. Thus, a new formulation of the solution is given with an algorithmic complexity of O(N). With this innovative method, the 1D Poisson equation, with Dirichlet-Dirichlet boundary condition is solved, with only one programming loop. This new approach provides also gain in accuracy and economy in memory allocation.</p><p>A future work can consider Neumann or mixed boundary conditions.</p></sec><sec id="s6"><title>Acknowledgements</title><p>I would like to thank my colleagues Dr. Cheikh Mbow and Dr. Kharouna Talla for benefit discussions and remarks that contribute to improving the quality of this paper.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.50041-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Conte, S.D. and de Boor, C. (1981) Elementary Numerical Analysis: An Algorithmic Approach. 3rd Edition, McGrawHill, New York, 153-157.</mixed-citation></ref><ref id="scirp.50041-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Leveque, R.J.E. (2007) Finite Difference Method for Ordinary and Partial Differential Equations, Steady State and Time Dependent Problems. SIAM, 15-16. http://dx.doi.org/10.1137/1.9780898717839</mixed-citation></ref><ref id="scirp.50041-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Mathews, J.H. and Kurtis, K.F. (2004) Numerical Methods Using Matlab. 4th Edition, Prentice Hall, Upper Saddle River, 323-325, 339-342.</mixed-citation></ref></ref-list></back></article>