First Order DFQ with constants
We can write a general first order differential equation (DFQ) as:
We will consider solutions to only linear equations such as
When and are constants the solution is straightforward, but let’s just do it. Off topic, but I actually used to hate when textbooks would say something like that, but now writing this I see why they do it. Anyway,
and check that it indeed satisfies the initial DFQ.
f(x) != constant
When the terms are not constant, the solution is a little trickier. The trick is to arrange the left side of the equation such that it is a derivative of . So consider this example:
Now, we have to cook up such that its derivative is , an obvious candidate is !
Where we only have to evaluate the integral. In most cases, it will require to do Integration by parts.
g(x), f(x) != constants
It gets a little harder when is not constant: one additional step (but the general idea is the same).
Similarly, we have to cook up such that its derivative is . That’s a differential equation itself:
(I dropped an integration constant above because it will be “eaten up” by another constant further down the line). Using this result, we will obtain
The next interesting topic is the actual application of these tools to real life problems - Modeling with First Order DFQ