15.05.2013 Views

Cálculo Numérico - Engenharia Civil UEM

Cálculo Numérico - Engenharia Civil UEM

Cálculo Numérico - Engenharia Civil UEM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CAPÍTULO 10. APROXIMAÇÃO DE FUNÇÕES: MÉTODOS DE INTERPOLAÇÃO POLINOMIAL281<br />

Teorema 10.1 -Dados n+1 pontos distintos x0, x1, . . . , xn (reais ou complexos) e n+1 valores y0, y1, . . . , yn<br />

existe um e só um polinômio Pn(x), de grau menor ou igual a n, tal que<br />

Prova: Seja:<br />

Pn (xk) = yk , k = 0, 1, . . . , n . (10.1)<br />

Pn(x) = a0 + a1 x + . . . + an x n ,<br />

um polinômio de grau no máximo n, com n + 1 coeficientes a0, a1, . . . , an a serem determinados.<br />

Em vista de (10.1), temos:<br />

⎧<br />

⎪⎨<br />

⎪⎩<br />

a0 + a1x0 + . . . + anx n 0 = y0<br />

a0 + a1x1 + . . . + anx n 1 = y1<br />

. . . . . .<br />

a0 + a1xn + . . . + anx n n = yn<br />

(10.2)<br />

o qual pode ser interpretado como um sistema linear para os coeficientes a0, a1, . . . , an e cujo determinante,<br />

conhecido como determinante de Vandermonde, é dado por:<br />

<br />

<br />

1 x0 . . . x<br />

<br />

<br />

<br />

V = V (x0, x1, . . . , xn) = <br />

<br />

<br />

<br />

<br />

<br />

n 0<br />

1 x1 . . . xn <br />

<br />

<br />

<br />

1 <br />

<br />

<br />

. . .<br />

. (10.3)<br />

<br />

<br />

<br />

<br />

Para se calcular V , procedemos da maneira seguinte:<br />

Consideremos a função V (x) definida por:<br />

V (x) = V (x0, x1, . . . , xn−1, x) =<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

1 xn . . . x n n<br />

1 x0 . . . x n 0<br />

1 x1 . . . x n 1<br />

. . . . . . . . . . . .<br />

1 xn−1 . . . x n n−1<br />

1 x . . . x n<br />

<br />

<br />

<br />

<br />

<br />

<br />

. (10.4)<br />

<br />

<br />

<br />

V (x) é, como facilmente se verifica, um polinômio de grau menor ou igual a n. Além disso, V (x) se<br />

anula em x0, x1, . . . , xn−1. Podemos, então escrever:<br />

V (x0, x1, . . . , xn−1, x) = A (x − x0) (x − x1) . . . (x − xn−1) , (10.5)<br />

onde A depende de x0, x1, . . . , xn−1 .<br />

Para se calcular A, desenvolvemos (10.4) segundo os elementos da última linha e observamos que o<br />

coeficiente de x n é V (x0, x1, . . . , xn−1). Logo,<br />

V (x0, . . . , xn−1, x) = V (x0, . . . , xn−1) (x − x0) . . . (x − xn−1) . (10.6)<br />

Substituindo x por xn em (10.6), obtemos a seguinte fórmula de recorrência:<br />

V (x0, . . . , xn−1, xn) = V (x0, . . . , xn−1) (xn − x0) . . . (xn − xn−1) . (10.7)

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

Saved successfully!

Ooh no, something went wrong!