Let \( y \) be a function of class \( \mathbb{C}^{1}\) on an interval \( I\).
In this part, we will show the function \( y(x) \) under its simplified form \( y\).
As well, let \( a(x)\) be a continuous function and \( f(x)\) any function.
Let \( (E) \) be a linear differential equation or order \( 1 \) with continuous coefficient, and \( (H) \) its associated homogeneous equation:
$$ \Biggl \{ \begin{align*} y' + a(x) y = f(x) \qquad (E) \\ y' + a(x) y = 0 \qquad (H) \end{align*} $$
Solving the homogeneous equation \( (H) \)
\( y_h = 0 \) is solution, but considering \( y_h \) as a non-zero function, the following function \(y_h\) will be an homogeneous solution of \( (H) \) :
$$ y_h= Ke^{- A(x) } $$
Solving the general equation \( (E) \)
Function \(y_s\) will be specific solution of \( (E) \) :
$$ y_s= e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt $$
We will have as a total solution of \( (E) \), the addition of these two solutions:
$$ y_t= y_h + y_s $$
Let \( y \) be a function of class \( \mathbb{C}^{1}\) on an interval \( I\).
In this part, we will show the function \( y(x) \) under its simplified form \( y\).
As well, let \( a(x)\) be a continuous function and \( f(x)\) any function.
Solving a first order linear differential equation \((LDE_1)\) with continuous coefficient consists of finding functions \( y : x \longmapsto y(x)\), which are solutions of an equation \( (E) \) of type:
We can first find solutions \( y_h \) to the homogeneous equation \( ( H) \) :
If \( y_h \) is solution of the homogeneous equation \( ( H) \), and \( y_s \) is specific solution to the equation \( ( E) \), then:
$$ \Biggl \{ \begin{align*} y_s' + a(x) y_s = f(x) \qquad (E) \\ y_h' + a(x) y_h = 0 \qquad (H) \end{align*} $$
By performing the operation \( ( H) + (E) \) :
Thanks to the linearity of the derivative, we notice that \( (y_h + y_s) \) remains solution of \( ( E) \), because:
As a result, \( y_t \) will be a total solution of \( (E) \):
$$ y_t= y_h + y_s $$
We call homogeneous equation \( (H) \), the equivalent of the equation \( (E) \) but without any right side member.
Thus, \( y_h = 0 \) est solution évidente, but let us consider \( y_h \) as a non-zero function.
From \( (H) \), let us try to find a function \( (y_h) \) which corresponds:
Now, we recognize the derivative of a composite function \( ln(u) \):
So, calculating its antiderivative,
We then have as an homogeneous solution for \( (H) \):
$$ y_h= Ke^{- A(x) } $$
There are indeed an infinite number of solutions for \( y_h \) , corresponding to ignorance of the value of the constant \(K\). he latter can be set subsequently based on the existence of initial conditions.
If \( y_h \) is solution of \( (H) \), then:
Now, we apply the product of two functions:
\( y_h \) is definitely a homogeneous solution of \( (H) \).
Knowing a solution to the homogeneous equation \( (H) \), we can start from this to find specific solutions of \( (E) \).
Indeed, when looking for a specific solution \( y_s \) de type :
By applying the method of the variations of parameters (or Lagrange's method), we do have:
Given the following system:
$$ \Biggl \{ \begin{align*} y' + a(x) y = f(x) \qquad (E) \\ y_s' + a(x) y_s = K'(x) e^{- A(x) } \qquad (E_p) \end{align*} $$
Thanks to both equations \( (E) \) and \( (E_p) \), we deduce an equation to solve, to determine \( K(x) \) :
Let us antiderivate each member:
We inject \( (K) \) into \( (y_s) \):
We then have as a specific solution for \( (E) \):
$$ y_s= e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt $$
if \( y_s \) is solution of \( (E) \), then:
We again apply the product of two functions:
$$ y_s' + a(x) y_s = -a (x) e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt + f(x)e^{A(x)} e^{- A(x) } + a(x) e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt $$
$$ y_s' + a(x) y_s = \hspace{0.2em} \underbrace{-a (x) e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt + a(x) e^{- A(x) } \int^x f(t)e^{A(t) } \hspace{0.1em} dt } _\text{ \( = \ 0\)} \enspace + \enspace \underbrace{f(x)e^{A(x)} e^{- A(x) }} _\text{ \( = \ f(x)\)} $$
So,
\( y_s \) is definitely a specific solution of \( (E) \).
In simple cases, we can directly try to find solutions, in specific by identifying the coefficients.
Here are several examples of how to resolve a \( EDL_1\) having the following general form:
Let us take a constant coefficient \( a(x) = 2 \), and a function \( f(x) = x^2 \), then the equation \( (E) \) now becomes:
We then have a homogeneous solution \( y_h \):
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.
Using this method, we do have:
Given the following system:
$$ \Biggl \{ \begin{align*} y' + 2y = x^2 \qquad (E) \\ y_s' + 2y_s = K'(x)e^{- 2x } \qquad (E_p) \end{align*} $$
Thanks to both equations \( (E) \) and \( (E_p) \), we deduce an equation to solve, to determine \( K(x) \):
We antiderivate each side to determine \( K(x) \):
We perform an integration by parts with the following choice of \( u \) and \( v' \):
$$ \Biggl \{ \begin{align*} u(t) = t^2 \\ v'(t) = e^{2t } \hspace{0.1em} dt \end{align*} $$
$$ \Biggl \{ \begin{align*} u'(t) = 2t \hspace{0.1em} dt \\ v(t) = \frac{1}{2} e^{2t } \end{align*} $$
We perform another an integration by parts:
$$ \Biggl \{ \begin{align*} u(t) = t \\ v'(t) = e^{2t } \hspace{0.1em} dt \end{align*} $$
$$ \Biggl \{ \begin{align*} u'(t) = dt \\ v(t) = \frac{1}{2} e^{2t } \end{align*} $$
Now, we inject \( (K) \) into \( (y_s) \):
Given the relative simplicity of the equation \( (E) \):
We can look for a specific solution \( y_s \) of type second degree polynomial:
By injecting \(y_s\) into \( (E)\), we do have:
Which leads us to the following system:
$$ \left \{ \begin{align*} 2a = 1 \\ 2a + 2b = 0 \\ b + 2c = 0 \end{align*} \right \} $$
$$ \left \{ \begin{align*} a = \frac{1}{2} \\ 1 + 2b = 0 \hspace{0.2em} \Longleftrightarrow \hspace{0.2em} b = -\frac{1}{2} \\ -\frac{1}{2} + 2c = 0 \hspace{0.2em} \Longleftrightarrow \hspace{0.2em} c = \frac{1}{4} \end{align*} \right \} $$
So, we directly obtain solutions for \(a, b, c\):
And therefore a solution for \( y_s \):
The total solution of \( (E) \) is the addition of both solutions \( y_h \) and \( y_s \), so:
If \( y_t \) is a solution of \( (E) \), then:
Let us check it.
\( y_t \) is definitely a total solution of \( (E) \).
Let us take a continuous coefficient \( a(x) = \frac{1}{x} \), and a function \( f(x) = x^3\), then the equation \( (E) \) becomes:
We then have a homogeneous solution \( y_h \):
We are looking for a specific solution of the type:
Using this method, we do have:
Given the following system:
$$ \left \{ \begin{align*} y' + \frac{y}{x} = x^3 \qquad \qquad (E) \\ y_s' + \frac{y_s}{x} = \frac {K'(x)}{x} \qquad (E_p) \end{align*} \right \} $$
Thanks to both equations \( (E) \) and \( (E_p) \), we deduce an equation to solve, to determine \( K(x) \):
We antiderivate each side to determine \( K(x) \):
Now, injecting \( (K) \) into \( (y_s) \):
The total solution of \( (E) \) s the addition of the two solutions \( y_h \) and \( y_s \), so:
If \( y_t \) is solution of \( (E) \), then:
Let us check it.
\( y_t \) is definitely a total solution of \( (E) \).