Internal
problem
ID
[8970]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
5.0
Problem
number
:
9
Date
solved
:
Friday, February 21, 2025 at 09:01:52 PM
CAS
classification
:
[_separable]
Solve
Using series expansion around \(x=0\)
Let the solution be represented as Frobenius power series of the form
Then
Substituting the above back into the ode gives
Which simplifies to
The next step is to make all powers of \(x\) be \(n +r -1\) in each summation term. Going over each summation term above with power of \(x\) in it which is not already \(x^{n +r -1}\) and adjusting the power and the corresponding index gives Substituting all the above in Eq (2A) gives the following equation where now all powers of \(x\) are the same and equal to \(n +r -1\).
The indicial equation is obtained from \(n=0\). From Eq (2) this gives
When \(n=0\) the above becomes
Since \(a_{0}\neq 0\) then the indicial equation becomes
Since the above is true for all \(x\) then the indicial equation simplifies to
Solving for \(r\) gives the root of the indicial equation as
Replacing \(r=-1\) found above results in
From the above we see that there is no recurrence relation since there is only one summation term. Therefore all \(a_{n}\) terms are zero except for \(a_{0}\). Hence
At \(x = 0\) the solution above becomes
`Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful`
Solving time : 0.011
(sec)
Leaf size : 14
dsolve(diff(y(x),x)*x+y(x) = 0,y(x),series,x=0)
Solving time : 0.002
(sec)
Leaf size : 9
AsymptoticDSolveValue[{x*D[y[x],x]+y[x]==0,{}},y[x],{x,0,5}]
Solving time : 0.000
(sec)
Leaf size : 0
Python version: 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] Sympy version 1.13.3
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)
ValueError : ODE x*Derivative(y(x), x) + y(x) does not match hint 1st_power_series