<?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">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2016.42045</article-id><article-id pub-id-type="publisher-id">JAMP-63839</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>
 
 
  Tau-Collocation Approximation Approach for Solving First and Second Order Ordinary Differential Equations
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ames</surname><given-names>E. Mamadu</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>Ignatius</surname><given-names>N. Njoseh</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, University of Ilorin, Ilorin, Nigeria</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics and Computer Science, Delta State University, Abraka, Nigeria</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>mamaduebimene@hotmail.com(AEM)</email>;<email>njoseh@delsu.edu.ng(INN)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>17</day><month>02</month><year>2016</year></pub-date><volume>04</volume><issue>02</issue><fpage>383</fpage><lpage>390</lpage><history><date date-type="received"><day>25</day>	<month>January</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>23</month>	<year>February</year>	</date><date date-type="accepted"><day>26</day>	<month>February</month>	<year>2016</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>
 
 
  This paper presents Tau-collocation approximation approach for solving first and second orders ordinary differential equations. We use the method in the stimulation of numerical techniques for the approximate solution of linear initial value problems (IVP) in first and second order ordinary differential equations. The resulting numerical evidences show the method is adequate and effective.
 
</p></abstract><kwd-group><kwd>Ordinary Differential Equation (ODE)</kwd><kwd> Initial Value Problem (IVP)</kwd><kwd> Canonical Polynomial</kwd><kwd> Collocation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The subject of Ordinary Differential Equation (ODE) is an important aspect of mathematics. It is useful in modeling a wide variety of physical phenomena―chemical reactions, satellite orbit, electrical networks, and so on. In many cases, the independent variable represents time so that the differential equation describes changes, with respect to time, in the system being modeled. The solution of the equation will be a representation of the state of the system. Consequently, the problem of finding the solution of a differential equation plays a significant role in scientific research, particularly, in the stimulation of physical phenomena. However, it is usually impossible to obtain direct solution of differential equations for systems to be modeled, especially complex ones encountered in real world problems. Since most of these equations are, or can be approximated by ordinary differential equations, a fast, accurate and efficient ODE solver is much needed. The Tau method was introduced by [<xref ref-type="bibr" rid="scirp.63839-ref1">1</xref>] to provide approximate polynomial solution for linear ordinary differential equation with polynomial coefficient.</p><p>The method takes advantage of the special properties of Chebychev polynomials. The main idea is to obtain an approximate solution of a given problem by solving an approximate problem. To further enhance the desired simplicity Lanczos introduced the systematic use of the canonical polynomials in the Tau method. The difficulties presented by the construction of such polynomials limited its application to first order ODE with the polynomial coefficient. The said difficulties were resolved by [<xref ref-type="bibr" rid="scirp.63839-ref2">2</xref>] when he proposed the generation of these canonical polynomials recursively. The beauty of the result of Ortiz is that the elements of canonical polynomials sequences by means of a simple recursive relation which is self starting and explicit. There are many literature developed concerning the Tau/Tau-collocation approximation method (see ( [<xref ref-type="bibr" rid="scirp.63839-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.63839-ref8">8</xref>] )).</p><p>In this paper, we apply the Tau-collocation approximation method for the solution of linear initial value problems of the first and second order ODE in its differential and canonical form. We perform some numerical stimulation on some selected problems and compare the performance/effectiveness of the method with the analytic solutions given.</p></sec><sec id="s2"><title>2. The Tau Method</title><p>Lanczos [<xref ref-type="bibr" rid="scirp.63839-ref1">1</xref>] approximated a solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x6.png" xlink:type="simple"/></inline-formula> of the differential</p><disp-formula id="scirp.63839-formula46"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x7.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x8.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x9.png" xlink:type="simple"/></inline-formula>are polynomials. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x10.png" xlink:type="simple"/></inline-formula>denotes the rth order derivative of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x11.png" xlink:type="simple"/></inline-formula> with respect to x and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x12.png" xlink:type="simple"/></inline-formula> taken simply as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x13.png" xlink:type="simple"/></inline-formula> by a polynomial</p><disp-formula id="scirp.63839-formula47"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x14.png"  xlink:type="simple"/></disp-formula><p>and determines the coefficient <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x15.png" xlink:type="simple"/></inline-formula> of (2) such that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x16.png" xlink:type="simple"/></inline-formula> satisfies (1) perturbed by a term(s), which are calculated as part of the process. That is, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x17.png" xlink:type="simple"/></inline-formula>satisfies</p><disp-formula id="scirp.63839-formula48"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x18.png"  xlink:type="simple"/></disp-formula><p>Then</p><disp-formula id="scirp.63839-formula49"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x19.png"  xlink:type="simple"/></disp-formula><p>where m is the order of the differential equation, s is the number of over-determination,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x20.png" xlink:type="simple"/></inline-formula>, are the parameters to be determined, and</p><disp-formula id="scirp.63839-formula50"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x21.png"  xlink:type="simple"/></disp-formula><p>is the rth degree shifted Chebychev polynomial valid in the interval <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x22.png" xlink:type="simple"/></inline-formula> (assuming (1) is defined in this interval).</p><p>The free parameters in Equation (4) and the coefficient a<sub>r</sub>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x23.png" xlink:type="simple"/></inline-formula>in (2) are obtained by equating the values of x in (3) together with (1) to zero.</p><sec id="s2_1"><title>2.1. Description of the Differential Form</title><p>Considering the mth order linear differential Equation ( [<xref ref-type="bibr" rid="scirp.63839-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.63839-ref2">2</xref>] )</p><disp-formula id="scirp.63839-formula51"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x24.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula52"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x25.png"  xlink:type="simple"/></disp-formula><p>with y(x) as the exact solution in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x26.png" xlink:type="simple"/></inline-formula></p><p>We seek an approximate solution of the differential solution by the Tau method using the nth degree polynomial function</p><disp-formula id="scirp.63839-formula53"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x27.png"  xlink:type="simple"/></disp-formula><p>which satisfies the perturbed problem</p><disp-formula id="scirp.63839-formula54"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x28.png"  xlink:type="simple"/></disp-formula><p>We equate the corresponding coefficient of x in (8) and using the initial conditions</p><disp-formula id="scirp.63839-formula55"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x29.png"  xlink:type="simple"/></disp-formula><p>We then solve the system of equation by Gaussian elimination method.</p></sec><sec id="s2_2"><title>2.2. Collocation Approach to the Tau Method</title><p>The Lanczos Tau method in [<xref ref-type="bibr" rid="scirp.63839-ref4">4</xref>] is an economization process for a function that is implicitly defined by differential equation. Let us assume an approximation of the power series expansion <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x30.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.63839-formula56"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x31.png"  xlink:type="simple"/></disp-formula><p>Consider an approximation to the residual <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x32.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.63839-formula57"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x33.png"  xlink:type="simple"/></disp-formula><p>Then by the Tau method, if</p><disp-formula id="scirp.63839-formula58"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x34.png"  xlink:type="simple"/></disp-formula><p>we have</p><disp-formula id="scirp.63839-formula59"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x35.png"  xlink:type="simple"/></disp-formula><p>where L is a linear differential operator of order n.</p><p>We collocate (12) at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x36.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x37.png" xlink:type="simple"/></inline-formula> to have</p><disp-formula id="scirp.63839-formula60"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x38.png"  xlink:type="simple"/></disp-formula><p>The parameter <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x39.png" xlink:type="simple"/></inline-formula> may be eliminated leaving the unknown coefficient <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x40.png" xlink:type="simple"/></inline-formula> with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x41.png" xlink:type="simple"/></inline-formula> linear equations which can be solved by Gaussian elimination.</p></sec></sec><sec id="s3"><title>3. Error Estimation</title><p>Let us in this section consider and obtain the error estimator for the approximate solution of (1) and (9). Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x42.png" xlink:type="simple"/></inline-formula> be the error function of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x43.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x44.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x45.png" xlink:type="simple"/></inline-formula> is the exact solution of (1) and (9). Therefore <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x46.png" xlink:type="simple"/></inline-formula> satisfies the perturbed problems:</p><disp-formula id="scirp.63839-formula61"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x47.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.63839-formula62"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x48.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x49.png" xlink:type="simple"/></inline-formula> is uniquely defined as in (4).</p><p>To obtain the perturbation term<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x50.png" xlink:type="simple"/></inline-formula>, we substitute the computed solution <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x51.png" xlink:type="simple"/></inline-formula> such that</p><disp-formula id="scirp.63839-formula63"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x52.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.63839-formula64"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x53.png"  xlink:type="simple"/></disp-formula><p>We then proceed to find an approximate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x54.png" xlink:type="simple"/></inline-formula> to the error function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x55.png" xlink:type="simple"/></inline-formula> in the same manner as we did for the solution of (1) and (9).</p><p>Thus, the error function, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x56.png" xlink:type="simple"/></inline-formula>, satisfy the problem</p><disp-formula id="scirp.63839-formula65"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x57.png"  xlink:type="simple"/></disp-formula><p>and</p><disp-formula id="scirp.63839-formula66"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x58.png"  xlink:type="simple"/></disp-formula><p>which satisfies the conditions prescribed.</p></sec><sec id="s4"><title>4. Illustrative Examples</title><p>In this section, two initial value problems are considered to show the efficiency of the method.</p><p>Example 1</p><p>Consider linear initial value problem in second order ordinary differential equation</p><disp-formula id="scirp.63839-formula67"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x59.png"  xlink:type="simple"/></disp-formula><p>We solve [<xref ref-type="bibr" rid="scirp.63839-ref4">4</xref>] for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x60.png" xlink:type="simple"/></inline-formula> using; (i) The Tau method; and (ii) Tau-collocation method.</p><p>The analytic solution is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x61.png" xlink:type="simple"/></inline-formula></p><p>By the Tau method we obtain the linear differential operator as</p><disp-formula id="scirp.63839-formula68"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x62.png"  xlink:type="simple"/></disp-formula><p>The associated canonical polynomials are obtained as follows:</p><disp-formula id="scirp.63839-formula69"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x63.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula70"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x64.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula71"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x65.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula72"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x66.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula73"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x67.png"  xlink:type="simple"/></disp-formula><p>The canonical polynomials, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x68.png" xlink:type="simple"/></inline-formula>, obtained here can easily be obtained from [<xref ref-type="bibr" rid="scirp.63839-ref3">3</xref>] where the generalized form of the canonical polynomials was reported.</p><p>For<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x69.png" xlink:type="simple"/></inline-formula>, we have</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x70.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x71.png" xlink:type="simple"/></inline-formula></p><p>These polynomials are substituted into Equation (12) to give</p><disp-formula id="scirp.63839-formula74"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x72.png"  xlink:type="simple"/></disp-formula><p>Using Equation (5),</p><disp-formula id="scirp.63839-formula75"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x73.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula76"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x74.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula77"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x75.png"  xlink:type="simple"/></disp-formula><p>Since</p><disp-formula id="scirp.63839-formula78"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x76.png"  xlink:type="simple"/></disp-formula><p>Now,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x77.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x78.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.63839-formula79"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x79.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula80"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x80.png"  xlink:type="simple"/></disp-formula><p>Using initial conditions on Equation (23) and simplifying further we get the approximate solution as</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x81.png" xlink:type="simple"/></inline-formula>.</p><p>Considering the Tau-collocation method we have:</p><p>Let</p><disp-formula id="scirp.63839-formula81"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x82.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula82"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x83.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula83"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x84.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula84"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x85.png"  xlink:type="simple"/></disp-formula><p>Substituting into (13) we have,</p><disp-formula id="scirp.63839-formula85"><label>(25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x86.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula86"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x87.png"  xlink:type="simple"/></disp-formula><p>Now collocating at <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x88.png" xlink:type="simple"/></inline-formula> and using the initial conditions, we obtain the approximate solution as</p><disp-formula id="scirp.63839-formula87"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x89.png"  xlink:type="simple"/></disp-formula><p>Example 2</p><p>Consider the first order IVP</p><disp-formula id="scirp.63839-formula88"><label>(26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x90.png"  xlink:type="simple"/></disp-formula><p>The exact solution is <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x91.png" xlink:type="simple"/></inline-formula></p><p>For the given IVP, we can deduce that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x92.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x93.png" xlink:type="simple"/></inline-formula></p><p>The differential formulation is as follows:</p><p>Let</p><disp-formula id="scirp.63839-formula89"><label>(27)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x94.png"  xlink:type="simple"/></disp-formula><p>Taking <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x95.png" xlink:type="simple"/></inline-formula></p><disp-formula id="scirp.63839-formula90"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x96.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63839-formula91"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x97.png"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.63839-formula92"><label>(28)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x98.png"  xlink:type="simple"/></disp-formula><p>hence</p><disp-formula id="scirp.63839-formula93"><label>(29)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x99.png"  xlink:type="simple"/></disp-formula><p>but</p><disp-formula id="scirp.63839-formula94"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x100.png"  xlink:type="simple"/></disp-formula><p>Using (28) and (30) in (29) we obtain,</p><disp-formula id="scirp.63839-formula95"><label>(31)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/16-1720507x101.png"  xlink:type="simple"/></disp-formula><p>Expanding and equating coefficients of powers of x, the resulting linear equations together with the equations obtained using the initial conditions is written in the form,</p><disp-formula id="scirp.63839-formula96"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x102.png"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.63839-formula97"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x103.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x104.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.63839-formula98"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x105.png"  xlink:type="simple"/></disp-formula><p>Using Equation (5), we obtain the following values,</p><disp-formula id="scirp.63839-formula99"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x106.png"  xlink:type="simple"/></disp-formula><p>Using these values in the matrix and solving by Gaussian elimination method, we have,</p><disp-formula id="scirp.63839-formula100"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x107.png"  xlink:type="simple"/></disp-formula><p>The approximate solution is:</p><disp-formula id="scirp.63839-formula101"><graphic  xlink:href="http://html.scirp.org/file/16-1720507x108.png"  xlink:type="simple"/></disp-formula>Discussion of Results<p>The results obtained above show that the Tau-collocation method is appropriate for the solution of linear initial value problems of first and second kind ordinary differential equations. From the tables (<xref ref-type="table" rid="table1">Table 1</xref> and <xref ref-type="table" rid="table2">Table 2</xref>) of results presented above, we observe that the approximate solution considered at grid points, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x109.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x110.png" xlink:type="simple"/></inline-formula>, for examples 1 and 2 converges to the analytic solution with maximum absolute errors of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x111.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/16-1720507x112.png" xlink:type="simple"/></inline-formula> respectively. We obtain satisfactory results because of the excellent convergence rate of the Tau-colloca-</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Numerical results for example 1</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >X</th><th align="center" valign="middle" >Exact Solution</th><th align="center" valign="middle" >Approximate solution, n = 2</th><th align="center" valign="middle" >Error</th></tr></thead><tr><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >1.2868265</td><td align="center" valign="middle" >1.2960000</td><td align="center" valign="middle" >9.1735e−03</td></tr><tr><td align="center" valign="middle" >0.2</td><td align="center" valign="middle" >1.5607954</td><td align="center" valign="middle" >1.5706667</td><td align="center" valign="middle" >9.8712e−03</td></tr><tr><td align="center" valign="middle" >0.3</td><td align="center" valign="middle" >1.8191694</td><td align="center" valign="middle" >1.8240000</td><td align="center" valign="middle" >4.8306e−03</td></tr><tr><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >2.0593669</td><td align="center" valign="middle" >2.0560000</td><td align="center" valign="middle" >3.3669e−03</td></tr><tr><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >2.2789879</td><td align="center" valign="middle" >2.2666667</td><td align="center" valign="middle" >1.2321e−02</td></tr><tr><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >2.4758379</td><td align="center" valign="middle" >2.4560000</td><td align="center" valign="middle" >1.9838e−02</td></tr><tr><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >2.6479502</td><td align="center" valign="middle" >2.6240000</td><td align="center" valign="middle" >2.3950e−02</td></tr><tr><td align="center" valign="middle" >0.8</td><td align="center" valign="middle" >2.7936051</td><td align="center" valign="middle" >2.7706667</td><td align="center" valign="middle" >2.2938e−02</td></tr><tr><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >2.9113471</td><td align="center" valign="middle" >2.8960000</td><td align="center" valign="middle" >1.5347e−02</td></tr><tr><td align="center" valign="middle" >1.0</td><td align="center" valign="middle" >3.0000000</td><td align="center" valign="middle" >3.0000000</td><td align="center" valign="middle" >0.0000e+00</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Numerical results for Example 2</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >X</th><th align="center" valign="middle" >Exact Solution</th><th align="center" valign="middle" >Approximate solution, n = 2</th><th align="center" valign="middle" >Error</th></tr></thead><tr><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >0.9090909</td><td align="center" valign="middle" >0.9090418</td><td align="center" valign="middle" >4.19133e−05</td></tr><tr><td align="center" valign="middle" >0.2</td><td align="center" valign="middle" >0.8333333</td><td align="center" valign="middle" >0.8332214</td><td align="center" valign="middle" >1.1195e−04</td></tr><tr><td align="center" valign="middle" >0.3</td><td align="center" valign="middle" >0.7692308</td><td align="center" valign="middle" >0.7691735</td><td align="center" valign="middle" >5.7276e−05</td></tr><tr><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0.7142857</td><td align="center" valign="middle" >0.7143198</td><td align="center" valign="middle" >3.4081e−05</td></tr><tr><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >0.6666667</td><td align="center" valign="middle" >0.6667378</td><td align="center" valign="middle" >7.1164e−05</td></tr><tr><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >0.6250000</td><td align="center" valign="middle" >0.6250298</td><td align="center" valign="middle" >2.9821e−05</td></tr><tr><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >0.5882353</td><td align="center" valign="middle" >0.5881915</td><td align="center" valign="middle" >4.3800e−05</td></tr><tr><td align="center" valign="middle" >0.8</td><td align="center" valign="middle" >0.5555556</td><td align="center" valign="middle" >0.5554809</td><td align="center" valign="middle" >7.4633e−05</td></tr><tr><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >1.5263158</td><td align="center" valign="middle" >0.5265873</td><td align="center" valign="middle" >2.8445e−05</td></tr><tr><td align="center" valign="middle" >0.10</td><td align="center" valign="middle" >0.5000000</td><td align="center" valign="middle" >0.5000000</td><td align="center" valign="middle" >0.0000e+00</td></tr></tbody></table></table-wrap><p>tion approximation method, which is very close to the minimax polynomial which minimizes the maximum error in approximation. Thus, the approximate solution will match the analytic solution as n increases.</p></sec><sec id="s5"><title>5. Conclusions</title><p>This paper has considered Tau-collocation approximation approach for solving particular first and second order ordinary differential equations. The method offers several advantages which include, among others:</p><p>1) It takes advantages of the special properties of Chebychev polynomials which can be easily generated recursively;</p><p>2) Elements of canonical polynomials sequences by means of a simple re-cursive relation which is self starting and explicit; and</p><p>3) It can easily be programmed for experimentation.</p><p>Tau-Collocation method can be extended to higher order ordinary differential equations and stochastic differential equations. It can also be used to solve integro-differential and stochastic integro-differential equations.</p></sec><sec id="s6"><title>Cite this paper</title><p>James E.Mamadu,Ignatius N.Njoseh, (2016) Tau-Collocation Approximation Approach for Solving First and Second Order Ordinary Differential Equations. Journal of Applied Mathematics and Physics,04,383-390. doi: 10.4236/jamp.2016.42045</p></sec></body><back><ref-list><title>References</title><ref id="scirp.63839-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Lanczos, C. (1956) Applied Analysis. Prentice-Hall, Engle-Wood Cliffs, New Jersey.</mixed-citation></ref><ref id="scirp.63839-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Ortiz, E.L. (1969) The Tau Method. SIAM Journal on Numerical Analysis, 6, 480-492. http://dx.doi.org/10.1137/0706044</mixed-citation></ref><ref id="scirp.63839-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Yisa, B.M. and Adeniyi, R.B. (2012) A Generalized Formulation for Canonical Polynomials for M-Th Order Non Over-Determined Ordinary Differential Equations. Internal Journal of Engineering Research and Technology. www.ijert.org</mixed-citation></ref><ref id="scirp.63839-ref4"><label>4</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Coleman</surname><given-names> J.P. </given-names></name>,<etal>et al</etal>. (<year>1974</year>)<article-title>Lanczos Tau Method</article-title><source> IMA Journal of Applied Mathematics</source><volume> 7</volume>,<fpage> 85</fpage>-<lpage>97</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63839-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">El-Daou, M.K., Ortiz, E.L. and Samara, H. (1993) A Unified Approach to the Tau Method and Chebychev Series Expansion Technique. Computer and Mathematics with Applications, 25, 73-82. http://dx.doi.org/10.1016/0898-1221(93)90145-L</mixed-citation></ref><ref id="scirp.63839-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ortiz, E.L. (1975) Step by Step Tau-Method—Part 1. Computer and Mathematics with Applications, 1, 381-392. http://dx.doi.org/10.1016/0898-1221(75)90040-1</mixed-citation></ref><ref id="scirp.63839-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Khajah, H. (1999) Tau-Method Approximation of a Generalized Epstein-Hubbel Elliptic Type Integral. Computer and Mathematics, 68, 1615-1621. http://dx.doi.org/10.1090/S0025-5718-99-01128-X</mixed-citation></ref><ref id="scirp.63839-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Sam, C.N. (2004) Numerical Solution of Partial Differential Equations with the Tau-Collocation Method. M. Phil Thesis, City University of Hong Kong. http://dspace.cityu.edu.hk/handle/2031/4614</mixed-citation></ref></ref-list></back></article>