First Order Linear ODE's

May 31, 2019

Standard Linear Form

First order linear ODE is in the following form:

or nowadays the input variable representing time is more widely used:

This is linear because ’s exponential is 1. And we shall pay attention the coefficient of is one. In this course, we shall notice that is written in the left-hand side. In some books is written on the right of the equal signs. This is the first inseparable DE we learn to solve. This type of DE has explicit solution and has many applications such as temperature concentration modeling, bank interests, exponential decay and etc. The prof. introduced the temperature model in this class.

Temp - Concentration / Conduction - Diffusion Model

Figure 1. Temperature Model

From Figure 1., we have some space or inner box inside a bigger box. And the temperature in the inner box is different than the external temperature in the bigger box . Let denotes time, the rate that changes with time is:

represents the conductivity constant. Note here we put in the left because we want . This is saying that when the external temperature is greater than the internal temperature , the inner temperature is increasing.

Diffusion

Figure 2. Diffusion Model

For diffusion it’s similar. Say we have as salt concentration inside, and as external salt concentration. Then the rate that the inside salt concentration increases is:

Integrating factors

Now we can talk about how to solve this type of DE. One way is by integrating factor , or call whatever you like. The purpose of , abbreviating as to avoid confusion, is to make:

the lefthand side the DE the derivative of . If we can achieve this, then the DE is easily solved by finding the integration on the right-hand side. So what integrating factor will achieve this? Look at eq. (1) closer, expanding left-hand side:

expanding right-hand side:

That is, we need to use a that its derivative is . What can we do is by seperating variables and integrating both sides to find :

And remember depending on input , .Note we don’t need here since only one is needed. Let’s take an example and summarize the steps:

Given a first order linear DE that may not be in standard form, we need to:

  1. Write it in standard form:
  2. Calculate I.F. integrating factor
  3. Multiply both side by the I.F. :
  4. Integrate:

Definite Integral

Let’s get the general solution for (1) when it has constant coefficients by integrating factors. For constant coefficients , The integrating factor is

This is solved with indefinite integral. Sometimes people prefer definite integral because it is convenient for initial value substitution. Let’s see it.

You see that in this case we have in the right hand side. This is the value when the function is at time 0, which is often known.

First Order Linear ODE's - May 31, 2019 - Ruizhen Mai