11.08.2013 Views

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

144 Polynomial Approximation of Differential Equations<br />

(7.4.20) s(x) := 1<br />

<br />

2σ1 + 2σ2 + σ3 − σ4 + (3σ2 − 3σ1 − σ3 − σ4)x<br />

4<br />

+ (σ4 − σ3)x 2 + (σ1 − σ2 + σ3 + σ4)x 3<br />

, ∀x ∈ Ī.<br />

Then, r := p − s ∈ Pn+2, is expressed as follows (see also funaro and heinrichs<br />

(1990)):<br />

(7.4.21) r(x) =<br />

n−1 <br />

j=1<br />

[p(η (n)<br />

j ) − s(η (n)<br />

j )]<br />

1 − x 2<br />

1 − (η (n)<br />

j ) 2<br />

˜ l (n)<br />

j (x), ∀x ∈ Ī,<br />

where we noted that r(±1) = r ′ (±1) = 0. Deriving this relation four times and<br />

evaluating at the nodes, finally leads to the (n − 1) × (n − 1) system<br />

(7.4.22)<br />

n−1 <br />

j=1<br />

1<br />

1 − (η (n)<br />

j ) 2<br />

<br />

[1 − (η (n)<br />

i ) 2 ] ˜ d (4)<br />

ij − 8η(n) ˜d i<br />

(3)<br />

ij − 12 ˜ d (2)<br />

<br />

ij r(η (n)<br />

j ) = q(η (n)<br />

i ),<br />

Once r is computed, we determine p from the expression (7.4.20).<br />

Let us analyze another example. We wish to find p ∈ Pn+2, n ≥ 2, such that<br />

(7.4.23)<br />

⎧<br />

⎪⎨<br />

⎪⎩<br />

p IV (η (n)<br />

i ) = q(η (n)<br />

i ) 1 ≤ i ≤ n − 1,<br />

p(η (n)<br />

0 ) = σ1, p(η (n)<br />

n ) = σ2,<br />

p ′′ (η (n)<br />

0 ) = σ3, p ′′ (η (n)<br />

n ) = σ4,<br />

1 ≤ i ≤ n − 1.<br />

where q ∈ Pn−2 and σk ∈ R, 1 ≤ k ≤ 4. Again, <strong>it</strong> is sufficient to solve a (n−1)×(n−1)<br />

linear system in the unknowns r(η (n)<br />

j ), 1 ≤ j ≤ n − 1, where r := p − s and s ∈ P3<br />

is now given by<br />

(7.4.24) s(x) := 1<br />

<br />

6σ1 + 6σ2 − 3σ3 − 3σ4 + (6σ2 − 6σ1 + σ3 − σ4)x<br />

12<br />

+ (3σ3 + 3σ4)x 2 + (σ4 − σ3)x 3<br />

, ∀x ∈ Ī.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!