Vous êtes sur la page 1sur 19

Calcul diffrentiel

Essaidi Ali
17 mars 2016

1
1.1

Applications diffrentiables :
Diffrentielle dune application :

Proposition et dfinition 1.1 Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F
et a U .
On dit que f est diffrentiable en a si u L (E, F ) telle que a + h U, f (a + h) = f (a) + u(h) + o(khk).
Dans ce cas, lapplication u est unique, on lappelle la diffrentielle de f en a ou lapplication linaire tangente f en
a et on la note df (a) ou dfa ou Df (a).
U L (E, F )
On dit que f est diffrentiable sur U si f est diffrentiable en tout point de U . Dans ce cas, lapplication
x 7 df (x)
sappelle la diffrentielle de f sur U et on la note df .
Remarques : Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F et a U .
f est diffrentiable en a si, et seulement si, f admet un DL1 (a). Dans ce cas, a+h U, f (a+h) = f (a)+df (a)(h)+
o(khk), df (a)(h) se note aussi df (a).h.
Si f est diffrentiable en a alors f est continue en a.
La diffrentiabilit et la diffrentielle de f en a ne dpendent pas des normes choisies sur E et F .
Si f est diffrentiable en a alors df (a) est Lipschitzienne sur E. En particulier continue sur E.
Proposition 1.1 Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E et f : U F .
Si f est constante sur U alors f est diffrentiable sur U et on a df = 0 (i.e a U, df (a) = 0).
Si f est la restriction, sur U , dune application linaire g alors f est diffrentiable sur U et on a a U, df (a) = g (i.e
a U, h E, df (a)(h) = g(h)).
Exemples :
Soit E un R-espace vectoriel norm de dimension finie. Lapplication f : u L(E) 7 tru est linaire sur L(E) donc
diffrentiable sur L(E) et on a df = f . Autrement dit, u, h L(E), df (u)(h) = f (h) = tr(h).
Lapplication f : M Mn (R) 7 tM est linaire sur Mn (R) donc diffrentiable sur Mn (R) et on a M, H
Mn (R), df (M )(H) = f (H) = tH.
Lapplication f : (x, y) R2 7 (2x+3y, 5x7y) est linaire sur R2 donc diffrentiable sur R2 et on a (x, y), (h, k)
R2 , df (x, y)(h, k) = f (h, k) = (2h + 3k, 5h 7k).
Proposition 1.2
Soit E, F, G trois R-espaces vectoriels norms de dimensions finies, U un ouvert de E F et f : U
G.
Si f est la restriction, sur U , dune application bilinaire g alors f est diffrentiable sur U et on a (a, b) U, (h, k)
E F, df (a, b)(h, k) = g(a, k) + g(h, b).
Gnralement, Soit E1 , . . . , En , F des R-espaces vectoriels norms de dimensions finies, U un ouvert de E1 En
et f : U F .
Si f est la restriction, sur U , dune application multilinaire g alors f est diffrentiable sur U et on a (a1 , . . . , an )
U, (h1 , . . . , hn ) E1 En :
df (a1 , . . . , an )(h1 , . . . , hn ) = g(h1 , a2 , . . . , an ) + g(a1 , h2 , a3 , . . . , an ) + + g(a1 , . . . , an1 , hn )
Exemples :
Lapplication f : (x, y) R2 7 xy est bilinaire sur R2 donc diffrentiable sur R2 et on a (x, y), (h, k)
R2 , df (x, y)(h, k) = f (h, y) + f (x, k) = hy + xk.
Soit E un espace euclidien. Lapplication f : (x, y) E 2 7 hx, yi est bilinaire sur E donc diffrentiable sur E et on
a x, y, k, h E, df (x, y)(h, k) = f (h, y) + f (x, k) = hh, yi + hx, ki.

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Lapplication f : (A, B, C) (Mn (R))3 7 ABC est multilinaire sur (Mn (R))3 donc diffrentiable sur (Mn (R))3
et on a A, B, C, H, K, L (Mn (R))3 , df (A, B, C)(H, K, L) = f (H, B, C) + f (A, K, C) + f (A, B, L) = HBC +
AKC + ABL.
Proposition 1.3 Soit E, F1 , . . . , Fn des R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F1
Fn et a U . On pose f = (f1 , . . . , fn ).
f est diffrentiable en a si, et seulement si, f1 , . . . , fn sont diffrentiables en a. Dans ce cas, df (a) = (df1 (a), . . . , dfn (a)).
Exemple : Soit f : R2 R3 dfinie par f (x, y) = (x + y, 2x + 3y, xy).
Les composantes f1 (x, y) = x + y, f2 (x, y) = 2x + 3y et f3 (x, y) = xy de f sont diffrentiables sur R2 car f1 , f2 sont linaires
et f3 bilinaire donc f est diffrentiable sur R2 et on a (x, y), (h, k) R2 :
df (x, y)(h, k) = (df1 (x, y)(h, k), df2 (x, y)(h, k), df3 (x, y)(h, k)) = (h + k, 2h + 3k, xk + hy)
Proposition 1.4 Soit E un R-espace vectoriel norm de dimensions finies, I un intervalle ouvert de R, f : I F et a I.
f est diffrentiable en a si, et seulement si, f est drivable en a. Dans ce cas, t R, df (a)(t) = tf 0 (a). En particulier,
df (a)(1) = f 0 (a).
Dmonstration :
) On f diffrentiable en a donc a + t I, f (a + t) = f (a) + df (a)(t) + o(t) = f (a) + tdf (a)(1) + o(t) do f est
drivable en a et on a f 0 (a) = df (a)(1).
) On f drivable en a donc a + t I, f (a + t) = f (a) + tf 0 (a) + o(t), or t 7 tf 0 (a) est linaire de R vers E donc f
est diffrentiable en a et on a t R, df (a)(t) = tf 0 (a).
Exemples :
Lapplication f : t R 7 t2 est drivable sur R donc diffrentiable sur R et on a t, h R, df (t)(h) = hf 0 (t) = 2ht.
Lapplication f : t ]0, +[7 ln(t) est drivable sur ]0, +[ donc diffrentiable sur ]0, +[ et on a t ]0, +[, h
R, df (t)(h) = hf 0 (t) = ht .
Soit A Mn (R). Lapplication f : t R 7 exp(tA) est drivable sur R donc diffrentiable sur R et on a t, h
R, df (t)(h) = hf 0 (t) = hA exp(tA).

1.2

Drives directionnelles :

Dfinition 1.1 Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F , a U et
h E \ {0}.
f (a + th) f (a)
existe.
On dit que f admet une drive en a suivant le vecteur h ou drivable en a suivant le vecteur h si lim
t0
t
Dans ce cas, cette limite sappelle la drive de f en a suivant h et on la note Dh f (a).
Proposition 1.5 Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F , a U et
h E \ {0}.
Lapplication (t) = f (a + th) est dfinie au voisinage de 0.
f est drivable en a suivant h si et seulement si est drivable en 0. Dans ce cas, Dh f (a) = 0 (0).
Dmonstration :

On a a U et U ouvert donc > 0, B(a, ) U . Soit = khk


, on a t ] , [, k(a + th) ak = |t|khk <
khk = donc a + th U donc (t) = f (a + th) est dfini do est dfinie sur ] , [.
(a)
= f (a+th)f
donc f est drivable en a suivant h si, et seulement si, la limite
On a, t ] , [, (t)(0)
t
t
f (a + th) f (a)
(t) (0)
lim
existe, si, et seulement si, la limite lim
existe, si, et seulement si, est drivable en
t0
t0
t
t
0.
f (a + th) f (a)
(t) (0)
Dans ce cas, Dh f (a) = lim
= lim
= 0 (0).
t0
t0
t
t
Remarque : Cette proposition est pratique pour calculer les drives directionnelles.
Exemples :
Drive de lapplication f : (x, y) R2 7 xy en (2, 1) suivant le vecteur (1, 2) : On pose (t) = f ((2, 1) + t(1, 2)) =
f (2 + t, 1 + 2t) = (2 + t)(1 + 2t) donc, au voisinage de 0, 0 (t) = (1 + 2t) + 2(2 + t) do 0 (0) = 1 + 4 = 5.
On dduit que f est drivable en (2, 1) suivant (1, 2) et on a D(1,2) f (2, 1) = 0 (0) = 5.
xy
Drive de lapplication f : (x, y) R2 7 x+y
en (1, 1) suivant le vecteur (1, 2) : On pose (t) = f ((1, 1)+t(1, 2)) =
((1 + 2t) + 2(1 + t))(2 + 3t) + 3(1 + t)(1 + 2t)
f (1 + t, 1 + 2t) = (1+t)(1+2t)
donc, au voisinage de 0, 0 (t) =
do
2+3t
(2 + 3t)2
0 (0) = 2(1+2)+3
= 0 (0) = 94 .
4
On dduit que f est drivable en (1, 1) suivant (1, 2) et on a D(1,2) f (1, 1) = 94 .
www.mathlaayoune.webs.com

2/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Drive de lapplication f : (x, y, z) R3 7 xy + yz + zx en (1, 1, 1) suivant le vecteur (1, 2, 3) : On pose (t) =


f ((1, 1, 1) + t(1, 2, 3)) = f (1 + t, 1 + 2t, 1 + 3t) = (1 + t)(1 + 2t) + (1 + 2t)(1 + 3t) + (1 + t)(1 + 3t) donc, au voisinage
de 0, 0 (t) = (1 + 2t) + 2(1 + t) + 2(1 + 3t) + 3(1 + 2t) + (1 + 3t) + 3(1 + t) do 0 (0) = 1 + 2 + 2 + 3 + 1 + 3 = 12.
On dduit que f est drivable en (1, 1, 1) suivant (1, 2, 3) et on a D(1,2,3) f (1, 1, 1) = 0 (0) = 12.
Drive de lapplication f : M Mn (R) 7 exp(M ) en 0 suivant la matrice H Mn (R) \ {0} : On pose (t) =
f (A + tH) = exp(tH) donc, au voisinage de 0, 0 (t) = H exp(tH) do 0 (0) = H.
On dduit que f est drivable en 0 suivant H et on a DH f (0) = 0 (0) = H.
Drive de lapplication f : M Mn (R) 7 det(M ) en In suivant la matrice E11 + E22 : On pose (t) = f (In +
t(E11 + E22 )) = det(In + tE11 + tE22 ) = det diag(1, (1 + t), (1 + t), 1, , 1) = (1 + t)2 donc, au voisinage de 0,
0 (t) = 2(1 + t) do 0 (0) = 2.
On dduit que f est drivable en In suivant E11 + E22 et on a DE11 +E22 f (In ) = 0 (0) = 2.
Soit p N . Drive de lapplication f : M Mn (R) 7 M p en A Mn (R) suivant la matrice In : On pose
p
p
X
X
kCpk tk1 Apk do
Cpk tk Apk donc, au voisinage de 0, 0 (t) =
(t) = f (A + tIn ) = (A + tIn )p =
k=1

k=0

0 (0) = kAk1 .
On dduit que f est drivable en A suivant In et on a DIn f (A) = 0 (0) = kAk1 .
Remarque : Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F et a U .
Si f est drivable en a suivant tout vecteur non nul de E alors f nest pas forcment continue en a. En particulier, si f est
drivable en a suivant tout vecteur non nul
E alors f nest pas forcment diffrentiable en a.
yde
3
si x 6= 0
x
et (h, k) R2 \ {(0, 0)} : On pose (t) = f ((0, 0) + t(h, k)) =
Exemple : Soit la fonction f (x, y) =
0
si x = 0
f (th, tk)) :
Si h = 0 alors (t) = 0 donc 0 (0) = 0 do f est drivable en (0, 0) suivant (h, k) et on a D(h,k) f (0, 0) = 0.
3
Si h 6= 0 alors t R, (t) = t2 kh donc 0 (0) = 0 do f est drivable en (0, 0) suivant (h, k) et on a D(h,k) f (0, 0) =
0.
On dduit que f est drivable en (0, 0) suivant tout vecteur non nul, ce pendant, f nest pas continue en (0, 0) car t
3
R , f (t3 , t) = tt3 = 1 1 6= 0 = f (0, 0).
t0

Proposition 1.6 Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F et a U .
Si f est diffrentiable en a alors f est drivable en a suivant tout vecteur non nul de E et on a h E \ {0}, Dh f (a) =
df (a)(h).
Dmonstration :
Soit h E \ {0} donc lapplication (t) = f (a + th) est dfinie au voisinage de 0.
On a f diffrentiable en a donc (t) = f (a + th) = f (a) + df (a)(th) + o(t) = (0) + tdf (a)(h) + o(t) donc est drivable
en 0 et on a 0 (0) = df (a)(h).
On dduit que f est drivable en a suivant h et on a Dh f (a) = df (a)(h).
Remarque : Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert de E, f : U F et a U .
Sil existe un vecteur non nul h de E tel(que f ne soit pas drivable en a suivant h alors f nest pas pas diffrentiable en a.
|x|y 2
si (x, y) 6= (0, 0)
2
2
Exemple : Soit lapplication f (x, y) = x +y
.
0
sinon
On pose t R , (t) = f ((0, 0) + t(1, 1)) = f (t, t) = |t|
2 donc nest pas drivable en 0 donc f nest pas drivable en (0, 0)
suivant (1, 1) do f nest pas diffrentiable en (0, 0).
Remarque : Soit E, F deux R-espaces vectoriels norms de dimensions finies, U un ouvert
de E, f : U F et a U .
Dh f (a) si h 6= 0
On suppose que f est drivable en a suivant tout vecteur non nul. Si lapplication h 7
nest pas linaire
0
si h = 0
sur E alors f nest pas diffrentiable en a.
xy2
si (x, y) 6= (0, 0)
2
2
Exemple : Soit lapplication f (x, y) = x +y
et (h, k) 6= (0, 0).
0
sinon
2

0
On pose (t) = f (th, tk) donc (t) = t h2hk
+k2 = tf (h, k) do (0) = f (h, k). On dduit que f est drivable en (0, 0)
suivant (h, k) et on a D(h,k) f (0, 0) = f (h, k).
Or lapplication f nest pas linaire donc f nest pas diffrentiable en (0, 0).
Remarque : Soit E, F deux R-espaces vectoriels norms de dimensions finies,
U un ouvert de E, f : U F et a U .

Dh f (a) si h 6= 0
Si f est drivable en a suivant tout vecteur non nul et lapplication h 7
est linaire sur E alors f nest
0
si h = 0
pas forcment diffrentiable en a.

www.mathlaayoune.webs.com

3/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

2
2 3

y(x + y ) 2
Exemple : Soit lapplication f (x, y) = (x2 + y 2 )2 + y 2

Essaidi Ali

si (x, y) 6= (0, 0)

et (h, k) 6= (0, 0).

sinon

y(x2 + y 2 ) 2
do 0 (0) = 0. On dduit que f est drivable en (0, 0) suivant
2
t2 (x2 + y 2 )2 +
y

D(h,k) f (0, 0) si (h, k) 6= (0, 0)


(h, k) et on a D(h,k) f (0, 0) = 0. Lapplication (h, k) 7
est alors linaire sur R2 car nulle
0
si (h, k) = (0, 0)
sur R2 .
2
Supposons que f est diffrentiable
(h, k) R \ {(0, 0)}, df (0, 0)(h, k) = D(h,k) f (0, 0) = 0 do f (h, k) =
en (0, 0) donc
f (0, 0) + df (0, 0)(h, k) + o h2 + k 2 = o h2 + k 2 .


2

)
t2 (t2 +t4 )
1+t2
1
Absurde, car f (t,t
= (t2 +t4 )2 +t4 = (1+t
2 )2 +1 2 6= 0.
t2 +t4
On pose (t) = f (th, tk) donc (t) = t|t|

1.3

Drives partielles :

Dfinition 1.2 Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles, BE = (e1 , . . . , en ) une base de
E, U un ouvert de E, f : U F et a U .
On appelle drives partielles de f en a les drives, si elles existent, de f en a suivant les vecteurs e1 , . . . , en .
Dans ce cas, si i {1, . . . , n}, la drive de f en a suivant ei sappelle la i-ime drive partielle de f en a. On la note :
f
(a).
Dei f (a) ou Di f (a) ou x
i
f
Si f est drivable suivant ei en tout x U alors lapplication x U 7 x
(x) sappelle la i-ime application drive partielle
i
f
de f sur U . On la note : Dei f ou Di f ou xi .
Remarque : Technique de calcul des drives partielles lorsque f (x) est exprim en fonction des coordonnes de x :
Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles, BE = (e1 , . . . , en ) une base de E, U un ouvert
de E, f : U F et a = a1 e1 + + an en U .
Pour tout i {1, . . . , n}, on pose gi (t) = f (a1 e1 + ai1 ei1 + tei + ai+1 ei+1 + + an en ).
f
La i-ime drive partielle de f en a existe si, et seulement si, gi est drivable en ai . Dans ce cas, x
(a) = gi0 (ai ).
i
Exemples :
Calcul des drives partielles de f : (x, y) R2 7 xy en (1, 2) :
0
On a g1 (x) = f (x, 2) = 2x donc f
x (1, 2) = g1 (1) = 2.
f
0
On a g2 (y) = f (1, y) = y donc y (1, 2) = g2 (2) = 1.
xy
Calcul des drives partielles de f : (x, y) R2 7 x2 +y
2 +1 en (0, 0) :
0
On a g1 (x) = f (x, 0) = 0 donc f
x (0, 0) = g1 (0) = 0.
f
0
On a g2 (y) = f (0, y) = 0 donc y (0, 0) = g2 (0) = 0.
Calcul des drives partielles de f : (x, y, z) R3 7 xy + yz

en (1, 1, 2) :

1
0
On a g1 (x) = f (x, 1, 2) = x 2 + =
2 donc f
x (1, 1, 2) = g1 (1) = 2 .
f
1
On a g2 (y) = f (1, y, 2) = 3y 2y
donc y (1, 1, 2) = g20 (1) = 3 + 21 = 27 .
1
3
0
On a g3 (z) = f (1, 1, z) = 1 z z1 donc f
z (1, 1, 2) = g3 (2) = 1 + 4 = 4 .
2
Calcul des drives partielles de f : a + bX + cX R2 [X] 7 a + ab + abc en P = X +
0
On a g1 (a) = f (a + X + 2X 2 ) = a + a + 2a = 4a donc f
a (P ) = g1 (a) = 4.
0
On a g2 (b) = f (bX + 2X 2 ) = 0 donc f
b (P ) = g2 (b) = 0.
f
2
0
On a g3 (c) = f (X + cX ) = 0 donc c (P ) = g3 (c) = 0.
x
2

x
yz

x2

2X 2 R2 [X] :

Remarque : Technique de calcul des drives partielles lorsque f (x) est exprim en fonction x :
Dans ce cas, on utilise la mme technique que dans le cas des drives directionnelles.
Exemples :
Calcul des drives partielles de f : P Rn [X] 7 P 3 en P Rn [X] :
Soit k {1, . . . , n} et on pose (t) = f (P + tX k ) = (P + tX k )3 donc (t) = P 3 + 3tX k P 2 + 3t2 X 2k P + t3 X 3k
do 0 (0) = 3X k P 2 .
f
0
k 2
On dduit que X
k (P ) = (0) = 3X P .

Soit p N . Calcul des drives partielles de f : M Mn (R) 7 M p en M Mn (R) :


Soit i, j {1, . . . , n} et on pose (t) = f (M + tEij ) = (M + tEij )p donc (t) = M p + t(Eij M p1 + M Eij M p2 +
M 2 Eij M p3 + + M p1 Eij ) + o(t) do 0 (0) = Eij M p1 + M Eij M p2 + M 2 Eij M p3 + + M p1 Eij .
f
On dduit que m
(M ) = 0 (0) = Eij M p1 + M Eij M p2 + M 2 Eij M p3 + + M p1 Eij .
ij
Proposition 1.7 Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles, BE = (e1 , . . . , en ) une base de
E, U un ouvert de E, f : U F et a U .
www.mathlaayoune.webs.com

4/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Si f est diffrentiable en a alors les drives partielles de f en a existent et on a h = h1 e1 + + hn en E, df (a)(h) =


n
X
f
Dh f (a) =
hi
(a).
x
i
i=1
Dmonstration :
On a f est diffrentiable et les drives partielles de f en a sont des drives directionnelles en a donc les drives partielles de
f en a existent.
Soit h = h1 e1 + + hn en E. On a df (a)(h) = df (a)(h1 e1 + + hn en ) = h1 df (a)(e1 ) + + hn df (a)en =
f
f
(a) + + hn
(a).
h1
x1
xn
Remarques :
La rciproque est fausse.
Si les drives partielles de f en aexistent alors les drives directionnelles de f en a nexistent pas forcment. En
xy
si (x, y) 6= (0, 0)
2
2
. On a t R, f (t, 0) = f (0, t) = 0 donc f
effet, soit lapplication f (x, y) = x +y
x (0, 0) =
0
sinon
= 0 mais (h, k) R2 avec hk 6= 0, f (th,tk)
= 1t f (h, k) nadmet pas de limite lorsque t 0 donc f nest
t
pas drivable en (0, 0) suivant (h, k).
Si les drives directionnelles de f en a existent alors si h = h1 e1 + + hn en E on na pas forcment Dh f (a) =
x2 y
n
X
f
si (x, y) 6= (0, 0)
2
2
f
. On a f
hi
(a). En effet, pour la fonction f (x, y) = x +y
x (0, 0) = y (0, 0) = 0 mais
x
0
sinon
i
i=1
(h, k) R2 avec hk 6= 0 on a D(h,k) f (0, 0) = f (h, k) 6= 0.
Si les drives partielles de f en a existent alors f est diffrentiable en a si, et seulement si, f (a + h) = f (a)
n
X
f
(a)hi + o(khk).
xi
i=1
x3 y
si (x, y) 6= (0, 0)
2
2
en (0, 0) :
Exemple : tude de la diffrentiabilit de f (x, y) = x +y
0
sinon
f
On a t R, f (t, 0) = f (0, t) = 0 donc f
x (0, 0) = y (0, 0) = 0 do f est diffrentiable en (0, 0) si, et seulement si,
f (x, y) = o((x, y)).

p
2
2
2
2
f (x,y)
x2 |xy|
|xy|
x +y
2 2 2(x +y
)|xy|
On a (x, y) 6= (0, 0), k(x,y)k
=
x2 + y 2

0 donc

=

2
2
2
2
2
2
2
2
2
2
f
y (0, 0)

(x +y )

x +y

(x +y )

x +y

x +y

x +y

(x,y)(0,0)

f (x, y) = o((x, y)) do f est diffrentiable en (0, 0) et on a df (0, 0) = 0.


Dfinition 1.3 Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles n et p respectivement, BE une base
de E, BF une base de F , U un ouvert de E, f : U F et a U .
Si f est diffrentiable en a alors on appelle matrice Jacobienne de f en a par rapport aux bases BE et BF la matrice de
lapplication linaire df (a) dans les bases BE et BF . On la note Jf (a) et on a Jf (a) = mat(df (a), BE , BF ).
Si n = p, le rel det Jf (a) sappelle le Jacobien de f en a et on le note Jacf (a).
Remarque : Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles n et p respectivement, BE =
(e1 , . . . , en ) une base de E, BF = (1 , . . . , p ) une base de F , U un ouvert de E, f : U F et a U .
On pose f = f1 1 + + fp p . Si f est diffrentiable en a alors :

f1
f1
f1

x1 (a)
x2 (a)
xn (a)
fi
..
..
..
Jf (a) = matBF (df (a)(e1 ), . . . , df (a)(en )) =
=
(a)
.
.
.
1ip
xj
fp
fp
fp
1jn
(a)
(a)

(a)
x1
x2
xn
Exemples :
La matrice Jacobienne de f : (x, y) R2 7 (2x + 3y, 6x 7y) : On a f1 (x, y) = 2x + 3y et f2 (x, y) = 6x 7y donc :
!
f1
f1

x (x, y)
y (x, y)
2 3
2
(x, y) R , Jf (x, y) = f
=
2
6 7
(x, y) f2 (x, y)
x

2
On peut aussi remarquer que f est linaire donc (x, y) R , df (x, y) = f do (x, y) R , Jf (x, y) =
6
Matrice Jacobienne de f : (x, y) R2 7 (x + y, xy) : On a f1 (x, y) = x + y et f2 (x, y) = xy donc :
!
f1
f1

x (x, y)
y (x, y)
1 1
2
(x, y) R , Jf (x, y) = f
=
2
y x
(x, y) f2 (x, y)
2

www.mathlaayoune.webs.com

5/19

3
.
7

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Matrice Jacobienne de f : (x, y) R2 7 (x + y, x2 + y 2 , x2 y 2 ) : On a f1 (x, y) = x + y , f2 (x, y) = x2 + y 2 et


f3 (x, y) = x2 y 2 donc :
f1
x

(x, y) R2 , Jf (x, y) =

(x, y)

f1
y (x, y)

f2
x (x, y)

f2
y (x, y)

f3
x (x, y)

f3
y (x, y)

Matrice Jacobienne de f : (x, y, z) R2


7 x2 + xy + yz 2 : On a :

f
(x, y, z) R3 , Jf (x, y, z) = f
x (x, y, z)
y (x, y, z)

1
2x
2x

f
z (x, y, z)

1
2y
2y

= 2x + y

x+z

2yz

Interprtation matricielle de la diffrentielle : Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles
n et p respectivement, BE une base de E, BF une base de F , U un ouvert de E, f : U F et a U .
Si f est diffrentiable en a alors h E, [df (a)(h)]BF = Jf (a) [h]BE .
Exemples dapplication au calcul de la diffrentielle :
Calcul de la diffrentielle de f : (x, y) R2 7 x sin y y sin x : Soit (x, y), (h, k) R2 . On a :


 h
h
Jf (x, y)
= sin y y cos x x cos y sin x
= (sin y y cos x)h + (x cos y sin x)k
k
k
Donc df (x, y)(h, k) = (sin y y cos x)h + (x cos y sin x)k.
Calcul de la diffrentielle de f : (x, y) R2 7 (x2 y, xy) : Soit (x, y), (h, k) R2 . On a :

h
2xy x2
h
2xyh + x2 k
Jf (x, y)
=
=
k
y
x
k
yh + xk
Donc df (x, y)(h, k) = (2xyh + x2 k, yh + xk).
Calcul de la diffrentielle de f : (x, y, z) R3 7 (xy + yz + zx, xyz) : Soit (x, y, z), (h, k, l) R2 . On a :

h
y+z x+z x+y
(y + z)h + (x + z)k + (x + y)l
k =
Jf (x, y, z) k =
yz
xz
xy
yzh + xzk + xyl
l
l
Donc df (x, y)(h, k) = ((y + z)h + (x + z)k + (x + y)l, yzh + xzk + xyl).

1.4

Oprations sur les applications diffrentiables :

Proposition 1.8 Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E, f, g : U F
et a U .
Si f et g sont diffrentiables en a. Alors :
f + g est diffrentiable en a et on a d(f + g)(a) = df (a) + dg(a). En particulier, Jf +g (a) = Jf (a) + Jg (a).
R, f est diffrentiable en a et on a d(f )(a) = df (a). En particulier, Jf (a) = Jf (a).
Proposition 1.9 Soit E, F, G trois R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E, a U ,
f : U F , V un ouvert de F tel que f (U ) V et g : V G.
Si f est diffrentiable en a et g diffrentiable en f (a) alors g f est diffrentiable en a et on a d(g f )(a) = dg(f (a)) df (a).
En particulier, Jgf (a) = Jg (f (a)) Jf (a).
Dmonstration :
Soit h E tel que a + h U .
On a f diffrentiable en a donc f (a + h) = f (a) + df (a)(h) + o(khk).
On a g diffrentiable en f (a) donc (gf )(a+h) = g (f (a) + df (a)(h) + o(khk)) = g(f (a))+dg(f (a)) (df (a)(h) + o(khk))+
o(kdf (a)(h) + o(khk) k) = (g f )(a) + (dg(f (a)) df (a))(h) + dg(f (a)) (o(khk)) + o(kdf (a)(h) + o(khk) k).
On a dg(f (a)) linaire donc continue donc k R, kdg(f (a)) (o(khk)) k k o(khk) do dg(f (a)) (o(khk)) = o(khk).
On a df (a) linaire donc continue donc l R, kdf (a)(h) + o(khk) k lkhk + o(khk) = O(khk) donc df (a)(h) + o(khk) =
O(khk) do o(kdf (a)(h) + o(khk) k) = o(khk).
On dduit que (g f )(a + h) = (g f )(a) + (dg(f (a)) df (a)) (h) + o(khk) donc g f est diffrentiable en a et on a
d(g f )(a) = dg(f (a)) df (a).
Exemples :

www.mathlaayoune.webs.com

6/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Calcul de la diffrentielle de lapplication f : M Mn (R) 7 M 2 : Soit les applications :


2

u : Mn (R) (Mn (R))


M
7 (M, M )

et

v:

(Mn (R))
(M, N )

Mn (R)
MN

On a u linaire sur Mn (R) donc diffrentiable sur Mn (R) et on a M, H Mn (R), du(M )(H) = (H, H).
2
2
On a v bilinaire sur (Mn (R)) donc diffrentiable sur (Mn (R)) et on a M, N, H, K Mn (R), dv(M, N )(H, K) =
v(M, K) + v(H, N ) = M K + HN .
On a f = v u donc f est diffrentiable sur Mn (R) comme compose de deux applications diffrentiables et on
a M, H Mn (R), df (M )(H) = d(v u)(M )(H) = (dv(u(M )) du(M ))(H) = dv(M, M )(du(M )(H)) =
dv(M, M )(H, H) = M H + HM .
Soit A Sn (R). Calcul de la diffrentielle de lapplication f : X Mn1 (R) 7 tXAX : Soit les applications :
2

u : Mn (R) (Mn (R))


X
7 (X, X)

et

v:

(Mn (R))
(X, Y )

Mn (R)
t
XAY

On a u linaire sur Mn (R) donc diffrentiable sur Mn (R) et on a X, H Mn (R), du(X)(H) = (H, H).
2
2
On a v bilinaire sur (Mn (R)) donc diffrentiable sur (Mn (R)) et on a X, Y, H, K Mn (R), dv(X, Y )(H, K) =
v(X, K) + v(H, Y ) = tXAK + tHAY .
On a f = v u donc f est diffrentiable sur Mn (R) comme compose de deux applications diffrentiables et on
a X, H Mn (R), df (X)(H) = d(v u)(X)(H) = (dv(u(X)) du(X))(H) = dv(X, X)(du(X)(H)) =
dv(X, X)(H, H) = tXAH + tHAX = 2tXAH car A est symtrique.
Soient E un espace euclidien. Calcul des diffrentielles des applications f : x E 7 kxk2 et g : x E \ {0} 7 kxk :
1. Diffrentielle de lapplication f : Soit les applications :
u: E
x

E2
v : E2
R
et
(x, x)
(x, y) 7 hx, yi

On a u linaire sur E donc diffrentiable sur E et on a x, h E, du(x)(h) = (h, h).


On a v bilinaire sur E 2 donc diffrentiable sur E 2 et on a x, y, h, k E, dv(x, y)(h, k) = v(x, k) + v(h, y) =
hx, ki + hh, yi.
On a f = v u donc f est diffrentiable sur E comme compose de deux applications diffrentiables et on a
x, h E, df (x)(h) = d(v u)(x)(h) = (dv(u(x)) du(x))(h) = dv(x, x)(du(x)(h)) = dv(x, x)(h, h) =
hx, hi + hh, xi = 2hu, hi.
2. Diffrentielle de lapplication g : Soit lapplication :
w:

]0, +[
t
7

On a f diffrentiable sur E \ {0} et x E \ {0}, h E, df (x)(h) = 2hu, hi.


On a w drivable sur ]0, +[ donc diffrentiable sur ]0, +[ et on a t ]0, +[, h R, dw(t)(h) = w0 (t)h =
h

.
2 t
On a x E \ {0}, g(x) = (w f )(x) donc g est diffrentiable sur E \ {0} comme compose de deux applications diffrentiables et on a x E \ {0}, h E, dg(x)(h) = d(w f )(x)(h) = (dw(f (x)) df (x))(h) =
dw(kxk2 )(df (x)(h)) = dv(kxk2 )(2hu, hi) = hx,hi
kxk .
Soient E un espace euclidien et a E. Calcul de la diffrentielle de lapplication f : x E 7 ha, xix : Soit les
applications :
u : E E2
v : E2
E
et
x 7 (x, x)
(x, y) 7 ha, xiy
On a u linaire sur E donc diffrentiable sur E et on a x, h E, du(x)(h) = (h, h).
On a v bilinaire sur E 2 donc diffrentiable sur E 2 et on a x, y, h, k E, dv(x, y)(h, k) = v(x, k) + v(h, y) =
ha, xik + ha, hiy.
On a f = v u donc f est diffrentiable sur E comme compose de deux applications diffrentiables et on a x, h
E, df (x)(h) = d(v u)(x)(h) = (dv(u(x)) du(x))(h) = dv(x, x)(du(x)(h)) = dv(x, x)(h, h) = ha, xih + ha, hix.
Soit f : (x, y) R2 7 (xy, x + y, x y) et g : (x, y, z) R3 7 x + yz. Calcul de la diffrentielle de g f :
Mthode 1 : On a :
1. (x, y), (h, k) R2 , df (x, y)(h, k) = (xk + hy, h + k, h k).
2. (x, y, z), (h, k, l) R3 , dg(x, y, z)(h, k, l) = h + zk + yl.

www.mathlaayoune.webs.com

7/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Donc (x, y), (h, k) R2 , d(gf )(x, y)(h, k) = (dg(f (x, y))df (x, y))(h, k) = dg(xy, x+y, xy)(df (x, y)(h, k)) =
dg(xy, x + y, x y)(xk + hy, h + k, h k) = xk + hy + (x y)(h + k) + (x + y)(h k) = (2x + y)h + (x 2y)k.
Mthode 2 : On a :

y x
1. (x, y) R2 , Jf (x, y) = 1 1 .
1 1

2. (x, y, z) R3 , Jg (x, y, z) = 1 z y .

2
Donc
(x,y) R , Jgf (x, y) = Jg (f (x, y))Jf (x, y) = Jg (xy, x+y, xy)Jf (x, y) = 1 x y x + y
y x

1 1
= 2x + y x 2y .
1 1


 h
h
Donc (x, y), (h, k) R2 , Jgf (x, y)
= 2x + y x 2y
= (2x + y)h + (x 2y)k do d(g
k
k
f )(x, y)(h, k) = (2x + y)h + (x 2y)k.
Soit f : (x, y) R2 7 (2x + y, x + 2y) et g : (x, y) R2 7 (xy, x2 + y 2 ). Calcul de la diffrentielle de g f :
Mthode 1 : On a :
1. (x, y), (h, k) R2 , df (x, y)(h, k) = (2h + k, h + 2k).
2. (x, y), (h, k) R2 , dg(x, y)(h, k) = (yh + xk, 2xh + 2yk).
Donc (x, y), (h, k) R2 , d(gf )(x, y)(h, k) = (dg(f (x, y))df (x, y))(h, k) = dg(2x+y, x+2y)(df (x, y)(h, k)) =
dg(2x+y, x+2y)(2h+k, h+2k) = ((x+2y)(2h+k)+(2x+y)(h+2k), 2(2x+y)(2h+k)+2(x+2y)(h+2k) =
((4x + 5y)h + (5x + 4y)k, (10x + 8y)h + (8x + 10y)k).
Mthode 2 : On a :

2 1
2
1. (x, y) R , Jf (x, y) =
.
1 2

y
x
2. (x, y) R2 , Jg (x, y) =
.
2x 2y

x + 2y
2x + y
Donc (x, y) R2 , Jgf (x, y) = Jg (f (x, y))Jf (x, y) = Jg (2x+y, x+2y)Jf (x, y) =

4x + 2y 2x + 4y

2 1
4x + 5y
5x + 4y
=
.
1 2
10x + 8y 8x + 10y

h
4x + 5y
5x + 4y
h
(4x + 5y)h + (5x + 4y)k
2
Donc (x, y), (h, k) R , Jgf (x, y)
=
=
k
10x + 8y 8x + 10y
k
(10x + 8y)h + (8x + 10y)k
do d(g f )(x, y)(h, k) = ((4x + 5y)h + (5x + 4y)k, (10x + 8y)h + (8x + 10y)k).
Corollaire 1.10 (Rgle de la chane) Soit E, F, G trois R-espaces vectoriels norms de dimensions finies respectives m, n, p
N , U un ouvert de E, f : U F , a U , V un ouvert de F tel que f (U ) V et g : V G. On pose f = (f1 , . . . , fn ) et
g = (g1 , . . . , gp ).
n
X
(g f )i
gi
fk
Si f est diffrentiable en a et g diffrentiable en f (a) alors i {1, . . . , p}, j {1, . . . , m},
(a) =
(f (a))
(a).
xj
xk
xj
k=1

Application la rsolution des quations aux drives partielles du premier ordre :


f
Soit a R. Cherchons les fonctions f : R2 R diffrentiables sur R2 telles que f
x y = a :
On considre le changement de variables (u, v) = (x, y) = (x + y, x y) donc est inversible et soit g = f 1 .
On a f = g donc, daprs la rgle de drivation en chane :

Donc

f
x

g 1
g 2
+
u x
v x

g
g
+
u v

f
y

g 1
g 2
+
u y
v y

g
g

u v

f
f
g
g
a

=2
do
= .
x
y
v
v
2
Z

On dduit quil existe une fonction h : R R drivable sur R telle que g(u, v) =
f (x, y) = (g )(x, y) = g((x, y)) = g(x + y, x y) = a2 (x y) + h(x + y).

www.mathlaayoune.webs.com

8/19

a
a
dv + h(u) = v + h(u) donc
2
2

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

f
Cherchons les fonctions f :]0, +[2 R diffrentiables sur ]0, +[2 telles que x f
x + y y = 1 :
On considre le changement de variables (x, y) = (u, v) = (u, uv) et soit g = f .
Daprs la rgle de drivation en chane :

g
u
Donc u

f 1
f 2
+
x u
y u

f
f
+v
x
y

g
f
f
f
f
g
1
=u
+ uv
=x
+y
= 1 do
= car u = x 6= 0 puisque x > 0.
u
x
y
x
y
v
u
Z

du
+ h(v) = ln u +
On dduit quil existe une fonction h :]0, +[ R drivable sur ]0, +[ telle que g(u, v) =
u



h(v), or (u, v) = x, xy donc f (x, y) = f ((u, v)) = (f )(u, v) = g(u, v) = g x, xy = ln x + h xy .
f
Cherchons les fonctions f :]0, +[2 R diffrentiables sur ]0, +[2 telles que x f
y y x = 1 :
On considre le passage aux coordonnes polaires (x, y) = (, ) = ( cos , sin ) avec > 0 et ] , [ et soit
g = f .
Daprs la rgle de drivation en chane :
g

f 1
f 2
+
x
y

f
f
sin +
cos
x
y

= y

f
f
+x
x
y

Z
g
= 1 do, il existe une fonction h :]0, +[ R drivable sur ]0, +[ telle que g(u, v) =
d + h() =

+ h().
On dduit que f (x, y) = f ( cos , sin ) = f ((, )) = (f )(, ) = g(, ) = + h() = arctan xy +
p
h( x2 + y 2 ).
p
Remarque : Soit > 0 et ] , [. Si x = cos et y = sin alors = x2 + y 2 et = 2 arctan y 2 2 .
Donc

x+

x +y

Corollaire 1.11 Soit I un intervalle de R, a I, E, F deux R-espaces vectoriels norms de dimensions finies non nulles,
f : I E, U un ouvert de E tel que f (I) U et g : U F .
Si f est drivable en a et g diffrentiable en f (a) alors g f est drivable en a et on a (g f )0 (a) = dg(f (a))(f 0 (a)).
n
X
g
Si, en plus, (e1 , . . . , en ) est une base de E et f = f1 e1 + + fn en alors (g f )0 (a) =
(f (a))fk0 (a).
xk
k=1

Interprtation gomtrique : Cette expression permet de dterminer le vecteur tangent en a limage par f dun chemin
sur U .
Technique : Comment montrer quune application nest pas diffrentiable :
Pour montrer que f nest pas diffrentiable en a, on cherche une application variable relle : I U avec 0 I, (0) = a,
n
X
f
drivable en 0 et (f )0 (0) 6=
(a)0i (0).
x
i
i=1
x3 y
si (x, y) 6= (0, 0)
4
2
Exemple : Montrons que f (x, y) = x +y
nest pas diffrentiable en (0, 0) :
0
sinon
f
On a x R, f (x, 0) = f (0, x) = 0 donc f
x (0, 0) = y (0, 0) = 0.
Supposons que f est diffrentiable en (0, 0) et soit (t) = (t, t2 ).
0
On a est drivable en 0 et f diffrentiable en (0, 0) = (0) donc f est drivable en 0 et on a (f )0 (0) = f
x (0, 0)1 (0) +
f
0
y (0, 0)2 (0) = 1 0 + 2 0 0 = 0.
Dautre part, on a t R, (f )(t) = 2t donc (f )0 (0) = 21 6= 0. Absurde, do f nest pas diffrentiable en (0, 0).

2
2.1

Gradient, vecteurs tangents :


Gradient :

Proposition et dfinition 2.1 Soit E un espace euclidien, U un ouvert de E, f : U R et a U .


Si f est diffrentiable en a alors !b E, h E, df (a)(h) = hb, hi. b sappelle le gradient de f en a et on le note f (a) ou
www.mathlaayoune.webs.com

9/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

gradf (a).
Si f est diffrentiable sur U alors lapplication x U 7 f (x) sappelle lapplication gradient de f sur U et on la note f
ou gradf .
Exemples : Soit E un espace euclidien.
Lapplication gradient de lapplication f : x E 7 kxk2 : On a dj montr que f est diffrentiable sur E et que
x, h E, df (x)(h) = 2hx, hi = h2x, hi donc x E, f (x) = 2x.
Lapplication gradient de lapplication g : x E \ {0}
kxk : On a dj montr que g est diffrentiable sur E \ {0}
7
hx,hi
x
x
.
et que x E \ {0}, h E, dg(x)(h) = kxk = kxk , h donc x E, f (x) = kxk
Expression du gradient dans une base orthonorme : Soit E un espace euclidien non nul, (e1 , . . . , en ) une base orthonorme
de E, U un ouvert de E, f : U R et a U .
* n
+
n
n
n
X
X
X
X f
f
(a)hk =
(a)ek ,
hk ek =
Si f est diffrentiable en a alors h =
hk ek E, hf (a), hi = df (a)(h) =
xk
xk
k=1
k=1
k=1
k=1
+
* n
n
X
X f
f
(a)ek , h donc f (a) =
(a)ek .
xk
xk
k=1
k=1
Exemples : Soit E un espace euclidien.
2
2
2
Lapplication
gradient

de lapplication f : (x, y) R 7 xy : On a f diffrentiable sur R donc (x, y) R , f (x, y) =


f
f
x (x, y), y (x, y) = (y, x).
3
2
3
Lapplication gradient
de lapplication g : (x, y, z) R 7 x + yz : On a f diffrentiable sur R donc (x, y, z)
f
f
f
R3 , f (x, y, z) = x (x, y, z), y (x, y, z), z (x, y, z) = (2x, z, y).
Interprtations gomtriques : Soit E un espace euclidien, U un ouvert de E, a U , f : U R diffrentiable en a.
On suppose que f (a) 6= 0 et soit h E unitaire.
f (a)
On a df (a)(h) = hf (a), hi kf (a)k donc df (a)(h) est maximale si, et seulement si, h = kf
.
(a)k

f (a)
f (a)
Pour t > 0 assez petit, on a f (a + th) f (a) w thf (a), hi kf (a)k = t f (a), kf (a)k w f a + t kf
(a)k
f (a)
f (a) donc la variation de f en a est maximale lorsque h = kf
(a)k , autrement dit, la variation de f en a est maximale
lorsquon se dplace suivant la direction f (a). On dit que le gradient de f en a est la direction de la plus grande pente
de f en a.

2.2

Vecteurs tangents :

Dfinition 2.1 Soit E un R-espace vectoriel norm de dimension finie, A E et a A.


Un vecteur v de E est dit tangent A en a sil existe une suite (xn ) dans A \ {a} et une suite (n ) de rels positifs telles que
xn a et n (xn a) v.
Lensemble des vecteurs tangents A en a se note Ta A.
Si Ta A est un sous-espace vectoriel de E alors a + Ta A sappelle lespace affine tangent A en a ou la varit affine tangente
A en a.
Proposition 2.1 Soit E un R-espace vectoriel norm de dimension finie, A E, a A et :] , [ A tel que (0) = a.
Si est drivable en 0 alors 0 (0) est un vecteur tangent A en a.
Dmonstration :
On a n1 0 donc n0 N, n n0 , n1 < et considrons les suite (n )nn0 et (xn )nn0 telles que n n0 , n =
xn = n1 .
On a drivable en 0 donc :

est continue en 0 doxn =  n1 (0) = a.
n (xn a) = n1 n1 (0) 0 (0).
On dduit que 0 (0) est un vecteur tangent A en a.

1
n

et

Proposition 2.2 Si U est un ouvert de R2 , (x0 , y0 ) U et f : U R diffrentiable en (x0 , y0 ) alors :


Lensemble des vecteurs tangents la surface S dquation z = f (x, y) au point M0 = (x0 , y0 , f (x0 , y0 )) est un plan
vectoriel.
f
la surface S admet en M0 un plan affine tangent dquation : (x x0 ) f
x (x0 , y0 ) + (y y0 ) y (x0 , y0 ) (z z0 ) = 0.
Dmonstration :
Soit , R et (t) = 21 (x0 + 2t, y0 , f (x0 + 2t, y0 )) + 12 (x0 , y0 + 2t, f (x0 , y0 + 2)) donc (0) = M0 .
On a (x0 , y0 ) U et U ouvert donc f est dfinie au voisinage de (x0 , y0 ) do est dfinie au voisinage de 0.
f
On a f diffrentiable sur U donc est drivables en 0 et on a 0 (0) = (1, 0, f
x (x0 , y0 )) + (0, 1, y (x0 , y0 )).
f
Or, daprs la proposition prcdente, 0 (0) TM0 S donc Vect{(1, 0, f
x (x0 , y0 )), (0, 1, y (x0 , y0 ))} TM0 S.

www.mathlaayoune.webs.com

10/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Soit (u, v, w) TM0 S donc (un , vn ) U N , n (R+ )N tels que (un , vn , f (un , vn )) (x0 , y0 , f (x0 , y0 )) et (n (un
x0 ), n (vn y0 ), n (f (un , vn ) f (x0 , y0 ))) (u, v, w).
f
On a n (f (un , vn ) f (x0 , y0 )) = n (un x0 ) f
x (x0 , y0 ) + n (vn y0 ) y (x0 , y0 ) + n o(k(un x0 , vn y0 )k) et
n o(k(un x0 , vn y0 )k) = n k(un x0 , vn y0 )ko(1) k(u, v)k 0 = 0 donc n (f (un , vn ) f (x0 , y0 ))
f
f
f
u f
x (x0 , y0 ) + v y (x0 , y0 ) do w = u x (x0 , y0 ) + v y (x0 , y0 ). On dduit que :

(u, v, w) = (u, v, u f
(x0 , y0 )+v f
(x0 , y0 )) = u(1, 0, f
(x0 , y0 ))+v(0, 1, f
(x0 , y0 )) Vect (1, 0, f
(x0 , y0 )), (0, 1, f
(x0 , y0 ))
x
y
x
y
x
y

f
donc TM0 S = Vect (1, 0, f
x (x0 , y0 )), (0, 1, y (x0 , y0 )) .
TM0 S est alors un plan vectoriel, en particulier, le plan affine tangent S en M0 a pour quation :

x x0

y y0

z z0

1
0
f
(x
0 , y0 )
x



0

= (x x0 ) f (x0 , y0 ) + (y y0 ) f (x0 , y0 ) (z z0 ) = 0
1

x
y
f

y (x0 , y0 )

Exemple : quation du plan P tangent la surface S : z = xy au point (1, 1, 1) :


f
On considre la fonction f : (x, y) R2 7 xy donc S : z = f (x, y), 1 = f (1, 1) et f
x (1, 1) = y (1, 1) = 1.
On dduit que P : (x 1) + (y 1) (z 1) = 0 donc P : x + y z = 1.
Remarque : Soit E est un R-espace vectoriel norm de dimension finie, U un ouvert de E, f : U R et c R.
lensemble A = {x U/f (x) = c} sappelle la ligne de f de niveau c et f (x) = c sappelle lquation de A.
En dimension 3, A sappelle la surface de f de niveau c et, en dimension 2, A sappelle la ligne ou la courbe de f de niveau c.
Proposition 2.3 Soit E un espace euclidien, U un ouvert de E, f : U R, A une ligne de niveau de f et a A.
Si f est diffrentiable en a alors le gradient de f en a est orthogonal aux vecteurs tangents A en a.
Dmonstration :
Soit x un vecteur tangent A en a donc (xn ) AN , (n ) (R+ )N tels que xn a et n (xn a) v.
On a f (xn ) = f (a + (xn a)) = f (a) + hf (a), xn ai + o(kxn ak) donc hf (a), xn ai + o(kxn ak) = 0 car
f (xn ) = f (a) puisque xn , a A et A est une ligne de niveau de f .
Dautre part, on a n hf (a), xn ai + n o(kxn ak) = hf (a), n (xn a)i + o(kn (xn a)k) hf (a), xi donc
hf (a), xi = 0 do f (a) x.
Proposition 2.4 Soit U un ouvert de R2 , c R et f : U R diffrentiable sur U .
Supposons quil existe (x0 , y0 ) U tel que f (x0 , y0 ) = c. Si f (x0 , y0 ) 6= 0 alors lquation de la tangente la courbe
f
dquation f (x, y) = c en (x0 , y0 ) est (x x0 ) f
x (x0 , y0 ) + (y y0 ) y (x0 , y0 ) = 0.
Exemple : quation de la tangente T lellipse H :
On pose f (x, y) =
yy0
xx0
a2 + b2 = 1.

x2
a2

y2
b2

donc f (x0 , y0 ) =

y2
x2
a2 + b2 = 1

2x0 2y0
6=
a2 , b2

au point (x0 , y0 ) H.
(0, 0) donc T : (x x0 ) xa20 + (y y0 ) yb20 = 0 do T :

Proposition 2.5 Soit U un ouvert de R3 , c R et f : U R diffrentiable sur U .


Supposons quil existe (x0 , y0 , z0 ) U tel que f (x0 , y0 , z0 ) = c. Si f (x0 , y0 , z0 ) 6= 0 alors lquation du plan tangent la
f
f
surface dquation f (x, y, z) = x en (x0 , y0 , z0 ) est (xx0 ) f
x (x0 , y0 , z0 )+(yy0 ) y (x0 , y0 , z0 )+(zz0 ) z (x0 , y0 , z0 ) = 0.
Exemple : quation du plan tangent P la sphre S : x2 + y 2 + z 2 = 1 au point (x0 , y0 , z0 ) S.
On pose f (x, y, z) = x2 + y 2 + z 2 donc f (x0 , y0 , z0 ) = (2x0 , 2y0 , 2z0 ) 6= (0, 0) donc P : x0 (x x0 ) + y0 (y y0 ) + z0 (z
z0 ) = 0 do P : xx0 + yy0 + zz0 = 1.

Applications continment diffrentiables :

Proposition et dfinition 3.1 Soient E, F deux R-espaces vectoriels de dimensions finies non nulles, U un ouvert de E et
f : U F . Les assertions suivantes sont quivalentes :
f est diffrentiable sur U et sa diffrentielle est continue sur U .
Les drives partielles de f existent et sont continues sur U .
Dans ce cas, On dit que f est continment diffrentiable sur U ou que f est de classe C 1 sur U .
Dmonstration :
) On a f diffrentiable sur U donc les drives partielles de f existent sur U .
Soit a U et > 0. On a U ouvert et df continue sur U donc > 0, h E, si khk alors a + h U et
9df (a + h) df (a)9 .



f
f
Soit i {1, . . . , n}. On a h E tel que khk , x
(a
+
h)

(a)
= k(df (a + h) df (a))(ei )k 9df (a + h)
x
i
i
www.mathlaayoune.webs.com

11/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

df (a) 9 kei k kei k donc les drives partielles de f sont continues en a et par suite sur U .
) Soit a U et > 0.
On a U ouvert et les drives partielles de f sont continues sur U donc > 0, h E, si khk < alors a + h U et
f

f
i {1, . . . , n}, x
(a + h) x
(a) .
i
i
!
!!
k
k1
n
n
X
X
X
X
f a+
hi ei f a +
hi ei
avec la
Soit h =
hi ei E tel que khk . On a f (a + h) f (a) =
i=1

i=0

k=1

i=0

convention h0 = 0 et e0 = 0.
Soit k {1, . . . , n} et on pose k (t) = f

a+

k1
X

!
donc k est dfinie sur ] , [.

hi ei + tek

i=0

Soient t ] , [ et u R tel que t + u ] , [. On!a :


k1
X
k (t + u) k (t)
1
=
f a+
hi ei + tek + uek f
u
u
i=0
1
Or, les drives partielles de f sur U existent donc lim
u0 u
!
k1
X
f
a+
hi ei + tek .
xk
i=0
On dduit que k est drivable en t et on a

0k (t)

0
n Zk=1
X hk

k=1

kf (a + h) f (a)

n
X
k=1

hk

f
(a)k
xk

k=1

a+

a+

k1
X

hi ei + tek

.
!

hi ei + tek + uek

hi ei + tek

!
hi ei + tek
n Z
X

hk

et puisque les drives partielles de f sont


k1

hk

X
f
a+
hi ei + tek
0 (t)dt =
xk
i=0
k=1 0
!
!
k1

X
f
f

a+
hi ei + tek
(a) dt

xk
x
k
i=0



n Z hk
X

f


0 xk

a+

k1
X
i=0

!
hi ei + tek

!
dt donc :

(a) dt
xk



n Z hk

X


dt

0

n
X

a+

!!

i=0

k=1

k1
X

i=0

k=1

i=0
k1
X

!!

i=0

f
=
xk

continues sur U donc est de classe C 1 sur ] , [.


n
n Z
X
X
On a f (a + h) f (a) =
(k (hk ) k (0)) =

a+

k1
X

|hk |

k=1

n
X

khk

k=1

On dduit que f (a + h) = f (a) +

n
X
k=1

= nkhk
f
(a) + o(khk) do f est diffrentiable en a.
hk
xk

Montrons que df est continue en a :


Soit h E tel que khk < et > 0.
n


n
n
X f
X
X
f

f
f



On a k =
ki ei E, kdf (a+h)(k)df (a)(k)k =
(a + h)
(a) ki
(a + h)
(a)
|ki |



xi
xi
xi
xi
i=1
i=1
i=1
n
n
X
X
|ki |
kkk = nkkk .
k=1

k=1

E est de dimension finie donc toute les normes sont quivalentes do > 0, kk kk et par suite kdf (a + h)(k)
df (a)(k)k nkkk.
On dduit que 9df (a + h) df (a)9 n donc df est continue en a.
Do f est diffrentiable sur U et sa diffrentielle est continue sur U .
Remarque : Soient E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E et f : U F .

www.mathlaayoune.webs.com

12/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Si les composantes de f sont composes de fonctions usuelles (polynmes, fractions, fonctions trigonomtriques, fonctions
puissance, exponentiels ...) en les coordonnes de la variable alors f est de classe C 1 sur U .
Exemples :
La fonction f (x, y, z) = 3x2 z + xyz z 3 y 2 + x 2 est de classe C 1 sur R3 car polynomiale en x, y et z.
2
y+1
La fonction f (x, y, z) = xy+4x
est de classe C 1 sur A = {(x, y) R2 /x2 6= y 2 } car fraction en x et y sur A.
x2 y 2

La fonction f (x, y, z) = 3x sin(x + y) + xy ln(2x2 + xy) + xy + xy est de classe C 1 sur B = {x, y) R2 /xy > 0}
car se compose de fonctions usuels en x et y sur B.
La fonction M 7 det M est de classe C 1 sur Mn (R) car polynomiale en les coefficient de M .
La fonction M 7 M est de classe C 1 sur Mn (R) car ses composantes (les coefficients du polynme M ) sont
polynomiales en les coefficient de M .
xy3
si(x, y) 6= (0, 0)
4
2
:
Exemple : tude de lapplication f (x, y) = x +y
0
sinon
f est fraction en x et y sur R2 \ {(0, 0)} donc de classe C 1 sur R2 \ {(0, 0)} do le problme se pose en (0, 0).
f
On a t R, f (t, 0) = f (0, t) = 0 donc f
x (0, 0) = y (0, 0) = 0.
Soit (x, y) 6= (0, 0) donc

f
x (x, y)

y 3 (y 2 3x4 )
(x4 +y 2 )2

et

f
y (x, y)

xy 2 (3x4 +y 2 )
(x4 +y 2 )2

do :



4
2
2
4
2 2
4
f

(x, y) f (0, 0) = |y|y (y + 3x ) |y|(x + y )(3y + 3x ) 3|y|

0
x

x
(x4 + y 2 )2
(x4 + y 2 )2
(x,y)(0,0)
Et



2
4
2
4
2
4
2
f

(x, y) f (0, 0) = |x|y (3x + y ) |x|(x + y )(3x + 3y ) 3|x|

0
y

4
2
2
4
2
2
y
(x + y )
(x + y )
(x,y)(0,0)

On dduit que les drives partielles de f sont continues en (0, 0) do f est de classe C 1 sur R2 .
Proposition 3.1 Soient E, F deux R-espaces vectoriels norms de dimensions finies non nulles et U un ouvert de E.
Lensemble des applications de U vers F continment diffrentiables sur U est un R-espace vectoriel. On le note C 1 (U, F ).
Proposition 3.2 Soient E, F, G des R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E, f : U F ,
V un ouvert de F tel que f (U ) G et g : V G.
Si f C 1 (U, F ) et g C 1 (V, G) alors g f C 1 (U, G).
Proposition 3.3 Soient E, F deux R-espaces vectoriels de dimensions finies, U un ouvert de E, f : U F , I un intervalle de
R et : I E telle que (I) U .
Z
Si C 1 (I, E) et f C 1 (U, F ) alors , I, si a = f () et b = f () alors f (b) f (a) =
df ((t))( 0 (t))dt.

Dmonstration :
Soit , I, a = f (), b = f () et on considre lapplication g = f sur I.
On a C 1 (I, E) et f C 1 (U, F ) donc g est de classe C 1 sur I et on a t I, g 0 (t) = df ((t))( 0 (t)).
Z
Z
On dduit que f (b) f (a) = g() g() =
g 0 (t)dt =
df ((t))( 0 (t))dt.

Remarques : Soient E, F deux espaces euclidiens non nuls, U un ouvert de E, f : U F et C 1 ([a, b], U ).
On dit que f drive dun potentiel sur U si g C 1 (U, R) telle que f = g.
Z b
hf ((t)), 0 (t)idt sappelle la circulation de f le long du chemin .
Lintgral
a

Si f drive dun potentiel g sur U alors la circulation de f le long du chemin est g((b)) g((a)). En particulier, la
circulation de f le long du chemin ne dpend que de (a) et (b) et non pas du chemin suivi.
Corollaire 3.4 (Caractrisation des applications constantes sur un ouvert connexe par arcs :)
Soit E, F deux R-espaces vectoriels norms de dimensions finies respectives n, p N , U un ouvert connexe par arcs non vide
de E et f C 1 (U, F ) de composantes f1 , . . . , fp dans une base de F . Les assertions suivantes sont quivalentes :
f est constante sur U .
x U, df (x) = 0.
x U, Jf (x) = 0.
fi
x U, i {1, . . . , p}, j {1, . . . , n}, x
(x) = 0.
j
Dmonstration :
1 2) : On a f constante sur U donc x U, df (x) = 0.
fi
2 3 4) Soit x U . On a df (x) = 0 Jf (x) = 0 i {1, . . . , p}, j {1, . . . , n}, x
(x) =
j
0.
www.mathlaayoune.webs.com

13/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

2 1) Dmonstration dans le cas U convexe : Soit a, b U , on a U convexe donc t [0, 1], a + t(b a) U ,
considrons alors lapplication : t [0, 1] 7 a + t(b a).
Z 1
1
1
On a C ([0, 1], U ) et f C (U, F ) donc f (b) f (a) =
df ((t))( 0 (t))dt = 0 do f (b) = f (a).
0

On dduit que a, b U, f (b) = f (a) donc f est constante sur U .


Application : Expression de arctan x + arctan y :
x+y
On considre louvert U = {(x, y) R2 /xy 6= 1} et soit lapplication f : (x, y) U 7 arctan x + arctan y arctan 1xy
.
On a x, y U :
(1 xy) + y(x + y)
1
f
1

(x, y) =
2

x
1 + x2
(1 xy)2
1 + x+y
1xy

=
=
=

1
1 + y2

1 + x2
(1 xy)2 + (x + y)2
1
1 + y2

1 + x2
1 + x2 y 2 + x2 + y 2
1
1 + y2
1
1

=0
=
2
2
2
2
1+x
(1 + x )(1 + y )
1+x
1 + x2

et puisque f (x, y) = f (y, x) alors on a aussi f


y (x, y) = 0.
On dduit que f est constantes sur les ouverts connexes par arcs de U , cest dire, sur U1 = {(x, y) R2 /xy < 1},
U2 = {(x, y) ]0, +[2 /xy > 1} et U3 = {(x, y) ] , 0[2 /xy > 1}. On dduit que :
x+y
.
Si xy 1 alors f (x, y) = f (0, 0) = 0 car (0, 0) U1 do arctan x + arctan y = arctan 1xy
x+y
Si x, y > 0 et xy > 1 alors f (x, y) = lim f (t, t) = donc arctan x + arctan y = arctan 1xy + .
t+

x+y
Si x, y < 0 et xy > 1 alors f (x, y) = lim f (t, t) = donc arctan x + arctan y = arctan 1xy
.
t

si x > 0
En fin, si x, y R tels que xy = 1 alors arctan x + arctan y = arctan x + arctan x1 = 2
.
2 si x < 0

x+y

arctan 1xy
si xy 1

si xy = 1 et x < 0
2
x+y
On dduit que arctan x + arctan y = arctan 1xy si xy > 1 et x, y < 0 .

si xy = 1 et x > 0

x+y
arctan 1xy + si xy > 1 et x, y > 0

4
4.1

Applications de classe C k , extrema :


Applications de classe C k :

Notation : Soit k N , E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E et f : U
F.
 k1 
k

i {1, . . . , n}, on note, xfk = x


.
i
xk1
i

1 , . . . , p N tels que 1 + + p = k, i1 , . . . , ip {1, . . . , n}, on note, :



kf
1
2
p f
=

1
2
1
x
x
x
xipp
i1
i2
i1 xip
2
2 4
Exemple : Pour lapplication
f : (x, y, z) R 7 x y z on a
2

2 4

f
(x, y, z) =
(x y z) = 2 (xy 4 z) = 2y 4 z.

2
x
x x
x

2f

2 4

(x, y, z) =
(x y z) = 4 (x2 y 3 z) = 4x2 y 3 z.
zy
z y
z

3f
2
2 4
2 2 3

2 3

(x, y, z) =
(x y z) = 4 2 (x y z) = 4
(x y z) = 12 (x2 y 2 z) = 24x2 yz.
y 3
y 2 y
y
y y
y

3f
2
2 4
2

(x, y, z) =
(x y z) = 2
(xy 4 z) = 2
(xy 4 z) = 2 (xy 4 ) = 4y 4 z.
xzx
xz x
xz
x z
x

4f

2
2 4

2 2 4

(x, y, z) =
(x y z)
=
(x y ) = 12 (x2 y 2 ) = 24xy 2 .
2
2
xy z
x y
z
x y 2
x

www.mathlaayoune.webs.com

14/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Dfinition 4.1 Soit k N , E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E et
f : U F.
k
f
Soit a U . On appelle drive partielle dordre k de f en a tout vecteur x1x
p (a) de F avec i1 , . . . , ip
i1

ip

{1, . . . , n} et 1 , . . . , p N tels que 1 + + p = k lorsquil existe.


k
f

Toute application x U 7 x1x


p (x) avec i1 , . . . , ip {1, . . . , n} et 1 , . . . , p N tels que 1 + +p = k,
i1

ip

lorsquelle est dfinie sur U , sappelle application drive partielle dordre k de f sur U . On la note

k f

xi 1 xi p
1

Exemple :

Drives partielles dordre deux en (0, 0) de lapplication f : (x, y) R2 7


f
f
x (0, 0) = y (0, 0) = 0 et (x, y)
2f
f
x (t, 0) = 0 donc x2 (0, 0) = 0.

On dj montr qu
On a t R,

On a t R, f
x (0, t) = t donc
On a t R, f
y (t, 0) =

2f
yx (0, 0)

f
y (0, t)

= 0 donc

6= (0, 0), f
x (x, y) =

0
y 3 (y 2 3x4 )
(x4 +y 2 )2

si(x, y) 6= (0, 0)
:
sinon
et

f
y (x, y)

xy 2 (3x4 +y 2 )
(x4 +y 2 )2 .

= 1.
2f
xy (0, 0)

Drives partielles dordre deux en (0, 0) de lapplication


On a t R, g(t, 0) = g(0, t) = 0 donc
Soit (x, y) 6= (0, 0) donc :

xy 3
x4 +y 2

g
x (0, 0)

2f
0) = 0.
y 2 (0,(
xy(x2 y 2 )
x2 +y 2
g(x, y) =

g
x (0, 0)

si (x, y) 6= (0, 0)
:
sinon

= 0.

g
(3x2 y y 3 )(x2 + y 2 ) 2x(x3 y xy 3 )
3x4 y + 3x2 y 3 x2 y 3 y 5 2x4 y + 2x2 y 3
y(x4 + 4x2 y 2 y 4 )
(x, y) =
=
=
2
2
2
2
2
2
x
(x + y )
(x + y )
(x2 + y 2 )2
On a (a, b) R2 , g(a, b) = g(b, a) donc :
g
f
x(x4 4x2 y 2 y 5 )
(x, y) = (y, x) =
y
x
(x2 + y 2 )2
g
On a t R, x
(t, 0) = 0 donc

2g
x2 (0, 0)

= 0.

2g
yx (0, 0)

g
On a t R, x
(0, t) = t donc
g
On a t R, y
(0, t) = 0 donc

2g
y 2 (0, 0)

g
On a t R, y
(t, 0) = t donc

2g
xy (0, 0)

= 1.

= 0.
= 1.

Drives partielles dordre deux en (0, 0) de lapplication h : (x, y) 7


On a t R, f (t, 0) = 0 et f (0, t) = t2 donc
On a (x, y) 6= (0, 0), f
x (x, y) =

2xy 4
(x2 +y 2 )2

et

f
x (0, 0)
f
y (x, y)

On a t R, h
x (t, 0) = 0 donc

2h
x2 (0, 0)

On a t R, h
x (0, t) = 0 donc

2h
yx (0, 0)

= 0.

On a t R, h
y (0, t) = 2t donc

2g
y 2 (0, 0)

= 2.

On a t R, h
y (t, 0) = 0 donc

2h
xy (0, 0)

= 0.

=
=

f
y (0, 0)

y4
x2 +y 2

0
= 0.

4y 3 (x2 +y 2 )2y 5
(x2 +y 2 )2

si (x, y) 6= (0, 0)
:
sinon

2y 3 (2x2 +y 2 )
(x2 +y 2 )2 .

= 0.

Dfinition 4.2 Soit E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E et f : U F .
Soit k N . On dit que f est de classe C k sur U si les drives partielles dordre k de f existent et sont continues sur
U.
On dit que f est de classe C sur U si p N , f est de classe C p sur U .

www.mathlaayoune.webs.com

15/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Remarque : Soient E, F deux R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert de E et f : U F .
Si les composantes de f sont composes de fonctions usuelles (polynmes, fractions, fonctions trigonomtriques, fonctions
puissance, exponentiels ...) en les coordonnes de la variable alors f est de classe C sur U .
Proposition 4.1 Soit k N {}, E, F deux R-espaces vectoriels norms de dimensions finies non nulles et U un ouvert de
E.
Lensemble des applications de U vers F de classe C k sur U est un R-espace vectoriel. On le note C k (U, F ) ou C k (U ) lorsque
F = R.
Proposition 4.2 Soit k N {}, E, F, G trois R-espaces vectoriels norms de dimensions finies non nulles, U un ouvert
de E, f : U F , V un ouvert de F tel que f (U ) V et g : V G.
Si f C k (U, F ) et g C k (V, G) alors (g f ) C k (U, G).
Lemme 4.3 Soit U un ouvert de R2 tel que (0, 0) U , F un R espace vectoriel norm de dimension finie non nulle et
f : U F.
2f
2f
(0, 0) = yx
(0, 0).
Si f C 2 (U, F ) alors xy
Dmonstration :
2

f

2f
2f
est continue en (0, 0) do > 0, |x| < , |y| < , xy
(x, y) xy
(0, 0)
Soit > 0. On a f C 2 (U, F ) donc xy
.
2f
0
Soit y ] , [ et on pose (x) = f
y (x, y) x xy (0, 0). On a est dfinie sur ] , [ et |x| < , (x) =
2f
xy (x, y)

2f
xy (0, 0) donc
Z
x

est C 1 sur ] , [ et |x| < , k0 (x)k .


Z x
Z x




0
0





Donc k(x) (0)k =
(t)dt
k (t)kdt
dt |x|.
0
0
0




2f
f
On dduit que |x| < , |y| < , f
(x,
y)

x
(0,
0)

(0,
y)
|x|.
y
xy
y

f
Soit x ] , [ et on pose (y) = f (x, y) xy xy
(0, 0) f (0, y). On a est dfinie sur ] , [ et |y| < , 0 (y) =
2

f
x xy
(0, 0) f
(0, y) donc est C 1 sur ] , [ et on a |y| < , k 0 (y)k |x|.
Zyy
Z y
Z y





0
0





Donc k(y) (0)k =
(t)dt
k (t)kdt
|x|dt |xy|.
0
0
0




2f
(0, 0) f (0, y) f (x, 0) + f (0, 0) |xy|.
On dduit que |x| < , |y| < , f (x, y) xy xy
f
y (x, y)

f
en (0, 0) on obtient :
De mme, en utilisant la continuit de yx




2f
> 0, |x| < , |y| < , f (x, y) xy yx (0, 0) f (x, 0) f (0, y) + f (0, 0) |xy|.




2f
(0, 0) f (0, y) f (x, 0) + f (0, 0) |xy| et
Donc, pour = min(, ), on obtient |x| < , |y| < , f (x, y) xy xy






2f

2f
2f
(0, 0) f (x, 0) f (0, y) + f (0, 0) |xy| donc |x| < , |y| < , xy yx
(0, 0) xy xy
(0, 0)
f (x, y) xy yx
2|xy|.
2

f

2f
2f
2f
On dduit que yx
(0, 0) xy
(0, 0) 2 do yx
(0, 0) = xy
(0, 0).

Thorme 4.1 (Thorme de Schwarz) Soient E, F deux R-espaces vectoriels norms de dimensions finies non nulles, n =
dim E, U un ouvert de E et f : U F .
2
2
f
f
Si f C 2 (U, F ) alors i, j {1, . . . , n}, xi x
= xj x
sur U .
j
i
Dmonstration :
Soient i, j {1, . . . , n}, B = (e1 , . . . , en ) la base de E et a U .
On pose g(x, y) = f (a + xei + yej ) donc g est C 2 au voisinage de (0, 0).
2
g
f
2g
f
On a x
(x, y) = x
(x, y) = xj x
(a + xei + yej ) donc yx
(a + xei + yej ).
i
i
2g
2f
xy (x, y) = xi xj (a + xei + yej ).
2f
2g
2g
2f
xi xj (a) = xy (0, 0) = yx (0, 0) = xj xi (a)

De mme,

Donc
daprs le lemme prcdent.
Remarque : Soient E, F deux R-espaces vectoriels norms de dimensions finies non nulles, n = dim E, U un ouvert de E et
f : U F.
2
2
f
f
Pour montrer que f 6 C 2 (U, F ), on peut vrifier que i, j {1, . . . , n}, a U, xi x
(a) 6= xj x
(a).
j
i
Exemples :
xy3
si (x, y) 6= (0, 0)
4
2
2f
2f
Pour lapplication f : (x, y) 7 x +y
, on a montr que xy
(0, 0) = 0 6= 1 = yx
(0, 0) donc f
0
sinon
nest pas de classe C 2 sur R2 .
www.mathlaayoune.webs.com

16/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

(
Pour lapplication g : (x, y) 7

xy(x2 y 2 )
x2 +y 2

Essaidi Ali

si (x, y) 6= (0, 0)
, on a montr que
sinon

2g
xy (0, 0)

= 1 6= 1 =

2g
yx (0, 0)

0
donc g nest pas de classe C 2 sur R2 .
Remarque : Soient E, F deux R-espaces vectoriels norms de dimensions finies, n = dim E, U un ouvert de E et f : U F .
2
2
f
f
Si i, j {1, . . . , n}, xi x
= xj x
alors f nest pas forcment de classe C 2 sur U .
j
i
y4
si (x, y) 6= (0, 0)
2
2
2f
2f
Exemple : Pour lapplication h : (x, y) 7 x +y
, on a montr que xy
(0, 0) = yx
(0, 0) = 0.
0
sinon
On a montr que (x, y) 6= (0, 0), f
x (x, y) =
3 3
y
8 (x2x+y
2 )3

do t 6= 0,

On dduit que

4.2

2f
yx

2f
yx (t, t)

= 1 6 0

2xy 4
(x2 +y 2 )2 donc
2f
= yx
(0, 0).

f
(x, y) 6= (0, 0), yx
(x, y) = 2x 4y

(x2 +y 2 )2 4y 5 (x2 +y 2 )
(x2 +y 2 )4

nest pas continue en (0, 0) donc f nest pas de classe C 2 sur R2 .

Extrema des fonctions valeurs relles :

Proposition 4.4 Soit E un R-espace vectoriel norm de dimension finie, U un ouvert E, f : U R et a U tel que f soit
diffrentiable en a.
Si f admet un extremum local en a alors df (a) = 0.
Dmonstration :
Soit h E et on pose (t) = f (a + th). On a f diffrentiable en a donc est drivable en 0 et on a 0 (0) = df (a)(h).
On a f admet un extremum local en a donc admet un extremum en 0 donc 0 = 0 (0) = df (a)(h) do df (a) = 0.
Remarque : La rciproque est fausse. En effet, pour f (x) = x3 on a f 0 (0) = 0 mais f nadmet pas dextremum en 0.
Dfinition 4.3 Soit E un R-espace vectoriel norm de dimension finie, U un ouvert E, f : U R et a U .
On dit que a est un point critique ou stationnaire de f si f est diffrentiable en a et df (a) = 0.
Thorme 4.2 (Dveloppement de Taylor-Young dordre 2)
Soit E un R-espace vectoriel norm de dimension finie non nulle, (e1 , . . . , en ) une base de E, U un ouvert E et f : U R.
n
X
Si f C 2 (U ) alors a U, h =
hi ei E :
i=1

f (a + h) = f (a) + df (a)(h) +

n

2f
1 X
hi hj
(a) + o khk2
2 i,j=1
xi xj

Dmonstration :
Soit a U et > 0. On a f C 2 (U ) donc les drives
f sont continues en a donc > 0, h E,
2 partielles dordre2 deux de


f
f
si khk alors a + h U et i, j {1, . . . , n}, xj x
(a
+
h)

(a)
.
xj xi
i
n
X
Soit h =
hi ei E tel que khk et : t [0, 1] 7 f (a + th) donc est C 2 sur [0, 1] comme compose
i=1

0
n
n
X
X
f
f
00
de deux applications de classe C et on a t [0, 1], (t) =
(a + th)hi et (t) =
(a + th) hi =
xi
xi
i=1
i=1
!
n
n
n
X
X
X
2f
2f
(a + th)hj hi =
(a + th)hi hj .
xj xi
xj xi
i,j=1
i=1
j=1
Z 1
On a est C 2 sur [0, 1] donc, daprs la formule de Taylor avec reste intgrale, (1) = (0) + 0 (0) +
(1 t)00 (t)dt =
0
Z 1
1 00
0
00
00
(0) + (0) + (0) +
(1 t)( (t) (0))dt.
2
0
Z 1

n
n
X
1 X 2f
2f
2f
On dduit que f (a+h) = f (a)+df (a)(h)+
(a)hi hj + (1t)
(a + th)
(a) hi hj dt.
2 i,j=1 xj xi
xj xi
xj xi
0
i,j=1


Z 1

n
n Z 1
X
X


2f

2f
2f
2f

dt n2 khk2 .
On a (1 t)
(a + th)
(a) hi hj dt khk2
(a
+
th)

(a)


x
x
x
x
x
x
x
x
j
i
j
i
j
i
j
i
0

0
i,j=1
i,j=1
Z 1

n
X

2f
2f
On dduit que
(1 t)
(a + th)
(a) hi hj dt = o khk2 do le rsultat.
xj xi
xj xi
0
i,j=1
2

www.mathlaayoune.webs.com

17/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Dfinition 4.4 Soit E un R-espace vectoriel norm de dimension finie non nulle, B une base de E, U un ouvert E, f C 2 (U )
et a U . 2

f
La matrice xi x
(a)
sappelle la matrice Hessienne de f en a par rapport la base B. On la note Hf (a).
j
1i,jn

Remarque : Daprs le thorme de Schwarz la matrice Hessienne est symtrique. En particulier, daprs le thorme spectral
elle diagonalisable.
Interprtation matricielle du dveloppement de Taylor-Young dordre deux : Soit E un R-espace vectoriel norm de dimension finie non nulle, B une base de E, U un ouvert E et f C 2 (U ).

Si a U et h E tel que a + h U alors f (a + h) = f (a) + Jf (a)H + 21 tHHf (a)H + o khk2 avec H = [h]B .
Exemples :
Dveloppement de Taylor-Young dordre deux de la fonction f (x, y) = x sin y en (x, y) R2 :
2
2
f
2f
On a f
= x cos y, xf2 (x, y) = 0, yf2 (x, y) = x sin y et xy
(x, y) = cos y donc Jf (x, y) =
x (x, y) = sin y, y (x, y)


0
cos y
sin y x cos y et Hf (x, y) =
do (h, k) R2 :
cos y x sin y




h
h
1
+ o h2 + k 2
f (x + h, y + k) = f (x, y) + Jf (x, y)
+ 2 h k Hf (x, y)
k
k


 h


0
cos y
h
1
= f (x, y) + sin y x cos y
+2 h k
+ o h2 + k 2
k
cos y x sin y k
= x sin y + h sin y + kx cos y + hk cos y 21 xk 2 sin y + o h2 + k 2
Dveloppement de Taylor-Young dordre deux de la fonction f (x, y) = sin xy en (x, y) R2 :
2
f
2f
2f
2
(x, y) =
sin xy, yf2 (x, y) = x2 sin xy et xy
On a f
x (x, y) = y cos xy, y (x, y) = x cos xy, x2 (x, y) = y
2


y sin xy xy sin xy
xy sin xy donc Jf (x, y) = y cos xy x cos xy et Hf (x, y) =
do (h, k) R2 :
xy sin xy x2 sin xy




h
h
f (x + h, y + k) = f (x, y) + Jf (x, y)
+ 21 h k Hf (x, y)
+ o h2 + k 2
k
k


 h
 y 2 sin xy xy sin xy

h
= f (x, y) + y cos xy x cos xy
+ 12 h k
+ o h2 + k 2
k
xy sin xy x2 sin xy
k

= sin xy + hy cos xy + kx cos xy + hkxy sin xy 21 y 2 h2 sin xy 12 x2 k 2 sin xy + o h2 + k 2
Corollaire 4.5 Soit E un R-espace vectoriel norm de dimension finie non nulle, B une base de E, U un ouvert de E, f
C 2 (U ) et a U un point critique de f .
Si les valeurs propres de la matrice Hessienne Hf (a) sont strictement positives alors f admet un minimum local stricte
en a.
Si les valeurs propres de la matrice Hessienne Hf (a) sont strictement ngatives alors f admet un maximum local stricte
en a.
Dmonstration :
Soit h E \ {0} tel que a + h U et H = [h]B .
On a a est un point critique donc Jf (a) = 0. Dautre part, Hf (a) est symtrique donc O O(n), D = diag(1 , . . . , n )Mn (R)
tels que Hf (a) = tODO. Posons X = OH.

1
1
Daprs la formule de Taylor-Young dordre 2, f (a + h) f (a) = Jf (a)H + tHHf (a)H + o khk2 = tHODOH +
2
2
n
 1X

 1
o khk2 = tXDX + o khk2 =
i x2i + o khk2 .
2
2 i=1
n
X
On dduit que pour h assez proche de 0 le signe de f (a + h) f (a) est celui de
i x2i .
i=1

Si les valeurs propres de la matrice Hessienne Hf (a) sont strictement positives alors

n
X

i x2i > 0 car X 6= 0 puisque

i=1

h 6= 0, O inversible et X = OH. On dduit quau voisinage de a, f (a + h) > f (a) donc f admet un minimum local
stricte en a.
n
X
Si les valeurs propres de la matrice Hessienne Hf (a) sont strictement ngatives alors
i x2i < 0. On dduit quau
i=1

voisinage de a, f (a + h) < f (a) donc f admet un maximum local stricte en a.


Dfinition 4.5 Soit E un R-espace vectoriel norm de dimension finie non nulle, U un ouvert E, f C 2 (U ) et a U .
On dit que f admet un point col ou un point selle en a sil existe deux vecteurs h et k de E tels lapplication t 7 f (a + th)
admet un maximum local stricte en 0 et lapplication t 7 f (a + tk) admet un minimum local stricte en 0.
www.mathlaayoune.webs.com

18/19

mathlaayoune@gmail.com

CPGE Laayoune

Lissane Eddine

Essaidi Ali

Notation de Monge : Soient U un ouvert non vide de R2 , f C 2 (U ) et (a, b) U .


f
2f
2f
2f
On pose p = f
x (a, b), q = y (a, b), r = x2 (a, b), s = xy (a, b) et t = y 2 (a, b) donc :


 h
 r s h
f (a + h, b + k) = f (a, b) + p q
+ h k
+ (h2 + k 2 )
k
s t
k

= f (a, b) + hp + kq + 12 (rh2 + 2shk + tk 2 ) + o h2 + k 2
Corollaire 4.6 SoientU unouvert non vide de R2 , f C 2 (U ) et (a, b) U un point critique de f .
r s
On note Hf (a, b) =
(Notation de Monge) et on suppose que rt s2 6= 0.
s t
Si rt s2 > 0 et r > 0 alors f admet un minimum local stricte en a.
Si rt s2 > 0 et r < 0 alors f admet un maximum local stricte en a.
Si rt s2 < 0 alors f admet un point col en a.
Dmonstration :
On pose Sp(Hf (a)) = {, } donc det Hf (a) = rt s2 = et trHf (a) = r + t = + .
Supposons que rt s2 > 0 et r > 0 donc rt > s2 0 donc t > 0 do r + t > 0. On dduit que et ont mme signe
et + > 0 donc > 0 et > 0 do f admet un minimum local stricte en a.
Supposons que rt s2 > 0 et r < 0 donc rt > s2 0 donc t < 0 do r + t < 0. On dduit que et ont mme signe
et + < 0 donc < 0 et < 0 do f admet un maximum local stricte en a.
Si rt s2 < 0 alors et ont des signes opposs.
Supposons, par exemple que > 0 et < 0. Soit H un vecteur propre associ et K un vecteur propre associ .
Soit B la base canonique de R2 et h, k R2 tels que H = [h]B et K = [k]B .
Pour t au voisinage de 0, le signe de f (a + th) f (a) est celui de tHHf (a)H = khk2 > 0 donc f (a) < f (a + th)
do lapplication t 7 f (a + th) admet un minimum local stricte en 0.
Pour t au voisinage de 0, le signe de f (a + tk) f (a) est celui de tKHf (a)K = kkk2 < 0 donc f (a) > f (a + tk)
do lapplication t 7 f (a + tk) admet un maximum local stricte en 0.
On dduit que f admet un point col en a.
Exemples :
Extrema de la fonction f (x, y) = x2 + y 2 + xy 3x 6y :
Recherche des points
( f critiques de f :

x (x, y) = 0
2x + y 3 = 0
donc
do (x, y) = (0, 3) est lunique point critique
Soit le systme
f
2y + x 6 = 0
(x, y) = 0
y

de f .
Recherche des extrema de f :
2
2
2f
(x, y) = 1 donc la matrice hessienne de f en (0, 3) est Hf (0, 3) =
On a xf2 (x, y) = 2, yf2 (x, y) = 2 et yx

2
f
2f

x2 (0, 3)
xy (0, 3)
2 1
r s
=
=
donc rt s2 = 4 1 = 3 > 0 et r = 2 > 0 do f admet un
1
2
s
t
2
2
f
f
yx (0, 3)
y 2 (0, 3)
minimum local stricte en (0, 3).
Extrema de la fonction f (x, y) = x3 y 2 3xy :
Recherche des points
( f critiques de f :

x (x, y) = 0
3x2 3y = 0
x
= y
2x2 = 3x
Soit le systme
donc
donc
donc
f
2y 3x = 0
3x = 2y
3x = 2y
y (x, y) = 0


3 9
do (x, y) = (0, 3) ou (x, y) = 2 , 4 . On dduit que f admet deux points critiques (0, 0) et 32 , 94 .
Recherche des extrema de f :
2
2
2f
On a xf2 (x, y) = 6x, yf2 (x, y) = 2 et yx
(x, y) = 3
2

f
2f
x2 (0, 0)
xy (0, 0)
Cas du point critique (0, 0) : La matrice hessienne de f en (0, 0) est Hf (0, 0) =
=
2f
2f
yx (0, 0)
y 2 (0, 0)

0 3
r s
=
donc rt s2 = 9 < 0 donc f admet un point col en (0, 3).
3 2
s t
2


f
2f
3 9
3 9
x2 2 , 4
xy 2 , 4


=
Cas du point critique 32 , 49 : La matrice hessienne de f en (0, 0) est Hf 23 , 49 =
 2f

2f
3 9
3 9
yx 2 , 4
y 2 2 , 4


9 3
r s
=
donc rts2 = 9 > 0 et r = 9 < 0 do f admet un maximum local stricte en 32 , 49 .
3 2
s t
www.mathlaayoune.webs.com

19/19

mathlaayoune@gmail.com

Vous aimerez peut-être aussi