Internal
problem
ID
[8758]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
47
Date
solved
:
Friday, April 25, 2025 at 05:03:19 PM
CAS
classification
:
[[_2nd_order, _missing_y]]
Time used: 0.162 (sec)
Solve
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
We now have a first order ode to solve which is
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.124 (sec)
Solve
This is second order ode with missing dependent variable
Then
Hence the ode becomes
Which is now solved for
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
In summary, these are the solution found for
For solution
Since the ode has the form
In summary, these are the solution found for
Summary of solutions found
Time used: 0.167 (sec)
Solve
Integrating both sides of the ODE w.r.t
Which 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
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.064 (sec)
Solve
Writing the ode as
Integrating both sides of the ODE w.r.t
Which 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
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
Will add steps showing solving for IC soon.
Time used: 0.151 (sec)
Solve
Given an ode of the form
This method reduces the order ode the ODE by one by applying the transformation
This results in
And now the original ode becomes
If the term
By Using
The above ode is first order ode which is solved for
This method works only if the term
The above shows that for this ode
Hence the ode in
Now by applying
Which 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
The ode for
Which is now solved for
Replacing
And now the particular solution
Where
In the Variation of parameters
Where
Which gives
Therefore
Which simplifies to
Which simplifies to
Therefore Eq. (2) becomes
Which simplifies to
Hence
And Eq. (3) becomes
Which simplifies to
Hence
Therefore the particular solution, from equation (1) is
Hence the complete solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.245 (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
The poles of
Attempting to find a solution using case
Looking at poles of order 2. The partial fractions decomposition of
For the pole at
Since the order of
Since the
The following table summarizes the findings so far for poles and for the order of
pole |
pole order | |
|
|
| | | | |
Order of |
|
|
|
|
| | |
Now that the all
Where
Since
The above gives
Now that
Let
Substituting the above in eq. (1A) gives
The equation is satisfied since both sides are zero. Therefore the first solution to the ode
The first solution to the original ode in
Which simplifies to
The second solution
Substituting gives
Therefore the solution is
This is second order nonhomogeneous ODE. Let the solution be
Where
The homogeneous solution is found using the Kovacic algorithm which results in
The particular solution
Where
In the Variation of parameters
Where
Which gives
Therefore
Which simplifies to
Which simplifies to
Therefore Eq. (2) becomes
Which simplifies to
Hence
And Eq. (3) becomes
Which simplifies to
Hence
Therefore the particular solution, from equation (1) is
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=diff(diff(y(t),t),t)*t+4*diff(y(t),t) = t^2; dsolve(ode,y(t), singsol=all);
Maple trace
Methods for second order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable -> Calling odsolve with the ODE, diff(_b(_a),_a) = -(-_a^2+4*_b(_a))/_a, _b(_a) *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful <- high order exact linear fully integrable successful
Maple step by step
ode=t*D[y[t],{t,2}]+4*D[y[t],t]==t^2; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t**2 + t*Derivative(y(t), (t, 2)) + 4*Derivative(y(t), t),0) ics = {} dsolve(ode,func=y(t),ics=ics)