Documente Academic
Documente Profesional
Documente Cultură
CURS 1
Bibliografie:
2. Gh. Coman, T. Cătinaş, şi alţii, Interpolation operators, Ed. ”Casa Cǎrţii
de Ştiinţă”, Cluj-Napoca, 2004.
Ker f = {v ∈ V | f (v) = 0}
este un subspaţiu a lui V, numit nucleul sau spaţiul nul al lui f ;
şi
Im f := f (V ) = {f (v) | v ∈ V }
este un subspaţiu a lui V ′, numit imaginea lui f.
3) p(v) = 0 =⇒ v = 0
atunci p se numeşte normă şi V se numeşte spaţiu liniar normat.
P1 ◦ P2 = P2 ◦ P1
atunci P1 şi P2 sunt proiectori comutativi.
Observaţii.
(P C )2 = (I − P )(I − P ) = I 2 − P − P + P 2 = I − P = P C .
Avem
P P C = P (I − P ) = P I − P 2 = P − P = 0,
P C P = (I − P )P = IP − P 2 = P − P = 0.
4) (P C )C = P.
Avem
P C QC = (I − P )(I − Q) = I 2 − IQ − P I + P Q = I − Q − P + P Q,
QC P C = (I − Q)(I − P ) = I 2 − IP − QI + P Q = I − P − Q + P Q.
Rezultă că P C QC = QC P C .
(P C QC )C = I − (I − P − Q + P Q) = P + Q − P Q.
Pn
m1 ,...,mn - mulţimea polinoamelor de n variabile x1, ..., xn şi de
grad cel mult mk ı̂n raport cu variabila xk , k = 1, ..., n.
1/p
p
R
b
Norma definită prin kf k = a |f (x)| dx .
Rb
4. Fie w o funcţie pozitivă şi integrabilă pe [a, b], cu a w(x)dx <
∞. Funcţia w se numeşte pondere.
L2
w [a, b] - mulţimea funcţiilor f astfel ı̂ncât
Z b
w(x)|f (x)|2 dx < ∞.
a
1. f (p,q) ∈ C (D) ;
f = Pm−1 + Rm−1,
unde
m−1
X (x − a)k
Pm−1 = f (k)(a),
k=0
k!
(x−t)m−1
Z b
+ (m)
Rm−1(x) = (m−1)!
f (t)dt.
a
Deci
L(f ) = L(Pm−1 ) + L(Rm−1).
Cum L(Pm−1) = 0 (Ker L = Pm−1), se obţine
m−1
Z b !
(x−t)+ (m)
L(f ) = Lx f (t)dt .
a (m−1)!
Tinând cont de condiţia din ipoteză rezultă
(·−t)m−1
Z b !
L(f ) = L +
(m−1)!
f (m) (t)dt.
a
L(p) = 0, ∀p ∈ P2
m−1
obţinem L(f ) = L(Rm f ). Apoi, din (6) rezultă (7).
1.3. Polinoame ortogonale
Formula de recurenţă:
n2
˜
ln+1(x) = xl̃n(x) − l̃n−1(x), n = 1, 2, ...,
(2n − 1)(2n + 1)
(8)
cu ˜l0(x) = 1 şi l̃1(x) = x.
Polinoamele lui Cebı̂şev
1 T (x).
2) T̃n(x) = 2n−1 n
Avem
Z π 0, m 6= n,
π , m = n 6= 0,
cos mθ cos nθdθ =
0 2
π, m = n = 0,
Din
sin(n + 2)θ + sin nθ = 2 cos θ sin(n + 1)θ, (12)
se obţine formula de recurenţă
Λ = {λi | λi : B → R, i = 1, ..., N }.
P : B → A este operatorul de interpolare corespunzător lui Λ,
dacă pentru f ∈ B avem
λi(P f ) = λi (f ), i = 1, ..., N.
P f −polinomul de interpolare. Formula de interpolare:
f = P f + RP f,
unde RP f notează termenul rest.
Proprietati comune:
n
Considerăm Ωn ⊂ n n
R un domeniu rectangular: Ω = [ai, bi] ,
Q
i=1
ai, bi ∈ R, ai < bi, i = 1, ..., n.
f = P f + RP f
şi formula de aproximare maximală:
f = Sf + RS f,
cu RP = R1 ⊕ ... ⊕ Rn şi RS = R1...Rn - operatorii rest core-
spunzători.
RQ = (R1 ⊕ ... ⊕ Ri1 )(Ri1 +1 ⊕ ... ⊕ Ri2 )...(Riν−1+1 ⊕ ... ⊕ Riν ), (13)
unde R1, ..., Riν sunt operatorii rest corespunzători operatorilor
P1, ..., Piν .
Demonstraţia. Notăm cu Q1 = P1...Pi1 , Q2 = Pi1+1...Pi2 , ...,
Qν = Piν−1+1...Piν . Avem
I = Q1 + RQ1 ,
...
I = Qν + RQν ,
unde
RQ1 = R1 ⊕ ... ⊕ Ri1 ,
...
RQν = Riν−1+1 ⊕ ... ⊕ Riν .
Avem Q = Q1 ⊕ ... ⊕ Qν şi I = Q + RQ cu RQ = RQ1 ... RQν .
Inlocuind RQ1 , ..., RQν obţinem (13).
P (x, y, z) = (h−x)(h−y)
2 f (0, 0) + (h−x)y
2 f (0, h) (16)
h h
+ x(h−y)
h2 f (h, 0) + xy
h2
f (h, h).
Fixând variabila x, resp. y şi aplicând lui f operatorul de inter-
polare Lagrange Ly (ı̂n raport cu y) şi Lx (ı̂n raport cu x) pentru
nodurile 0 şi h se obţin
h−y y
(Ly f )(x, y) = h f (x, 0) + h f (x, h),
(Lxf )(x, y) = h−x (0, y) + x f (h, y),
h h
cu
Rezultă că
P f = f, ∀f ∈ P2 2
1 ⇔ dex(P ) = 1 ⇔ Ker(RP ) = P1.
Deci m = 2 şi considerăm p = q = 1. Aplicând teorema lui Peano
se obţine (19), cu
K20(x, y; s) = RP (x − s)+ = (x − s)+ − x(h−y) xy
h i
h2
(h − s)+ − h2
(h − s)+
x
= (x − s)+ − xh−xy+xy (h − s) = (x − s)+ − (h − s)
h2 h
K02(x, y; t) = RP (y − t)+ = (y − t)+ − (h−x)y xy
h i
h2 (h − t)+ − h2 (h − t)+
= (y − t)+ − hy (h − t)
K11(x, y; s, t) = RP (x − s)+ (y − t)+ = (x − s)0
0 0 0 − xy (h − s)0 (h − t)0
h i
+ (y − t)+ + +
h2
= (x − s)0 (y − t)0 − xy .
+ + h2
Avem
x − s − x (h − s) = s(x−h) ≤ 0, s ≤ x,
K20(x, y; s) = h h
− x(h−s)
h ≤ 0, s > x,
y − t − y (h − t) = t(y−h) ≤ 0, t ≤ y,
K02(x, y; t) = h h
− y(h−t) ≤ 0, t > y,
h
şi
(x − s)0(y − t)0 − xy xy
(
h2 = 1 − h2 ≥ 0, s ≤ x şi t ≤ y,
K11(x, y; s, t) = .
− xy2 ≤ 0, altfel.
h
Avem K20(x, y; s) ≤ 0, s ∈ [0, h] şi K20 ′ (x, y; s) = x−h ≤ 0, s ∈
h
′ x
[0, x) şi K20(x, y; s) = h ≥ 0, s ∈ [x, h].
|K02(x, y; t)| ≤ y.
Avem următoarea estimare
xy
|K11(x, y; s, t)| ≤ 1 − h2 ≤ 1.
Are loc
Z h Z h
(2,0) (0,2)
|(RP f )(x, y)| ≤x f (s, 0)ds + y f (0, t)dt (21)
0ZZ 0
(1,1)
+ f (s, t)dsdt,
D1
şi cum max x = h şi max y = h se obţine (20).
0≤x≤h 0≤y≤h
CURS 4
Prin urmare,
h4
(2,2)
kRS f k ≤ 64
f
.
Teorema 26 Dacă f ∈ B1,2(0, 0) atunci
Z h
(RS f )(x, y) = K30(x, y; s)f (3,0) (s, 0)ds (23)
0
Z h Z h
+ K21(x, y; s)f (2,1) (s, 0)ds + K03(x, y; t)f (0,3) (0, t)dt
0
ZZ 0
+ K12(x, y; s, t)f (1,2) (s, t)dsdt,
D1
unde
K30(x, y; s) = 0,
K21(x, y; s) = 0,
K03(x, y; t) = 0,
K12(x, y; s, t) = (x − s)0 (y − t) − x (y − t) − y (x − s)0 (h − t) + xy (h − t).
+ + h + h + h2
Dacă f ∈ B1,2(0, 0) atunci
3
(1,2)
kRS f k ≤ h
f
. (24)
Demonstraţia. Avem (Lx ⊕ Ly )f = f ∀f ∈ P2 2 şi considerăm
p = 1, q = 2 (m = 3). Aplicând teorema lui Peano obţinem (23),
cu
" #
(x−s)2
+ (x−s)2
+ x (h−s)2
+
2
h−y (x−s)+
K30(x, y; s) = RS 2 = 2 −h 2 − h 2
2 2 2
y (x−s)+ x(h−y) (h−s)+ xy (h−s)+
−h 2 + h2 2 + h2 2
(x−s)2
+ x (h−s)2+ (x−s)2+
2
y (x−s)+
2
y (x−s)+
= 2 −h 2 − 2 +h 2 −h 2
xh (h−s)2+
2
xy (h−s)+ xy (h−s)+
2
+ 2 2 − 2 2 + 2 2 =0
h h h
h i
K21(x, y; s) = RS y(x − s)+ = 0
" #
(y−t)2
+
K03(x, y; t) = RS 2 =0
0
h i
K12(x, y; s, t) = RS (x − s)+ (y − t)+
= (x − s)0 (y − t) − x (y − t) − y (x − s)0 (h − t) + xy (h − t).
+ + h + h + h2
Avem
P (x, y) = 2x+2y−h
4h f (h, h) + 2x−2y+h
4h f (h, 0)
+ −2x+2y+h
4h f (0, h) + −2x−2y+3h
4h f (0, 0).
P (x, y, z) = (h−x)(h−y)(h−z)
h3 f (0, 0, 0) + (h−x)y(h−z)
h3
f (0, h, 0) (28)
(h−x)(h−y)z
+ x(h−y)(h−z)
h3 f (h, 0, 0) + h 3 f (0, 0, h) + xy(h−z)
h3
f (h, h, 0)
(h−x)yz
+ x(h−y)z
h3
f (h, 0, h) + h3
f (0, h, h) + xyz
h3
f (h, h, h).
Fixând variabilele x şi y, x şi z, resp. y şi z şi aplicând pentru f
y
operatorul Lagrange Lz1 (ı̂n raport cu z), L1 (ı̂n raport cu y), şi
Lx1 (ı̂n raport cu x) pentru nodurile 0 şi h obţinem
P (x, y, z) = Ax + By + Cz + D
care se găseşte prin minimizarea funcţiei
8
S(A, B, C, D) = [P (Vi ) − f (Vi )]2.
P
i=1
Se rezolvă sistemul:
∂S = 0
∂A
∂S = 0
∂B
∂S = 0
∂C
∂S
∂D = 0.
CURS 5
Zh Zh
(RP f )(x, y) = K20(x, y; s)f (2,0) (s, 0)ds + K02(x, y; t)f (0,2) (0, t)dt
0 0
(30)
ZZ
+ K11(s, t)f (1,1) (s, t)dsdt,
Th
cu
x (h − s),
K20(x, y; s) = (x − s)+ − h (31)
K02(x, y; t) = (y − t)+ − hy (h − t),
K11(x, y; s, t) = (x − s)0
+ (y − t)0
+,
şi mai mult, dacă f (2,0)(·, 0), f (0,2) (0, ·) ∈ C[0, h] şi f (1,1) ∈ C(Th)
atunci
Demonstraţia. Avem
Fie triunghiul
Fie vârfurile triunghiului V0(0, 0), V1(h, 0) şi V2(0, h), şi mediana
V2M, deci M ∈ V0V1.
y
Fie L1 un operator care interpolează funcţia f ı̂n raport cu y, ı̂n
punctele (x, 0) şi (x, h − x):
y
L1f (x, y ) = h−x−y y
h−x f ( x, 0) + h−x f (x, h − x)
iar Lx2 operatorul care interpolează funcţia f ı̂n raport cu x, ı̂n
punctele (0, y ) , h−y
2 , y şi (h − y, y ) , cu y fixat:
(h−x−y)(h−2x−y) 4x(h−x−y) h−y
(Lx2f ) (x, y ) =
f (0, y ) + f 2 ,y
(h−y)2 (h−y)2
x(2x+y−h)
+ 2 f (h − y, y ) .
(h−y)
Lx2 interpolează funcţia f pe cateta V0V2, pe ipotenuză, şi pe
y
mediana V2M, iar L1 interpolează funcţia pe ipotenuză, şi pe
cateta V0V1.
Teorema 29 Dacă f : Th → R, atunci
y
1. Lx2 ⊕ L1f = f pe ∂Th ∪ V2M,
y
2. dex Lx2 ⊕ L1
= 3.
Demonstraţia. Avem
x y h−x−y h−y
h i
L2 ⊕ L1f (x, y ) = (h − 2x − y ) f (0, y ) + 4xf 2 , y
(h−y)2
1
+ h−x [(h − x − y ) f (x, 0) + yf (x, h − x)]
(h−x−y)(h−2x−y) h−y y
h i
− h f (0, 0) + h f (0, h)
(h−y)2
4x(h−x−y) h−y h−y 2y h−y h+y
h i
− 2 h+y f 2 , 0 + h+y f 2 , 2 .
(h−y)
Se verifică direct că
y
(Lx2 ⊕ L1f )(x, 0) = f (x, 0)
y
(Lx2 ⊕ L1f )(0, y) = f (0, y)
y
(Lx2 ⊕ L1f ) (h − y, y) = f
(h − y, y )
y
(Lx2 ⊕ L1f ) h−y 2 , y = f h−y
2 ,y .
Fie p2 ∈ P2
2 ce interpolează f pe N ∩ L2 = {X3, X4 , X5 } . Prin
urmare, p2 are forma
p2(x, y) = a0x2 + b0x + c0,
unde a0, b0 şi c0 pot fi determinate din condiţiile de interpolare:
p2( 4h , 0) = f ( h , 0)
4
p ( h , 0) = f ( h , 0) (34)
2 2 2
p ( 3h , 0) = f ( 3h , 0).
2 4 4
Expresia lui este
p2(x, y) =( h82 x2 − 6
h x + 1)f ( 3h , 0) + ( 8 x2 − 10 x + 3)f ( h , 0)
4 h2 h 4
2
+ (− 16
h2 x + 16 x − 3)f ( h , 0).
h 2
Fie q1 ∈ P2
1 ce interpolează (f −p2 )/l2 pe N \Z(l2 ) = {X1 , X2 , X6} .
Prin urmare, q1 are forma
Fie p1 ∈ P2
1 care interpolează q1 pe M ∩ L1 = {X1 , X2 } . Prin
urmare, p1 are forma
p1(x, y) = a2y + b2,
unde a2 şi b2 pot fi determinate din condiţiile de interpolare:
h ) = q (0, h )
(
p1(0, 3 1 3
2h 2h (36)
p1(0, 3 ) = q1(0, 3 ).
Din (35), (36) devine
h )−p (0, h )
h f (0, 3 2 3
p1(0, 3 ) =
h
3 (37)
2h f (0, 3 )−p2(0, 2h
2h
3 ).
p1(0, 3 ) =
2h
3
Expresia sa este
3 ( 3 y − 1)f (0, 2h ) + 3 (− 3 y + 2)f (0, h )
p1(x, y) = 2h h 3 h h 3
3 (− 3 y + 1)p (0, 2h ) + 3 ( 3 y − 2)p (0, h ).
+ 2h h 2 3 h h 2 3
Fie q0 ∈ P2
0 ce interpolează (q1 − p1 )/l1 pe M \Z(l1) = {X6 } . Prin
urmare, q0 este constantă:
h, h) − p (h, h)
q1( 2 2 1 2 2
q0 = h
.
2
Potrivit algoritmului Newton generalizat avem că p1 + l1q0 inter-
polează q1 pe M = {X1, X2, X6} .
Γ3
0.9
0.8
0.7
Γ1 0.6
0.5
0.2
0.1
Γ2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
V3 V
(x,0) 2
V V (x,f(x) V1
1 1 1 1
1
0.9 0.9
0.9
0.8 0.8
0.8
0.7
0.7
(0,x+y) 0.7
0.6 0.6
0.6
0.5
0.5 L2 0.5
L
L1 (g(y),y) 3
0.4 0.4
(0,y) 0.4
0.3 0.3
0.3
0 0
V
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 V 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
3 2 V V3
3 (x,0) V2 (x+y,0) V
2
Avem
dex(Li) = 1, i = 1, 2, 3, (39)
pres(L1) = {1, x, y j , j ∈ N∗},
pres(L2) = {1, xi, y, i ∈ N∗},
pres(L3) = {1, x, y}.
De exemplu,
g(y) − x x
(L1e00)(x, y) = ·1+ · 1 = 1 = e00(x, y)
g(y) g(y)
g(y) − x x
(L1e10)(x, y) = ·0+ · g(y) = x = e10(x, y)
g(y) g(y)
g(y) − x x
(L1e01)(x, y) = ·y+ · y = y = e01(x, y)
g(y) g(y)
g(y) − x x
(L1ei0)(x, y) = ·0+ (g(y))i 6= ei0(x, y), i ≥ 2
g(y) g(y)
g(y) − x j x j
(L1e0j )(x, y) = y + y = y j = e0j (x, y), j ≥ 0.
g(y) g(y)
Formulele de interpolare:
F = LiF + RiLF, i = 1, 3.
Resturile RiLF, i = 1, 3 se studiază cu Teorema lui Peano, pt.
m = 2, deoarece dex(Li) = 1, adică ker(RiL ) = P2
1 , i = 1, 3.
1 1
1
0.9 0.9
0.9
0.8 0.8
0.8
0.7 0.7
L2
0.7
L3
L 0.6 0.6
0.6
2
0.5 0.5
0.5
L1 L
0.4
0.4 1 0.4
0 0 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Avem
g(y) − x f (x) − y y
(S12F ) (x, y ) = F (0, y) + F (x, 0) + F (x, f (x))
g(y) f (x) f (x)
g(y) − x h − y y
− F (0, 0) + F (0, h) ,
g(y) h h
x x y
(S13F ) (x, y ) = F (g (y ) , y) + F (x + y, 0) + F (0, x + y)−
g(y) "
x+y x+y #
x g(y) y
− F (y + g(y), 0) + F (0, y + g(y)) ,
g(y) y + g(y) y + g(y)
y x y
(S23F ) (x, y ) = F (x, f (x)) + F (x + y, 0) + F (0, x + y)−
f (x) "
x + y x + y #
y y f (x)
− F (x + f (x), 0) + F (0, x + f (x)) .
f (x) x + f (x) x + f (x)
Proprietăţile de interpolare:
Sij F = F, i, j = 1, 3, i < j pe ∂ T̃h.
Avem
dex(S12) = 1, (41)
dex(S13) = dex(S23) = 2,
pres(S12) = {1, y, xy, xk , k ∈ N∗},
pres(S13) = {1, x, y, x2, y 2, xy k , k ∈ N∗},
pres(S23) = {1, x, y, x2, y 2, xk y, k ∈ N∗}.
Formulele de interpolare
S F,
F = Sij F + Rij i, j = 1, 3, i < j.
S F
Resturile se studiază aplicând Teorema lui Peano (pentru R12
avem m = 2, deoarece dex(S12) = 1, iar pentru R13 S F şi RS F
23
avem m = 3, deoarece dex(S13) = dex(S23) = 2).
1
0.9
0.9
0.8
0.8
0.7
0.7
0.6
0.6
0.5
H 0.5
H
0.4 1 2
0.4
0.3
0.3
0.2
0.2
0.1 0.1
0 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Avem
F = Hi F + RiH F, i = 1, 2.
Resturile RiH F , i = 1, 2 se determină aplicând Teorema lui Peano
pentru m = 3, deoarece dex(H1) = dex(H2) = 2.
CURS 8
Γ3
0.9
0.8
0.7
Γ1 0.6
0.5
0.2
0.1
Γ2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
V3 V
(x,0) 2
0.9 1
0.8 0.9
0.8
0.7
0.7
0.6
0.6
0.5
B1 0.5
B2
0.4
0.4
0.3
0.3
0.2
0.2
0.1 0.1
0 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Avem
i ∗
n o
pres (B2) = 1, y, x , i ∈ N .
Formulele de interpolare:
F = BiF + RiB F, i = 1, 2.
Resturile RiB F , i = 1, 2 se determină aplicând Teorema lui Peano
pentru m = 3, deoarece dex (B1) = dex (B2) = 1.
0.08 0.08
0.08
0.06 0.06
0.06
0.04
0.04 0.04
0.02
0.02 0.02
1 0
1
1
0.8 0.8
0.8
0.6 0.6
0.6
1 1 1
0.4 0.8 0.8 0.4 0.8
0.4
0.6 0.6 0.6
0.2 0.4 0.2 0.4 0.2 0.4
0.2 0.2 0.2
0 0 0 0 0
0
0.06 0.06
0.08
0.04 0.04
0.06
0.02 0.02
0.04
1 1
0.02
1 0.8 0.8
0.8
0.6 0.6
0.6
1 0.4 0.4
0.4 0.8
1 1
0.9 0.9
0.6 0.2 0.8 0.2 0.8
0.7 0.7
0.2 0.4 0.6 0.6
0.5 0.5
0.4 0.4
0.2 0.3 0.3
0 0.2 0 0.2
0 0.1 0.1
0 0 0
Considerăm tetraedrul
3
n o
T = (x, y, z) ∈ R | x, y, z ≥ 0, x + y + z ≤ h, h > 0 ,
şi f : T → R.
P (x, y, z) = Ax + By + Cz + D,
cu A, B, C, D ∈ R, obţinuţi din (46). Se obţine sistemul
D = f (0, 0, 0)
Ah + D = f (h, 0, 0)
Bh + D = f (0, h, 0)
Ch + D = f (0, 0, h),
de unde soluţia este:
P (x, y, z) = h−x−y−z
h f (0, 0, 0)+ x f (h, 0, 0)+ y f (0, h, 0)+ z f (0, 0, h).
h h h
(47)
Proprietăţile de interpolare:
P (0, 0, 0) = f (0, 0, 0)
P (h, 0, 0) = f (h, 0, 0)
P (0, h, 0) = f (0, h, 0)
P (0, 0, h) = f (0, 0, h).
Metoda 2: Fie P1 operatorul Lagrange corespunzător nodurilor
0 şi h − y − z, (cu y şi z fixate):
(P1f )(x, y, z) = x+y+z−h
y+z−h f (0, y, z) + x f (h − y − z, y, z).
h−y−z
Similar, considerăm operatorul Lagrange P2, corespunzător nodurilor
0 şi h − x − z, (cu x şi z fixate),
(P2f )(x, y, z) = x+y+z−h
x+z−h f (x, 0, z) + y
h−x−z f (x, h − x − z, z),
resp. P3, corespunzător nodurilor (x + y + z, 0, 0), (0, x + y + z, 0)
şi (0, 0, x + y + z):
x y
(P3f )(x, y, z) = x+y+z f (x + y + z, 0, 0) + x+y+z f (0, x + y + z, 0)
z
+ x+y+z f (0, 0, x + y + z).
Se obţine
(P1P2P3f )(x, y, z) = h−x−y−z
h f (0, 0, 0) + x f (h, 0, 0) + y f (0, y, 0)
h h
z
+ h f (0, 0, h),
care coincide cu P din (47).
Formula de interpolare:
f = P1P2P3f + RP f,
cu
τ3
σ2
V0
τ2
τ1 V2
V1 σ
1
Fie funcţia F : Th → R.
A. Considerăm
y
h i
(Q3F )(x, y, z) = 1 − f (z) − g (z) F (0, 0, z) + f x(z) F (f2 (z), 0, z)
x
2 3 2
y
+ g (z) F (0, g3(z), z).
3
1) proprietăţile de interpolare:
Q1F = F, pe τ1 ∪ σ1 ∪ σ2,
Q2F = F, pe τ2 ∪ σ1 ∪ σ3,
Q3f = F, pe τ3 ∪ σ2 ∪ σ3.
2)
dex(Qi) = 1, i = 1, 3, (50)
pres(Q1) = {1, x, z, y j , j ∈ N∗},
pres(Q2) = {1, y, z, xi, i ∈ N∗},
pres(Q3) = {1, x, y, z k , k ∈ N∗}.
V3 V3 V3
σ3 σ3 σ
3
τ3 τ3 τ
3
σ2 σ2 σ
2
V0 V0 V
0
τ2 τ2 τ
2
τ1 V2 τ1 V2 τ V
1 2
V
1 σ1 V
1 σ1 V
1 σ
1
V3 V V
3
σ3 σ
3
σ3
3
τ3 τ τ
3 3
σ2 σ2 σ
2
V0 V0 V
0
τ2 τ τ
τ1 V2 τ
2
V τ
2
V
1 2 1 2
V1 σ1 V σ V
1 σ
1 1 1
τ3
σ2
V0
τ
2
τ1 V2
V σ
1
1
S12F = F, on τ1 ∪ τ2 ∪ σ1 ∪ σ2 ∪ σ3,
S23F = F, on τ1 ∪ τ3 ∪ σ1 ∪ σ2 ∪ σ3,
S13F = F, on τ2 ∪ τ3 ∪ σ1 ∪ σ2 ∪ σ3;
şi
dex(Sij ) = 1, i, j = 1, 3, i 6= j,
pres(S12) = {1, xi, y, z, xiy, xiz, i ∈ N∗},
pres(S23) = {1, x, y j , z, xy j , y j z, j ∈ N∗},
pres(S13) = {1, x, y, z k , xz k , yz k , k ∈ N∗}.
V3 V3 V
3
σ3 σ σ
3 3
τ3 τ3 τ
3
σ2 σ σ
2 2
V0 V V
0 0
τ2 τ τ
τ1 V2 τ
2
V2 τ
2
V
1 1 2
V
1 σ1 V
1 σ V
1 σ
1 1
dex(S123) = 1,
pres(S123) = {1, x, y, z}.
CURS 9
1. proprietatea de interpolare
(S0f ) (xi) = f (xi) , i = 0, . . . , N ;
Fie
Λ := {λi | i = 0, . . . , N }
o mulţime de funcţionale şi operatorul de interpolare corespunzător
P . Se consideră Λi ⊂ Λ asociate respectiv funcţionalelor λi,
i = 0, . . . , N, astfel ı̂ncât
N
[
Λi = Λ şi Λi ∩ Λj 6= ∅,
i=0
cu excepţia cazului ı̂n care
Λi = {λi} , i = 0, . . . , N,
când
Λi ∩ Λj = ∅, pentru i 6= j.
Fiecărei submulţimi Λi i se asociază operatorul de interpolare Pi,
i = 0, . . . , N, corespunzător.
0.9
1 0.8
0.9 0.7
0.8
0.6
0.7
0.5
0.6
0.4
0.5
0.4 0.3
0.3 0.2
−2 −1.5 −1 −0.5 0 0.5 1 1.5 2
0.2
S0f, pentru
0.1
0
−2 −1.5 −1 −0.5 0 0.5 1 1.5 2
Funcţia f. µ = 1.
1 1
0.9 0.9
0.8 0.8
0.7 0.7
0.6 0.6
0.5 0.5
0.4 0.4
0.3 0.3
0.2 0.2
−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2
f = S0f + R0f,
unde R0f este termenul rest.
Avem
Z b
(R0f )(x) = K(x, s)f ′ (s)ds, (64)
a
cu
N
K(x, s) = R0[(x − s)0 0
Ai(x)(xi − s)0
X
+ ] = (x − s)+− +.
i=0
4.2.2. Interpolare Shepard bidimensională
1) Proprietatea de interpolare:
(S0f )(xi , yi) = f (xi, yi), i = 1, ..., N.
f (x, y) = −(x2 + y 2)
şi nodurile z1 = (−1, −1), z2 = (−1, 1), z3 = (1, −1), z4 =
(1, 1), z5 = (−0.5, −0.5), z6 = (−0.5, 0.5), z7 = (0.5, −0.5), z8 =
(0.5, 0.5), z9 = (0, 0). Reprezentăm S0f , pentru µ = 1, 2, 20.
−0.2
−0.4
−0.6
0 −0.8
−0.2 −1
−0.4 −1.2
−0.6 −1.4
−0.8 −1.6
−1 −1.8 1
0.5
−1.2 −2
1 0
0.5
−1.4 0 −0.5
−0.5
−1 −1
−1.6
1
−1.8 0.5
S0f pentru
−2 0
1 0.8 0.6 −0.5
0.4 0.2 0 −0.2 −0.4 −0.6 −1
−0.8 −1
Funcţia f. µ = 1.
0
0
−0.5
−0.2
−0.4
−0.6
−1
−0.8
−1 −1.5
−1.2
−1.4
−2
−1.6 1
1
−1.8 0.5 1
0.5
0.5
−2 0
0
1 0
0.5 −0.5 −0.5
0 −0.5
−0.5 −1
−1 −1 −1
aij xiy j .
X
Pn(x, y) =
i+j≤n
dex(SnL ) = n.
Demonstraţia. Avem
N
(SnLekj )(x, y) = Ai(x, y)(Ln
X
i ekj )(x, y), k+j ≤n
i=1
şi din (72) rezultă că
N N
(SnLekj )(x, y) =
X X
Ai(x, y)ekj (x, y) = ekj (x, y) Ai(x, y),
i=1 i=1
şi cum
N
X
Ai(x, y) = 1
i=1
rezultă
(SnLekj )(x, y) = ekj (x, y), k + j ≤ n.
Deci dex(SnL) ≥ n.
Deorece dex(Ln 2
i ) = n rezultă că există (p, q) ∈ N , cu p + q =
n + 1 astfel ı̂ncât Ln L
i epq 6= epq , de unde rezultă Sn epq 6= epq , adică
dex(SnL) = n.
(L1
i f )(x, y) = li (x, y)f (xi , yi)+li+1 (x, y)f (xi+1 , yi+1)+li+2(x, y)f (xi+2 , yi+2),
pentru i = 1, . . . , N (zN +1 := z1, zN +2 := z2).
Fie
n o
Zmi,i := zi, zi+1, . . . , zi+mi−1 , i = 1, . . . , N ,
mulţimi de mi noduri de interpolare, cu mi = (ni + 1)(ni + 2)/2.
n
Se construiesc operatorii Lagrange corespunzători Li i , i = 1, . . . , N .
Teorema 59 Avem
f (x, y) = −(x2 + y 2)
şi reprezentăm S1Lf, µ = 1; 2.
0.5
0.5
0
0
−0.5 −0.5
−1
−1
−1.5
1
−1.5
−2 0.5
−1
1
−0.5 0
0.5
−2 0
−1 0
−0.5 −0.5
0 0.5 −0.5
0.5 1
1 −1 −1
k=1
se numeşte operatorul Shepard-Hermite bidimensional.
0.6
0.6
0.4
0.4
0.2
0.2
0.5 0
0
−0.4 −0.4
0.3
−0.6 −0.6
0.2
−0.8
−0.8 2
0.1 2
1 2
1 2
0
1 1
0 0
−0.1 0 0
−1 −1
−1 −1
−0.2 −2 −2 −2 −2
−0.3
−0.5
2 2
1 1
0 0
−1 −1
−2 −2
Funcţia g. µ = 1. µ = 2.
CURS 11
cu zN +i = zi, i ∈ N∗.
2 2.5
2 3
1.5
1.5
2
1 1
0.5
0.5 1
0
0 −0.5 0
−1
−0.5
−1
−1.5
−1
−2 −2
2
−1.5 2
1 2 −3
2 1
−2 1
0
2 1 0
0
−1 0
0 −1 −1
1 1.5 2 −1
−0.5 0 0.5
−2 −2 −1.5 −1 −2 −2 −2 −2
Funcţia Shepard are proprietatea că are denivelări ı̂n fiecare nod
şi acurateţea ei scade ı̂n zonele ı̂n care nodurile sunt rare. Acest
fenomen se diminuează prin modificarea funcţiei de bază de ex-
emplu, folosind versiunea locală a formulei Shepard formula, in-
trodusă de Franke and Nielson ı̂n 1980. In acest caz operatorul
Shepard operator este de forma:
N
Wi (x, y ) f (xi, yi)
P
Gentle
2 2
f1(x, y) = exp[− 81
16 ((x − 0.5) + (y − 0.5) )]/3,
Sphere
q
f2(x, y) = 64 − 81((x − 0.5)2 + (y − 0.5)2)/9 − 0.5.
Reprezentăm grafic fi, S0fi şi S w f, considerând 10 noduri aleatoare
ı̂n [0, 2] × [0, 2].
0.3 0.3
0.2
0.25 0.25
0.2 0.2
0.15
0.15 0.15
0.1 0.1
0.1
0.05 0.05
0 0.05 0
1 1 1
0.8 1 0.8 1 0.8 1
0.6 0.8 0.6 0.8 0.6 0.8
0.4 0.6 0.4 0.6 0.4 0.6
0.4 0.4 0.4
0.2 0.2 0.2
0.2 0.2 0.2
0 0 0 0 0 0
0.4 0.4
0.34
0.35 0.35
0.32
0.3 0.3 0.3
A = (Φ(xk , xj ))1≤j,k≤M
este pozitiv definită.
Definiţia 75 Matricea A ∈ Cn×n se numeşte pozitiv definită
dacă
xtAx > 0, ∀x = (x1, ..., xn)t ∈ Cn, x 6= 0.
j=1
(C.A. Micchelli a demonstrat că matricea coeficienţilor acestui
sistem este nesingulară).
0 0
−1 −1
−2 −2
−3 −3
−4 −4
−5 −5
−6 −6
−7 −7
−8 −8
−9 −9
2 2
1 2 1 2
1 1
0 0
0 0
−1 −1
−1 −1
−2 −2 −2 −2
Function Function
f. s1.
Exemplul 78 Interpolantul thin-plate spline pentru f este:
n q
αj [(x − xj )2 + (y − yj )2] ln [(x − xj )2 + (y − yj )2].
X
s2(x, y) =
j=1
Desenăm s2 şi eroarea de interpolare.
0.08
0.07
0.06
0.05
0.04
0.03
0.02
0.01
0
2
0
1 2
−1
1
0
0
−2
−1
−1
−3 −2 −2
−4
−5
−6
−7
−8
The error
−9
for interpo-
2
1
0 1.5 2
0.5 1
−1 −0.5 0
−2 −1.5 −1
−2
Function lation by
s2. s2.
5. Metode numerice de rezolvare a ecuaţiilor diferenţiale
y ′ = f (x, y) (88)
y(x0) = y0
unde funcţia f este definită pe dreptunghiul D = {(x, y) ∈ R2 |
|x − x0| ≤ a, |y − y0| ≤ b} cu a, b ∈ R+ şi satisface condiţiile
necesare de continuitate şi derivabilitate.
(x − x0)p+1 (p+1)
(Rp y)(x) = y (x0 + θ(x − x0)), 0 < θ < 1. (89)
(p + 1)!
Prin urmare, funcţia y poate fi aproximată pe intervalul I prin
polinomul lui Taylor Tpy. In acest polinom cunoaştem ı̂nsă numai
valorile y(x0) = y0 şi y ′(x0) = f (x0, y0). Rămâne să determinăm
valorile y (k)(x0), k = 2, ..., p. Folosim ecuaţia (88) şi obţinem
∂f ∂f ′
y ′′ = + y
∂x ∂y
′′′ ∂ 2f ∂ 2f ′ ∂ 2f ′2 ∂f ′′
y = 2
+2 y + 2
y + y
∂x ∂x∂y ∂y ∂y
∂ 3f ∂ 3f ∂ 3f ∂ 3f ∂ 2f
′ ′2 ′3 ′′
y (4) = 3 + y + 3 y + y + 3 y +
∂x ∂x2∂y ∂x∂y 2 ∂y 3 ∂x∂y
∂ 2f ′ ′′ ∂f ′′′
+ 3 2y y + y ,
∂y ∂y
şi aşa mai departe. Luând valorile acestor derivate ı̂n punctul x0,
se obţin coeficienţii polinomului Tpy, aproximaţia soluţiei y fiind
complet determinată.
|x − x0|p+1
y(x) − (Tp y)(x)| ≤ Mp+1, x ∈ I. (92)
(p + 1)!
S-a demonstrat astfel teorema următoare:
atunci
hM L(xi−a)
|y (xi) − wi| ≤ e − 1 , i = 0, 1, ..., N.
2L
h ← b−a
N
α ← y0
for i = 0, 1, ..., N − 1
yi+1 ← yi + hf (xi, yi)
end
y ′(x) = 2x − y
y(0) = −1
pe nodurile echidistante xi = a + ih, i = 0, ..., N ; h = b−a
N , cu
a = 0, b = 1, N = 10, folosind metoda lui Euler
a1 = 1
h
α1 =
2
h ′ h
β1 = y (x) = f (x, y ) .
2 2
In (93), pt. n = 2 avem
y0 = α
h h
yi+1 = yi + hf xi + , y + f (xi, yi) , i = 0, ..., N − 1
2 2
Pentru aproximarea polinomului Taylor de ordinul trei
h ′ h2 ′′
T3 (x, y ) = f (x, y ) + f (x, y ) + f (x, y ) ,
2 6
cea mai potrivită expresie cu patru parametri ar fi
1 , α = δ = h:
Metoda Euler modificată, pt. a1 = a2 = 2 2 2
hh i
yi+1 = yi + f (xi, yi) + f xi+1, yi + hf (xi, yi) .
2
1 , a = 3 , α = δ = 2 h:
Metoda lui Heun, pt. a1 = 4 2 4 2 2 3
h 2 2
yi+1 = yi + f (xi, yi) + 3f xi + h, yi + hf (xi, yi) .
4 3 3
Amândouă aceste metode pot fi clasificate ca metode Runge-
Kutta de ordinul doi.
y0 = α
k1 = hf (xi, yi)
h 1
k2 = hf xi + , yi + k1
2 2
h 1
k3 = hf xi + , yi + k2
2 2
k4 = hf xi+1, yi + k3
1
yi+1 = yi + (k1 + 2k2 + 2k3 + k4) , i = 0, ..., N − 1.
6
CURS 13
Observaţia 86
(m)
(m)
(P ISP ) : a se găsi s ∈ U (y) astfel ı̂ncât
s
= inf
u
2 2
u∈U (y)
este echivalentă cu problema de cea mai bună aproximare ı̂n
L2[a, b], adică
(P CM BA) : a se găsi σ ∈ U (m)(y) astfel ı̂ncât kσk2 = inf kvk2 ,
v∈U (m)(y)
unde
U (m)(y) = v | v = u(m),
n o
u ∈ U (y) .
Considerăm
f (m) , g (m)
n D E o
S(Λ) = f ∈ H m,2[a, b] | =0 g ∈ U (0) .
2
Observaţia 92 Relaţia
(m) (m)
D E
p ,g = 0, pentru p ∈ Pm−1, g ∈ U (0) ⇒ Pm−1 ⊂ S(Λ).
2
Definiţia 93 Mulţimea S(Λ) se numeşte spaţiul funcţiilor spline
ce interpolează U (y).
dim S(Λ) = n
şi s1, ..., sn este o bază pentru S(Λ).
Funcţiile si , i = 1, ..., n se numesc spline fundamentale de inter-
polare sau spline cardinale, datorită proprietăţii că
D E
(B ) s ∈ S (Λ) ⇐⇒ s(m), g (m) = 0, g ∈ U (0)
2
1) s(2m) (x) = 0, x ∈ [x1, xk ] \ {xi}i=1,...,k
2) s(m) (x) = 0,
x ∈ [a, x1) ∪ (xk , b]
(C ) s ∈ S (Λ) ⇐⇒ (2m−1−µ) (x + 0) = s(2m−1−µ) (x − 0) ,
3) s i i
cu µ ∈ {0, 1, ..., m − 1} \ Ii, i = 1, ..., k.
λi (Sf ) = λi (f ) , i = 1, ..., n.
Mai mult, Sf este funcţia din H m,2 [a, b] care interpolează f, şi
pentru care
(Sf )
(m)
→ minim.
2
Observaţia 99 S : H m,2 [a, b] → S (Λ) este un operator liniar şi
idempotent, deci este proiector.
Intr-adevăr avem
m−1 k
aixi + bj (x − xj )2m−1, x ∈ (xk , xk+1)
X X
(SLf )(x) =
i=0 j=1
pentru k = 1, ..., n − 1,
m−1
aixi,
X
(SLf )(x) = x ∈ [a, x1),
i=0
şi
Avem m = 1 şi
f = S1f + R1f,
cu
n
i
X
(S1f )(x) = si (x)f
i=0 n
şi
Z 1
(R1f )(x) = ϕ1(x, t)f ′ (t)dt,
0
cu
n 0
i
ϕ1(x, t) = (x − t)0
+− si(x) −t .
P
i=0 n +
Avem
n
j
si(x) = ai0 + bij x − , i = 0, ..., n,
P
j=0 n +
şi coeficienţii ai0, bi0, ..., bin, i = 0, ..., n sunt daţi de sistemele:
k = δ , k = 0, ..., n
(
si n ik
s′i(α) = 0, α > 1 (considerăm α = 2).
Avem
s0(0) = 1
s ( k ) = 0, k = 1, ..., n
0
′ n
s0(2) = 0
adică
a0
0 =1
a0 + b0 1 =0
0 0 n
2 + b0 1 = 0
0
a0 + b0
0n 1n
0 + b0 3 + b0 2 + b0 1 = 0
a
0 0n 1n 2n
...
n
b0
j =0
P
j=0
Se obţine
1
s0(x) = 1 − nx + n x − n
+
1 2
s1(x) = nx − 2n x − n +n x−n
+ +
1
2
3
s2(x) = n x − n − 2n x − n +n x−n
+ + +
...
n−2
sn−1(x) = n x − n n−1
− 2n x − n + n (x − 1)+
+ +
n−1
sn(x) = n x − n − n (x − 1)+ .
+