Internal
problem
ID
[10348]
Book
:
First
order
enumerated
odes
Section
:
section
4.
First
order
odes
solved
using
series
method
Problem
number
:
3
Date
solved
:
Monday, March 09, 2026 at 03:35:04 AM
CAS
classification
:
[_separable]
Series expansion around \(x=0\).
Series expansion around \(x=0\).
Entering first order ode series solverEntering first order ode series solver frobenius solverLet the homogeneous 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\) in each summation term. Going over each summation term above with power of \(x\) in it which is not already \(x^{n +r}\) 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\).
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
The solution is
Applying initial conditions shows that no solution is possible, (Steps will be added soon)
Order:=6; ode:=x*diff(y(x),x)+y(x) = 0; ic:=[y(0) = 1]; dsolve([ode,op(ic)],y(x),type='series',x=0);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful
ode=x*D[y[x],x]+y[x]==0; ic=y[0]==1; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
Not solved
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + y(x),0) ics = {y(0): 1} 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
Python version: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] Sympy version 1.14.0
classify_ode(ode,func=y(x)) ('factorable', 'separable', '1st_exact', '1st_linear', 'Bernoulli', '1st_homogeneous_coeff_best', '1st_homogeneous_coeff_subs_indep_div_dep', '1st_homogeneous_coeff_subs_dep_div_indep', 'almost_linear', 'lie_group', 'nth_linear_euler_eq_homogeneous', 'separable_Integral', '1st_exact_Integral', '1st_linear_Integral', 'Bernoulli_Integral', '1st_homogeneous_coeff_subs_indep_div_dep_Integral', '1st_homogeneous_coeff_subs_dep_div_indep_Integral', 'almost_linear_Integral')