Internal
problem
ID
[18510]
Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929)
Section
:
Chapter
VII.
Linear
equations
of
order
higher
than
the
first.
section
56.
Problems
at
page
163
Problem
number
:
2
Date
solved
:
Monday, March 31, 2025 at 05:40:50 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
Time used: 0.060 (sec)
Solve
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
Or
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 1.052 (sec)
Solve
Multiplying the ode by
Integrating the above w.r.t
Which is now solved for
Solving for
This has the form
Where
Solving ode 1A
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
Integrating gives
Singular solutions are found by solving
for
Substituing the above solution for
Solving ode 2A
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
Integrating gives
Singular solutions are found by solving
for
Substituing the above solution for
Will add steps showing solving for IC soon.
The solution
was found not to satisfy the ode or the IC. Hence it is removed. The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
Time used: 0.133 (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
Since
Which simplifies to
The second solution
Since
Therefore the solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=diff(diff(y(x),x),x)+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 <- constant coefficients successful
Maple step by step
ode=D[y[x],{x,2}]+y[x]==0; ic={}; 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, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)