Solving 1st order lin. diff. equations with continuous coefficient
Let be a function of class on an interval .
In this part, we will show the function under its simplified form .
As well, let be a continuous function and any function.
Let be a linear differential equation or order with continuous coefficient, and its associated homogeneous equation:
Solving the homogeneous equation
is solution, but considering as a non-zero function, the following function will be an homogeneous solution of :
Solving the general equation
Function will be specific solution of :
We will have as a total solution of , the addition of these two solutions:
Demonstration
Let be a function of class on an interval .
In this part, we will show the function under its simplified form .
As well, let be a continuous function and any function.
Solving a first order linear differential equation with continuous coefficient consists of finding functions , which are solutions of an equation of type:
We can first find solutions to the homogeneous equation :
If is solution of the homogeneous equation , and is specific solution to the equation , then:
By performing the operation :
Thanks to the linearity of the derivative, we notice that remains solution of , because:
As a result, will be a total solution of :
We call homogeneous equation , the equivalent of the equation but without any right side member.
Thus, est solution évidente, but let us consider as a non-zero function.
From , let us try to find a function which corresponds:
So, calculating its antiderivative,
We then have as an homogeneous solution for :
There are indeed an infinite number of solutions for , corresponding to ignorance of the value of the constant . he latter can be set subsequently based on the existence of initial conditions.
-
Verification of the homogeneous solution
If is solution of , then:
Now, we apply the product of two functions:
is definitely a homogeneous solution of .
Knowing a solution to the homogeneous equation , we can start from this to find specific solutions of .
-
The method of the variations of parameters
Indeed, when looking for a specific solution de type :
By applying the method of the variations of parameters (or Lagrange's method), we do have:
Given the following system:
Thanks to both equations and , we deduce an equation to solve, to determine :
Let us antiderivate each member:
We inject into :
We then have as a specific solution for :
-
Verification of the specific solution
if is solution of , then:
We again apply the product of two functions:
So,
is definitely a specific solution of .
-
Obvious solutions
In simple cases, we can directly try to find solutions, in specific by identifying the coefficients.
Examples
Here are several examples of how to resolve a having the following general form:
-
With a constant coefficient
Let us take a constant coefficient , and a function , then the equation now becomes:
-
Solving the homogeneous equation
We then have a homogeneous solution :
-
Solving the general equation
We are looking for a specific solution of the type:
To do this, we can use the method of the variations of parameters, or use the coefficient identification method.
-
By the method of the variations of parameters
Using this method, we do have:
Given the following system:
Thanks to both equations and , we deduce an equation to solve, to determine :
We antiderivate each side to determine :
We perform an integration by parts with the following choice of and :
We perform another an integration by parts:
Now, we inject into :
-
By the coefficient identification method
Given the relative simplicity of the equation :
We can look for a specific solution of type second degree polynomial:
By injecting into , we do have:
Which leads us to the following system:
So, we directly obtain solutions for :
And therefore a solution for :
-
Addition of solutions
The total solution of is the addition of both solutions and , so:
-
Verification of the total solution
If is a solution of , then:
Let us check it.
is definitely a total solution of .
-
With a continuous coefficient
Let us take a continuous coefficient , and a function , then the equation becomes:
-
Solving the homogeneous equation
We then have a homogeneous solution :
-
Solving the general equation
We are looking for a specific solution of the type:
-
By the method of the variations of parameters
Using this method, we do have:
Given the following system:
Thanks to both equations and , we deduce an equation to solve, to determine :
We antiderivate each side to determine :
Now, injecting into :
-
Addition of solutions
The total solution of s the addition of the two solutions and , so:
-
Verification of the total solution
If is solution of , then:
Let us check it.
is definitely a total solution of .