Internal
problem
ID
[8962]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
5.0
Problem
number
:
2
Date
solved
:
Friday, April 25, 2025 at 05:26:58 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Time used: 0.070 (sec)
Solve
The ode satisfies this form
Where
Multiplying both sides of the ODE by the integrating factor
Integrating once gives
Integrating again gives
Hence the solution is
Or
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.092 (sec)
Solve
In normal form the given ode is written as
Where
Calculating the Liouville ode invariant
Since the Liouville ode invariant does not depend on the independent variable
is used to change the original ode to a constant coefficients ode in
Hence (3) becomes
Applying this change of variable to the original ode results in
Which is now solved for
The above ode can be simplified to
Integrating twice gives the solution
Will add steps showing solving for IC soon.
Now that
But from (5)
Hence (7) becomes
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.145 (sec)
Solve
Writing the ode as
Comparing (1) and (2) shows that
Applying the Liouville transformation on the dependent variable gives
Then (2) becomes
Where
Substituting the values of
Comparing the above to (5) shows that
Therefore eq. (4) becomes
Equation (7) is now solved. After finding
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
Case |
Allowed pole order for |
Allowed value for |
1 |
|
|
2 |
Need to have at least one pole
that is either order |
no condition |
3 |
|
|
The order of
There are no poles in
Since
Using the above, the solution for the original ode can now be found. The first solution to the original ode in
Which simplifies to
The second solution
Substituting gives
Therefore the solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=diff(diff(y(x),x),x)+2*x*diff(y(x),x)+(x^2+1)*y(x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: --- Trying classification methods --- trying a quadrature checking if the LODE has constant coefficients checking if the LODE is of Euler type trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Trying a Liouvillian solution using Kovacics algorithm A Liouvillian solution exists Reducible group (found an exponential solution) <- Kovacics algorithm successful
Maple step by step
ode=D[y[x],{x,2}]+2*x*D[y[x],x]+(x^2+1)*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x*Derivative(y(x), x) + (x**2 + 1)*y(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
False