Metamath Proof Explorer


Theorem expgrowth

Description: Exponential growth and decay model. The derivative of a functiony of variablet equals a constantk timesy itself, iffy equals some constantC times the exponential ofkt. This theorem and expgrowthi illustrate one of the simplest and most crucial classes of differential equations, equations that relate functions to their derivatives.

Section 6.3 of Strang p. 242 callsy' =ky "the most important differential equation in applied mathematics". In the field of population ecology it is known as theMalthusian growth model or exponential law, andC,k, andt correspond to initial population size, growth rate, and time respectively ( https://en.wikipedia.org/wiki/Malthusian_growth_model ); and in finance, the model appears in a similar role incontinuous compounding withC as the initial amount of money. Inexponential decay models, k is often expressed as the negative of a positive constant λ.

Herey' is given as ( SD Y ) , C_ as c , andky as ( ( S X. { K } ) oF x. Y ) . ( S X. { K } ) is the constant function that maps any real or complex input tok and oF x. is multiplication as a function operation.

The leftward direction of the biconditional is as given in http://www.saylor.org/site/wp-content/uploads/2011/06/MA221-2.1.1.pdf pp. 1-2, which also notes the reverse direction ("While we will not prove this here, it turns out that these are the only functions that satisfy this equation."). The rightward direction is Theorem 5.1 of LarsonHostetlerEdwards p. 375 (which notes "C is theinitial value ofy, andk is theproportionality constant.Exponential growth occurs whenk > 0, andexponential decay occurs whenk < 0."); its proof here closely follows the proof ofy' =y in https://proofwiki.org/wiki/Exponential_Growth_Equation/Special_Case .

Statements for this and expgrowthi formulated by Mario Carneiro. (Contributed by Steve Rodriguez, 24-Nov-2015)

Ref Expression
Hypotheses expgrowth.s φ S
expgrowth.k φ K
expgrowth.y φ Y : S
expgrowth.dy φ dom Y S = S
Assertion expgrowth φ S D Y = S × K × f Y c Y = t S c e K t

Proof

Step Hyp Ref Expression
1 expgrowth.s φ S
2 expgrowth.k φ K
3 expgrowth.y φ Y : S
4 expgrowth.dy φ dom Y S = S
5 cnelprrecn
6 5 a1i φ
7 recnprss S S
8 1 7 syl φ S
9 8 sseld φ u S u
10 mulcl K u K u
11 2 9 10 syl6an φ u S K u
12 11 imp φ u S K u
13 12 negcld φ u S K u
14 2 negcld φ K
15 14 adantr φ u S K
16 efcl y e y
17 16 adantl φ y e y
18 2 adantr φ u S K
19 9 imp φ u S u
20 ax-1cn 1
21 20 a1i φ u S 1
22 1 dvmptid φ du S u dS u = u S 1
23 1 19 21 22 2 dvmptcmul φ du S K u dS u = u S K 1
24 2 mulid1d φ K 1 = K
25 24 mpteq2dv φ u S K 1 = u S K
26 23 25 eqtrd φ du S K u dS u = u S K
27 1 12 18 26 dvmptneg φ du S K u dS u = u S K
28 dvef D exp = exp
29 eff exp :
30 ffn exp : exp Fn
31 29 30 ax-mp exp Fn
32 dffn5 exp Fn exp = y e y
33 31 32 mpbi exp = y e y
34 33 oveq2i D exp = dy e y d y
35 28 34 33 3eqtr3i dy e y d y = y e y
36 35 a1i φ dy e y d y = y e y
37 fveq2 y = K u e y = e K u
38 1 6 13 15 17 17 27 36 37 37 dvmptco φ du S e K u dS u = u S e K u K
39 38 oveq2d φ Y × f du S e K u dS u = Y × f u S e K u K
40 efcl K u e K u
41 13 40 syl φ u S e K u
42 41 15 mulcld φ u S e K u K
43 42 fmpttd φ u S e K u K : S
44 38 feq1d φ du S e K u dS u : S u S e K u K : S
45 43 44 mpbird φ du S e K u dS u : S
46 mulcom x y x y = y x
47 46 adantl φ x y x y = y x
48 1 3 45 47 caofcom φ Y × f du S e K u dS u = du S e K u dS u × f Y
49 39 48 eqtr3d φ Y × f u S e K u K = du S e K u dS u × f Y
50 49 oveq2d φ Y S × f u S e K u + f Y × f u S e K u K = Y S × f u S e K u + f du S e K u dS u × f Y
51 fconst6g K S × K : S
52 14 51 syl φ S × K : S
53 41 fmpttd φ u S e K u : S
54 1 52 53 47 caofcom φ S × K × f u S e K u = u S e K u × f S × K
55 eqidd φ u S e K u = u S e K u
56 fconstmpt S × K = u S K
57 56 a1i φ S × K = u S K
58 1 41 15 55 57 offval2 φ u S e K u × f S × K = u S e K u K
59 54 58 eqtrd φ S × K × f u S e K u = u S e K u K
60 59 oveq2d φ Y × f S × K × f u S e K u = Y × f u S e K u K
61 60 oveq2d φ Y S × f u S e K u + f Y × f S × K × f u S e K u = Y S × f u S e K u + f Y × f u S e K u K
62 38 dmeqd φ dom du S e K u dS u = dom u S e K u K
63 eqid u S e K u K = u S e K u K
64 63 42 dmmptd φ dom u S e K u K = S
65 62 64 eqtrd φ dom du S e K u dS u = S
66 1 3 53 4 65 dvmulf φ S D Y × f u S e K u = Y S × f u S e K u + f du S e K u dS u × f Y
67 50 61 66 3eqtr4rd φ S D Y × f u S e K u = Y S × f u S e K u + f Y × f S × K × f u S e K u
68 ofmul12 S Y : S S × K : S u S e K u : S Y × f S × K × f u S e K u = S × K × f Y × f u S e K u
69 1 3 52 53 68 syl22anc φ Y × f S × K × f u S e K u = S × K × f Y × f u S e K u
70 69 oveq2d φ Y S × f u S e K u + f Y × f S × K × f u S e K u = Y S × f u S e K u + f S × K × f Y × f u S e K u
71 67 70 eqtrd φ S D Y × f u S e K u = Y S × f u S e K u + f S × K × f Y × f u S e K u
72 oveq1 S D Y = S × K × f Y Y S × f u S e K u = S × K × f Y × f u S e K u
73 72 oveq1d S D Y = S × K × f Y Y S × f u S e K u + f S × K × f Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
74 71 73 sylan9eq φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
75 mulass x y z x y z = x y z
76 75 adantl φ x y z x y z = x y z
77 1 52 3 53 76 caofass φ S × K × f Y × f u S e K u = S × K × f Y × f u S e K u
78 77 oveq2d φ S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
79 78 eqeq2d φ S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
80 79 adantr φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
81 74 80 mpbird φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
82 mulcl x y x y
83 82 adantl φ x y x y
84 fconst6g K S × K : S
85 2 84 syl φ S × K : S
86 inidm S S = S
87 83 85 3 1 1 86 off φ S × K × f Y : S
88 83 52 3 1 1 86 off φ S × K × f Y : S
89 adddir x y z x + y z = x z + y z
90 89 adantl φ x y z x + y z = x z + y z
91 1 53 87 88 90 caofdir φ S × K × f Y + f S × K × f Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
92 91 eqeq2d φ S D Y × f u S e K u = S × K × f Y + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
93 92 adantr φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × K × f Y × f u S e K u + f S × K × f Y × f u S e K u
94 81 93 mpbird φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y + f S × K × f Y × f u S e K u
95 ofnegsub S S × K × f Y : S S × K × f Y : S S × K × f Y + f S × 1 × f S × K × f Y = S × K × f Y f S × K × f Y
96 1 87 87 95 syl3anc φ S × K × f Y + f S × 1 × f S × K × f Y = S × K × f Y f S × K × f Y
97 neg1cn 1
98 97 fconst6 S × 1 : S
99 98 a1i φ S × 1 : S
100 1 99 85 3 76 caofass φ S × 1 × f S × K × f Y = S × 1 × f S × K × f Y
101 97 a1i φ 1
102 1 101 2 ofc12 φ S × 1 × f S × K = S × -1 K
103 2 mulm1d φ -1 K = K
104 103 sneqd φ -1 K = K
105 104 xpeq2d φ S × -1 K = S × K
106 102 105 eqtrd φ S × 1 × f S × K = S × K
107 106 oveq1d φ S × 1 × f S × K × f Y = S × K × f Y
108 100 107 eqtr3d φ S × 1 × f S × K × f Y = S × K × f Y
109 108 oveq2d φ S × K × f Y + f S × 1 × f S × K × f Y = S × K × f Y + f S × K × f Y
110 ofsubid S S × K × f Y : S S × K × f Y f S × K × f Y = S × 0
111 1 87 110 syl2anc φ S × K × f Y f S × K × f Y = S × 0
112 96 109 111 3eqtr3d φ S × K × f Y + f S × K × f Y = S × 0
113 112 oveq1d φ S × K × f Y + f S × K × f Y × f u S e K u = S × 0 × f u S e K u
114 113 eqeq2d φ S D Y × f u S e K u = S × K × f Y + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × 0 × f u S e K u
115 114 adantr φ S D Y = S × K × f Y S D Y × f u S e K u = S × K × f Y + f S × K × f Y × f u S e K u S D Y × f u S e K u = S × 0 × f u S e K u
116 94 115 mpbid φ S D Y = S × K × f Y S D Y × f u S e K u = S × 0 × f u S e K u
117 0cnd φ 0
118 mul02 x 0 x = 0
119 118 adantl φ x 0 x = 0
120 1 53 117 117 119 caofid2 φ S × 0 × f u S e K u = S × 0
121 120 adantr φ S D Y = S × K × f Y S × 0 × f u S e K u = S × 0
122 116 121 eqtrd φ S D Y = S × K × f Y S D Y × f u S e K u = S × 0
123 1 adantr φ S D Y = S × K × f Y S
124 83 3 53 1 1 86 off φ Y × f u S e K u : S
125 124 adantr φ S D Y = S × K × f Y Y × f u S e K u : S
126 122 dmeqd φ S D Y = S × K × f Y dom Y × f u S e K u S = dom S × 0
127 0cn 0
128 127 fconst6 S × 0 : S
129 128 fdmi dom S × 0 = S
130 126 129 eqtrdi φ S D Y = S × K × f Y dom Y × f u S e K u S = S
131 123 125 130 dvconstbi φ S D Y = S × K × f Y S D Y × f u S e K u = S × 0 x Y × f u S e K u = S × x
132 122 131 mpbid φ S D Y = S × K × f Y x Y × f u S e K u = S × x
133 oveq1 Y × f u S e K u = S × x Y × f u S e K u ÷ f u S e K u = S × x ÷ f u S e K u
134 efne0 K u e K u 0
135 eldifsn e K u 0 e K u e K u 0
136 40 134 135 sylanbrc K u e K u 0
137 13 136 syl φ u S e K u 0
138 137 fmpttd φ u S e K u : S 0
139 ofdivcan4 S Y : S u S e K u : S 0 Y × f u S e K u ÷ f u S e K u = Y
140 1 3 138 139 syl3anc φ Y × f u S e K u ÷ f u S e K u = Y
141 140 eqeq1d φ Y × f u S e K u ÷ f u S e K u = S × x ÷ f u S e K u Y = S × x ÷ f u S e K u
142 133 141 syl5ib φ Y × f u S e K u = S × x Y = S × x ÷ f u S e K u
143 142 adantr φ x Y × f u S e K u = S × x Y = S × x ÷ f u S e K u
144 vex x V
145 144 a1i φ u S x V
146 ovexd φ u S 1 e K u V
147 fconstmpt S × x = u S x
148 147 a1i φ S × x = u S x
149 efneg K u e K u = 1 e K u
150 12 149 syl φ u S e K u = 1 e K u
151 150 mpteq2dva φ u S e K u = u S 1 e K u
152 1 145 146 148 151 offval2 φ S × x ÷ f u S e K u = u S x 1 e K u
153 152 adantr φ x S × x ÷ f u S e K u = u S x 1 e K u
154 efcl K u e K u
155 efne0 K u e K u 0
156 154 155 jca K u e K u e K u 0
157 12 156 syl φ u S e K u e K u 0
158 ax-1ne0 1 0
159 20 158 pm3.2i 1 1 0
160 divdiv2 x 1 1 0 e K u e K u 0 x 1 e K u = x e K u 1
161 159 160 mp3an2 x e K u e K u 0 x 1 e K u = x e K u 1
162 157 161 sylan2 x φ u S x 1 e K u = x e K u 1
163 12 154 syl φ u S e K u
164 mulcl x e K u x e K u
165 163 164 sylan2 x φ u S x e K u
166 165 div1d x φ u S x e K u 1 = x e K u
167 162 166 eqtrd x φ u S x 1 e K u = x e K u
168 167 ancoms φ u S x x 1 e K u = x e K u
169 168 an32s φ x u S x 1 e K u = x e K u
170 169 mpteq2dva φ x u S x 1 e K u = u S x e K u
171 153 170 eqtrd φ x S × x ÷ f u S e K u = u S x e K u
172 171 eqeq2d φ x Y = S × x ÷ f u S e K u Y = u S x e K u
173 143 172 sylibd φ x Y × f u S e K u = S × x Y = u S x e K u
174 173 reximdva φ x Y × f u S e K u = S × x x Y = u S x e K u
175 174 adantr φ S D Y = S × K × f Y x Y × f u S e K u = S × x x Y = u S x e K u
176 132 175 mpd φ S D Y = S × K × f Y x Y = u S x e K u
177 176 ex φ S D Y = S × K × f Y x Y = u S x e K u
178 1 adantr φ x Y = u S x e K u S
179 2 adantr φ x Y = u S x e K u K
180 simprl φ x Y = u S x e K u x
181 eqid u S x e K u = u S x e K u
182 178 179 180 181 expgrowthi φ x Y = u S x e K u du S x e K u dS u = S × K × f u S x e K u
183 182 3impb φ x Y = u S x e K u du S x e K u dS u = S × K × f u S x e K u
184 oveq2 Y = u S x e K u S D Y = du S x e K u dS u
185 oveq2 Y = u S x e K u S × K × f Y = S × K × f u S x e K u
186 184 185 eqeq12d Y = u S x e K u S D Y = S × K × f Y du S x e K u dS u = S × K × f u S x e K u
187 186 3ad2ant3 φ x Y = u S x e K u S D Y = S × K × f Y du S x e K u dS u = S × K × f u S x e K u
188 183 187 mpbird φ x Y = u S x e K u S D Y = S × K × f Y
189 188 rexlimdv3a φ x Y = u S x e K u S D Y = S × K × f Y
190 177 189 impbid φ S D Y = S × K × f Y x Y = u S x e K u
191 oveq2 u = t K u = K t
192 191 fveq2d u = t e K u = e K t
193 192 oveq2d u = t x e K u = x e K t
194 193 cbvmptv u S x e K u = t S x e K t
195 oveq1 x = c x e K t = c e K t
196 195 mpteq2dv x = c t S x e K t = t S c e K t
197 194 196 eqtrid x = c u S x e K u = t S c e K t
198 197 eqeq2d x = c Y = u S x e K u Y = t S c e K t
199 198 cbvrexvw x Y = u S x e K u c Y = t S c e K t
200 190 199 bitrdi φ S D Y = S × K × f Y c Y = t S c e K t