02.07.2013 Views

061008 Trans Fonctions de plusieurs variables - Free

061008 Trans Fonctions de plusieurs variables - Free

061008 Trans Fonctions de plusieurs variables - Free

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I Introduction<br />

II Généralités<br />

<strong>Fonctions</strong> <strong>de</strong> <strong>plusieurs</strong> <strong>variables</strong><br />

III Limites – Continuité<br />

IV Dérivées partielles<br />

IV 1 Accroissement<br />

IV 2 Dérivées partielles premières<br />

IV 3 Dérivées partielles secon<strong>de</strong>s<br />

V Optimisation<br />

V 1 Optimisation libre<br />

V2 Optimisation sous contrainte


I Introduction<br />

économistes ↔ fonctions <strong>de</strong> <strong>plusieurs</strong> <strong>variables</strong>.<br />

Exemples:<br />

- les entreprises ven<strong>de</strong>nt souvent <strong>de</strong>ux variétés d'un même<br />

produit qui ne différent que par la qualité, la norme et le coût.<br />

Ainsi si 6000 et 8000 sont les prix unitaires <strong>de</strong> chacune <strong>de</strong>s<br />

<strong>de</strong>ux variétés (1) et (2), et Q1 et Q2 les quantités vendues, le<br />

chiffre d'affaires R peut s'exprimer par:<br />

R( Q1, Q2 ) = 6000 Q1 + 8000 Q2<br />

-une fonction <strong>de</strong> <strong>de</strong>man<strong>de</strong> f dépend <strong>de</strong>s prix P1 et P2 <strong>de</strong><br />

<strong>plusieurs</strong> biens et du revenu R, soit<br />

Q = f ( P1 , P2, R )<br />

Remarque : fonctions définies <strong>de</strong> manière explicite.<br />

Par contre, variable dépendante peut être connue que <strong>de</strong><br />

façon indirecte, par exemple à l’ai<strong>de</strong> d’une relation entre 3


<strong>variables</strong> :<br />

R ( x, y, z ) = 0.<br />

On parle alors <strong>de</strong> fonction implicite.<br />

Ainsi, si on a 2 x + 3 y + z – 25 =0<br />

z = - 2 x – 3 y + 25<br />

La fonction explicite f est: ( x, y ) - 2 x – 3 y + 25<br />

Dans la suite, on se limitera aux fonctions <strong>de</strong> 2 <strong>variables</strong>.<br />

II Généralités<br />

Domaine <strong>de</strong> définition<br />

Définition: On appelle fonction <strong>de</strong> 2 <strong>variables</strong> une application<br />

qui, à tout couple ( x, y ) d'une partie D <strong>de</strong> IR 2 fait correspondre<br />

un nombre réel f ( x, y ).<br />

( x, y ) → f ( x, y )<br />

D s'appelle le domaine <strong>de</strong> définition.


Exemples:<br />

1) Une entreprise vend 2 produits X et Y en quantités x et y<br />

pour <strong>de</strong>s prix <strong>de</strong> unitaires respectifs <strong>de</strong> 100 et 80.<br />

L’entreprise dispose d’une quantité au plus égale à 2000<br />

unités pour le produit X et 3000 unités pour le produit Y.<br />

Ecrire le Chiffre d’Affaires comme fonction f <strong>de</strong> x et y. Quel<br />

est le domaine <strong>de</strong> définition <strong>de</strong> la fonction f ?<br />

Soit R le chiffre d’affaires.<br />

R = 100 x + 80 y<br />

Avec 0 < x ≤ 2000<br />

0 < y ≤ 3000<br />

Le domaine <strong>de</strong> définition s’obtient en traçant les droites<br />

x = 2000 et y = 3000 et en hachurant ou en colorant ce qui ne<br />

convient pas.


y<br />

Domaine <strong>de</strong> définition <strong>de</strong> f : ( x,y ) R = f ( x ,y )<br />

x


2) Exemple économique:<br />

théorie néo-classique <strong>de</strong> l'économie<br />

La production globale Q d'un certain pays est supposée être<br />

expliquée par une fonction <strong>de</strong> la forme:<br />

où A > 0<br />

Q( L, C ) = A L k C<br />

L quantité totale <strong>de</strong> main d’oeuvre<br />

1− k<br />

C quantité <strong>de</strong> capital à un moment donné<br />

k > 0 et 1 - k > 0.<br />

domaine <strong>de</strong> définition : partie du plan où L et C sont positifs .<br />

fonctions dites <strong>de</strong> Cobb-Douglas.


Représentation graphique<br />

fonction d'une variable ↔ courbe <strong>de</strong> y= f ( x ),<br />

fonction <strong>de</strong> <strong>de</strong>ux <strong>variables</strong> ↔ surface z = f ( x, y ).<br />

Le plus souvent, difficiles à visualiser, d’où utilisation <strong>de</strong>s<br />

représentation graphiques <strong>de</strong> coupes horizontales (courbes <strong>de</strong><br />

niveau) ou verticales (abaques).<br />

Courbes <strong>de</strong> niveau<br />

Définition: on appelle courbe <strong>de</strong> niveau k la courbe d'équation<br />

f ( x, y ) = k.<br />

Exemples: 1) en géographie, ligne joignant les points <strong>de</strong> même<br />

altitu<strong>de</strong>.<br />

2) en théorie néoclassique du consommateur, la « fonction<br />

d'utilité » mesure la satisfaction du consommateur lorsqu'il<br />

consomme une quantité x d'un bien X et une quantité y d'un<br />

bien Y. Les courbes <strong>de</strong> niveau joignent les points qui procurent<br />

la même satisfaction et s'appellent les courbes


d'indifférence.<br />

Ainsi, si la fonction d'utilité est donnée par:<br />

U ( x, y ) = 2 x + 3 y<br />

les courbes d'indifférence sont les droites d'équation:<br />

2 x + 3 y = k<br />

c'est-à-dire un ensemble <strong>de</strong> droites parallèles <strong>de</strong> pente –2/3.<br />

3) en théorie <strong>de</strong> la production, les courbes <strong>de</strong> niveau sont<br />

appelées isoquantes.<br />

III. Limites -Continuité<br />

Extension <strong>de</strong>s notions vues pour les fonctions d'une variable.


IV Dérivées partielles.<br />

On suppose la fonction f définie « autour <strong>de</strong> ( x0,y0} ».<br />

IV. 1 Accroissement:<br />

∗ Δx accroissement <strong>de</strong> x autour <strong>de</strong> x0<br />

∗ Δy accroissement <strong>de</strong> y autour <strong>de</strong> y0,<br />

accroissement Δf <strong>de</strong> la fonction<br />

Δf = f ( x0 + Δx, y0 + Δy ) - f ( x0, y0 )<br />

accroissement partiel par rapport à l'une <strong>de</strong>s <strong>variables</strong>, l'autre<br />

étant fixée à une certaine valeur:<br />

f ( x0 + Δx, y0 ) - f ( x0, y0 )<br />

IV. 2. Dérivées partielles premières<br />

Définition: on appelle dérivée partielle <strong>de</strong> f par rapport à x au<br />

point ( x0, y0 ) la limite du quotient <strong>de</strong> l'accroissement partiel<br />

précé<strong>de</strong>nt par Δ x quand Δx tend vers 0.


On la note f 'x ( x0, y0 ) ou encore<br />

Soit<br />

f<br />

'<br />

x<br />

( x<br />

,<br />

)<br />

0 y0<br />

= lim<br />

Δ x →0<br />

f ( x<br />

0<br />

∂f<br />

( x0<br />

, y0<br />

)<br />

∂x<br />

+ Δx,<br />

y0)<br />

− f ( x<br />

Δx<br />

Remarque 1 : on définit <strong>de</strong> manière analogue la dérivée<br />

partielle par rapport à y.<br />

f<br />

'<br />

y<br />

( x<br />

,<br />

)<br />

0 y0<br />

= lim<br />

Δ x →0<br />

f ( x<br />

0<br />

,<br />

y<br />

0<br />

+ Δy)<br />

−<br />

Δy<br />

f ( x<br />

Remarque 2: en fait, f 'x se calculera en considérant y comme<br />

constante et en dérivant par rapport à x.<br />

Remarque 3: comme pour les dérivées <strong>de</strong>s fonctions d'une<br />

variable, on peut définir <strong>de</strong>s fonctions dérivées partielles<br />

0<br />

,<br />

0<br />

y<br />

0<br />

,<br />

)<br />

y<br />

0<br />

)


Exemple :<br />

Calculer les dérivées partielles <strong>de</strong>:<br />

f ( x, y ) = x y + 2 x 2 + 3 y 3 + 5.<br />

Pour calculer f 'x, on considère y comme une constante et on<br />

dérive par rapport à x.<br />

f 'x ( x, y ) = y+ 2 * 2 * x<br />

d'où f 'x ( x, y ) = 4 x + y<br />

On calcule f 'y <strong>de</strong> manière analogue:<br />

f 'y ( x, y ) = x+ 3 * 3 * y 2<br />

soit f 'y ( x, y ) = x+ 9 y 2


IV. 3. Dérivées partielles secon<strong>de</strong>s.<br />

dérivées partielles secon<strong>de</strong>s : dérivées partielles par rapport à x<br />

et y <strong>de</strong>s fonctions f 'x et f 'y considérées comme fonctions <strong>de</strong> 2<br />

<strong>variables</strong>.<br />

Donc 4 dérivées partielles secon<strong>de</strong>s, notées usuellement:<br />

f<br />

f<br />

' '<br />

x<br />

' '<br />

y<br />

2<br />

2<br />

=<br />

=<br />

∂<br />

∂<br />

∂<br />

∂<br />

f<br />

x<br />

f<br />

'<br />

x<br />

y<br />

'<br />

y<br />

f<br />

f<br />

"<br />

xy<br />

"<br />

yx<br />

=<br />

=<br />

∂<br />

∂<br />

f<br />

y<br />

'<br />

x<br />

∂ f<br />

∂ x<br />

Exemple: Calculer les dérivées partielles premières et<br />

secon<strong>de</strong>s <strong>de</strong> la fonction définie par:<br />

f ( x, y ) = 4 x 3 + 3 x 2 y -2 x y 2 + y 4 - 5<br />

On calcule d'abord f ’x et f 'y.<br />

f 'x ( x, y ) = 4 * 3 *x 2 + 3 * 2 *x * y –2 * y 2<br />

soit f 'x ( x, y ) = 12 x 2 + 6 x y - 2 y 2<br />

f 'y ( x, y ) = 3 * 2 * x - 2 x* 2 y + 4 y 3<br />

soit f 'y ( x, y ) = 6 x - 4 x y+ 4 y 3<br />

'<br />

y


Ensuite, il faut dériver f 'x et f 'y. Ainsi<br />

f "x2 ( x, y ) = 24 x + 6 y<br />

f "xy ( x, y ) = 6 x - 4 y<br />

f "y2 ( x, y ) = - 4 x+ 12 y2<br />

f "yx ( x, y ) = 6 x – 4 y<br />

On remarque que f "x y ( x, y ) = f "y x.( x, y )<br />

C'est une propriété générale connue sous le nom <strong>de</strong> théorème<br />

<strong>de</strong> Schwarz:<br />

Soit une fonction f : ( x,y ) f ( x,y ) dont les dérivées partielles<br />

premières et secon<strong>de</strong>s sont définies et continues.<br />

Alors, f "xy ( x, y ) = f "yx.( x, y )


V Optimisation<br />

V. 1. Optimisation libre.<br />

La fonction f admet un maximum local en un point ( x0, y0 ) si:<br />

f ( x0, y0 ) > f ( x, y )<br />

pour tout ( x, y ) se situant « autour <strong>de</strong> ( x0,y0 ) » (notion<br />

mathématique <strong>de</strong> voisinage, généralisation <strong>de</strong> l’intervalle <strong>de</strong><br />

IR).<br />

La fonction f admet un minimum local en un point ( x0, y0 ) si:<br />

f ( x0, y0 ) < f ( x, y )<br />

pour tout ( x, y ) se situant « autour <strong>de</strong> ( x0, y0 ) ».<br />

condition nécessaire pour qu'il existe un maximum local ou un<br />

minimum local en un point ( x0, y0 ) :<br />

les dérivées partielles premières s'annulent en ( x0, y0 ) .<br />

f 'x ( x0, y0 ) = 0 f 'y ( x0, y0 ) = 0<br />

Attention: cette condition n'est pas suffisante. Il faut lui<br />

ajouter une condition du second ordre,<br />

( f’’xy ( x0, y0 ) ) 2 – f’’x2( x0, y0 ) * f’’y2( x0, y0 ) < 0


Si f’’x 2 ( x0, y0 ) < 0 (ou f’’y 2 ( x0, y0 ) < 0) c'est un maximum.<br />

Si f’’x 2 ( x0, y0 ) > 0 (ou f’’y 2 ( x0, y0 ) > 0) c'est un minimum.<br />

Dans les autres cas, soit il n'y a pas d'extremum, soit on ne<br />

peut conclure.<br />

Exemples:<br />

1) Une entreprise produit une quantité x d'un bien X et une<br />

quantité y d'un produit Y .La fonction <strong>de</strong> coût est:<br />

C( x, y ) = 8 x 2 + 6 y 2 – 2 x y - 40 x - 42 y+ 180<br />

Les dérivées partielles premières sont:<br />

C'x ( x, y ) = 16 x - 2 y – 40<br />

C'y ( x, y ) = 12 y - 2 x - 42<br />

Nous <strong>de</strong>vons donc résoudre le système: 16 x - 2 y = 40<br />

- 2 x + 12 y = 42<br />

En multipliant par 8 la <strong>de</strong>uxième équation et en l'ajoutant à la<br />

première, on obtient:


94 y = 376<br />

d'où y = 4. On en déduit x= 3.<br />

Il faut donc vérifier si le point (3,4) peut être un extremum. On<br />

calcule les dérivées partielles secon<strong>de</strong>s.<br />

C "x2 ( x, y ) = 16<br />

C"xy ( x, y ) = - 2<br />

C"y2 ( x, y ) = 12<br />

On a donc ( C"xy ) 2 - C"x 2 .C"y 2 = ( -2 )2 -16 * 12 = -188


V. 2. Optimisation sous contrainte.<br />

résoudre <strong>de</strong>s problèmes sous contrainte : par exemple utilité<br />

sous contrainte <strong>de</strong> budget ou coût sous contrainte d'un<br />

minimum <strong>de</strong> production obligatoire.<br />

1er Cas: une <strong>de</strong>s <strong>variables</strong> peut s'exprimer en fonction <strong>de</strong><br />

l'autre : se ramener à la recherche <strong>de</strong>s extrema d'une fonction<br />

d'une variable.<br />

2ème cas: utilisation d’une fonction auxiliaire L, appelée<br />

Lagrangien, qui permet <strong>de</strong> se ramener à une optimisation libre.<br />

Soit ainsi f : ( x, y ) f ( x, y ) la fonction à optimiser sous la<br />

contrainte g ( x, y ) = O. Le Lagrangien est la fonction <strong>de</strong> 3<br />

<strong>variables</strong> x, y et λ (se dit lambda), définie par:<br />

L ( x, y, λ ) = f ( x, y ) + λ g ( x, y )<br />

λ s'appelle le multiplicateur <strong>de</strong> Lagrange.<br />

L'extremum <strong>de</strong> f sous la contrainte g ( x, y ) = 0 correspond à<br />

l'extremum <strong>de</strong> L. On est donc amené à exprimer les conditions


du premier ordre:<br />

L'x ( x, y, λ ) = 0 L'y ( x; y, λ ) = 0<br />

L' λ ( x, y, λ ) = 0, ce qui correspond à g ( x, y ) = 0<br />

Exemple:<br />

Soit f ( x, y ) = x 2 + x y + y 2 à optimiser sous la contrainte<br />

x + y= 2<br />

Le Lagrangien s'écrit :<br />

L ( x, y, λ ) = x 2 + x y + y 2 + λ ( x + y - 2 )<br />

Calculons les dérivées partielles premières.<br />

L'x ( x, y, λ ) = 2 x + y + λ = 0<br />

L'y ( x, y, λ ) = x+ 2y + λ = 0<br />

L' λ . ( x, y, λ ) = x + y - 2 = 0<br />

De la première équation, on tire λ = -2x -y,<br />

et en remplaçant dans la <strong>de</strong>uxième équation, il vient :<br />

x + 2 y - 2 x – y = 0,<br />

soit y – x = 0, et donc x = y.<br />

En reportant dans la troisième équation, il vient x = y= 1.<br />

Il y a donc un seul extremum possible au point ( 1, 1 ). On<br />

pourrait montrer qu'il s'agit d'un minimum.

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

Saved successfully!

Ooh no, something went wrong!