2.4.10 Problem 10
Internal
problem
ID
[10355]
Book
:
First
order
enumerated
odes
Section
:
section
4.
First
order
odes
solved
using
series
method
Problem
number
:
10
Date
solved
:
Thursday, November 27, 2025 at 10:35:05 AM
CAS
classification
:
[_separable]
\begin{align*}
y^{\prime }+\frac {y}{x}&=0 \\
\end{align*}
Series expansion around
\(x=0\) .
Let the homogeneous solution be represented as Frobenius power series of the form
\[
y = \moverset {\infty }{\munderset {n =0}{\sum }}a_{n} x^{n +r}
\]
Then
\[
y^{\prime } = \moverset {\infty }{\munderset {n =0}{\sum }}\left (n +r \right ) a_{n} x^{n +r -1}
\]
Substituting the above back into the ode gives
\begin{equation}
\tag{1} \left (\moverset {\infty }{\munderset {n =0}{\sum }}\left (n +r \right ) a_{n} x^{n +r -1}\right )+\frac {\moverset {\infty }{\munderset {n =0}{\sum }}a_{n} x^{n +r}}{x} = 0
\end{equation}
Which simplifies to
\begin{equation}
\tag{2A} \left (\moverset {\infty }{\munderset {n =0}{\sum }}\left (n +r \right ) a_{n} x^{n +r -1}\right )+\left (\moverset {\infty }{\munderset {n =0}{\sum }}x^{n +r -1} a_{n}\right ) = 0
\end{equation}
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\) .
\begin{equation}
\tag{2B} \left (\moverset {\infty }{\munderset {n =0}{\sum }}\left (n +r \right ) a_{n} x^{n +r -1}\right )+\left (\moverset {\infty }{\munderset {n =0}{\sum }}x^{n +r -1} a_{n}\right ) = 0
\end{equation}
The indicial equation is obtained from
\(n=0\) . From Eq (2) this gives
\[
\left (n +r \right ) a_{n} x^{n +r -1}+x^{n +r -1} a_{n} = 0
\]
When
\(n=0\) the above becomes
\[
r a_{0} x^{-1+r}+x^{-1+r} a_{0} = 0
\]
Since
\(a_{0}\neq 0\) then the indicial equation becomes
\[
\left (r +1\right ) x^{-1+r} = 0
\]
Since the above is true for all
\(x\) then the
indicial equation simplifies to
\[
r +1 = 0
\]
Solving for
\(r\) gives the root of the indicial equation as
\[ r=-1 \]
Replacing \(r=-1\) found above results in
\[
\left (\moverset {\infty }{\munderset {n =0}{\sum }}\left (n -1\right ) a_{n} x^{n -2}\right )+\left (\moverset {\infty }{\munderset {n =0}{\sum }}x^{n -2} a_{n}\right ) = 0
\]
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
\begin{align*} y_h &= a_{0} \left (\frac {1}{x}+O\left (x^{6}\right )\right ) \end{align*}
The solution is
\[
y = c_1 \left (\frac {1}{x}+O\left (x^{6}\right )\right )
\]
Figure 2.94: Slope field \(y^{\prime }+\frac {y}{x} = 0\)
✓ Maple. Time used: 0.007 (sec). Leaf size: 14
Order :=6;
ode := diff ( y ( x ), x )+ y ( x )/ x = 0;
dsolve ( ode , y ( x ), type = ' series ' , x =0);
\[
y = \frac {c_1}{x}+O\left (x^{6}\right )
\]
Maple trace
Methods for first order ODEs:
--- Trying classification methods ---
trying a quadrature
trying 1st order linear
<- 1st order linear successful
Maple step by step
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )+\frac {y \left (x \right )}{x}=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & \frac {d}{d x}y \left (x \right ) \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=-\frac {y \left (x \right )}{x} \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {\frac {d}{d x}y \left (x \right )}{y \left (x \right )}=-\frac {1}{x} \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {\frac {d}{d x}y \left (x \right )}{y \left (x \right )}d x =\int -\frac {1}{x}d x +\mathit {C1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \ln \left (y \left (x \right )\right )=-\ln \left (x \right )+\mathit {C1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \left (x \right ) \\ {} & {} & y \left (x \right )=\frac {{\mathrm e}^{\mathit {C1}}}{x} \\ \bullet & {} & \textrm {Redefine the integration constant(s)}\hspace {3pt} \\ {} & {} & y \left (x \right )=\frac {\mathit {C1}}{x} \end {array} \]
✓ Mathematica. Time used: 0.001 (sec). Leaf size: 9
ode = D [ y [ x ], x ]+ y [ x ]/ x ==0;
AsymptoticDSolveValue [ ode , y [ x ],{ x ,0,5}]
\[
y(x)\to \frac {c_1}{x}
\]
✗ Sympy
from sympy import *
x = symbols("x")
y = Function("y")
ode = Eq(Derivative(y(x), x) + y(x)/x,0)
ics = {}
dsolve ( ode , func = y ( x ), ics = ics , hint ="1 st_power_series ", x0 =0, n =6)
ValueError : ODE Derivative(y(x), x) + y(x)/x does not match hint 1st_power_series