<?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">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2014.53042</article-id><article-id pub-id-type="publisher-id">AM-42747</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Algorithms for Solving Linear Systems of Equations of Tridiagonal Type via Transformations
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>oawwad</surname><given-names>El-Mikkawy</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Faiz</surname><given-names>Atlan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Mathematics Department, Faculty of Science, Mansoura University, Mansoura, Egypt</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>m_elmikkawy@yahoo.com(OE)</email>;<email>faizatlan11@yahoo.com(FA)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>07</day><month>02</month><year>2014</year></pub-date><volume>05</volume><issue>03</issue><fpage>413</fpage><lpage>422</lpage><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>
 
 
   Numeric algorithms for solving the linear systems of tridiagonal type have already existed. The well-known Thomas algorithm is an example of such algorithms. The current paper is mainly devoted to constructing symbolic algorithms for solving tridiagonal linear systems of equations via transformations. The new symbolic algorithms remove the cases where the numeric algorithms fail. The computational cost of these algorithms is given. MAPLE procedures based on these algorithms are presented. Some illustrative examples are given. 
 
</p></abstract><kwd-group><kwd>Tridiagonal Matrix; Permutation Matrix; Algorithm; MAPLE</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Linear systems of equations of tridiagonal type arise in solving problems in a wide variety of disciplines including physics [1,2], mathematics [3-8], engineering [9,10] and others. Many researchers have been devoted to dealing with such systems (see [11-27]). When a system of linear equations has a coefficient matrix of special structure, it is recommended to use a tailor-made algorithm for such systems of equations. The tailor-made algorithms are not only more efficient in terms of computational time and computer memory, but also accumulate smaller round-off errors. As a matter of fact, many problems arising in practice lead to the solution of linear system of equations with special coefficient matrices. The current paper is mainly devoted to developing new algorithms for solving linear system of equations of tridiagonal type of the form:</p><disp-formula id="scirp.42747-formula19326"><label>(1)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\f1f1367c-2ae7-45ec-ac77-9a83531c609d.png"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.42747-formula19327"><label>(2)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\7280a807-c297-42a6-80e6-6b4349bd596e.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\4a36aaba-7dae-46b6-964f-2bcf407bca2d.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\3fecb46d-d459-46b8-b340-31c30b2a758e.png" xlink:type="simple"/></inline-formula></p><p>The coefficient matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\ed8d5844-1036-4ec8-85e1-9fd37bb787e9.png" xlink:type="simple"/></inline-formula> in (2) can be stored in <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\136b9006-ea4c-472a-ba46-710d8d707297.png" xlink:type="simple"/></inline-formula> memory locations by using three vectors:</p><p><inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\051734d7-5210-45aa-a9c4-96fe8b77d0d3.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\55b8d316-276b-4e9d-856c-f2ff1dac839b.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\233bcaaa-783f-4fc7-a04b-2d73732bcce3.png" xlink:type="simple"/></inline-formula> with <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\dd9184f2-372f-45cd-8e5f-82d7433dc0d7.png" xlink:type="simple"/></inline-formula> This is always a good habit in computation in order to save memory space.</p><p>Of course, the non-singularity of the coefficient matrix should be checked firstly to make sure that the system (1) has a non-trivial solution. The DETGTRI algorithm [<xref ref-type="bibr" rid="scirp.42747-ref28">28</xref>] can be used efficiently for this purpose.</p><p>Definition 1.1 [<xref ref-type="bibr" rid="scirp.42747-ref29">29</xref>]. The symmetric matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\310d63aa-744c-44ae-997b-6395ae3d0a79.png" xlink:type="simple"/></inline-formula> is called positive definite if and only if</p><p><img src="htmlimages\10-7401900x\f49d4f21-edef-4ef5-a88b-644fb8721bcc.png" /></p><p>Theorem 1.2 [<xref ref-type="bibr" rid="scirp.42747-ref29">29</xref>]. The symmetric matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7ce6130d-63eb-43db-9552-96c457aa15fc.png" xlink:type="simple"/></inline-formula> is positive definite if and only if any of the following conditions is satisfied:</p><p>1) <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\5b11e938-17ec-49a2-99a3-cbc0d93474c5.png" xlink:type="simple"/></inline-formula>has only positive eigenvalues.</p><p>2) <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\d96a69f7-a158-4260-8b78-a2cf62601709.png" xlink:type="simple"/></inline-formula></p><p>In particular, the author in [<xref ref-type="bibr" rid="scirp.42747-ref30">30</xref>] proved that for the tridiagonal matrix (2), it is true that <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\61539cdd-a287-4c94-8dcf-896892d42aa7.png" xlink:type="simple"/></inline-formula> provided that <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\f1e19319-dd10-4b41-a8f5-f14d344e98b6.png" xlink:type="simple"/></inline-formula> Thus the tridiagonal matrix (2) is positive definite if and only if <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\fc9054a8-f0a8-4e1c-b4ec-5b1361596fb9.png" xlink:type="simple"/></inline-formula> This is an easy way to check weather a tridiagonal matrix is positive definite or not.</p><p>3) <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\561d020b-eec8-4e74-b3cc-ec7cc4408216.png" xlink:type="simple"/></inline-formula>can be written as: <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\8bec4b38-22ac-4f75-8918-f6f3183da5c5.png" xlink:type="simple"/></inline-formula>for a non-singular matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b12c10f3-0928-4ea5-9d07-74c6d7452421.png" xlink:type="simple"/></inline-formula></p><p>Definition 1.3 [<xref ref-type="bibr" rid="scirp.42747-ref29">29</xref>]. An <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\95014cc5-cb30-4294-b9c7-838af94289b8.png" xlink:type="simple"/></inline-formula> matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b86d1492-f8a2-4a9d-a0a1-59166d336457.png" xlink:type="simple"/></inline-formula> is called diagonally dominant if</p><p><img src="htmlimages\10-7401900x\b2a0f0be-e5c8-4047-84b6-e2da8ff78d52.png" /></p><p>and strictly diagonally dominant if</p><p><img src="htmlimages\10-7401900x\8874a43e-af6f-4c53-8117-a140fac51390.png" /></p><p>The current paper is organized as follows. In Section 2, new algorithms for solving linear systems of equations of tridiagonal type via transformations are given. In Section 3, concluding remarks are given. MAPLE procedures are given in Section 4. Illustrative examples are presented in Section 5.</p><p>Throughout this paper, the word “simplify” means simplifying the expression under consideration to its simplest rational form.</p></sec><sec id="s2"><title>2. Main Results</title><p>In this Section, we are going to consider the derivation of new algorithms for solving linear systems of equations of tridiagonal type (1) via transformations. For this purpose it is convenient to introduce three vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\24fecf0c-7553-4d97-94af-7ae219bdaa5d.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\e1515b1e-b28a-48dc-a43b-7ebf07f56da6.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b0967b66-5df5-4a14-9700-7a544722e638.png" xlink:type="simple"/></inline-formula> where</p><disp-formula id="scirp.42747-formula19328"><label>(3)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\aa9cc8d4-d755-41e5-abc6-86a3a1155afb.png"  xlink:type="simple"/></disp-formula><p>By using the vectors c, y and z, together with the suitable elementary row operations (ERO’s), we see that the system (1) may be transformed to the equivalent linear system:</p><disp-formula id="scirp.42747-formula19329"><label>(4)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\25a33d5b-9bac-4c2d-a4fb-17115a62b6c7.png"  xlink:type="simple"/></disp-formula><p>The transformed system (4) is easy to solve by backward substitution. Consequently, the linear system (1) can be solved using the following algorithm:</p><p>The Algorithm 2.1, will be referred to as TRANSTRI-I algorithm. The cost of the algorithm is <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\6cc45111-e2b9-4b10-94ca-db92bcae4c47.png" xlink:type="simple"/></inline-formula> multiplications/divisions and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\5e06ffce-1863-4e32-bc4c-4acb322e2ce5.png" xlink:type="simple"/></inline-formula> additions/subtractions.</p><p>Note that the algorithm TRANSTRI-I works properly only if <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\2182ad6a-3fb4-4f98-83d0-4f674d671bde.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\c8157265-a0bc-4fc4-895a-6ca6416bb680.png" xlink:type="simple"/></inline-formula></p><p>At this point, it should be mentioned that if the coefficient matrix, <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\4bf08090-8504-48af-b18a-16e3155680fa.png" xlink:type="simple"/></inline-formula>of the system (1) is positive definite or diagonally dominant, then the numeric algorithm TRANSTRI-I will never fail.</p><p>The following symbolic version algorithm is developed in order to remove the cases where the numeric algorithm TRANSTRI-I fails. The parameter “s” in the algorithm is just a symbolic name. It is a dummy argument and its actual value is zero.</p><p>The Algorithm 2.2, will be referred to as TRANSTRI-II algorithm.</p><p>In a similar manner, we may consider three vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\fc2bc545-e92b-4c83-a222-66779b642b42.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\fbdb2e7c-3c4b-4c6c-886e-cda4f8f576b9.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7d74b6db-1ca5-4ab1-bce1-278c016baced.png" xlink:type="simple"/></inline-formula> where</p><disp-formula id="scirp.42747-formula19330"><label>(5)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\7af642b4-1747-411c-9653-796218048d71.png"  xlink:type="simple"/></disp-formula><p>in order to develop a new algorithm.</p><p>We are going to focus on the symbolic version only. As in Algorithm 2.1, by using the vectors e, Y and Z, together with the suitable ERO’s, we see that the system (1) may be transformed to the equivalent linear system:</p><disp-formula id="scirp.42747-formula19331"><label>(6)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\c1098ae6-6d4f-4783-b437-6ce185f9a947.png"  xlink:type="simple"/></disp-formula><p>The transformed system (6) is easy to solve using forward substitution. Therefore the linear system (1) can be solved using the following algorithm:</p><p>The Algorithm 2.3, will be referred to as TRANSTRI-III algorithm.</p><p>Corollary 2.1. Let <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\f866e444-72c4-4ab8-8b5a-eb3467bac01f.png" xlink:type="simple"/></inline-formula> be the backward matrix of the tridiagonal matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\8f42e515-fb6e-4b27-aa24-1ce3ac0b688b.png" xlink:type="simple"/></inline-formula> in (2), and given by:</p><disp-formula id="scirp.42747-formula19332"><label>(7)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\47377e4e-d0f5-4e13-8e86-b4be1783f78b.png"  xlink:type="simple"/></disp-formula><p>Then the backward tridiagonal linear system</p><disp-formula id="scirp.42747-formula19333"><label>(8)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\9cf4104a-00d2-4a97-a9c0-eadd6d80ac09.png"  xlink:type="simple"/></disp-formula><p>has the solution: <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\fe09193e-30a8-41e0-aa3c-8709729a861e.png" xlink:type="simple"/></inline-formula>where <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\2cb1d391-c8d3-4e94-aaaf-c68b4eaff0b0.png" xlink:type="simple"/></inline-formula> is the floor function of k and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\3d15eb31-fcef-4cde-bcd9-2483ef15ea36.png" xlink:type="simple"/></inline-formula> is the solution vector of the linear system (1).</p><p>Proof. Consider the <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\158dd345-85ce-4876-a76d-860ce6e5ac18.png" xlink:type="simple"/></inline-formula> permutation matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\1da170aa-a151-449d-92de-3edff9cc1d43.png" xlink:type="simple"/></inline-formula> defined by:</p><disp-formula id="scirp.42747-formula19334"><label>(9)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\f2e14a91-e547-4256-8b96-66d8dcfc027f.png"  xlink:type="simple"/></disp-formula><p>For this matrix, we have:</p><disp-formula id="scirp.42747-formula19335"><label>(10)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\bacd5424-a8c7-4955-8c7f-29023bfda633.png"  xlink:type="simple"/></disp-formula><p>Since</p><disp-formula id="scirp.42747-formula19336"><label>(11)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\a6a0ab78-9bcd-49ac-8357-d07943f7929d.png"  xlink:type="simple"/></disp-formula><p>Then using (10) and (11), the result follows.</p><p>Corollary 2.2. The determinants of the coefficient matrices <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\3471cdd9-8602-4494-974a-076944b95f37.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\cf88b6cb-252e-428f-8ceb-a0d16a26cd73.png" xlink:type="simple"/></inline-formula> in (2) and (7) are given respectively by:</p><disp-formula id="scirp.42747-formula19337"><label>(12)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\6a1bc944-fdba-412b-aa1a-44f63bac7141.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.42747-formula19338"><label>(13)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\61f92792-0a69-425a-8aab-bd2cbe68dd7f.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\875e54e6-a703-440b-a8a0-3d56bf476a6e.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\4a4ca5ec-d95f-4de7-bf16-3852ad2bb855.png" xlink:type="simple"/></inline-formula> satisfy (3) and (5).</p></sec><sec id="s3"><title>3. Conclusions</title><p>There are many numeric algorithms in current use for solving linear systems of tridiagonal type. The Thomas algorithm is the well known numeric algorithm for solving such systems. However, all Thomas and Thomas-like numeric algorithms including the TRANSTRI-I algorithm of the current paper, fail to solve the tridiagonal linear system if <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\61f9747f-5aa2-463f-863d-ded96476de2b.png" xlink:type="simple"/></inline-formula> for any <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\debf31e4-d861-41c3-9f72-015cd8830d3a.png" xlink:type="simple"/></inline-formula> For example, all these numeric algorithms fail to solve the linear system:</p><p><img src="htmlimages\10-7401900x\521c564b-2866-47f5-bcb9-dd6e19a0d6e0.png" /></p><p>since <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b5d8f0fd-467d-49bf-8b4f-68cf444746ec.png" xlink:type="simple"/></inline-formula> although its coefficient matrix is invertible and its inverse is the following matrix</p><p><img src="htmlimages\10-7401900x\b96a7b26-25be-46ca-8d4f-5a01b507ffa6.png" /></p><p>The symbolic algorithms TRANSTRI-II and TRANSTRI-III of the current paper are constructed in order to remove the cases where the numeric algorithms fail. These are the only symbolic algorithms for solving linear systems of tridiagonal type. Consequently, we are not going to compare them with numeric algorithms.</p></sec><sec id="s4"><title>4. Computer Programs</title><p>In this Section, we are going to introduce MAPLE procedures for solving linear system of tridiagonal type (1). These procedures are based on the algorithms DETGTRI, TRANSTRI-II and TRANSTRI-III. The procedure of Program 1, alters the contents of the vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b8f7eb6c-0048-47e2-8d1a-5443a757b47a.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\4f0d5f7e-aff8-41a7-bb8d-392f0cc36621.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\2821a85f-35f0-45e6-98ac-1e9d226834de.png" xlink:type="simple"/></inline-formula> Eventually, the contents of the vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\372d5139-617e-48be-864a-ee94295b3717.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\dbdd89d5-eedb-4f32-8069-3a8f5f54d28d.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\13ed1dfb-f62e-4eec-ab11-699e9237d662.png" xlink:type="simple"/></inline-formula> are stored in <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\c160a459-05d8-4692-b90c-647535d5fee9.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\faee753c-ab8c-43f1-9c1d-fd60e09801e3.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\ac228d18-7228-4088-96c9-9519c0a7614a.png" xlink:type="simple"/></inline-formula> respectively. The procedure of Program 2, alters the contents of the vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\a7b97cf3-398e-44ee-b706-48cf912755a6.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\a062c39f-218d-48ef-9dac-2be52dfe11cc.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7d9a3121-8629-458c-af49-65a435c57091.png" xlink:type="simple"/></inline-formula> Eventually, the contents of the vectors <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7a5df0fb-a6dd-42c7-9c84-93b940cf416e.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\108276b3-1926-4af8-9ef2-c723061d1564.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\bc552f9d-8dda-4357-8dae-c906c281ef9d.png" xlink:type="simple"/></inline-formula> are stored in <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\fa3a8064-1282-4bb2-8504-7bcd1959ccf3.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b849668d-a4ad-4dbc-a39c-90ea959e0bf8.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\d09e6b37-d0ff-48ec-93d5-59534911773b.png" xlink:type="simple"/></inline-formula> respectively.</p></sec><sec id="s5"><title>5. Illustrative Examples</title><p>All results in this section are obtained by executing the MAPLE procedures of Program 1 and Program 2 presented in the previous section.</p><p>Example 5.1. Solve the tridiagonal linear system</p><disp-formula id="scirp.42747-formula19339"><label>(14)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\5b60a6ce-af4a-4855-b58e-0dd4290f89c8.png"  xlink:type="simple"/></disp-formula><p>Solution: We have</p><p><img src="htmlimages\10-7401900x\d0c9d7bd-029c-4bae-a314-f14f8268b3ff.png" /><img src="htmlimages\10-7401900x\cfd98c53-afa5-4047-b703-4dff0edb3a01.png" /><img src="htmlimages\10-7401900x\8b398067-cd91-4fc3-b743-3cbd394ec000.png" /><img src="htmlimages\10-7401900x\0e6d6b41-6485-4391-8bdf-5b822cd05961.png" /></p><p>and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7635d2b4-9f13-4fec-ba5f-7337d51afbd9.png" xlink:type="simple"/></inline-formula></p><p>By applying the TRANSTRI-I algorithm, we get</p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\190a629c-11d0-4653-a363-06a5eddbea7d.png" xlink:type="simple"/></inline-formula></p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\8aaa2cbe-407d-4564-ac51-e99e474d37c4.png" xlink:type="simple"/></inline-formula></p><p>• The solution vector is given by:<inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\acb9fcc1-17d2-4905-83f7-b3560861eb30.png" xlink:type="simple"/></inline-formula>.</p><p>Note that the coefficient matrix <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\e3d1e3dc-8bce-49f2-8cc0-5a16a0136683.png" xlink:type="simple"/></inline-formula> in (14) is positive definite.</p><p>By applying the algorithms TRANSTRI-II and TRANSTRI-III, we obtain the same solution vector.</p><p>Example 5.2. Solve the tridiagonal linear system</p><p><img src="htmlimages\10-7401900x\0a22bf88-8288-4cf0-8f30-4cde9c25c7e9.png" /></p><p>Solution: Here, we have</p><p><img src="htmlimages\10-7401900x\ab12b3b8-59e0-496d-aee0-7a31aa7a8c44.png" /><img src="htmlimages\10-7401900x\0ef1495c-e00a-48fe-a46f-8c04a62ecb2a.png" /><img src="htmlimages\10-7401900x\bd23720e-4022-4e36-a115-263c35b8aa61.png" /></p><p><inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\2352009c-2a73-488a-8242-ef8f526de62c.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\b9eadfe8-6163-4661-adf3-54a2941d8044.png" xlink:type="simple"/></inline-formula></p><p>By applying the TRANSTRI-I algorithm, we get</p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\5e8fbd90-170c-41cf-8944-094a18e203e9.png" xlink:type="simple"/></inline-formula></p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\7f5a325b-81a4-4bef-bc68-5455836bf2ac.png" xlink:type="simple"/></inline-formula></p><p>• The solution vector is given by:<inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\681d4ffd-4531-44a1-a8ee-b1e4590dcc76.png" xlink:type="simple"/></inline-formula>.</p><p>By using the algorithms TRANSTRI-II and TRANSTRI-III, we obtain the same solution vector.</p><p>Example 5.3. Solve the tridiagonal linear system</p><disp-formula id="scirp.42747-formula19340"><label>(15)</label><graphic position="anchor" xlink:href="htmlimages\10-7401900x\4132036a-9ccc-4b70-be94-78323dc0564a.png"  xlink:type="simple"/></disp-formula><p>Solution: Here, we have</p><p><img src="htmlimages\10-7401900x\c7a36e56-225f-4f12-93ee-9faf182e0516.png" /><img src="htmlimages\10-7401900x\e16c0096-7ca2-4a19-9610-e811afac7b3a.png" /><img src="htmlimages\10-7401900x\747a6831-5b44-4f7f-a5c9-5c2288cc90ba.png" /></p><p><inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\dab62e49-adf6-4c33-863e-ba9d579c9f01.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\d485be2f-747f-40dd-8ba5-46c7528322e9.png" xlink:type="simple"/></inline-formula></p><p>The numeric algorithm TRANSTRI-I fails to solve the linear system (15) since <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\f536819b-b8cf-4c40-a0e7-b1757bed5a09.png" xlink:type="simple"/></inline-formula> Applying the TRANSTRI-II algorithm, it gives:</p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\71c3025a-f88c-4f5d-91f1-183f88a8e5a9.png" xlink:type="simple"/></inline-formula></p><p>• <inline-formula><inline-graphic xlink:href="tmlimages\10-7401900x\2351452d-4104-466e-81ee-e6054e8321df.png" xlink:type="simple"/></inline-formula></p><p>• The solution vector is given by:</p><p><img src="htmlimages\10-7401900x\ad02252c-9025-4a2a-9f30-f271b8734b8f.png" /></p><p>Using the TRANSTRI-III algorithm, it gives the same solution vector.</p></sec><sec id="s6"><title>Acknowledgements</title><p>The authors wish to thank anonymous referees and the editorial board for useful comments that enhanced the quality of this paper.</p></sec><sec id="s7"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.42747-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">G. Y. Hu and R. F. O’Connell, “Analytical Inversion of Symmetric Tridiagonal Matrices,” Journal of Physics A, Vol. 29, No. 7, 1996, pp. 1511-1513.</mixed-citation></ref><ref id="scirp.42747-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">I. Mazilu, D. A. Mazilu and H. T. Williams, “Applications of Tridiagonal Matrices in Non-Equilibrium Statistical Physics,” Electronic Journal of Linear Algebra, Vol. 24, 2012, pp. 7-17.</mixed-citation></ref><ref id="scirp.42747-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">J. A. Marrero, M. Rachidi and V. Tomeo, “Non-Symbolic Algorithms for the Inversion of Tridiagonal Matrices,” Journal of Computational and Applied Mathematics, Vol. 252, 2013, pp. 3-11. http://dx.doi.org/10.1016/j.cam.2012.05.003</mixed-citation></ref><ref id="scirp.42747-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Q. Al-Hassan, “On Powers of Tridiagonal Matrices with Nonnegative Entries,” Journal of Applied Mathematical Sciences, Vol. 6, No. 48, 2012, pp. 2357-2368.</mixed-citation></ref><ref id="scirp.42747-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">C. M. da Fonseca and J. Petronilho, “Explicit Inverses of Some Tridiagonal Matrices,” Linear Algebra and Its Applications, Vol. 325, No. 1-3, 2001, pp. 7-21. http://dx.doi.org/10.1016/S0024-3795(00)00289-5</mixed-citation></ref><ref id="scirp.42747-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Y. Huang and W. F. McColl, “Analytic Inversion of General Tridiagonal Matrices,” Journal of Physics A, Vol. 30, No. 22, 1997, pp. 7919-7933. http://dx.doi.org/10.1088/0305-4470/30/22/026</mixed-citation></ref><ref id="scirp.42747-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">A. Kavcic and J. M. F. Moura, “Matrices with Banded Inverses: Inversion Algorithms and Factorization of Gauss-Markov Processes,” IEEE Transactions on Information Theory, Vol. 46, No. 4, 2000, pp. 1495-1509. http://dx.doi.org/10.1109/18.954748</mixed-citation></ref><ref id="scirp.42747-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">H.-B. Li, T.-Z. Huang, X.-P. Liu and H. Li, “On the Inverses of General Tridiagonal Matrices,” Linear Algebra and Its Applications, Vol. 433, No. 5, 2010, pp. 965-983. http://dx.doi.org/10.1016/j.laa.2010.04.042</mixed-citation></ref><ref id="scirp.42747-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">A. Martin and I. D. Boyd, “Variant of the Thomas Algorithm for Opposite-Bordered Tridiagonal Systems of Equations,” International Journal for Numerical Methods in Biomedical Engineering, Vol. 26, No. 6, 2010, pp. 752-759.</mixed-citation></ref><ref id="scirp.42747-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">E. Olcayto, “Recursive Formulae for Ladder Network Optimization,” Electronics Letters, Vol. 15, No. 9, 1979, pp. 249-250. http://dx.doi.org/10.1049/el:19790176</mixed-citation></ref><ref id="scirp.42747-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">T. M. Austin, M. Berndt and J. D. Moulton, “A Memory Efficient Parallel Line Solver,” Submitted to SISC, 2004.</mixed-citation></ref><ref id="scirp.42747-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">J.-J. Climent, L. Tortosa and A. Zamora, “A Note on the Recursive Decoupling Method for Solving Tridiagonal Linear Systems,” Applied Mathematics and Computation, Vol. 140, No. 1, 2003, pp. 159-164. http://dx.doi.org/10.1016/S0096-3003(02)00218-7</mixed-citation></ref><ref id="scirp.42747-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">O. Egecioglu, C. K. Koc and A. J. Laub, “A Recursive Doubling Algorithm for Solution of Tridiagonal Systems on Hypercube Multiprocessors,” Journal of Computational and Applied Mathematics, Vol. 27, No. 1-2, 1989, pp. 95-108. http://dx.doi.org/10.1016/0377-0427(89)90362-2</mixed-citation></ref><ref id="scirp.42747-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “An Algorithm for Solving Tridiagonal Systems,” Journal of Institute of Mathematics and Computer Science Computer Science Series, Vol. 4, No. 2, 1991, pp. 205-210.</mixed-citation></ref><ref id="scirp.42747-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “On the Inverse of a General Tridiagonal Matrix,” Applied Mathematics and Computation, Vol. 150, No. 3, 2004, pp. 669-679. http://dx.doi.org/10.1016/S0096-3003(03)00298-4</mixed-citation></ref><ref id="scirp.42747-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “A New Computational Algorithm for Solving Periodic Tri-Diagonal Linear Systems,” Applied Mathematics and Computation, Vol. 161, No. 2, 2005, pp. 691-696. http://dx.doi.org/10.1016/j.amc.2003.12.114</mixed-citation></ref><ref id="scirp.42747-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy and A. Karawia, “Inversion of General Tridiagonal Matrices,” Applied Mathematics Letters, Vol. 19, No. 8, 2006, pp. 712-720. http://dx.doi.org/10.1016/j.aml.2005.11.012</mixed-citation></ref><ref id="scirp.42747-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy and E.-D. Rahmo, “A New Recursive Algorithm for Inverting General Tridiagonal and Anti-Tridiagonal Matrices,” Applied Mathematics and Computation, Vol. 204, No. 1, 2008, pp. 368-372. http://dx.doi.org/10.1016/j.amc.2008.06.053</mixed-citation></ref><ref id="scirp.42747-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “A Generalized Symbolic Thomas Algorithm,” Applied Mathematics, Vol. 3, No. 4, 2012, pp. 342-345. http://dx.doi.org/10.4236/am.2012.34052</mixed-citation></ref><ref id="scirp.42747-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">D. Fanache, “A Parallel Solution of Tridiagonal Linear Systems by Continued Fractions,” Journal of Arts &amp; Sciences, Vol. 11, No. 1, 2011, pp. 21-30.</mixed-citation></ref><ref id="scirp.42747-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">R. K. Mallik, “The Inverse of a Tridiagonal Matrix,” Linear Algebra and Its Applications, Vol. 325, No. 1-3, 2001, pp. 109-139. http://dx.doi.org/10.1016/S0024-3795(00)00262-7</mixed-citation></ref><ref id="scirp.42747-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">B. V. Minchev, “Some Algorithms for Solving Special Tridiagonal Block Toeplitz Linear Systems,” Journal of Computational and Applied Mathematics, Vol. 156, No. 1, 2003, pp. 179-200. http://dx.doi.org/10.1016/S0377-0427(02)00911-1</mixed-citation></ref><ref id="scirp.42747-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">T. Sogabe, “On a Two-Term Recurrence for the Determinant of a General Matrix,” Applied Mathematics and Computation, Vol. 187, No. 2, 2007, pp. 785-788. http://dx.doi.org/10.1016/j.amc.2006.08.156</mixed-citation></ref><ref id="scirp.42747-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">T. Sugimoto, “On an Inverse Formula of a Tridiagonal Matrix,” Operators and Matrices, Vol. 6, No. 3, 2012, pp. 465-480. http://dx.doi.org/10.7153/oam-06-30</mixed-citation></ref><ref id="scirp.42747-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">R. Usmani, “Inversion of a Tridiagonal Jacobi Matrix,” Linear Algebra and Its Applications, Vol. 212-213, 1994, pp. 413-414. http://dx.doi.org/10.1016/0024-3795(94)90414-6</mixed-citation></ref><ref id="scirp.42747-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">T. Yamamoto and Y. Ikebe, “Inversion of Band Matrices,” Linear Algebra and Its Applications, Vol. 24, 1979, pp. 105-111. http://dx.doi.org/10.1016/0024-3795(79)90151-4</mixed-citation></ref><ref id="scirp.42747-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Y. Zhang, J. Cohen and J. D. Owens, “Fast Tridiagonal Solvers on the GPU,” Proceedings of the 15th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP 2010), Bangalore, 9-14 January 2010, pp. 127-136.</mixed-citation></ref><ref id="scirp.42747-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “A Fast Algorithm for Evaluating nth Order Tri-Diagonal Determinants,” Applied Mathematics and Computation, Vol. 202, No. 1, 2008, pp. 210-215. http://dx.doi.org/10.1016/j.amc.2008.01.032</mixed-citation></ref><ref id="scirp.42747-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">J. W. Demmel, “Applied Numerical Linear Algebra,” Society for Industrial and Applied Mathematics, Philadelphia, 1997. http://dx.doi.org/10.1137/1.9781611971446</mixed-citation></ref><ref id="scirp.42747-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">M. E. A. El-Mikkawy, “A Note on a Three-Term Recurrence for a Tridiagonal Matrix,” Applied Mathematics and Computation, Vol. 139, No. 2-3, 2003, pp. 503-511. http://dx.doi.org/10.1016/S0096-3003(02)00212-6</mixed-citation></ref></ref-list></back></article>