Ce que tu sais déjà. Tu sais dériver toutes les fonctions usuelles et les composées
(Terminale — Dérivation et convexité ), y compris ln \ln ln
(Terminale — Logarithme ). En Première, tu as vu que l’exponentielle est la
fonction égale à sa dérivée, et la méthode d’Euler (Première — Fonction exponentielle ).
On fait maintenant le chemin inverse : retrouver une fonction à partir de sa dérivée.
1. Équation différentielle et primitive
Définition. Une équation différentielle est une égalité liant une fonction inconnue y y y et ses dérivées. Une
solution sur I I I est une fonction dérivable sur I I I qui vérifie cette égalité pour tout x ∈ I x \in I x ∈ I .
Exemple. La fonction y ( x ) = e 2 x + 3 y(x) = e^{2x} + 3 y ( x ) = e 2 x + 3 est-elle solution de y ′ = 2 y − 6 y' = 2y - 6 y ′ = 2 y − 6 sur R \mathbb{R} R ? y ′ ( x ) = 2 e 2 x y'(x) = 2e^{2x} y ′ ( x ) = 2 e 2 x et
2 y ( x ) − 6 = 2 e 2 x + 6 − 6 = 2 e 2 x 2y(x) - 6 = 2e^{2x} + 6 - 6 = 2e^{2x} 2 y ( x ) − 6 = 2 e 2 x + 6 − 6 = 2 e 2 x . Oui.
Définition. Soit f f f une fonction définie sur un intervalle I I I . On appelle primitive de f f f sur I I I toute fonction
F F F dérivable sur I I I telle que F ′ = f F' = f F ′ = f . Autrement dit, F F F est une solution de l’équation différentielle y ′ = f y' = f y ′ = f .
Exemple. F ( x ) = x 3 + 5 F(x) = x^3 + 5 F ( x ) = x 3 + 5 est une primitive de f ( x ) = 3 x 2 f(x) = 3x^2 f ( x ) = 3 x 2 sur R \mathbb{R} R , car F ′ ( x ) = 3 x 2 F'(x) = 3x^2 F ′ ( x ) = 3 x 2 . G ( x ) = x 3 − 2 G(x) = x^3 - 2 G ( x ) = x 3 − 2 en est une autre.
→ S’entraîner : Exercice 1
2. Ensemble des primitives d’une fonction
Théorème (admis ici, justifié dans le chapitre sur l’intégrale ). Toute fonction
continue sur un intervalle admet des primitives sur cet intervalle.
Propriété. Soit F F F une primitive de f f f sur I I I . Les primitives de f f f sur I I I sont exactement les fonctions
x ↦ F ( x ) + C x \mapsto F(x) + C x ↦ F ( x ) + C , où C C C est un réel quelconque.
🧠 Démonstration — deux primitives d'une même fonction diffèrent d'une constante (exigible au programme)
Pour tout réel C C C , ( F + C ) ′ = F ′ = f (F + C)' = F' = f ( F + C ) ′ = F ′ = f : F + C F + C F + C est une primitive de f f f .
Réciproquement, soit G G G une primitive de f f f sur I I I . Alors ( G − F ) ′ = G ′ − F ′ = f − f = 0 (G - F)' = G' - F' = f - f = 0 ( G − F ) ′ = G ′ − F ′ = f − f = 0 sur I I I . Une fonction de
dérivée nulle sur un intervalle est constante : il existe un réel C C C tel que G − F = C G - F = C G − F = C , soit G = F + C G = F + C G = F + C .
AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTowMjBmZjg4NC0yMDAyLTRiNGMtYWJlNS04NzZmMDY0NGRmYzYAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaMnW3L6uUQfCTCfSJSUtIoIAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDphNWE0MjA4Yi1kYTQxLTQyNzEtYTJlYi1lZjk5ZDgwMTJhOTVscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNo0M7HeJfJRRNxQR4It6OPOQAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVkanBhcmFtZXRlcnOha2luZ3JlZGllbnRzgaJjdXJseC1zZWxmI2p1bWJmPWMycGEuYXNzZXJ0aW9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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQPfIBHaTNxoE2kfpBAtbOruE5uYHa/jRQjaIjigaFyl6+yAxjTjU39AzjGru1SpYRfXAoYWWguKV6v74YqEDnZ8=
x
y
0
C = −2
C = −2
C = 0
C = 0
C = 1
C = 1
C = 2
C = 2
(2 ; 1)
(2 ; 1)
C = −1
C = −1
−3
−3
−2
−2
−1
−1
1
1
2
2
3
3
−2
−2
−1
−1
1
1
2
2
3
3
4
4
Quelques primitives de f(x) = x : les courbes de x ↦ x²/2 + C se déduisent les unes des autres par
translation verticale. Une seule passe par le point (2 ; 1) : celle pour laquelle C = −1.
Condition initiale. Pour x 0 ∈ I x_0 \in I x 0 ∈ I et y 0 y_0 y 0 réel, il existe une unique primitive F F F de f f f telle que F ( x 0 ) = y 0 F(x_0) = y_0 F ( x 0 ) = y 0 .
Exemple. Primitive de f ( x ) = x f(x) = x f ( x ) = x qui vaut 1 1 1 en 2 2 2 : F ( x ) = x 2 2 + C F(x) = \dfrac{x^2}{2} + C F ( x ) = 2 x 2 + C et F ( 2 ) = 2 + C = 1 F(2) = 2 + C = 1 F ( 2 ) = 2 + C = 1 , donc C = − 1 C = -1 C = − 1 .
→ S’entraîner : Exercice 2
3. Calculer des primitives
Primitives usuelles (C C C réel quelconque) — on lit le tableau des dérivées « à l’envers ».
f ( x ) f(x) f ( x ) une primitive F ( x ) F(x) F ( x ) sur k k k (constante)k x kx k x R \mathbb{R} R x n x^n x n (n n n entier, n ≠ − 1 n \neq -1 n = − 1 )x n + 1 n + 1 \dfrac{x^{n+1}}{n+1} n + 1 x n + 1 R \mathbb{R} R si n ⩾ 0 n \geqslant 0 n ⩾ 0 ; ] 0 ; + ∞ [ ]0\,;\,+\infty[ ] 0 ; + ∞ [ ou ] − ∞ ; 0 [ ]-\infty\,;\,0[ ] − ∞ ; 0 [ si n ⩽ − 2 n \leqslant -2 n ⩽ − 2 1 x \dfrac1x x 1 ln x \ln x ln x ] 0 ; + ∞ [ ]0\,;\,+\infty[ ] 0 ; + ∞ [ 1 x \dfrac{1}{\sqrt x} x 1 2 x 2\sqrt x 2 x ] 0 ; + ∞ [ ]0\,;\,+\infty[ ] 0 ; + ∞ [ e x e^x e x e x e^x e x R \mathbb{R} R cos x \cos x cos x sin x \sin x sin x R \mathbb{R} R sin x \sin x sin x − cos x -\cos x − cos x R \mathbb{R} R
Formes composées (u u u dérivable sur I I I , avec les conditions indiquées) : ce sont les formes ( v ′ ∘ u ) × u ′ (v' \circ u) \times u' ( v ′ ∘ u ) × u ′ .
f f f une primitive F F F condition u ′ u n u'u^n u ′ u n (n ≠ − 1 n \neq -1 n = − 1 )u n + 1 n + 1 \dfrac{u^{n+1}}{n+1} n + 1 u n + 1 u ≠ 0 u \neq 0 u = 0 si n < 0 n < 0 n < 0 u ′ u \dfrac{u'}{u} u u ′ ln u \ln u ln u u > 0 u > 0 u > 0 u ′ u \dfrac{u'}{\sqrt u} u u ′ 2 u 2\sqrt u 2 u u > 0 u > 0 u > 0 u ′ e u u'e^u u ′ e u e u e^u e u u ′ cos u u'\cos u u ′ cos u ; u ′ sin u u'\sin u u ′ sin u sin u \sin u sin u ; − cos u -\cos u − cos u
Linéarité. Une primitive de f + g f + g f + g est F + G F + G F + G ; une primitive de k f kf k f est k F kF k F .
📋 Méthode — Reconnaître une forme composée
Repérer la fonction « intérieure » u u u (ce qui est sous la puissance, dans l’exponentielle, au dénominateur…).
Calculer u ′ u' u ′ et chercher si u ′ u' u ′ apparaît en facteur, à une constante multiplicative près .
Ajuster la constante : on écrit f = k × ( forme exacte ) f = k \times (\text{forme exacte}) f = k × ( forme exacte ) .
Exemple : f ( x ) = x e − x 2 f(x) = x\,e^{-x^2} f ( x ) = x e − x 2 . u ( x ) = − x 2 u(x) = -x^2 u ( x ) = − x 2 , u ′ ( x ) = − 2 x u'(x) = -2x u ′ ( x ) = − 2 x . f ( x ) = − 1 2 × ( − 2 x ) e − x 2 = − 1 2 u ′ e u f(x) = -\dfrac12 \times (-2x)e^{-x^2} = -\dfrac12\,u'e^u f ( x ) = − 2 1 × ( − 2 x ) e − x 2 = − 2 1 u ′ e u . Une primitive :
F ( x ) = − 1 2 e − x 2 F(x) = -\dfrac12 e^{-x^2} F ( x ) = − 2 1 e − x 2 . Vérification : F ′ ( x ) = − 1 2 × ( − 2 x ) e − x 2 = x e − x 2 F'(x) = -\dfrac12 \times (-2x)e^{-x^2} = xe^{-x^2} F ′ ( x ) = − 2 1 × ( − 2 x ) e − x 2 = x e − x 2 . ✓
Exemples.
f ( x ) = 6 x 2 − 4 x + 3 f(x) = 6x^2 - 4x + 3 f ( x ) = 6 x 2 − 4 x + 3 : F ( x ) = 2 x 3 − 2 x 2 + 3 x F(x) = 2x^3 - 2x^2 + 3x F ( x ) = 2 x 3 − 2 x 2 + 3 x .
g ( x ) = 2 x x 2 + 1 g(x) = \dfrac{2x}{x^2 + 1} g ( x ) = x 2 + 1 2 x : forme u ′ u \dfrac{u'}{u} u u ′ avec u = x 2 + 1 > 0 u = x^2 + 1 > 0 u = x 2 + 1 > 0 : G ( x ) = ln ( x 2 + 1 ) G(x) = \ln(x^2 + 1) G ( x ) = ln ( x 2 + 1 ) .
h ( x ) = ( 3 x − 1 ) 4 h(x) = (3x - 1)^4 h ( x ) = ( 3 x − 1 ) 4 : u = 3 x − 1 u = 3x - 1 u = 3 x − 1 , u ′ = 3 u' = 3 u ′ = 3 ; h = 1 3 × 3 ( 3 x − 1 ) 4 h = \dfrac13 \times 3(3x - 1)^4 h = 3 1 × 3 ( 3 x − 1 ) 4 , donc H ( x ) = 1 3 × ( 3 x − 1 ) 5 5 = ( 3 x − 1 ) 5 15 H(x) = \dfrac13 \times \dfrac{(3x - 1)^5}{5} = \dfrac{(3x - 1)^5}{15} H ( x ) = 3 1 × 5 ( 3 x − 1 ) 5 = 15 ( 3 x − 1 ) 5 .
k ( x ) = e − 0,5 x k(x) = e^{-0{,}5x} k ( x ) = e − 0 , 5 x : K ( x ) = − 2 e − 0,5 x K(x) = -2e^{-0{,}5x} K ( x ) = − 2 e − 0 , 5 x .
Toujours vérifier en dérivant : c’est rapide et ça évite la plupart des erreurs.
→ S’entraîner : Exercice 3 ·
Exercice 4 ·
Exercice 5
4. L’équation y’ = ay
Théorème. Soit a a a un réel. Les solutions sur R \mathbb{R} R de l’équation différentielle y ′ = a y y' = ay y ′ = a y sont les fonctions
x ↦ C e a x , C ∈ R . x \mapsto C\,e^{ax}, \qquad C \in \mathbb{R}. x ↦ C e a x , C ∈ R .
🧠 Démonstration — résolution de y' = ay (exigible au programme)
Les fonctions x ↦ C e a x x \mapsto Ce^{ax} x ↦ C e a x sont solutions : leur dérivée est C a e a x = a × C e a x Cae^{ax} = a \times Ce^{ax} C a e a x = a × C e a x .
Réciproquement, soit y y y une solution. Posons z ( x ) = y ( x ) e − a x z(x) = y(x)e^{-ax} z ( x ) = y ( x ) e − a x (z z z est dérivable comme produit). Alors
z ′ ( x ) = y ′ ( x ) e − a x − a y ( x ) e − a x = ( y ′ ( x ) − a y ( x ) ) e − a x = 0 , z'(x) = y'(x)e^{-ax} - a\,y(x)e^{-ax} = \big(y'(x) - a\,y(x)\big)e^{-ax} = 0, z ′ ( x ) = y ′ ( x ) e − a x − a y ( x ) e − a x = ( y ′ ( x ) − a y ( x ) ) e − a x = 0 ,
car y ′ = a y y' = ay y ′ = a y . z z z est donc constante sur R \mathbb{R} R : il existe C C C tel que y ( x ) e − a x = C y(x)e^{-ax} = C y ( x ) e − a x = C , soit y ( x ) = C e a x y(x) = Ce^{ax} y ( x ) = C e a x .
Condition initiale. Pour tous réels x 0 x_0 x 0 et y 0 y_0 y 0 , il existe une unique solution telle que y ( x 0 ) = y 0 y(x_0) = y_0 y ( x 0 ) = y 0 .
Exemple. y ′ = − 3 y y' = -3y y ′ = − 3 y et y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 : y ( x ) = C e − 3 x y(x) = Ce^{-3x} y ( x ) = C e − 3 x avec y ( 0 ) = C = 2 y(0) = C = 2 y ( 0 ) = C = 2 . Solution : y ( x ) = 2 e − 3 x y(x) = 2e^{-3x} y ( x ) = 2 e − 3 x .
→ S’entraîner : Exercice 6
5. Les équations y’ = ay + b et y’ = ay + f
Théorème. Soit a ≠ 0 a \neq 0 a = 0 et b b b deux réels. L’équation y ′ = a y + b y' = ay + b y ′ = a y + b admet la solution particulière constante
y p = − b a y_p = -\dfrac{b}{a} y p = − a b , et ses solutions sur R \mathbb{R} R sont les fonctions
x ↦ C e a x − b a , C ∈ R . x \mapsto Ce^{ax} - \dfrac{b}{a}, \qquad C \in \mathbb{R}. x ↦ C e a x − a b , C ∈ R .
Justification. Une constante k k k est solution si 0 = a k + b 0 = ak + b 0 = ak + b , soit k = − b a k = -\dfrac ba k = − a b . Puis y y y est solution si et seulement si
( y − y p ) ′ = y ′ = a y + b = a ( y − y p ) + ( a y p + b ) = a ( y − y p ) (y - y_p)' = y' = ay + b = a(y - y_p) + (ay_p + b) = a(y - y_p) ( y − y p ) ′ = y ′ = a y + b = a ( y − y p ) + ( a y p + b ) = a ( y − y p ) : y − y p y - y_p y − y p est solution de z ′ = a z z' = az z ′ = a z , donc y − y p = C e a x y - y_p = Ce^{ax} y − y p = C e a x .
Généralisation : y ′ = a y + f y' = ay + f y ′ = a y + f . Si y p y_p y p est une solution particulière de y ′ = a y + f y' = ay + f y ′ = a y + f (f f f fonction donnée), alors les
solutions sont les fonctions y = y p + C e a x y = y_p + Ce^{ax} y = y p + C e a x : « solution particulière + solutions de l’équation sans second
membre y ′ = a y y' = ay y ′ = a y ». (Même preuve : y − y p y - y_p y − y p vérifie z ′ = a z z' = az z ′ = a z .)
AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTpkMDg0YTE0ZC0wMzNhLTQ1NDEtYjQ3OS01M2JlZTg2ZWU1MTYAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaB9TuTPr4ej9KCHl2vajbzoAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDo0OTdlNWYzYy1kZGE5LTQ4NmEtYmFkYS00MmM4YmM2ZGYxMTVscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNoqUP7HqQ/85b3mD8gSL0KPwAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVk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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQFr84rlmaQbsUnpN6BVhL8hGucmPevCmEVLF4TZG2sYUqgIPcUMH/5StuMnCKgTlO9T5gR/D/DxwC0agQqKmqIU=
x
y
0
y(0) = 1
y(0) = 1
y = 4
y = 4
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
−1
−1
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
Quelques solutions de y' = −0,5y + 2, de la forme Ce^(−0,5x) + 4 : toutes tendent vers la solution
constante y = 4. La condition initiale y(0) = 1 sélectionne la courbe pour laquelle C = −3.
Exemple. 2 y ′ + y = 4 2y' + y = 4 2 y ′ + y = 4 , soit y ′ = − 0,5 y + 2 y' = -0{,}5y + 2 y ′ = − 0 , 5 y + 2 . Solution constante : − 2 − 0,5 = 4 -\dfrac{2}{-0{,}5} = 4 − − 0 , 5 2 = 4 . Solutions :
y ( x ) = C e − 0,5 x + 4 y(x) = Ce^{-0{,}5x} + 4 y ( x ) = C e − 0 , 5 x + 4 . Avec y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 : C + 4 = 1 C + 4 = 1 C + 4 = 1 , C = − 3 C = -3 C = − 3 , donc y ( x ) = 4 − 3 e − 0,5 x y(x) = 4 - 3e^{-0{,}5x} y ( x ) = 4 − 3 e − 0 , 5 x .
Exemple (y ′ = a y + f y' = ay + f y ′ = a y + f ). ( E ) (E) ( E ) : y ′ = 2 y − 2 x + 1 y' = 2y - 2x + 1 y ′ = 2 y − 2 x + 1 . On cherche une solution affine y p = α x + β y_p = \alpha x + \beta y p = α x + β :
α = 2 α x + 2 β − 2 x + 1 \alpha = 2\alpha x + 2\beta - 2x + 1 α = 2 α x + 2 β − 2 x + 1 pour tout x x x , d’où 2 α − 2 = 0 2\alpha - 2 = 0 2 α − 2 = 0 et 2 β + 1 = α 2\beta + 1 = \alpha 2 β + 1 = α : α = 1 \alpha = 1 α = 1 , β = 0 \beta = 0 β = 0 . Donc y p ( x ) = x y_p(x) = x y p ( x ) = x et les
solutions de ( E ) (E) ( E ) sont y ( x ) = C e 2 x + x y(x) = Ce^{2x} + x y ( x ) = C e 2 x + x .
→ S’entraîner : Exercice 7 ·
Exercice 8
6. Modéliser et approcher : la méthode d’Euler
Modéliser. De nombreux phénomènes vérifient « la vitesse de variation est proportionnelle à l’écart à une valeur
d’équilibre » : refroidissement d’un corps (loi de Newton), charge d’un condensateur, concentration d’un
médicament perfusé… Cela donne une équation y ′ = a ( y − L ) y' = a(y - L) y ′ = a ( y − L ) , c’est-à-dire y ′ = a y − a L y' = ay - aL y ′ = a y − a L , de solution constante L L L .
Exemple (loi de refroidissement de Newton). Un café à 90 ° 90\,° 90 ° C dans une pièce à 20 ° 20\,° 20 ° C vérifie T ′ = − 0,1 ( T − 20 ) T' = -0{,}1(T - 20) T ′ = − 0 , 1 ( T − 20 ) ,
soit T ′ = − 0,1 T + 2 T' = -0{,}1T + 2 T ′ = − 0 , 1 T + 2 . Solutions : T ( t ) = C e − 0,1 t + 20 T(t) = Ce^{-0{,}1t} + 20 T ( t ) = C e − 0 , 1 t + 20 ; T ( 0 ) = 90 T(0) = 90 T ( 0 ) = 90 donne C = 70 C = 70 C = 70 : T ( t ) = 20 + 70 e − 0,1 t T(t) = 20 + 70e^{-0{,}1t} T ( t ) = 20 + 70 e − 0 , 1 t .
Méthode d’Euler. Quand on ne sait pas résoudre, on approche la solution pas à pas : avec un pas h h h petit,
y ( t + h ) ≈ y ( t ) + h y ′ ( t ) y(t + h) \approx y(t) + h\,y'(t) y ( t + h ) ≈ y ( t ) + h y ′ ( t ) (approximation affine).
def euler (t_fin, h):
"""Approche T(t_fin) pour T' = -0.1 (T - 20), T(0) = 90, avec un pas h."""
t, T = 0 , 90
while t < t_fin - 1e-9 :
T = T + h * ( - 0.1 * (T - 20 ))
t = t + h
return T
print (euler( 10 , 1 )) # 44.40...
print (euler( 10 , 0.1 )) # 45.62... (valeur exacte : 20 + 70 e^(-1) ≈ 45.75)
→ S’entraîner : Exercice 9
À retenir.
F F F primitive de f f f : F ′ = f F' = f F ′ = f . Deux primitives diffèrent d’une constante ; une condition F ( x 0 ) = y 0 F(x_0) = y_0 F ( x 0 ) = y 0 fixe la constante.
Formes composées : u ′ u n → u n + 1 n + 1 u'u^n \to \dfrac{u^{n+1}}{n+1} u ′ u n → n + 1 u n + 1 , u ′ u → ln u \dfrac{u'}{u} \to \ln u u u ′ → ln u , u ′ e u → e u u'e^u \to e^u u ′ e u → e u , u ′ u → 2 u \dfrac{u'}{\sqrt u} \to 2\sqrt u u u ′ → 2 u . Vérifier en dérivant.
y ′ = a y y' = ay y ′ = a y : y = C e a x y = Ce^{ax} y = C e a x . y ′ = a y + b y' = ay + b y ′ = a y + b : y = C e a x − b a y = Ce^{ax} - \dfrac ba y = C e a x − a b . y ′ = a y + f y' = ay + f y ′ = a y + f : y = y p + C e a x y = y_p + Ce^{ax} y = y p + C e a x .
Méthode d’Euler : y ( t + h ) ≈ y ( t ) + h y ′ ( t ) y(t + h) \approx y(t) + h\,y'(t) y ( t + h ) ≈ y ( t ) + h y ′ ( t ) .