Internal
problem
ID
[9114] Book
:
Second
order
enumerated
odes Section
:
section
1 Problem
number
:
43 Date
solved
:
Sunday, March 30, 2025 at 02:07:28 PM CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
This is second order non-homogeneous ODE. In standard form the ODE is
\[ A y''(x) + B y'(x) + C y(x) = f(x) \]
Where \(A=1, B=0, C=1, f(x)=\sin \left (x \right )\). Let the solution be
\[ y = y_h + y_p \]
Where \(y_h\) is the solution to the homogeneous ODE \( A y''(x) + B y'(x) + C y(x) = 0\), and \(y_p\) is a particular solution to the non-homogeneous ODE \(A y''(x) + B y'(x) + C y(x) = f(x)\). \(y_h\) is the solution to
\[ y^{\prime \prime }+y = 0 \]
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
\[ A y''(x) + B y'(x) + C y(x) = 0 \]
Where in the above \(A=1, B=0, C=1\). Let the solution be \(y=e^{\lambda x}\). Substituting this into the ODE gives
Since there was duplication between the basis functions in the UC_set and the basis functions of the homogeneous solution, the trial solution is a linear combination of all the basis
function in the above updated UC_set.
\[
y_p = A_{1} x \cos \left (x \right )+A_{2} x \sin \left (x \right )
\]
The unknowns \(\{A_{1}, A_{2}\}\) are found by substituting the above trial solution \(y_p\) into the ODE and comparing coefficients. Substituting the trial solution into the ODE and simplifying gives
Equation (7) is now solved. After finding \(z(x)\) then \(y\) is found using the inverse transformation
\begin{align*} y &= z \left (x \right ) e^{-\int \frac {B}{2 A} \,dx} \end{align*}
The first step is to determine the case of Kovacic algorithm this ode belongs to. There are 3 cases depending on the order of poles of \(r\) and the order of \(r\) at \(\infty \). The following table summarizes these cases.
Need to have at least one pole
that is either order \(2\) or odd order
greater than \(2\). Any other pole order
is allowed as long as the above
condition is satisfied. Hence the
following set of pole orders are all
allowed. \(\{1,2\}\),\(\{1,3\}\),\(\{2\}\),\(\{3\}\),\(\{3,4\}\),\(\{1,2,5\}\).
no condition
3
\(\left \{ 1,2\right \} \)
\(\left \{ 2,3,4,5,6,7,\cdots \right \} \)
Table 2.28: Necessary conditions for each Kovacic case
The order of \(r\) at \(\infty \) is the degree of \(t\) minus the degree of \(s\). Therefore
There are no poles in \(r\). Therefore the set of poles \(\Gamma \) is empty. Since there is no odd order pole larger than \(2\) and the order at \(\infty \) is \(0\) then the necessary conditions for case one are met. Therefore
\begin{align*} L &= [1] \end{align*}
Since \(r = -1\) is not a function of \(x\), then there is no need run Kovacic algorithm to obtain a solution for transformed ode \(z''=r z\) as one solution is
\[ z_1(x) = \cos \left (x \right ) \]
Using the above, the solution for the original ode can now be found. The first solution to the original ode in \(y\) is found from
This is second order nonhomogeneous ODE. Let the solution be
\[
y = y_h + y_p
\]
Where \(y_h\) is the solution to the homogeneous ODE \( A y''(x) + B y'(x) + C y(x) = 0\), and \(y_p\) is a particular solution to the nonhomogeneous ODE \(A y''(x) + B y'(x) + C y(x) = f(x)\). \(y_h\) is the solution to
\[
y^{\prime \prime }+y = 0
\]
The homogeneous solution is found using the Kovacic algorithm which results in
Since there was duplication between the basis functions in the UC_set and the basis functions of the homogeneous solution, the trial solution is a linear
combination of all the basis function in the above updated UC_set.
\[
y_p = A_{1} x \cos \left (x \right )+A_{2} x \sin \left (x \right )
\]
The unknowns \(\{A_{1}, A_{2}\}\) are found by substituting the above trial solution \(y_p\) into the ODE and comparing coefficients. Substituting the trial solution into the ODE and simplifying gives
Methodsfor second order ODEs:---Trying classification methods ---tryinga quadraturetryinghigh order exact linear fully integrabletryingdifferential order: 2; linear nonhomogeneous with symmetry [0,1]tryinga double symmetry of the form [xi=0, eta=F(x)]->Try solving first the homogeneous part of the ODEchecking if the LODE has constant coefficients<- constant coefficients successful<-solving first the homogeneous part of the ODE successful