A first-order linear differential equation is one of many irritating nuisances encountered in calculus. I thus present to you its rancid definition:
A first-order linear diffential equation is any differential equation of the form
A first-order linear diffential equation is any differential equation of the form
dxdt+p(t)x=q(t)
Which has the plain and simple solution
x=e−∫p(t)dt∫e∫p(t)dtq(t)dt
If you too are confused at this, then you've come to the right place.
First, notice that a first-order linear is very similar to the form dudtv+udvdt, which by the product rule would simply equal ddt(uv). Our goal is therefore to put the DE into this form.
The key step is to invent a new function, called f(t), and multiply the first-order linear DE by it:
dxdtf(t)+f(t)p(t)x=f(t)q(t)
And if we define f(t)p(t) equal to dfdt, the whole thing can simplify with the product rule, just as we expected:
dxdtf(t)+dfdtx=f(t)q(t)
ddt(x⋅f(t))=f(t)q(t)
Which is much more manageable.
x⋅f(t)=∫f(t)q(t)dt
x=1f(t)∫f(t)q(t)dt
And you have the solution, assuming you're fine with not explicitly defining f. If that is not the case, then let's find f.
The only condition we gave was
dfdt=f(t)p(t)
Rearanging and integrating:
∫1f(t)df=∫p(t)dt
ln(f(t))=∫p(t)dt
f(t)=e∫p(t)dt
And finally substituting it into the solution:
x=e−∫p(t)dt∫e∫p(t)dtq(t)dt
Q.E.D.
Dude...
ReplyDelete