Internal
problem
ID
[9079]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
8
Date
solved
:
Monday, January 27, 2025 at 05:32:06 PM
CAS
classification
:
[[_2nd_order, _quadrature]]
Solve
Factoring the ode gives these factors
Now each of the above equations is solved in turn.
Solving equation (1)
Time used: 0.019 (sec)
The ODE can be written as
Integrating once gives
Integrating again gives
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.092 (sec)
This is second order non-homogeneous ODE. In standard form the ODE is
Where \(A=1, B=0, C=0, f(x)=1\). Let the solution be
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
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above \(A=1, B=0, C=0\). Let the solution be \(y=e^{\lambda x}\). Substituting this into the ODE gives
Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda x}\) gives
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting \(A=1, B=0, C=0\) into the above gives
Hence this is the case of a double root \(\lambda _{1,2} = 0\). Therefore the solution is
Therefore the homogeneous solution \(y_h\) is
The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is
Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is
While the set of the basis functions for the homogeneous solution found earlier is
Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
Since \(x\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
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.
The unknowns \(\{A_{1}\}\) 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
Solving for the unknowns by comparing coefficients results in
Substituting the above back in the above trial solution \(y_p\), gives the particular solution
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.066 (sec)
An ode of the form
is exact if
For the given ode we have
Hence
Therefore (1) becomes
Hence the ode is exact. Since we now know the ode is exact, it can be written as
Integrating gives
Substituting the above values for \(p,q,r,s\) gives
We now have a first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.059 (sec)
This is second order ode with missing dependent variable \(y\). Let
Then
Hence the ode becomes
Which is now solved for \(u(x)\) as first order ode.
Since the ode has the form \(u^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \(u(x)\)
For solution \(u \left (x \right ) = x +c_1\), since \(u=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \((y)\)
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.031 (sec)
Integrating both sides of the ODE w.r.t \(x\) gives
Which is now solved for \(y\). Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.031 (sec)
Writing the ode as
Integrating both sides of the ODE w.r.t \(x\) gives
Which is now solved for \(y\). Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Time used: 0.477 (sec)
Multiplying the ode by \(y^{\prime }\) gives
Integrating the above w.r.t \(x\) gives
Which is now solved for \(y\). Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Integrating gives
Singular solutions are found by solving
for \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
Solving for \(y\) gives
Solving Eq. (2)
Integrating gives
Singular solutions are found by solving
for \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
Solving for \(y\) gives
Will add steps showing solving for IC soon.
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
Time used: 0.047 (sec)
Writing the ode as
Comparing (1) and (2) shows that
Applying the Liouville transformation on the dependent variable gives
Then (2) becomes
Where \(r\) is given by
Substituting the values of \(A,B,C\) from (3) in the above and simplifying gives
Comparing the above to (5) shows that
Therefore eq. (4) becomes
Equation (7) is now solved. After finding \(z(x)\) then \(y\) is found using the inverse transformation
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.
Case |
Allowed pole order for \(r\) |
Allowed value for \(\mathcal {O}(\infty )\) |
1 |
\(\left \{ 0,1,2,4,6,8,\cdots \right \} \) |
\(\left \{ \cdots ,-6,-4,-2,0,2,3,4,5,6,\cdots \right \} \) |
2 |
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 \} \) |
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 \(infinity\) then the necessary conditions for case one are met. Therefore
Since \(r = 0\) 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
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
Since \(B=0\) then the above reduces to
Which simplifies to
The second solution \(y_2\) to the original ode is found using reduction of order
Since \(B=0\) then the above becomes
Therefore the solution is
This is second order nonhomogeneous ODE. Let the solution be
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
The homogeneous solution is found using the Kovacic algorithm which results in
The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is
Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is
While the set of the basis functions for the homogeneous solution found earlier is
Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
Since \(x\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
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.
The unknowns \(\{A_{1}\}\) 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
Solving for the unknowns by comparing coefficients results in
Substituting the above back in the above trial solution \(y_p\), gives the particular solution
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.465 (sec)
In normal form the ode
Becomes
Where
The Lagrange adjoint ode is given by
Which is solved for \(\xi (x)\). Integrating twice gives the solution
Will add steps showing solving for IC soon.
The original ode now reduces to first order ode
Or
Which is now a first order ode. This is now solved for \(y\). In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor \(\mu \) is
The ode becomes
Integrating gives
Dividing throughout by the integrating factor \(\frac {1}{c_1 x +c_2}\) gives the final solution
Hence, the solution found using Lagrange adjoint equation method is
The constants can be merged to give
Will add steps showing solving for IC soon.
Summary of solutions found
Solving equation (2)
Time used: 0.011 (sec)
The ODE can be written as
Integrating once gives
Integrating again gives
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.053 (sec)
This is second order non-homogeneous ODE. In standard form the ODE is
Where \(A=1, B=0, C=0, f(x)=-1\). Let the solution be
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
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above \(A=1, B=0, C=0\). Let the solution be \(y=e^{\lambda x}\). Substituting this into the ODE gives
Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda x}\) gives
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting \(A=1, B=0, C=0\) into the above gives
Hence this is the case of a double root \(\lambda _{1,2} = 0\). Therefore the solution is
Therefore the homogeneous solution \(y_h\) is
The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is
Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is
While the set of the basis functions for the homogeneous solution found earlier is
Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
Since \(x\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
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.
The unknowns \(\{A_{1}\}\) 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
Solving for the unknowns by comparing coefficients results in
Substituting the above back in the above trial solution \(y_p\), gives the particular solution
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.043 (sec)
An ode of the form
is exact if
For the given ode we have
Hence
Therefore (1) becomes
Hence the ode is exact. Since we now know the ode is exact, it can be written as
Integrating gives
Substituting the above values for \(p,q,r,s\) gives
We now have a first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.051 (sec)
This is second order ode with missing dependent variable \(y\). Let
Then
Hence the ode becomes
Which is now solved for \(u(x)\) as first order ode.
Since the ode has the form \(u^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \(u(x)\)
For solution \(u \left (x \right ) = -x +c_1\), since \(u=y^{\prime }\) then we now have a new first order ode to solve which is
Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \((y)\)
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.027 (sec)
Integrating both sides of the ODE w.r.t \(x\) gives
Which is now solved for \(y\). Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.034 (sec)
Writing the ode as
Integrating both sides of the ODE w.r.t \(x\) gives
Which is now solved for \(y\). Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
Will add steps showing solving for IC soon.
Time used: 0.427 (sec)
Multiplying the ode by \(y^{\prime }\) gives
Integrating the above w.r.t \(x\) gives
Which is now solved for \(y\). Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Integrating gives
Singular solutions are found by solving
for \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
Solving for \(y\) gives
Solving Eq. (2)
Integrating gives
Singular solutions are found by solving
for \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
Solving for \(y\) gives
Will add steps showing solving for IC soon.
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
Time used: 0.048 (sec)
Writing the ode as
Comparing (1) and (2) shows that
Applying the Liouville transformation on the dependent variable gives
Then (2) becomes
Where \(r\) is given by
Substituting the values of \(A,B,C\) from (3) in the above and simplifying gives
Comparing the above to (5) shows that
Therefore eq. (4) becomes
Equation (7) is now solved. After finding \(z(x)\) then \(y\) is found using the inverse transformation
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.
Case |
Allowed pole order for \(r\) |
Allowed value for \(\mathcal {O}(\infty )\) |
1 |
\(\left \{ 0,1,2,4,6,8,\cdots \right \} \) |
\(\left \{ \cdots ,-6,-4,-2,0,2,3,4,5,6,\cdots \right \} \) |
2 |
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 \} \) |
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 \(infinity\) then the necessary conditions for case one are met. Therefore
Since \(r = 0\) 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
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
Since \(B=0\) then the above reduces to
Which simplifies to
The second solution \(y_2\) to the original ode is found using reduction of order
Since \(B=0\) then the above becomes
Therefore the solution is
This is second order nonhomogeneous ODE. Let the solution be
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
The homogeneous solution is found using the Kovacic algorithm which results in
The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is
Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is
While the set of the basis functions for the homogeneous solution found earlier is
Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
Since \(x\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes
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.
The unknowns \(\{A_{1}\}\) 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
Solving for the unknowns by comparing coefficients results in
Substituting the above back in the above trial solution \(y_p\), gives the particular solution
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.116 (sec)
In normal form the ode
Becomes
Where
The Lagrange adjoint ode is given by
Which is solved for \(\xi (x)\). Integrating twice gives the solution
Will add steps showing solving for IC soon.
The original ode now reduces to first order ode
Or
Which is now a first order ode. This is now solved for \(y\). In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor \(\mu \) is
The ode becomes
Integrating gives
Dividing throughout by the integrating factor \(\frac {1}{c_1 x +c_2}\) gives the final solution
Hence, the solution found using Lagrange adjoint equation method is
The constants can be merged to give
Will add steps showing solving for IC soon.
Summary of solutions found
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful Methods for second order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful`
Solving time : 0.004
(sec)
Leaf size : 27
dsolve(diff(diff(y(x),x),x)^2 = 1,y(x),singsol=all)