Internal
problem
ID
[8800]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
87
Date
solved
:
Wednesday, March 05, 2025 at 06:51:23 AM
CAS
classification
:
[[_2nd_order, _missing_x]]
Solve
With initial conditions
Time used: 0.099 (sec)
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above
Since exponential function is never zero, then dividing Eq(2) throughout by
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting
Hence
Which simplifies to
Since roots are complex conjugate of each others, then let the roots be
Where
Which becomes
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.243 (sec)
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
Time used: 1.312 (sec)
In normal form the ode
Becomes
Where
The Lagrange adjoint ode is given by
Which is solved for
Where in the above
Since exponential function is never zero, then dividing Eq(2) throughout by
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting
Hence
Which simplifies to
Since roots are complex conjugate of each others, then let the roots be
Where
Which becomes
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
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
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
ode:=diff(diff(y(x),x),x)+diff(y(x),x)+y(x) = 0; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature checking if the LODE has constant coefficients <- constant coefficients successful`
Maple step by step
ode=D[y[x],{x,2}]+D[y[x],x]+y[x]==0; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)