<?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.2013.43069</article-id><article-id pub-id-type="publisher-id">AM-28852</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>
 
 
  Derivative of a Determinant with Respect to an Eigenvalue in the &lt;i&gt;LDU&lt;/i&gt; Decomposition of a Non-Symmetric Matrix
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>itsuhiro</surname><given-names>Kashiwagi</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>Tokai University, Toroku, Kumamoto, Japan</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>mkashi@ktmail.tokai-u.jp</email></corresp></author-notes><pub-date pub-type="epub"><day>21</day><month>03</month><year>2013</year></pub-date><volume>04</volume><issue>03</issue><fpage>464</fpage><lpage>468</lpage><history><date date-type="received"><day>October</day>	<month>11,</month>	<year>2012</year></date><date date-type="rev-recd"><day>November</day>	<month>11,</month>	<year>2012</year>	</date><date date-type="accepted"><day>November</day>	<month>18,</month>	<year>2012</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>
 
 
   We demonstrate that, when computing the <em>LDU</em> decomposition (a typical example of a direct solution method), it is possible to obtain the derivative of a determinant with respect to an eigenvalue of a non-symmetric matrix. Our proposed method augments an <em>LDU</em> decomposition program with an additional routine to obtain a program for easily evaluating the derivative of a determinant with respect to an eigenvalue. The proposed method follows simply from the process of solving simultaneous linear equations and is particularly effective for band matrices, for which memory requirements are significantly reduced compared to those for dense matrices. We discuss the theory underlying our proposed method and present detailed algorithms for implementing it. 
 
</p></abstract><kwd-group><kwd>Derivative of Determinant; Non-Symmetric Matrix; Eigenvalue; Band Matrix; &lt;i&gt;LDU&lt;/i&gt; Decomposition</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In previous work, the author used the trace theorem and the inverse matrix formula for the coefficient matrix appearing in the conjugate gradient method to propose a method for derivative a determinant in an eigenvalue problem with respect to an eigenvalue [<xref ref-type="bibr" rid="scirp.28852-ref1">1</xref>]. In particular, we applied this method to eigenvalue analysis and demonstrated its effectiveness in that setting [2-4]. However, the technique proposed in those studies was intended for use with iterative methods such as the conjugate gradient method and was not applicable to direct solution methods such as the lower-diagonal-upper (LDU) decomposition, a typical example. Here, we discuss the derivative of a determinant with respect to eigenvalues for problems involving LDU decomposition, taking as a reference the equations associated with the conjugate gradient method [<xref ref-type="bibr" rid="scirp.28852-ref1">1</xref>]. Moreover, in the Newton-Raphson method, the solution depends on the derivative of a determinant, so the result of our proposed computational algorithm may be used to determine the step size in that method. Indeed, the step size may be set automatically, allowing a reduction in the number of basic parameters, which has a significant impact on nonlinear analysis. For both dense matrices and band matrices, which require significantly less memory than dense matrices, our method performs calculations using only the matrix elements within a certain band of the matrix factors arising from the LDU decomposition. This ensures that calculations on dense matrices proceed just as if they were band matrices. Indeedcomputations on dense matrices using our method are expected to require only slightly more computation time than computations on band matrices performed without our proposed method. In what follows, we discuss the theory of our proposed method and present detailed algorithms for implementing it.</p></sec><sec id="s2"><title>2. Derivative of a Determinant with Respect to an Eigenvalue Using the LDU Decomposition</title><p>The eigenvalue problem may be expressed as follows. If <img src="7-7401184\5245faf7-9a59-4573-a6f6-3b3b903fa4a9.jpg" /> is a non-symmetric matrix of dimension<img src="7-7401184\871766ac-c47e-4a26-b37d-dcf13d9e8418.jpg" />, then the usual eigenvalue problem is</p><disp-formula id="scirp.28852-formula135905"><label>, (1)</label><graphic position="anchor" xlink:href="7-7401184\6b980364-72c5-4536-bc23-921dd8c137b7.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="7-7401184\75835e7f-9821-4521-a40a-1157b4f207d9.jpg" /> and <img src="7-7401184\2838bba2-00b3-412e-ab35-f11b2b46b131.jpg" /> denote respectively an eigenvalue and an corresponding eigenvector. In order for Equation (1) to have nontrivial solutions, the matrix <img src="7-7401184\4cbb40f6-95d4-4452-8c71-e128804e0be0.jpg" /> must be singular, i.e.,</p><disp-formula id="scirp.28852-formula135906"><label>. (2)</label><graphic position="anchor" xlink:href="7-7401184\a58ba71c-bdfa-427f-ac96-d1cec17a045e.jpg"  xlink:type="simple"/></disp-formula><p>We introduce the notation<img src="7-7401184\d9e17987-a993-49ae-8298-986389d5f229.jpg" /> for the left-hand side of this equation:</p><disp-formula id="scirp.28852-formula135907"><label>. (3)</label><graphic position="anchor" xlink:href="7-7401184\4fddfe8c-c99e-4131-9071-8103cd599b0e.jpg"  xlink:type="simple"/></disp-formula><p>Applying the trace theorem, we obtain</p><disp-formula id="scirp.28852-formula135908"><label>, (4)</label><graphic position="anchor" xlink:href="7-7401184\2f677d92-8db4-444b-91e9-b8a6574eb169.jpg"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.28852-formula135909"><label>. (5)</label><graphic position="anchor" xlink:href="7-7401184\33691465-8b04-48d8-9e52-4608b35d5a91.jpg"  xlink:type="simple"/></disp-formula><p>The LDU decomposition decomposes this matrix into a product of three factors:</p><disp-formula id="scirp.28852-formula135910"><label>, (6)</label><graphic position="anchor" xlink:href="7-7401184\882f2896-41ae-4d02-9483-e9fae0808d48.jpg"  xlink:type="simple"/></disp-formula><p>where the L, D, and U factors have the forms</p><disp-formula id="scirp.28852-formula135911"><label>, (7)</label><graphic position="anchor" xlink:href="7-7401184\f16165d1-1e27-44ea-9411-122ae84d6bee.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.28852-formula135912"><label>, (8)</label><graphic position="anchor" xlink:href="7-7401184\b0c847f1-f950-4849-9088-89dd35fb4fde.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.28852-formula135913"><label>. (9)</label><graphic position="anchor" xlink:href="7-7401184\694f115f-d07a-4eb0-a0ae-fee816b2c1d5.jpg"  xlink:type="simple"/></disp-formula><p>We write the inverse of the L factor in the form</p><disp-formula id="scirp.28852-formula135914"><label>. (10)</label><graphic position="anchor" xlink:href="7-7401184\d1233acd-d759-4ef3-ba65-79571af39db8.jpg"  xlink:type="simple"/></disp-formula><p>Expanding the relation <img src="7-7401184\e5a4842d-c71a-473f-938d-fcb91820622a.jpg" /> (where I is the identity matrix), we obtain the following expressions for the elements of<img src="7-7401184\dcca02c9-1b0d-4835-a257-149830f51208.jpg" />:</p><p><img src="7-7401184\97e07d0c-729c-4741-a118-0983c398db71.jpg" />,</p><disp-formula id="scirp.28852-formula135915"><label>. (11)</label><graphic position="anchor" xlink:href="7-7401184\b522a000-6ba7-470c-8118-688c6ed7545f.jpg"  xlink:type="simple"/></disp-formula><p>Next, we write the inverse of the U factor in the form</p><disp-formula id="scirp.28852-formula135916"><label>. (12)</label><graphic position="anchor" xlink:href="7-7401184\a46c2a5d-2b98-4e96-8783-1a14b1b5da7b.jpg"  xlink:type="simple"/></disp-formula><p>Expanding the relation<img src="7-7401184\851e3dba-da8d-45f6-82cb-20b9a6cf2064.jpg" />, we again obtain expressions for the elements of<img src="7-7401184\db50cf69-9505-4ff8-a1af-862090cdfc8a.jpg" />:</p><p><img src="7-7401184\5abdb06f-4870-4080-8e1d-56d80ad063c9.jpg" />,</p><disp-formula id="scirp.28852-formula135917"><label>. (13)</label><graphic position="anchor" xlink:href="7-7401184\9e69228f-456b-4255-aa38-62bd9e650fd6.jpg"  xlink:type="simple"/></disp-formula><p>Equations (11) and (13) indicate that <img src="7-7401184\34675fae-57de-4c3e-ab09-5abc475fd01b.jpg" /> and <img src="7-7401184\00643407-c4c5-4f06-9897-3e7c56bd85d4.jpg" /> must be computed for all matrix elements. However, for matrix elements outside the half-band, we have <img src="7-7401184\e981d22e-e69a-4474-acd3-bf3a874d870f.jpg" /> and<img src="7-7401184\2fb44921-4c5e-41cd-a6c3-4c5e9917310d.jpg" />, and thus the computation requires only elements <img src="7-7401184\29d9d369-1486-432b-9b2e-d806e6567f9f.jpg" /> and <img src="7-7401184\ad99f7f3-90db-416f-b239-fb90ff6ed9c2.jpg" /> within the half-band. Moreover, the narrower the half-band, the more the computation time is reduced.</p><p>From Equation (4), we see that evaluating the derivative of a determinant requires only the diagonal elements of the inverse of the matrix A in (6). Using Equations (7)- (10), and (12) to evaluate and sum the diagonal elements of the product<img src="7-7401184\17952dde-9281-42cf-881d-b9d9fecd1fd6.jpg" />, we obtain the following representation of Equation (4):</p><disp-formula id="scirp.28852-formula135918"><label>. (14)</label><graphic position="anchor" xlink:href="7-7401184\b6db1938-fb7a-4d2a-8b7b-d04c5d61fb30.jpg"  xlink:type="simple"/></disp-formula><p>This equation demonstrates that the derivative of a determinant may be computed from the elements of the inverses of the<img src="7-7401184\5290fe65-c74f-4716-80d6-bfeef1b1c9a3.jpg" />, <img src="7-7401184\eb363164-d53b-4111-ba4a-071a9f1e5353.jpg" />, and <img src="7-7401184\c2ba75c6-2b09-4b3f-843c-ffdc3aeba261.jpg" />matrices obtained from the LDU decomposition of the original matrix. As noted above, the calculation uses only the elements of the matrices within a certain band near the diagonal, so computations on dense matrices may be handled just as if they were band matrices. Thus we expect an insignificant increase in computation time as compared to that required for band matrices without our proposed method.</p><p>By augmenting an LDU decomposition program with an additional routine (which simply appends two vectors), we easily obtain a program for evaluating<img src="7-7401184\b1ab69de-7191-41ae-ba74-d4b13df57b9c.jpg" />. Such computations are useful for numerical analysis using algorithms such as the Newton-Raphson method or the Durand-Kerner method. Moreover, the proposed method follows easily from the process of solving simultaneous linear equations.</p></sec><sec id="s3"><title>3. Algorithms for Implementing the Proposed Method</title><sec id="s3_1"><title>3.1. Algorithm for Dense Matrices</title><p>We first discuss an algorithm for dense matrices. The arrays and variables are as follows.</p><p>1) LDU decomposition and calculation of the derivative of a determinant with respect to an eigenvalue</p><p>(1) Input data A: given coefficient matrix2-dimensional array of the form A(n,n)</p><p>b: work vector, 1-dimensional array of the form b(n)</p><p>c: work vector, 1-dimensional array of the form c(n)</p><p>n: given order of matrix A and vector b eps: parameter to check singularity of the matrix</p><p>(2) Output data A: L matrix, D matrix and U matrix2-dimensional array of the form A(n,n)</p><p>&#160; fd: derivative of determinant</p><p>&#160; ierr; error code</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; =0, for normal execution</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; =1, for singularity</p><p>(3) LDU decomposition do i=1,n</p><p></p><p>&#160;&#160; do k=1,i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; A(i,i)=A(i,i)-A(i,j)*A(j,j)*A(j,i)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;if (abs(A(i,i))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; ierr=1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; return</p><p>&#160;&#160;&#160;&#160; end if</p><p>&#160;&#160;</p><p>&#160;&#160;&#160;&#160; do j=i+1,n</p><p>&#160;&#160;&#160;&#160;&#160;&#160; do k=1,i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; A(j,i)=A(j,i)-A(j,k)*A(k,k)*A(k,i)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; A(i,j)=A(i,j)-A(i,k)*A(k,k)*A(k,j)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160;&#160;&#160; A(j,i)=A(j,i)/A(i,i)</p><p>A(i,j)=A(i,j)/A(i,i)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>&#160;ierr=0</p><p>(4) Derivative of a determinant with respect to an eigenvalue fd=0</p><p>&#160;&lt;(i,i)&gt;.</p><p>do i=1,n</p><p>&#160;&#160;&#160;&#160; fd=fd-1/A(i,i)</p><p>end do</p><p>&#160;&#160; &lt;(i,j)&gt;</p><p>do i=1,n-1</p><p>&#160;&#160;&#160;&#160; do j=i+1,n</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(j)=-A(j,i)</p><p>c(j)=-A(i,j)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; do k=1,j-i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; b(j)=b(j)-A(j,i+k)*b(i+k)</p><p>c(j)=c(j)-A(i+k,j)*c(i+k)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160;&#160; &#160;fd=fd-b(j)*c(j)/A(j,j)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do 2) Calculation of the solution</p><p>(1) Input data</p><p>&#160;A: L matrix, D matrix and U matrix&#160;2-dimensional array of the form A(n,n)</p><p>&#160;&#160; b: given right-hand side vector&#160;1-dimensional array of the form b(n)</p><p>n: given order of matrix A and vector b</p><p>(2) Output data b: work and solution vector, 1-dimensional array</p><p>(3) Forward substitution do i=1,n</p><p>&#160;&#160;&#160;&#160; do j=i+1,n</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(j)=b(j)-A(j,i)*b(i)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>(4) Backward substitution do i=1,n</p><p>&#160;&#160;&#160; b(i)=b(i)/A(i,i)</p><p>&#160; end do</p><p>&#160; do i=1,n</p><p>&#160;&#160;&#160;&#160; ii=n-i+1</p><p>&#160;&#160;&#160;&#160; do j=1,ii-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(j)=b(j)-A(j,ii)*b(ii)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p></sec><sec id="s3_2"><title>3.2. Algorithm for Band Matrices</title><p>We next discuss an algorithm for band matrices. <xref ref-type="fig" rid="fig1">Figure 1</xref> depicts a schematic representation of a band matrix. Here <img src="7-7401184\ed25b35a-3908-4145-a6bc-1f98591d96db.jpg" /> denotes the left half-bandwidth, and <img src="7-7401184\83b583b8-d04e-4e51-b2a0-8ca9beca9cf6.jpg" /> denotes the right half-bandwidth. These numbers do not include the diagonal element, so the total bandwidth is<img src="7-7401184\ae35cfb2-c5ac-4853-a574-1ce4d9dd5fc7.jpg" />.</p><p>1) LDU decomposition and calculation of the derivative of a determinant with respect to an eigenvalue</p><p>(1) Input data A: given coefficient band matrix2-dimensional array of the form A(n,nl+1+nu)</p><p>&#160;&#160; b: work vector, 1-dimensional array of the form b(n)</p><p>c: work vector, 1-dimensional array of the form c(n)</p><p>&#160; n: given order of matrix A nl: given left half-band width of matrix A</p><p>&#160; nu: given right half-band width of matrix A</p><p>&#160; eps: parameter to check singularity of the matrix</p><p>(2) Output data A: L matrix, D matrix and U matrix2-dimensional array of the form A(n,nl+1+nu)</p><p>&#160;&#160; fd: derivative of determinant</p><p>&#160;&#160; ierr: error code</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; =0, for normal execution</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; =1, for singularity</p><p>(3) LDU decomposition do i=1,n</p><p>&#160;&#160;</p><p>&#160;&#160;&#160;&#160; do j=max(1,i-min(nl,nu)),i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; A(i,nl+1)=A(i,nl+1)</p><p>-A(i,nl+1-(i-j))*A(j,nl+1)*A(j,nl+1+(i-j))</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160; if (abs(A(i,nl+1))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; ierr=1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; return</p><p>&#160;&#160;&#160;&#160; end if</p><p></p><p>&#160;&#160;&#160;&#160; do j=i+1,min(i+nl,n)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; sl=A(j,nl+1-(j-i))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; do k=max(1,j-nl),i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sl=slA(j,nl+1-(j-k))*A(k,nl+1)*A(k,nl+1+(i-k))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160;&#160;&#160; A(j,nl+1-(j-i))=sl/A(i,nl+1)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160;</p><p>do j=i+1,min(i+nu,n)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; su=A(i,nl+1+(j-i))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; do k=max(1,j-nu),i-1</p><p>&#160;&#160;&#160;&#160; su=su-A(i,nl+1-(i-k))*A(k,nl+1)*A(k,nl+1+(j-k))</p><p>&#160;&#160;&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160;&#160;&#160;&#160;&#160; A(i,nl+1+(j-i))=su/A(i,nl+1)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>&#160;&#160; ierr=0</p><p>(4) Derivative of a determinant with respect to an eigenvalue fd=0</p><p>&#160;&#160; &lt;(i,i)&gt;</p><p>do i=1,n</p><p>&#160;&#160;&#160;&#160; fd=fd-1/A(i,nq)</p><p>&#160; &#160;end do</p><p>&lt;(i,j)&gt;</p><p>do i=1,n-1</p><p>&#160;&#160; do j=i+1,min(i+nl,n)</p><p>&#160;&#160;&#160;&#160; b(j)=-a(j,nl+1-(j-i))</p><p>&#160;&#160;&#160;&#160; do k=1,j-i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(j)=b(j)-a(j,nl+1-(j-i)+k)*b(i+k)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>&#160;&#160; do j=i+nl+1,n</p><p>&#160;&#160;&#160;&#160; b(j)=0.d0</p><p>&#160;&#160;&#160;&#160; do k=1,nl</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(j)=b(j)-a(j,k)*b(j-nl-1+k)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>&#160;&#160; do j=i+1,min(i+nu,n)</p><p>&#160;&#160;&#160;&#160; c(j)=-a(i,nl+1+(j-i))</p><p>&#160;&#160;&#160;&#160; do k=1,j-i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; c(j)=c(j)-a(i+k,nl+1+(j-i)-k)*c(i+k)</p><p>&#160;&#160;&#160;&#160; end do end do do j=i+nu+1,n</p><p>&#160;c(j)=0.d0</p><p>&#160;&#160;&#160;&#160; do k=1,nu</p><p>&#160;&#160;&#160;&#160;&#160;&#160; c(j)=c(j)-a(i,nl+1+k)*c(j-nl-1+k)</p><p>&#160;&#160;&#160;&#160; end do end do do j=i+1,n</p><p>&#160;&#160; &#160;fd=fd-b(j)*c(j)/a(j,nl+1)</p><p>end do 2) Calculation of the solution</p><p>(1) Input data A: given decomposed coefficient band matrix2-dimensional array of the form A(n,nl+1+nu)</p><p>&#160;&#160; b: given right-hand side vector&#160;1-dimensional array of the form b(n)</p><p>&#160;&#160; n: given order of matrix A and vector b nl: given left half-band width of matrix A</p><p>&#160;&#160; nu: given right half-band width of matrix A</p><p>(2) Output data b: solution vector, 1-dimensional array</p><p>(3) Forward substitution do i=1,n</p><p>&#160;&#160;&#160;&#160; do j=max(1,i-nl),i-1</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(i)=b(i)-A(i,n+1-(i-j))*b(j)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p><p>(4) Backward substitution do i=1,n</p><p>&#160;&#160;&#160;&#160; ii=n-i+1</p><p>&#160;&#160;&#160;&#160; b(ii)=b(ii)/a(ii,nl+1)</p><p>&#160;&#160;&#160;&#160; do j=ii+1,min(n,ii+nu)</p><p>&#160;&#160;&#160;&#160;&#160;&#160; b(ii)=b(ii)-a(ii,nl+1+(j-ii))*b(j)</p><p>&#160;&#160;&#160;&#160; end do</p><p>&#160;&#160; end do</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>We have demonstrated that, when computing the LDU decomposition (a typical example of a direct solution method), it is possible simultaneously to obtain the derivative of a determinant with respect to an eigenvalue. In addition, in the Newton-Raphson method, the solution depends on the derivative of a determinant, so the result of our proposed computational algorithm may be used to determine the step size in that method. Indeed, the step size may be set automatically, allowing a reduction in the number of basic parameters, which has a significant impact on nonlinear analysis. Our proposed method is based on the LDU decomposition, and for band matrices the memory required to store the LDU factors is significantly reduced compared to the case of dense matrices. By augmenting an LDU decomposition program with an additional routine (which simply appends two vectors), we easily obtain a program for evaluating the derivative of a determinant with respect to an eigenvalue. The result of this computation is useful for numerical analysis using such algorithms as those of the Newton-Raphson method and the Durand-Kerner method. Moreover, the proposed method follows easily from the process of solving simultaneous linear equations and should prove an effective technique for eigenvalue problems and nonlinear problems.</p></sec><sec id="s5"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.28852-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">M. Kashiwagi, “An Eigensolution Method for Solving the Largest or Smallest Eigenpair by the Conjugate Gradient Method,” Transactions of the Japan Society for Aeronautical and Space Sciences, Vol. 1, 1999, pp. 1-5.</mixed-citation></ref><ref id="scirp.28852-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">M. Kashiwagi, “A Method for Determining Intermediate Eigensolution of Sparse and Symmetric Matrices by the Double Shifted Inverse Power Method,” Transactions of JSIAM, Vol. 19, No. 3, 2009, pp. 23-38.</mixed-citation></ref><ref id="scirp.28852-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">M. Kashiwagi, “A Method for Determining Eigensolutions of Large, Sparse, Symmetric Matrices by the Preconditioned Conjugate Gradient Method in the Generalized Eigenvalue Problem,” Journal of Structural Engineering, Vol. 73, No. 629, 2008, pp. 1209-1217.</mixed-citation></ref><ref id="scirp.28852-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">M. Kashiwagi, “A Method for Determining Intermediate Eigenpairs of Sparse Symmetric Matrices by Lanczos and Shifted Inverse Power Method in Generalized Eigenvalue Problems,” Journal of Structural and Construction Engineering, Vol. 76, No. 664, 2011, pp. 1181-1188.  
doi:10.3130/aijs.76.1181</mixed-citation></ref></ref-list></back></article>