University of Florida/Egm4313/s12.team11.perez.gp/R4.1

From testwiki
Jump to navigation Jump to search

Problem Statement

Obtain equations (2), (3), (n-2), (n-1), (n), and set up the matrix A as in (1) p.7-21 for the general case, with the matrix coefficients for rows 1, 2, 3, (n-2), (n-1), n, filled in, as obtained from equations (1), (2), (3), (n-2), (n-1), (n).

Given

As shown in p.7-21, the first equation is:

2C2+ac1+bc0=d0 (1) p.7-21

According to p.7-20, the general form of the series is:

j=0n2[cj+2(j+2)(j+1)+acj+1+bcj]xj+acnnxn1+b[cn1xn1+cnxn]=j=0ndjxj (2) p. 7-20

From (2) p.7-20, we can obtain n+1 equations for n+1 unknown coefficients c0,...,cn.

After referring to p.7-22, it can be determined that the matrix to be set up is of the following form:

A=[XXX0000XX00000X000000XXX0000XX00000X]

where the rows signify the coefficients c0,c1,c2,cn2,cn1,cn, and the columns signify d0,d1,d2,dn2,dn1,dn.

Solution

Building the coefficient matrix as shown in p.7-22 of the class notes, we can begin to solve for the coefficients as follows:

Equation associated with d0:

j=0: d0=2C2+ac1+bc0 (1)

Equation associated with d1:

j=1: d1=6c3+2ac2+bc1 (2)

Equation associated with d2:

j=2: d2=12c4+3ac3+bc2 (3)

Equation associated with dn2:

j=n-2: dn2=[cn(n)(n1)+acn1(n1)+bcn2] (n-2)

Equation associated with dn1:

j=n-1: dn1=acnn+bcn1 (n-1)

Equation associated with dn:

j=n: dn=bcn (n)

Using all of the above equations, (1), (2), (3), (n-2), (n-1), (n), we can then determine the A matrix to be:


                          A=[ba20000b2a00000b000000ba(n1)n(n1)0000ban00000b] 
                 

Template:CourseCat