Académique Documents
Professionnel Documents
Culture Documents
‚
˝
On la note Γf
lim f p~x q. ‚
~x Ñ~a
La limite peut ne pas exister, mais si elle existe elle est unique.
Fonctions continues
‚ La fonction f est continue en ~a P Df si
lim f p~x q “ f p~aq.
~x Ñ~a
Le graphe d’une
fonction continue
n’a pas de “sauts”!
continue
˝
˝
f px ` hq ´ f pxq
f 1 pxq :“ lim
hÑ0 h
si elle existe et est finie. Dans ce cas, f est dérivable en x.
La fonction f est dérivable sur D Ă Df si elle est dérivable en
tout point x P D.
Bf Bf
: Rn ÝÑ Rm : ~x ÞÝÑ p~x q pour i “ 1, ..., n
Bxi Bxi
Bf
définies sur l’ensemble de points ~x où les dérivées xq
Bxi p~ existent.
Fonctions (continûment) différentiables
‚ La fonction f est (continûment) différentiable sur D Ă Df , ou
de classe C 1 sur D, si toutes les dérivées partielles
Bf
: D Ă Rn ÝÑ Rm
Bxi
existent et sont des fonctions continues en tout point ~x P D.
continue
non continue non différentiable différentiable
Exemples de fonctions différentiables
Exemples –
‚ Pour f px, y q “ xy 2 ` 3x on a
Bf Bf
px, y q “ y 2 ` 3 et px, y q “ 2xy
Bx By
B~v f : D ÝÑ Rm
Bf Bf
~x ÞÝÑ B~v f p~x q “ v1 xq
Bx1 p~ ` ¨ ¨ ¨ ` vn xq
Bxn p~
Nota –
Dérivées partielles = dérivées directionnelles dans la
direction des vecteurs
~ei “ p0, ..., 1, ..., 0q,
où 1 est en ième position,
Bf
c’est-à-dire “ B~ei f .
Bxi
Exemples de dérivées directionnelles
Exemples – Cherchons la dérivée directionnelle des fonctions
suivantes, dans la direction d’un vecteur générique ~v .
‚ f px, y q “ xy 2 ` 3x
B~v f : R2 ÝÑ R
‚ hpr , ϕ, θq “ ϕ2 ` r sin θ
Bh Bf Bf
“ sin θ, “ 2ϕ et “ r cos θ,
Br Bϕ Bθ
qui vaut
B~v hpr , ϕ, θq “ sin θ u ` 2ϕ v ` r cos θ w .
Croissance et décroissance des fonctions réelles
et donc
B~v f p3, 1q “ 4 u ` 6 v
d’où
‚ Bp1,1q f p3, 1q “ 10 ñ f croissante en direction p1, 1q
‚ Bp1,2q f p3, 1q “ 16 ñ f croissante en direction p1, 2q
‚ Bp1,´1q f p3, 1q “ ´2 ñ f décroissante en dir. p1, ´1q
‚ Bp1,´2q f p3, 1q “ ´8 ñf décroissante en dir. p1, ´2q
Exercice
Énoncé (suite) – Parmi ces quatre directions, quelle est celle de
plus forte croissance et celle de plus forte décroissance ?
Directions croissantes –
? 10
‚ }p1, 1q} “ 2 ñ B ?1 p1,1q f p3, 1q
“?
2 2
? 16
‚ }p1, 2q} “ 5 ñ B ?1 p1,2q f p3, 1q “ ?
5 5
10 16
? 2 ?
Or ?2 ă ?5 car p10 5q “ 500 ă p16 2q2 “ 512.
Directions décroissantes –
? 2
‚ }p1, ´1q} “ 2 ñ B ?1 p1,´1q f p3, 1q “ ´?
2 2
? 8
‚ }p1, ´2q} “ 5 ñ B ?1 p1,´2q f p3, 1q “ ´?
5 5
On a ´ ?22 ą ´ ?85 car ceci se vérifie ssi ?22 ă ?8 ,
5
? ?
ce qui est vrai car p2 5q2 “ 20 ă p8 2q2 “ 128.
Ñ
Ý Ñ
Ý
Pour tout ~v P Rn on a alors B~v f “ x ∇f , ~v y “ ∇f ¨ ~v .
Exemples de gradient
Exemples –
ˆ ˙
Ñ
Ý y2 ` 3
‚ f px, y q “ xy 2 ` 3x ñ ∇f px, y q “
2xy
ˆ ˙ ˆ ˙
Ñ
Ý 3 Ñ
Ý 7
Par exemple: ∇f p0, 0q “ et ∇f p3, 2q “ .
0 12
y cospxy q ` x 22x
¨ ˛
`z 2
Ñ
Ý
∇f px, y , zq “ ˝ x cospxy q ‚.
2z
x 2 `z 2
¨ ˛
´π
Ñ
Ý
Par exemple: ∇f p0, π, 1q “ ˝ 0 ‚.
2
Interprétation géométrique du gradient
direction
croissante
B‚ f pxq : Rn ÝÑ Rm
Bf Bf
~v ÞÝÑ B~v f p~x q “ x q v1
Bx1 p~ ` ¨¨¨ ` x q vn
Bxn p~
Bf Bf
df~x p~v q “ p~x q v1 ` ¨ ¨ ¨ ` p~x q vn “ B~v f p~x q.
Bx1 Bxn
Différentielle en un point: cas particuliers
Cas particuliers –
‚ f pxq “ x 2 ´ x 5 ñ f :RÑR
ñ dfx : R ÝÑ R est donnée par dfx pv q “ p2x ´ 5x 4 q v .
‚ f px, y q “ x 2 y 3 ´ 7y ñ f : R2 Ñ R
ñ dfpx,y q : R2 ÝÑ R est donnée par
Par exemple:
y2
¨
˛ ¨ ˛ ¨ 2 ˛
2xy y u ` 2xy v
dfpx,y q pu, v q “ u ˝ 0 ‚` v ˝ 1 ‚ “ ˝ v ‚
2x ´2y 2x u ´ 2y v
ˆ ˙
xy 2 f : R3 Ñ R2
‚ f px, y , zq “ ñ
yz 3 dfpx,y ,zq : R3 Ñ R2
ˆ ˙ ˆ ˙ ˆ ˙
y2 2xy 0
dfpx,y ,zq pu, v , w q “ u `v `w
0 z3 3yz 2
ˆ ˙
y 2 u ` 2xy v
“
z 3 v ` 3yz 2 w
Applications linéaires élementaires
Remarque –
‚ Les n applications linéaires (pour i “ 1, ..., n)
D Ă Rn ! ÝÑ LpRn , Rm q
~x ÞÝÑ df~x
Bf Bf
df~x “ p~x q dx1 ` ¨ ¨ ¨ ` p~x q dxn .
Bx1 Bxn
Bf Bf
df “ dx1 ` ¨ ¨ ¨ ` dxn .
Bx1 Bxn
Exemples: écriture usuelle des différentielles
Exemples –
‚ f px, y , zq “ x 2 y 3 z ´ 7yz 2 ñ
Réponse –
! 1 1)
1) D “ px, y q P R2 | y ą x 2 ´
5 5
portion du plan au-dessus de la parabole d’éq.
1 1
y “ x2 ´
5 5
Exercice (suite)
2) Pour tout px, y q P D, on a
Bf Bf
dfpx,y q “ Bx px, y q dx ` By px, y q dy
´2x 5
“ 2
dx ` dy
1 ´ x ` 5y 1 ´ x 2 ` 5y
3) Ainsi
´4 5 4 5
dfp2,0q “ dx ` dy “ dx ´ dy
1´4 1´4 3 3
et
Bf 4
dfp2,0q p~ı q “ Bx p2, 0q “ 3
dfp2,0q p~ q “ Bf
By p2, 0q “ ´ 35
4 5
dfp2,0q p~v q “ dfp2,0q p1, 1q “ 3 ´ 3 “ ´ 13
4
dfp2,0q p~u q “ dfp2,0q p3, ´3q “ 3 3 ´ 53 p´3q “ 4 ` 5 “ 9
Exercice : dx, dy , dz, dρ, dϕ, dr et dθ
et $
& x “ r cos ϕ sin θ r Ps0, 8r
y “ r sin ϕ sin θ ϕ P r0, 2πr
z “ r cos θ θ Ps0, πr
%
Exercice (suite)
Montrer que
$
’
’ dx “ cos ϕ dρ ´ ρ sin ϕ dϕ
’
’
&
iq dy “ sin ϕ dρ ` ρ cos ϕ dϕ
’
’
’
’
%
dz “ dz
$
’
’ dρ “ cos ϕ dx ` sin ϕ dy
’
’
&
i 1q ρdϕ “ ´ sin ϕ dx ` cos ϕ dy
’
’
’
’
%
dz “ dz
Formules de passage cartésiennes ÐÑ cylindriques
Exercice (suite)
$
’
’ dx “ cos ϕ sin θ dr ´ r sin ϕ sin θ dϕ ` r cos ϕ cos θ dθ
’
’
&
iiq dy “ sin ϕ sin θ dr ` r cos ϕ sin θ dϕ ` r sin ϕ cos θ dθ
’
’
’
’
%
dz “ cos θ dr ´ r sin θ dθ
$
’
’ dr “ cos ϕ sin θ dx ` sin ϕ sin θ dy ` cos θ dz
’
’
&
ii 1 q r sin θ dϕ “ ´ sin ϕ dx ` cos ϕ dy
’
’
’
’
%
rdθ “ cos ϕ cos θ dx ` sin ϕ cos θ dy ` sin θ dz
$
’
’ dr “ sin θ dρ ` cos θ dz
’
’
&
piiiq dϕ “ dϕ
’
’
’
’
%
rdθ “ cos θ dρ ´ sin θ dz
$
’ dρ “ sin θ dr ` cos θ dθ
’
’
’
&
1
piii q dϕ “ dϕ
’
’
’
’
%
dz “ r cos θ dr ´ r sin θ dθ
dx “ Bx Bx Bx
Bρ dρ ` Bϕ dϕ ` Bz dz
“ cos ϕ dρ ´ ρ sin ϕ dϕ
dy “ By By By
Bρ dρ ` Bϕ dϕ ` Bz dz
“ sin ϕ dρ ` cos ϕ dϕ
dz “ Bz
Bρ dρ `
Bz
Bϕ dϕ ` Bz
Bz dz
“ dz
Exemples –
‚ Si f : R2 ÝÑ R, px, y q ÞÑ f px, y q “ x 2 y ,
on a
ˆ ˙
Bf px, y q Bf px, y q ´ ¯
Jf px, y q “ “ 2xy x 2 P M12 pRq
Bx By
‚ Si g : R ÝÑ R, z ÞÑ g pzq “ sin z,
on a ´ ¯ ´ ¯
Jg pzq “ g 1 pzq “ cos z P M11 pRq
et
Jac g pzq “ g 1 pzq “ cos z P R
Exemples: Jacobien des changements de variables
¨ ˛
cos ϕ sin θ ´r sin ϕ sin θ r cos ϕ cos θ
Jh pr , ϕ, θq “ ˝ sin ϕ sin θ r cos ϕ sin θ r sin ϕ cos θ ‚
cos θ 0 ´r sin θ
´ ¯
Jac h “ cos θ ´ r 2 sin2 ϕ sin θ cos θ ´ r 2 cos2 ϕ sin θ cos θ
´ ¯
´ r sin θ r cos2 ϕ sin2 θ ` r sin2 ϕ sin2 θ
“ ´r 2 sin θ cos2 θ ´ r 2 sin3 θ
“ ´r 2 sin θ
Exercice
Énoncé – Calculer le gradient, la différentielle et la matrice
jacobienne de la fonction f : R3 ÝÑ R donnée par
f px, y , zq “ z sinpxy q.
Réponse – On a
¨ ˛
yz cospxy q
Ñ
Ý
∇f px, y , zq “ ˝ xz cospxy q ‚
sinpxy q
´ ¯
Jf px, y , zq “ yz cospxy q xz cospxy q sinpxy q
Exercice
ˆ ˙
z cos x 0 sin x
Jf px, y , zq “
0 z cos y sin y
2.7 – Resumé sur les dérivées
‚ différentielle df : D ÝÑ LpRn , Rq
= fonction à valeur df “ Bf
dx1 ` ¨ ¨ ¨ ` Bf
dxn
Bx1 Bxn
applications linéaires
‚ Jacobienne Jf : D ÝÑ M1n pRq
= fonction à valeur
´ ¯
Bf Bf
Jf “ Bx ¨ ¨ ¨ Bxn
matrices ligne 1
Resumé: dérivées des fonctions vectorielles
Si f “ pf1 , ..., fm q : Rn ÝÑ Rm est fonction vectorielle diff. sur D:
‚ dérivées partielles Bf Bf
Bx1 , ..., Bxn: D ÝÑ Rm
= fonctions vectorielles Bf
´
Bf1 Bfm
¯
Bxi “ Bxi
, ..., Bxi
Bpf ` g q Bf Bg
‚ “ ` pour tout i “ 1, ..., n
Bxi Bxi Bxi
Ñ
Ý Ñ
Ý Ñ Ý
Par conséquent ∇pf `g q “ ∇f ` ∇g (si m “ 1),
dpf `g q “ df ` dg , Jf`g “ Jf ` Jg
Bpλ f q Bf
‚ “λ pour tout i “ 1, ..., n où λ P R
Bxi Bxi
Ñ
Ý Ñ
Ý
Par conséquent ∇pλ f q “ λ ∇f (si m “ 1),
dpλ f q “ λ df , J λ f “ λ Jf
Dérivées du produit de fonctions
Bpfg q Bf Bg
‚ “ g `f pour tout i “ 1, ..., n
Bxi Bxi Bxi
Ñ
Ý `Ñ
Ý ˘ `Ñ
Ý ˘
Par conséquent ∇pfg q “ ∇f g `f ∇g ,
` ˘ ` ˘
dpfg q “ df g `f dg ,
` ˘ ` ˘
Jfg “ Jf g `f Jg
Exemple : règle de Leibniz
dg
` ˘ ` ˘
d g ˝ f px,y q “ dz f px,y q dfpx,y q
dg
` ˘
Jg ˝f px,y q “ dz f px,y q Jf px,y q
Exercice: cas usuel 1
BF px,y q dg Bf 2xy
Bx
“ d z pf px,y qq Bx
px,y q “
f px,y q
BF px,y q dg Bf x 2 ´ 2y
By
“ d z pf px,y qq By
px,y q “
f px,y q
Cas usuels de fonctions composées
‚ Cas usuel 2 –
Si f : R2 ÝÑ R, px, y q ÞÑ f px, y q
` ˘
h : R2 ÝÑ R2 , pu, v q ÞÑ hpu, v q “ xpu, v q, y pu, v q
` ˘
f ˝ h : R2 ÝÑ R, pu, v q ÞÑ f xpu, v q, y pu, v q
on a
Bpf ˝ hq
$
Bf ` ˘ Bx Bf ` ˘ By
’
’ pu,v q “ hpu,v q pu,v q ` hpu,v q pu,v q
& Bu
’ Bx Bu By Bu
BG pu,v q Bf Bx Bf By
“ pv , uv 2 q pu,v q ` pv , uv 2 q pu,v q
Bv Bx Bv By Bv
“ 2v uv 2 ¨ 1 ` pv 2 ´ 2uv 2 q ¨ 2uv
“ 4uv 2 pv ´ uq
Cas usuels de fonctions composées
‚ Cas usuel 3 –
Si f : R2 ÝÑ R, px, y q ÞÑ f px, y q
` ˘
γ : R ÝÑ R2 , t ÞÑ γptq “ xptq, y ptq
` ˘
f ˝ γ : R ÝÑ R, t ÞÑ f xptq, y ptq
on a
` ˘
d f ˝ γ ptq Bf ` ˘ Bf ` ˘
“ γptq xptq
9 ` γptq y9 ptq
dt Bx By
` ˘
d f ˝ γ t “ dfγptq ˝ dγt
` ˘
Jf ˝γ ptq “ Jf γptq Jγ ptq
Exercice: cas usuel 3
Énoncé – Soit f : R2 ÝÑ R une fonction dont on connait
Bf px,y q Bf px,y q
Bx “ 2xy et By “ x 2 ´ 2y .
d Hptq
Pour Hptq “ f pt 2 , 3tq, calculer dt .
Réponse –
" Si on pose γptq “ pt 2 , 3tq “ px, y q,
x “t 2
c. à d. , on a H “ f ˝ γ et donc
y “ 3t
d Hptq d pf ˝γqptq
dt “ dt
Bf 2 Bf 2
“ pt , 3tq xptq
9 ` pt , 3tq y9 ptq
Bx By
“ 2t 2 3t ¨ 2t ` pt 4 ´ 6tq ¨ 3
“ 24t 4 ´ 18t
Exercice
Énoncé – Soit f : R2 ÝÑ R la fonction f px, y q “ xy 2 .
?
1) Soit g : R ÝÑ R une fonction telle que g 1 pzq “ z.
Bg pxy 2 q Bg pxy 2 q
Calculer et .
Bx By
Bg pxy 2 q Bpxy 2 q
“ g 1 pxy 2 q
Bx Bx
a
“ xy y 2 2
Bg pxy 2 q Bpxy 2 q
“ g 1 pxy 2 q
By By
a
2 2
“ xy px ´ 2xy q
Exercice (suite) ` ˘
2) Soit px, y q “ hpu, v q “ xpu,v q, y pu,v q un changement de
variables dont on connait la matrice Jacobienne
˜ ¸ ˆ
Bx Bx ˙
Bu Bv 0 1
Jh pu,v q “ “ ,
By By v 2 2uv
Bu Bv
B f˜ B f˜
et soit f˜ “ f ˝ h. Calculer pu,v q et pu,v q.
Bu Bv
Réponse – On applique la règle de la chaı̂ne:
B f˜ Bf Bx Bf By
pu,v q “ phpu,v qq pu,v q ` phpu,v qq pu,v q
Bu Bx Bu By Bu
“ y pu,v q2 ¨ 0 ` 2xpu,v qy pu,v q v 2
B f˜ Bf Bx Bf By
pu,v q “ phpu,v qq pu,v q ` phpu,v qq pu,v q
Bv Bx Bv By Bv
“ y pu,v q2 ¨ 1 ` 2xpu,v qy pu,v q 2uv
Exercice (suite)
Réponse (suite)–
on a
Jf˜ pu,v q “ Jf phpu,v qq ¨ Jh pu,v q
ˆ ˙
` 2
˘ 0 1
“ y pu,v q 2xpu,v qy pu,v q ¨
v 2 2uv
` ˘
“ y 2 ¨ 0 ` 2xy ¨ v 2 y 2 ¨ 1 ` 2xy ¨ 2uv
` ˘
“ 2v 2 xpu,v qy pu,v q y pu,v q2 ` 4uv xpu,v qy pu,v q
Exercice (suite)
d f pxptq, y ptqq Bf ` ˘ Bf ` ˘
“ xptq, y ptq xptq
9 ` xptq, y ptq y9 ptq
dt Bx By
“ y ptq2 xptq
9 ` 2 xptqy ptqq y9 ptq
Exercice : transformation des dérivées partielles
avec $
" & r Ps0, 8r
ρ Ps0, 8r
et ϕ P r0, 2πr
ϕ P r0, 2πr
θ Ps0, πr
%
! ) ! )
B B B B B B
Montrer que les derivées partielles Bx , By , Bz , Bρ , Bϕ , Bz et
! )
B B B
Br , Bϕ , Bθ satisfont aux formules suivantes :
Exercice (suite)
$
B B B
’
’ Bρ “ cos ϕ Bx ` sin ϕ By
’
&
piq 1 B B B
ρ Bϕ “ ´ sin ϕ Bx ` cos ϕ By
’
’
’
% B B
Bz “ Bz
1 B
$ B B
’
’ Bx “ cos ϕ Bρ ´ sin ϕ ρ Bϕ
’
&
1 B
pi 1 q B
By “ sin ϕ B
Bρ ` cos ϕ ρ Bϕ
’
’
’
% B B
Bz “ Bz
Exercice (suite)
$ B B B B
’
’ Br “ cos ϕ sin θ Bx ` sin ϕ sin θ By ` cos θ Bz
’
&
1 B B B
piiq r sin θ Bϕ “ ´ sin ϕ Bx ` cos ϕ By
’
’
’ 1B B B B
“ cos ϕ cos θ ` sin ϕ cos θ ´ sin θ
%
r Bθ Bx By Bz
1 B 1B
$ B B
’
’ Bx “ cos ϕ sin θ Br ´ sin ϕ r sin θ Bϕ ` cos ϕ cos θ r Bθ
’
&
1 B 1B
pii 1 q B
By “ sin ϕ sin θ B
Br ` cos ϕ r sin θ Bϕ ` sin ϕ cos θ r Bθ
’
’
’
% B B 1B
Bz “ cos θ Br ´ sin θ r Bθ
Exercice (suite)
$ B B B
’
’ Br “ sin θ Bρ ` cos θ Bz
’
&
1 B 1 B
piiiq r sin θ Bϕ “ ρ Bϕ
’
’
’ 1 B B B
“ cos θ ´ sin θ
%
r Bθ Bρ Bz
1B
$ B B
’
’ Bρ “ sin θ Br ` cos θ r Bθ
’
&
1 B 1 B
piii 1 q ρ Bϕ “ r sin θ Bϕ
’
’
’
% B B 1B
Bz “ cos θ Br ´ sin θ r Bθ
Exercice (suite)
Réponse – Montrons piq. Pour cela on applique la règle de la
chaı̂ne à la composée f˜ “ f ˝ h où px, y , zq “ hpρ, ϕ, zq est le
changement de variables des coordonnées cylindriques en
coordonnées cartésiennes. On a alors:
B f˜ Bf Bx Bf By Bf Bz
Bρ “ Bx Bρ ` By Bρ ` Bz Bρ
Bf Bf
“ cos ϕ Bx ` sin ϕ By
B f˜ Bf Bx Bf By Bf Bz
Bϕ “ Bx Bϕ ` By Bϕ ` Bz Bϕ
Bf Bf
“ ´r sin ϕ Bx ` r cos ϕ By
B f˜ Bf Bx Bf By Bf Bz
Bz “ Bx Bz ` By Bz ` Bz Bz
Bf
“ Bz
B f˜ Bf Bx Bf By Bf Bz
Bθ “ Bx Bθ ` By Bθ ` Bz Bθ
Bf Bf Bf
“ r cos ϕ cos θ Bx ` r sin ϕ cos θ By ´ r sin θ Bz
Bk f B Bf
“ ¨¨¨ .
Bxi1 ¨ ¨ ¨ Bxik Bxi1 Bxik
f2
Théorème – Si les dérivées secondes BxBi Bxj
existent et sont
continue en un point ~x , pour tout i, j “ 1, ..., n, alors
B2f B2f
p~x q “ p~x q pour tout i ‰ j.
Bxi Bxj Bxj Bxi
Exemple – f px, y q “ x 3 y 2
$
Bf
’
’ px, y q “ 3x 2 y 2
& Bx
’
’ Bf
px, y q “ 2x 3 y
’
’
%
By
$ 2
B f B2f
px, y q “ 6xy 2 px, y q “ 6x 2 y
’
’
& Bx 2
’
’ BxBy
B2f B2f
’
’
px, y q “ 6x 2 y px, y q “ 2x 3
’
’
%
By Bx By 2
L’on constate que les dérivées partielles sont continues (donc f est
de classe C 2 ) et que les dérivées mixtes sont identiques.
Exercice
Énoncé – Soient F , G : R ÝÑ R de classe C 2 et soit c P R˚ .
Montrer que le fonction upx, tq “ F px ´ ctq ` G px ` ctq est
solution de l’équation des ondes
1 B2u B2u
px, tq ´ px, tq “ 0 pour tout px, tq P R2 .
c 2 Bt 2 Bx 2
d’où
B2 u Bpx´ctq Bpx`ctq
Bx 2
px, tq “ F 2 px ´ ctq Bx ` G 2 px ` ctq Bx
“ F 2 px ´ ctq ` G 2 px ` ctq,
B2 u Bpx´ctq Bpx`ctq
Bt 2
px, tq “ ´c F 1 px ´ ctq Bt ` c G 1 px ` ctq Bt
“ p´cq2 F 2 px ´ ctq ` c 2 G 2 px ` ctq.
Ainsi
1 B2u B2u
px, tq ´ px, tq “ 0.
c 2 Bt 2 Bx 2
Matrice Hessienne
Définition – Soit f : Rn ÝÑ R de classe C 2 en ~x .
B2 f B2 f B2 f
¨ ˛
Bx1 2
p~x q xq
Bx1 Bx2 p~ ¨¨¨ xq
Bx1 Bxn p~
˚ ‹
˚ ‹
˚ B2 f B2 f B2 f ‹
Hf p~x q “ ˚ xq
Bx2 Bx1 p~ Bx2 2
p~x q ¨¨¨ Bx2 Bxn p~ xq ‹
.. .. ..
˚ ‹
˚ ‹
˝ . . ¨¨¨ . ‚
B2 f B2 f B2 f
xq
Bxn Bx1 p~ xq
Bxn Bx2 p~ ¨¨¨ Bxn 2
p~x q
puis ¨ ˛
0 cos y 0
Hg px, y , zq “ ˝ cos y ´x sin y cos z ‚
0 cos z ´y sin z
d’où
´ ¯
det Hg px, y , zq “ ´ cos y ´ y cos y sin z ´ 0
“ y cos2 y sin z
Exercice
Énoncé – Montrer que le Hessien de la fonction
f px, y q “ sinpx ´ y q
Réponse – On a
ˆ ˙
Ñ
Ý cospx ´ y q
∇f px, y q “
´ cospx ´ y q
puis ˆ ˙
´ sinpx ´ y q sinpx ´ y q
Hf px, y q “
sinpx ´ y q ´ sinpx ´ y q
d’où
` ˘2 ` ˘2
det Hf px, y q “ ´ sinpx ´ y q ´ sinpx ´ y q “ 0
Laplacien
h2
µpf , C q “ f pa, bq ` ∆f pa, bq ` Oph4 q
24
ij
1
N.B. Moyenne au Ch.3: µpf , C q “ 2 f px, y q dx dy .
h
C
Réponse – On a
ˆ ˙
Ñ
Ý 2x
∇upx, tq “
´2c 2 t
puis ˆ ˙
2 0
Hu px, tq “ .
0 ´2c 2
Par conséquent
∆upx, tq “ 2 ´ 2c 2 ,
donc ∆upx, tq “ 0 si et seulement si c “ ˘1.
Exercice
Énoncé – Soient
a f : R ÝÑ R une fonction de classe C 2 et
F px, y q “ f p x ` y 2 q.
2
et de la même façon
B 2 F px,y q y2 2
x?
“ f 2 p x 2 `y 2 q ` f 1 p x 2 `y 2 q
a a
By 2 x 2 `y 2
.
px 2 `y 2 q x 2 `y 2
Exercice (suite)
On a donc
B 2 F px,y q B 2 F px,y q
∆F px, y q “ Bx 2
` By 2
x 2 `y 2 x 2 `y 2
“ f 2 p x 2 `y 2 q ` f 1 p x 2 `y 2 q
a a
?
x 2 `y 2 px 2 `y 2 q x 2 `y 2
1
“ f 2 p x 2 `y 2 q ` f 1 p x 2 `y 2 q ?
a a
.
x 2 `y 2
Énoncé (suite) –
a
2) Trouver les fonctions f telles que ∆F px, y q “ x 2 `y 2 .
1 λ1 pr q
(E2) gp1 pr q ` gp pr q “ r ô “r ô λ1 pr q “ r 2
r r
r3 r2
On peut choisir λpr q “ 3, d’où gp pr q “ 3.
λ r2
‚ On a donc g pr q “ g0 pr q`gp pr q “ r ` 3 pour tout λ P R.
λ r2 r3
(E1) f 1 pr q “ ` ô f pr q “ λ lnpr q ` `µ
r 3 9
pour tout λ, µ P R.
2.10 – Taylor
Bf pa,bq Bf pa,bq
f px, y q “ f pa, bq ` Bx px ´aq ` By py ´bq
2 f pa,bq 2f pa,bq 1 B 2 f pa,bq
` 21 B Bx 2
px ´aq2 ` B BxBy px ´aqpy ´bq ` 2 By 2 py ´bq
2
` ˘
`o ||px ´a, y ´bq||2
où ophq est une fonction qui tend vers zéro plus vite de h Ñ 0.
Écritures alternatives:
ˆ ˙
x ´a
terme à l’ordre 1 “ dfpa,bq px ´a, y ´bq “ Jf pa, bq ,
y ´b
ˆ ˙
´ ¯ x ´a
terme à l’ordre 2 “ 21 x ´a y ´b Hf pa, bq .
y ´b
Exemple
x ´1
Exemple – Soit f px, y q “ et pa, bq “ p0, 0q.
y ´1
On calcule f p0, 0q “ 1, puis
ˆ ˙
1 x ´1 ´ ¯
Jf px, y q “ ´ d’où Jf p0, 0q “ ´1 1 .
y ´1 py ´ 1q2
Enfin ¨ 1 ˛
0 ´ 2
˚ py ´ 1q ‹
Hf px, y q “ ˚
˚ ‹
‹
˝ 1 2px ´ 1q ‚
´
py ´ 1q2 py ´ 1q3
d’où ˆ ˙
0 ´1
Hf p0, 0q “
´1 2
x ´1 ` ˘
Ainsi: “ 1 ´ x ` y ´ xy ` y 2 ` o ||px, y q||2 .
y ´1
Exercice
Quelle est l’erreure relative induite par cette mesure sur la valeur
PpV0 , T0 q de la pression?
Exercice (suite) ˇ ˇ
Réponse – On cherche une borne supérieur pour ˇ P´P
P0 ˇ, où
0ˇ
ˇ
P “ PpT , V q et P0 “ PpT0 , V0 q.
On a alors
P ´P0 T ´T0 T0 pV ´V0 q T ´T0 V ´V0
» nR ´ nR “ ´
P0 V0 nR T
V0
0
V0
2 nR T0
V0
T0 V0
d’où suit
ˇ ˇ ˇ ˇ ˇ ˇ
ˇ P ´P0 ˇ ˇ T ´T0 ˇ ˇ V ´V0 ˇ
ˇ P0 ˇ ˇ T0 ˇ ˇ V0 ˇ ă 0.005 % ` 0.002 % “ 0.007 %.
ˇ ˇďˇ ˇ`ˇ ˇ
2.11 – Extrema locaux
a a a
minimum local maximum local point d’inflexion
‚ pa, bq ‚ pa, bq
minimum local maximum local
Points critiques et critère pour extrema
Si f : R2 ÝÑ R est de classe C 2 en pa, bq, le signe de ses dérivées en
pa, bq permet de trouver les extrema locaux.
Définition – On dit que pa, bq est un point critique de f si
ˆ ˙
Ñ
Ý 0
∇f pa, bq “
0
B2 f B2 f
‚ c’est un maximum local si Bx 2
pa, bq ă 0 ou By 2
pa, bq ă 0
Exemple de minimum local
Exemple – Montrons que la fonction
f px, y q “ x 2 ` y 2
a exactement un minimum local en p0, 0q.
Graphe de f px, y q “ x 2 ` y 2
Points selle
En un point critique, la fonction f a un plan tangent horizontale. Si le
point n’est pas un extremum local, quelle est la forme de f ?
‚ pa, bq
point selle
f px, y q “ x 2 ´ y 2
Graphe de f px, y q “ x 2 ´ y 2
Points plats
Définition – Soit f : R2 ÝÑ R une fonction C 2 et soit pa, bq un
point critique de f . Par exclusion, on dit que pa, bq est un point
plat si
det Hf pa, bq “ 0
‚ ‚ ‚
point plat point plat point plat
de type cylindre de type selle de type selle de singe
f px, y q “ 4px 2 ` y 2 q ´ px 2 ` y 2 q2