Punti critici e matrice Hessiana
f : A -> IR x0 in A sia un punto critico
f in C2(A)
f(x) = f(x0) + ∇f(x0) · (x - x0) + 1/2! [ q(x - x0) + o((x - x0)2 ) ]
H(x0) = ( fIIx1,x1(x0) fIIx1,x2(x0) ... fIIx1,xn(x0) fIIx2,x1(x0) . . . .. . . .. . . . fIIxn,x1(x0) ... ... ... fIIxn,xn(x0) ) = ( ∇fIx1∇fIx2...∇fIxn )
H(x0) è simmetrica, grazie al th. di Schwartz.
det ( H(x0) - λ I ) = 0
| fIIx1,x1 - λ fIIx1,x2 ... fIIx1,xn || fIIx1,x2 fIIx2,x2 - λ fIIx2,xn | = 0 | . . . . || . . . . || fIIxn,xn |
Polinomio di grado n in λ
(*) a0 λm + a1 λm-1 + a2 λm-2 + ... + am = 0
Siccome la matrice è simmetrica, sappiamo che l'eq. (*) ammette n sol. reali.
q è def. positiva se tutti gli autovalori sono pos.
Esercizi 14 ottobre 2024
Martedì 7 marzo 2023 08:32
f : A -> IR, x→0 e A sia un punto critico
f e C2(A)
f(x→) = f(x→0) + ∇f(x→0) • (x→ - x→0) + 1/2! [q(x→ - x→0) + o((x→ - x→0)2)]
H(x→0) = ( fIIx1,x1(x→0) fIIx1,x2(x→0) ... fIIx1,xn(x→0) )( fIIx1,x2(x→0) . . . )( . . . )( fIIxn,xn(x→0) )
= ( ∇fIIx1 )( ∇fIIx2 )( . )( ∇fIIxn )
H(x→0) è simmetrica, grazie al th. di Schwartz.
det ( H(x→0) - λ I ) = 0
| fIIx1,x1 - λ fIIx1,x2 ... fIIx1,xn || fIIx1,x2 fIIx2,x2 - λ fIIx2,xn | = 0 | ... fIIxn,xn |
Polinomio di grado n in λ
(*) a0λm + a1λm-1 + a2λm-2 + ... + am = 0
Siccome la matrice è simmetrica, supponiamo che l'eq. (*) ammette n sol. reali.
q è def. positiva se tutti gli autovalori sono pos.
q è indefinita se esistono due autovalori di segno opposto.
x2 - 2x + 1 = 0
Se Δ > 0
2 sol. pos.
x2 - 18x - 1 = 0
1 sol. pos.
1 sol. neg.
Nel caso ma0 a1 a2 ... am
Se ai sono tutti positivi -> tutti gli autovalori sono negativi -> q è def. neg. -> x0 è un max rel.
(-1)i ai > 0 ∀ i = 0,...,m -> ai sono tutte variazioni -> autovalori sono tutti pos. -> q è def. pos. -> x0 min rel.
Esempio con esponenziale in R3
es.
f(x,y,z) = |x| e-(x2 + y2 + z2)
Determinare, se esistono, max min liberi
f : R3 -> R
R3 aperto
f e C(R3)
∃ ∇f -> R3 \ {(0,y,z) : (y,z) ∈ R2}
∅ ∇f -> {(0,y,z) : (y,z) ∈ R2}
f'y = -2 |x| y e-(x2 + y2 + z2)
f'z = -2 |x| z e-(x2 + y2 + z2)
f'y, f'z : R3 -> R
f(x,y,z) = { x e-(x2 + y2 + z2) if x ≥ 0 - x e-(x2 + y2 + z2) if x < 0 }
x > 0 f'x = e-(x2 + y2 + z2) - 2x2 e-(x2 + y2 + z2) = e-(x2 + y2 + z2) (1 - 2x2)
x < 0 f'x = - e-(x2 + y2 + z2) (1 - 2x2)
x = 0 ? (0,y,z) ; (y,z) in R2
(f(x,y,z) - f(0,y,z)) / x = (|x| e-(x2 + y2 + z2) - 0) / x
limx -> 0 (|x|/x) e-(x2 + y2 + z2) = e-(y2 + z2) limx -> 0 |x|/x
∇f : R3 \ { (0,y,z) con (y,z) in R2 }
Considero (0,y,z) , (y,z) in R2 (nabla f)
f(0,y,z) = 0
Inoltre so che f(x,y,z) ≥ 0 ∀ (x,y,z)
=> (0,y,z) con (y,z) in R2 sono tutti di minimo assoluto.
Ora consideriamo R3 \ { (0,y,z) ; (y,z) in R2 }
Ora consideriamo IR3 \ {(0,y,z) : (y,z) in IR2}
f(-x,y,z) = f(x,y,z)
f e pari rispetto alla variabile x
Basta studiare f nel semispazio { (x,y,z) : x > 0 (y,z) in IR2 }
Fermat => { 1 - 2x2 = 0 -2xy = 0 -2xz = 0 x > 0
{ x > 0 z = 0 y = 0 x = sqrt(2)/2 }
(sqrt(2)/2, 0, 0)
f''xx = -4x e-(x2+y2+z2) + (1 - 2x2)(-2x)e-(x2+y2+z2)
= e-(x2+y2+z2) [-4x - 2x + 4x3] = = (4x3 - 6x)e-(x2+y2+z2)
f''xx(sqrt(2)/2, 0, 0) = (4 * 1/2 * sqrt(2)/2 - 6/2 sqrt(2)) . e-1/2 = = -2sqrt(2)/sqrt(e) = -2sqrt(2/e)
f''xy = f''yx = (1 - 2x2)(-2y)e-(x2+y2+z2)
f''xy(sqrt(2)/2, 0, 0) = 0
f''xz = f''zx = (1 - 2x2)(-2z)e-(x2+y2+z2)
f''xz(sqrt(2)/2, 0, 0) = 0
f''yy = -2x [ e-(x2+y2+z2) + y(-2y)e-(x2+y2+z2) ]
= -2x e-(x2+y2+z2) (1 - 2y2)
= -2x e-(x2+y2+z2) (1 - 2y2)
f''zz = -2x e-(x2+y2+z2) (1 - 2z2)
-f''yy (√2/2, 0, 0) = -√2/√e = -√2/e = f''zz (√2/2, 0, 0)
H(√2/2, 0, 0) - λI = (-2√2/e - λ 0 0)(0 -√2/e - λ 0)(0 0 -√2/e - λ)
det[H(√2/2, 0, 0) - λI] = (-2√2/e - λ)(-√2/e - λ)(-√2/e - λ) = 0
λ1 = -2√2/e λ2 = -√2/e λ3 = -√2/e
Cioè gli autovalori sono tutti negativi.
=> q e def. negative => (√2/2, 0, 0) max rel.
Ricapitolando
(0, y, z) con (y, z) in R2 sono di minima ass.
(±√2/2, 0, 0) sono max rel.
x = r sinθ cosφ
y = r sinθ sinφ
z = r cosθ
(φ in [0,2π])
(θ in [0,π])
r >= 0
(coord. sferiche)
0 ≤ f(r sinθ cosφ, r sinθ sinφ, r cosθ) = r |sinθ cosφ| e-r2 ≤ ≤ r e-r2
Determinare se esistono, max min rel.
f(x,y) = x3 + y3 + xy
f e Cinfty(R2)
Tutti i punti sono interni e di derivabilità.
Applico Fermat
{ f'x = 3x2 + y = 0 f'y = 3y2 + x = 0
y = -3x2
3(9x4) + x = 0
x[27x3 + 1] = 0
{ x = 0 y = 0 u { x = -1/3 y = -3(1/9) = -1/3
2 candidati: (0,0) e (-1/3, -1/3)
f''xx = 6x
f''xy = f''yx = 1
f''yy = 6y
H(0,0) = (0 1; 1 0)
det H(0,0) = -1 < 0
(0,0) punto sella.
H(-1/3, -1/3) = (-2 1; 1 -2) = 4 - 1 = 3 > 0
det H(-1/3, -1/3) > 0
f''xx(-1/3, -1/3) < 0
-> (-1/3, -1/3) max rel.
Polinomio di Taylor di grado 2
f(x,y) = x exy
Polinomio di Taylor di grado 2
P0 = (0,0)
f e Coo(R2)
f(0,0) = 0
fx = exy + x exy y = exy (1 + xy)
fy = x2exy
grad f (0,0) = (1,0)
fxx = exy y(1 + xy) + exy(y) = yexy(2 + xy)
fxx(0,0) = 0
fxy = fyx = exy x(1 + xy) + x exy = x exy(2 + xy)
fxy(0,0) = 0
fyy = x3exy
fyy(0,0) = 0
f(x,y) = f(0,0) + x fx(0,0) + y fy(0,0) + + 1/2 [ x2 fxx(0,0) + 2xy fxy(0,0) + y2 fyy(0,0) + + o(x2 + y2) ]
f(x,y) = x + o(x2 + y2)
Esercizio con funzione x2y + x2 - 2y
f(x,y) = x2y + x2 - 2y
Max min & esiste
f e Coo(R2)
Tutti i punti sono interni e di derivabilità.
f' x = 2xy + 2x = 0
f' y = x2 - 2 = 0
x = + - sqrt(2)
2x(y+1) = 0
y = -1
(+ - sqrt(2), -1)
f(-x,y) = f(x,y)
Basta studiare (sqrt(2), -1)
f'' xx = 2y + 2
f'' xy = f'' yx = 2x
f'' yy = 0
H(sqrt(2), -1) = (0 2sqrt(2); 2sqrt(2) 0)
det H(sqrt(2), -1) < 0
Punto sella
Studio su Q = [-1,1] x [-1,1]
f(x,y) = x6 + y6 - 3x3y3
[-1,1] x [-1,1] = Q
Q0 = ]-1,1[ x ]-1,1[ e qui V f esiste
Fr Q = { (x, + - 1) : -1 <= x <= 1 } U { (+ - 1, y) : -1 <= y <= 1 }
Q compatto f in C(Q) W -> esistono max, min assoluti.
Q0
f' x = 6x5 - 12x2y3 = 0
f' y = 6y5 - 12x3y2 = 0
6x2(x3 - 2y3) = 0
6y2(y3 - 2x3) = 0
(0,0)
x = 0
y3 = 0
y = 0
x = 0
x3 = 2y3
y3 - 2x3 = 0
x3 = 2y3
=> y3 - 4y3 = 0 => (0,0)
Unico candidato e (0,0)
f'' xx = 30x4 - 24xy3
f'' xy = -36x2y2 = f'' yx
f'' yy = 30y4 - 24x3y
H(0,0) = ( 0 0 )( 0 0 )
f'' xx (0,0) = 0
f'' xy (0,0) = 0
f'' yy (0,0) = 0
Non posso dire nulla.
f(x,y) = x6 + y6 - 3x3y3
f(x,x) = x6 + x6 - 3x6 = - x6
Lungo (x,x) pto di max rel.
f(x,-x) = x6 + x6 + 3x6 = 5x6
Lungo (x,-x) pto di min rel.
=> (0,0) sella
Fr Q
x = 1
y in [-1,1]
f(1,y) = 1 + y5 - 3y3 = g1(y): [-1,1] -> IR
g1'(y) = 6y5 - 9y2 = 3y2(2y3 - 3) >= 0
3 root3/2 > 1
f(x,-1) = g2(x) = x6 + 1 + 3x3 = x3(x3 + 3)
g2: [-1,1] -> IR
g2'(x) = 6x5 + 9x2 = 3x2(2x3 + 3)
-3 root3/2 -1 0 1
Convenire per esercizio e usare Weierstrass.
Funzione radice e punti di minimo
f(x,y) = root(1 + x2 + y2)
f2(x,y) = 1 + x2 + y2
f(x,y) = root(f2(x,y))
f ammette min <=> f2 ammette minimo
"" max <=> f2 ammette max
{ f2x = 2x = 0 f4y = 2y = 0
(0,0) -> min. 288
f2(x,y) >= 1 = f2(0,0)
Funzione con valore assoluto e logaritmo
f(x,y) = (x2+1) |y| lg(1+x) max min rel. se EC.E. (1+x) > 0 x > -1 E
(x,0) -1 < x < 0 sono di max rel.
In B1((x,0),r) f(x,y) <= f(x,0) = 0
(x,0) x > 0 sono di min rel.
In B2((x,0),r) f(x,y) >= f(x,0) = 0
(0,0) e un punto in cui ha due restrizioni con comp. diverse.
E aperto
EE
f(x,y) = {(x2+1) . lg (1+x) . y y >= 0 -(x2+1) . lg (1+x) . y y }
f'x : E -> IR
f'x = |y| { 2x lg(1+x) + (x2+1)/(1+x) }
y > 0
f'y = (x2+1) . lg (1+x)y
f'y = - (x2+1) . lg (1+x)y
y != 0 f'y(x,y) = segno(y) (x2+1) lg(1+x)
y = 0 ? (x,0) con x >= -1
(f(x,y) - f(x,0))/y = (x2+1) lg(1+x) . |y|/y = = {0 x = 0 (x2+1) lg(1+x) |y|/y y != 0}
limy -> 0
f'y : E \ { (x,0) con x > -1 e x != 0 }
f1y = {(x,0) con x > -1 e x != 0}
f1y(0,0) = 0 }
f1x(0,0) = 0 } (0,0) pto sella
lim (x2+1) lg (1+x) |y|/y = + (x2+1) lg(1+x)y -> 0+
lim (x2+1) lg (1+x) |y|/y = - (x2+1) lg(1+x)y -> 0-
lg(1+x).(x2+1) = - (x2+1) lg(1+x) cioè
2 lg(1+x) (x2+1) = 0 <=> 1+x = 1
x = 0
y > 0 x > -1
f1x = y (2x lg(1+x) + (x2+1)/(x+1)) = 0
f1y = (x2+1) lg(1+x) = 0 => x = 0
y < 0 x > -1
∇f(x,y) = (0,0) <=> (x,y) = (0,0)
Fr EE0 e ∃∇f (0,0) -> sella
E0 e ∄∇f (x,0) x > -1
-1 < x < 0
max
0 < x↓
min
Funzioni positivamente omogenee
Funzioni positivamente omogenee di grado alpha
f : A ---> IR
A ⊂ IR2
Si dice pos. omogenea di grado alpha se
f(kx, ky) = kalpha f(x,y) ∀ (x,y) ∈ A
∀ k > 0
(x,y) ∈ A allora (kx, ky) ∈ A ∀ k > 0
NO
Sia
alpha = 2
f(x,y) = ax2 + bxy + cy2
f(kx, ky) = k2 f(x,y)
alpha = 0
lg √(x/y) = lg √(kx/ky) = k0 f(x,y)
alpha = 1/2
f(x,y) = √(x+y) quando x+y ≥ 0
alpha = -2
f(x,y) = 1/(x2 + y2) IR2 \ {(0,0)}
Teorema di Eulero
Teorema (Eulero)
f e C1(A)
CNES affinché f sia pos. omogenea di grado a e che
x f1x(x,y) + y f1y(x,y) = a f(x,y)
forall (x,y) ∈ A.
dim.
Ip: f(Kx, Ky) = Ka f(x,y) forall K > 0
forall (x,y) ∈ A
Derivo rispetto a K.
f1x(Kx, Ky) x + f1y(Kx, Ky) y = a Ka-1 f(x,y)
Vero forall K > 0
Se K = 1
f1x(x,y) x + f1y(x,y) y = a f(x,y) → TESi.
⇐ Ip x f1x + y f1y = a f
TESi. f pos. omogenea di grado a
g(K) = f(Kx, Ky) · K-a
Voglio provare che g(K) = cost.
g e deriv.
g1(K) = {[f1x(Kx, Ky) · x + f1y(Kx, Ky) · y] K-a + a f(Kx, Ky) K-a-1}