58.9.5 problem 5

Internal problem ID [14684]
Book : Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section : Chapter 4, Section 4.1. Basic theory of linear differential equations. Exercises page 124
Problem number : 5
Date solved : Thursday, October 02, 2025 at 09:50:11 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} \left (2 x +1\right ) y^{\prime \prime }-4 \left (1+x \right ) y^{\prime }+4 y&=0 \end{align*}

Using reduction of order method given that one solution is

\begin{align*} y&={\mathrm e}^{2 x} \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 15
ode:=(2*x+1)*diff(diff(y(x),x),x)-4*(1+x)*diff(y(x),x)+4*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_2 \,{\mathrm e}^{2 x}+c_1 x +c_1 \]
Mathematica. Time used: 0.082 (sec). Leaf size: 23
ode=(2*x+1)*D[y[x],{x,2}]-4*(x+1)*D[y[x],x]+4*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 e^{2 x+1}-c_2 (x+1) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((2*x + 1)*Derivative(y(x), (x, 2)) - (4*x + 4)*Derivative(y(x), x) + 4*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False