20.07.2013 Views

Culegere de probleme de Analiz˘a numeric˘a

Culegere de probleme de Analiz˘a numeric˘a

Culegere de probleme de Analiz˘a numeric˘a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

82 Interpolare<br />

Dacă f ∈ C n+1 [a,b] s¸i ϕn are semn constant pe[a,b]<br />

(Rnf)(x) = E(x)f (n+1) (ξ) ξ ∈ [a,b]<br />

E(x) = xn+1<br />

(n+1)! −<br />

m <br />

6.2 Interpolare Lagrange<br />

1<br />

(n−j +1)!<br />

k=0 j∈Ik<br />

xn−j+1<br />

k bkj(x)<br />

Problema 6.2.1 Să se scrie formula <strong>de</strong> interpolare a lui Lagrange în cazurile<br />

specialem = 1 s¸i m = 2. Interpretare geometrică.<br />

Solut¸ie. Polinomul <strong>de</strong> interpolare Lagrange corespunzător unei funct¸ii f s¸i<br />

nodurilorx0 s¸i x1 este<br />

(L1f)(x) = x−x1<br />

f(x0)+<br />

x0 −x1<br />

x−x0<br />

f(x1),<br />

x1 −x0<br />

adică dreapta care trece prin punctele (x0,f(x0)) s¸i (x1,f(x1)). Analog, polinomul<br />

<strong>de</strong> interpolare Lagrange corespunzător unei funct¸iif s¸i nodurilorx0,x1 s¸i x2<br />

este<br />

(L2f)(x) = (x−x1)(x−x2) (x−x0)(x−x2)<br />

f(x0)+<br />

(x0 −x1)(x0 −x2) (x1 −x0)(x1 −x2) f(x1)+<br />

(x−x0)(x−x1)<br />

(x2 −x0)(x2 −x1) f(x2),<br />

adică parabola care trece prin punctele (x0,f(x0)), (x1,f(x1)) s¸i (x2,f(x2)). Interpretarea<br />

lor geometrică apare în figura 6.1.<br />

Problema 6.2.2 Construit¸i polinomul <strong>de</strong> interpolare Lagrange pentru funct¸iay =<br />

sinπx alegândx0 = 0, x1 = 1<br />

6 , x2 = 1<br />

2 .<br />

Solut¸ie.<br />

(L2y)(x) = 7<br />

2 x−3x2 ,<br />

(R2y)(x) = xx− 1<br />

<br />

1 x− 6 2 πcosπξ,ξ ∈<br />

3!<br />

<br />

0, 1<br />

<br />

.<br />

2

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

Saved successfully!

Ooh no, something went wrong!